[maemo-developers] [maemo-developers] USB GPS receiver using pl2303

From: Hugh Warrington hjmw2 at cam.ac.uk
Date: Sun Aug 27 02:00:27 EEST 2006
Hi there.

I've been trying to connect a USB GPS receiver (Haicom HI-204III-USB
http://www.haicom.com.tw/gps204III_USB.shtml) to my N770. I've made a
USB power injector according to
http://thoughtfix.blogspot.com/2006/01/usb-power-injector-2.html .

When I connect the N770 to the injector I have created, I get

[ 5467.396606] USB cable connected

in dmesg. I am running a self compiled kernel with the options

CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_CONSOLE=y
CONFIG_USB_SERIAL_PL2303=y

When I connect the GPS to the other port of the USB power injector, I
get this in dmesg:

[ 5475.992858] usb 1-1: new full speed USB device using ohci and address
19
[ 5476.315887] usb 1-1: device v067b p2303 is not supported
[ 5476.317901] usb 1-1: configuration #1 chosen from 1 choice
[ 5476.320312] pl2303 1-1:1.0: pl2303 converter detected
[ 5476.320953] usb 1-1: pl2303 converter now attached to ttyUSB0

There has been mention of successful use of the pl2303 USB-to-serial
adaptor on this list before (http://www.archivesat.com/post338647.htm).
Some others also used the pl2303 with success:
http://www.hcilab.org/projects/nokia770/nokia770.htm (see the photo of
very similar dmesg output, including the 'not supported' line).

However, I get nothing from

cat /dev/ttyUSB0

Similarly, gpsd finds no device attached. In contrast, on my laptop I
get

usb 2-1: new full speed USB device using uhci_hcd and address 6
usb 2-1: configuration #1 chosen from 1 choice
pl2303 2-1:1.0: pl2303 converter detected
usb 2-1: pl2303 converter now attached to ttyUSB0

I used the same kernel options as on the N770. I get from
cat /dev/ttyUSB0 the expected reports each second:

$GPGSA,A,1,,,,,,,,,,,,,,,*1E

$GPRMC,225342.424,V,,,,,,,260806,,,N*45

$GPGGA,225343.427,,,,,0,00,,,M,0.0,M,,0000*56

$GPGSA,A,1,,,,,,,,,,,,,,,*1E

$GPGSV,3,1,10,19,65,290,,22,52,110,,07,32,118,,16,22,176,*74

$GPGSV,3,2,10,08,14,314,,27,11,288,,11,11,251,,26,06,013,*73

$GPGSV,3,3,10,18,36,057,,21,12,065,*75


Can anybody suggest anything?

Thanks,
Hugh Warrington


More information about the maemo-developers mailing list