Hi folks,

I have a GPS-receiver that plugs into a USB-port of my Intel P4-based 
system. I'm using SuSE 7.2 and upgraded the Kernel to 2.4.13. I have also 
included USB-support and USB Serial Converter-support as well as Generic 
Serial support, if I remember the options correctly. The usbview-program 
shows one "unidentified device", when I plug the GPS-receiver into the 
USB-port, so I guess that physicall the system detects the gadget.

I was hoping that the "Generic Serial"-driver under the USB-stuff would 
work and I could read the NMEA-transmission from the GPS-receiver just as I 
had done before from a serial GSP-receiver. But it doesn't, at least my 
code (that worked with serial-GPS-receiver) doesn't read anything from 
ttyUSB0. I guess that conceptually the GPS-receiver would just push data 
into the USB-bus in an analugous fashion that it would into a serial port, 
so that's why I imagined that the generic serial-approach in Linux would work.

I did try the 'insmod usbserial vendor=0x067b product=0x2303' and I got it 
started and I doing 'cat /dev/ttyUSB0' did leave the command 'hanging' as 
if there was something on the port. I guess that only means that some 
driver (usbserial in this case) has registered itself into that port, but 
that doesn't mean that there really is any physical device detected... Not 
sure, I haven't reall looked into any drivers before.

I also tried to find some USB-debugger for Linux in hopes of debugging the 
GPS-receivers transmission, but they all seem to work on windoze...:(

I think that I could continue exploring the GPS-receivers transmission by 
hacking the usbserial.c-file, maybe I would be able to derive a driver to 
the GPS-receiver once I know what kind of stuff it is sending. My 
impression is that the GPS-receiver should sent it's data like a "serial 
device", however, I have pretty much zero docs on the USB-part of the 
GPS-receiver.

Any ideas how to proceed with my quest? USB-sniffer??? Hack the 
usbserial.c...??? What function would be the place to start with 
usbserial.c, I guess I would like to first look at if it is actually 
receiving anything from the GPS-receiver? I guess that ultimately it would 
be nice to produce a new driver under the USB-miscellaneous category in 
Linux kernel that would be for this particular GPS-receiver.

- Petri

PS. Yeah, there were drivers for windoze included with the GPS-receiver...:(
<><><><><><><><>
   Petri J. Riipinen
[EMAIL PROTECTED]
<><><><><><><><>

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to