[OpenWrt-Devel] How to make a usb GPS work

2008-05-29 Thread Massimiliano Marcon
Hello, I'm trying to make a usb GPS (Garmin18) work with a linksys wrtsl54gs. I'm running on it whiterussian 0.9. I installed the packages kmod-usb-serial and kmod-usb-serial-pl2303, now as soon as I connect it to the usb port I see it as /dev/usb/tts/0, and dmesg says: usbserial.c: Generic conver

Re: [OpenWrt-Devel] How to make a usb GPS work

2008-05-29 Thread Geoff Levand
Massimiliano Marcon wrote: > Hello, > > I'm trying to make a usb GPS (Garmin18) work with a linksys wrtsl54gs. > I'm running on it whiterussian 0.9. I installed the packages > kmod-usb-serial and kmod-usb-serial-pl2303, now as soon as I connect it > to the usb port I see it as /dev/usb/tts/0, and

Re: [OpenWrt-Devel] How to make a usb GPS work

2008-05-29 Thread Mark Kelly
You do not need any garmin drivers, as long as the device is set to standard NEMA output, you can install picocom and see the stream. #picocom -b4800 /dev/tts/0 If it's stuck in binary mode you want see any useful info. sirfmon is in gpsd utilities and will switch the device back to NMEA mode s

Re: [OpenWrt-Devel] How to make a usb GPS work

2008-05-29 Thread Geoff Levand
Hi, Mark Kelly wrote: > You do not need any garmin drivers, as long as the device is set to > standard NEMA output, you can install picocom and see the stream. > > #picocom -b4800 /dev/tts/0 > > If it's stuck in binary mode you want see any useful info. > > sirfmon is in gpsd utilities and will

Re: [OpenWrt-Devel] How to make a usb GPS work

2008-05-29 Thread Massimiliano Marcon
The device is attached as /dev/usb/tts/0 (after the installation of kmod-usb-serial and kmod-usb-serial-pl2303, before the installation it wasn't attacched to any device in the /dev filesystem). If I use microcom (I don't have picocom packaged for whiterussian) and I set the speed to 4800 baud I do

Re: [OpenWrt-Devel] How to make a usb GPS work

2008-05-29 Thread Mark Kelly
Very interesting, I have about a half dozen of the GPS18's in the serial version and they all work the way as I described. I can't believe they would lock down only the USB versions to use a proprietary protocol. Did you try to use sirfmon on a pc to see if it would put it in NMEA mode? It see

Re: [OpenWrt-Devel] How to make a usb GPS work

2008-05-29 Thread Massimiliano Marcon
The problem is not the protocol, the GPS should be in NMEA mode. Indeed, if I connect it to my desktop running Ubuntu it is detected, and I'm able to get data from it, but just because the correct garmin_gps module is loaded. The problem is that that module is only available for the kernels 2.6, an

Re: [OpenWrt-Devel] How to make a usb GPS work

2008-05-29 Thread Geoff Levand
Mark Kelly wrote: > Very interesting, I have about a half dozen of the GPS18's in the serial > version and they all work the way as I described. I can't believe they > would lock down only the USB versions to use a proprietary protocol. > > Did you try to use sirfmon on a pc to see if it would p