Hi guys,
Im trying to interface a USB based GPS device on Beagleboard running
Android eclair. I have connected the GPS device through a USB hub.

Everytime I connect the GPS device, i get the following msg on the
console:

it uses the USB-serial adapter pl2303 driver.
when i connect the gps to the Beagle Board, I get a msg as:

pl2303 1-2.4:1.0: pl2303 converter detected
usb 1-2.4: pl2303 converter now attached to ttyUSB0

My goal is to get the NMEA data on the console or in a file.

but on doing a cat /dev/ttyUSB0
i dont get the gps data.
instead i get the following text which looks like some debug output:

------------[ cut here ]------------
WARNING: at drivers/usb/serial/usb-serial.c:376 serial_write_room
+0x48/0x70()
Modules linked in: omaplfb pvrsrvkm
[<c0039934>] (unwind_backtrace+0x0/0xd8) from [<c005f09c>]
(warn_slowpath_common+0x48/0x60)
[<c005f09c>] (warn_slowpath_common+0x48/0x60) from [<c021cbe8>]
(serial_write_room+0x48/0x70)
[<c021cbe8>] (serial_write_room+0x48/0x70) from [<c01b57cc>]
(tty_write_room+0x1c/0x20)
[<c01b57cc>] (tty_write_room+0x1c/0x20) from [<c01b3204>]
(process_echoes+0x3c/0x280)
[<c01b3204>] (process_echoes+0x3c/0x280) from [<c01b51fc>]
(n_tty_receive_buf+0xbc0/0x106c)
[<c01b51fc>] (n_tty_receive_buf+0xbc0/0x106c) from [<c01b7688>]
(flush_to_ldisc+0xd4/0x168)
[<c01b7688>] (flush_to_ldisc+0xd4/0x168) from [<c006e230>]
(worker_thread+0x150/0x1c4)
[<c006e230>] (worker_thread+0x150/0x1c4) from [<c00711d4>] (kthread
+0x78/0x80)
[<c00711d4>] (kthread+0x78/0x80) from [<c0034e6c>] (kernel_thread_exit
+0x0/0x8)
---[ end trace 5827570c12dafca5 ]---
------------[ cut here ]------------
WARNING: at drivers/usb/serial/usb-serial.c:363 serial_write+0x6c/
0xa0()
Modules linked in: omaplfb pvrsrvkm
[<c0039934>] (unwind_backtrace+0x0/0xd8) from [<c005f09c>]
(warn_slowpath_common+0x48/0x60)
[<c005f09c>] (warn_slowpath_common+0x48/0x60) from [<c021cc7c>]
(serial_write+0x6c/0xa0)
[<c021cc7c>] (serial_write+0x6c/0xa0) from [<c01b012c>] (tty_put_char
+0x34/0x38)
[<c01b012c>] (tty_put_char+0x34/0x38) from [<c01b314c>]
(do_output_char
+0x190/0x1c0)
[<c01b314c>] (do_output_char+0x190/0x1c0) from [<c01b3394>]
(process_echoes+0x1cc/0x280)
[<c01b3394>] (process_echoes+0x1cc/0x280) from [<c01b51fc>]
(n_tty_receive_buf+0xbc0/0x106c)
[<c01b51fc>] (n_tty_receive_buf+0xbc0/0x106c) from [<c01b7688>]
(flush_to_ldisc+0xd4/0x168)
[<c01b7688>] (flush_to_ldisc+0xd4/0x168) from [<c006e230>]
(worker_thread+0x150/0x1c4)
[<c006e230>] (worker_thread+0x150/0x1c4) from [<c00711d4>] (kthread
+0x78/0x80)
[<c00711d4>] (kthread+0x78/0x80) from [<c0034e6c>] (kernel_thread_exit
+0x0/0x8)
---[ end trace 5827570c12dafca6 ]---

There is a long loop of these messages.
can any1 help??

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to