hy2012 / android-serialport-api

Automatically exported from code.google.com/p/android-serialport-api
0 stars 0 forks source link

Droid X 2.3.3 Gingerbread: Serial port can not be opened for an unknown reason #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Choosing Device and Baud Rate in Setup
2. Choosing console
3.

What is the expected output? What do you see instead? A console screen that 
would display RX data, but instead get an error with message, "The serial port 
can not be opened for an unknown reason."

What version of the product are you using? On what operating system? 
SerialPort_0.7.apk, Droid X (Rooted) Android Version: 2.3.3

Please provide any additional information below. Here is the way it was rooted 
http://www.droid-life.com/2011/03/29/how-to-root-gingerbread-on-droid-x/

Original issue reported on code.google.com by SShagin...@gmail.com on 8 Sep 2011 at 12:44

GoogleCodeExporter commented 9 years ago
I think Android 2.3.3 does not support the flag O_DIRECT (see issue 4)
Could you provide "logcat" output to confirm please ?

Original comment by cedric.p...@gmail.com on 25 Oct 2011 at 10:26

GoogleCodeExporter commented 9 years ago
I am also having this issue with Gingerbread 2.3.3. I installed 
SerialPort_1.1.apk, and I still have this same error. Has this been fixed yet?

Original comment by jrem...@gmail.com on 9 Nov 2011 at 11:59

GoogleCodeExporter commented 9 years ago
jremaly, SerialPort_1.1.apk do not use flag O_DIRECT anymore, could you upload 
your logcat here please ?
Just by curiosity, which connector/adapter do you use to get a serial port on 
your Droid X ?

Original comment by cedric.p...@gmail.com on 14 Nov 2011 at 5:49

GoogleCodeExporter commented 9 years ago
If anybody reproduces the problem with latest SerialPort sample, please let me 
know. In the meanwhile, I mark this bug "Fixed"

Original comment by cedric.p...@gmail.com on 25 Jan 2012 at 5:38

GoogleCodeExporter commented 9 years ago
I have same problem at the moment i have a Olimex A10s installed Android 4.0.4.
Rread and write permmissons are given to all ttyS files and when i try to use 
these ports i have the mentioned error. Only ttyS0 port is working proper 
others not.
What can i do?

Original comment by koray...@gmail.com on 5 Jun 2013 at 1:17