Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost bytes #40

Open
GoogleCodeExporter opened this issue Sep 11, 2015 · 1 comment
Open

Lost bytes #40

GoogleCodeExporter opened this issue Sep 11, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 15 Oct 2013 at 7:30

@GoogleCodeExporter
Copy link
Author

It's worth mentioning that in the Console Demo the text typed into the Emission 
input is printed out to the console of the host machine which runs the android 
emulator.

Original comment by [email protected] on 17 Oct 2013 at 9:44

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

No branches or pull requests

1 participant