[Nook Color Android Development] Dj-Gutz:
USB GPS

I updated to the latest nightly ( 165 ) , which is included with this commit

http://review.cyanogenmod.com/#change,7264

and supposed to enable pl2303 as I saw on dan's tweets

tstepleton even said @danlingrin page that he managed to pull NMEA data

Device : GlobalSat BU-353

DMESG log

:

<6>usb 1-1.5: new full speed USB device using musb_hdrc and address 4
<7>usb 1-1.5: default language 0x0409
<3>usb 1-1.5: device v067b p2303 is not supported
<7>usb 1-1.5: udev 4, busnum 1, minor = 3
<6>usb 1-1.5: New USB device found, idVendor=067b, idProduct=2303
<6>usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<6>usb 1-1.5: Product: USB-Serial Controller
<6>usb 1-1.5: Manufacturer: Prolific Technology Inc.
<7>usb 1-1.5: uevent
<7>usb 1-1.5: usb_probe_device
<6>usb 1-1.5: configuration #1 chosen from 1 choice
<7>usb 1-1.5: adding 1-1.5:1.0 (config #1, interface 0)
<7>usb 1-1.5:1.0: uevent
<7>usbserial_generic 1-1.5:1.0: usb_probe_interface
<7>usbserial_generic 1-1.5:1.0: usb_probe_interface - got id
<7>pl2303 1-1.5:1.0: usb_probe_interface
<7>pl2303 1-1.5:1.0: usb_probe_interface - got id
<6>pl2303 1-1.5:1.0: pl2303 converter detected
<6>usb 1-1.5: pl2303 converter now attached to ttyUSB0
<7>drivers/usb/core/inode.c: creating file '004'

this lines were added to the log compared to a log from an older nightly :

[B]<7>pl2303 1-1.5:1.0: usb_probe_interface
<7>pl2303 1-1.5:1.0: usb_probe_interface - got id
<6>pl2303 1-1.5:1.0: pl2303 converter detected
<6>usb 1-1.5: pl2303 converter now attached to ttyUSB0[/B]

So it's seems recognized and properly routed

tested with

GPS Status - keep showing error gps in disabled , but it's enabled on settings

Waze - FC on splash

Same as with the older nightly

Do I need to do something else for the apps to recognize the GPS?

Can I use adb to see the GPS data?

EDIT :

OK I managed to pull data

I needed to set the port speed using "stty -F /dev/ttyUSB0 ispeed 4800"

then I could use "cat /dev/ttyUSB0" to see the data

$ su
# cat /dev/ttyUSB0
$GPGGA,050924.000,3203.4277,N,03448.5674,E,1,08,1.1,66.4,M,17.1,M,,0000*62
$GPGSA,A,3,07,13,26,19,28,08,10,05,,,,,2.0,1.1,1.7*39
$GPRMC,050924.000,A,3203.4277,N,03448.5674,E,0.03,156.15,200811,,*09
$GPGGA,050925.000,3203.4277,N,03448.5673,E,1,08,1.1,65.6,M,17.1,M,,0000*65
$GPGSA,A,3,07,13,26,19,28,08,10,05,,,,,2.0,1.1,1.7*39
$GPRMC,050925.000,A,3203.4277,N,03448.5673,E,0.14,269.40,200811,,*06
$GPGGA,050926.000,3203.4278,N,03448.5672,E,1,08,1.1,64.2,M,17.1,M,,0000*6D

But still GPS Status and Waze doesn't recognize the gps device

I saw a post that says to use this command "setprop ro.kernel.android.gps ttyUSB0"

It should integrate the gps with android but it doesn't seem to do anything for me

EDIT 2 :

Found this thread

http://android.modaco.com/topic/333...based-on-pl-2303-serial-converter-for-car-pc/

not very optimistic but I'm hoping someone found a solution by now

EDIT 3 :

Got further down

2 things that might make this work from what I could find out:

1.changing permissions : "chmod 666 /dev/ttyUSB0"

2.the apps might be looking for ttyUSB9 , so can we force the device to use this port or just emulate the port?

I will try the permissions thing later

EDIT 4 :

Seems that no-one got it working so far

Here is the best progress I could find so far:

http://xdaforums.com/showthread.php?t=1028056

Can someone here code something like that?