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

No Devices Listed in Setup->Device #3

Closed
GoogleCodeExporter opened this issue Sep 11, 2015 · 3 comments
Closed

No Devices Listed in Setup->Device #3

GoogleCodeExporter opened this issue Sep 11, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Build the Project using eclipse in Ubuntu
2. Install the APK using adb
3. Run the serial port program and click setup, then click device

What is the expected output? What do you see instead?
I would expect to see a list of tty devices.  I'm not really sure as 
nothing shows up?

What version of the product are you using? On what operating system?
I am running on Android 1.5 on my own prototype Hardware.  I am using the 
standard android build system.  My system functions very well.  
My Linux kernel is 2.6.28.  
My build system is an Ubuntu Machine using eclipse.  The build process went 
smoothly.  
Please provide any additional information below.

I know there are some unknowns because you don't know what hardware I am 
using.  It is a custom platform based on Marvell PXA310 CPU.  
How does the APK find the list of serial devices?  is it possible it is 
looking in the wrong place?

I have been using ttyS0 as my console port.  I created a build with ttyS1 
and my original com port no longer works and the app still does not show 
any devices.  
Any help on getting it to see my tty devices would be appreciated.

Thanks


Original issue reported on code.google.com by matt.ros...@gmail.com on 11 May 2010 at 11:26

@GoogleCodeExporter
Copy link
Author

I determined this was a problem with the name of my serial driver which has 2 
words separated by a space.  It was causing the parsing to fail.  quick hack 
fix = 

                            if ((w.length == 5) && (w[4].equals("serial"))){
                                        Log.d(TAG, "Found new driver: " + w[1]);
                                        mDrivers.add(new Driver(w[0], w[1]));
                                }
                            if ((w.length==6) && (w[5].equals("serial"))){
                                        Log.d(TAG, "Found new driver: " + w[1]);
                                        mDrivers.add(new Driver(w[1], w[2]));
                            }

Original comment by matt.ros...@gmail.com on 12 May 2010 at 1:48

@GoogleCodeExporter
Copy link
Author

Maybe I should split the line using tabs instead of spaces.

Original comment by cedric.p...@gmail.com on 23 Oct 2011 at 9:36

@GoogleCodeExporter
Copy link
Author

Fixed in SVN revision 35

Original comment by cedric.p...@gmail.com on 25 Oct 2011 at 9:48

  • Changed state: Fixed

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