Skip to content
This repository was archived by the owner on Jul 10, 2021. It is now read-only.
This repository was archived by the owner on Jul 10, 2021. It is now read-only.

Lost bytes #40

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. prepare a ramdisk.img with custom permissions in ueventd.rc (/dev/ttyS* 0666 
root root)
2. copy the example application to the device
3. select the loopback example

What is the expected output? What do you see instead?
Received back > 0, but all bytes sent appearing as Lost bytes 

What version of the product are you using? On what operating system?
Android 2.3.7, Kernel version 2.6.29

Please provide any additional information below.
I tried to increase the read timeout to 10s but it doesn't help.

Logcat says:
10-15 19:29:35.006: D/serial_port(1490): Opening serial port /dev/ttyS0 with 
flags 0x2
10-15 19:29:35.006: D/serial_port(1490): open() fd = 35
10-15 19:29:35.006: D/serial_port(1490): Configuring serial port
10-15 19:29:35.375: I/ActivityManager(861): Displayed 
android_serialport_api.sample/.LoopbackActivity: +406ms

after exit:

10-15 19:29:53.565: W/KeyCharacterMap(1490): No keyboard for id 0
10-15 19:29:53.565: W/KeyCharacterMap(1490): Using default keymap: 
/system/usr/keychars/qwerty.kcm.bin
10-15 19:29:53.906: D/serial_port(1490): close(fd = 35)

Original issue reported on code.google.com by ako...@gmail.com on 15 Oct 2013 at 7:30

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions