Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-25-2006, 11:58 PM   #1
Registered: Aug 2004
Posts: 56

Rep: Reputation: 15
USB GPS & usbserial?

Well guys I have learned to love kismet as with my laptop the windows drivers say the AP still is there 4 miles away However I got this new Magellan eXplorist 210 which comes with a USB cable, it spits out NMEA 2.1 though the USB cable in windows and assigns it to COM4 though some type of USB to serial emulation.

So is this possible in linux? Doing a lsusb outputs "Bus 004 Device 002: ID 0b20:0406 TransDimension, Inc." which is my GPS. However looking at dmesg it only finds the new device, but does not assgn it to /dev/ttyUSB0 or anything.

So far I have usbserial as a module and have it loaded when I plug the GPS in. Am I missing anything and just incase you ask why I don't use a USB to serial, because my laptop only has USB ports

Old 02-27-2006, 12:42 PM   #2
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 767

Rep: Reputation: 62
you could try plugging it in, then
cat /proc/bus/usb/devices
get the vendor and product of the device, then
modprobe usbserial vendor=0x???? product=0x????
you might then get a /dev/tty???? though I dont know what that would be exactly

any help?
Old 02-27-2006, 04:20 PM   #3
Registered: Aug 2004
Posts: 56

Original Poster
Rep: Reputation: 15
Here is the section of /proc/bus/usb/devices that is my gps

T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=02(comm.) Sub=02 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0b20 ProdID=0406 Rev= 1.00
S: Manufacturer=Thales Navigation
S: Product=Magellan eXplorist
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 20mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=(none)
E: Ad=83(I) Atr=03(Int.) MxPS= 16 Ivl=10ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms

And after plugging in my GPS to the USB dmesg shows up

"usb 4-1: new full speed USB device using uhci_hcd and address 2"

Now I try

"modprobe usbserial vendor=0x0b20 product=0x0406"

After I do that I get this from DMESG

usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbserial_generic 4-1:1.0: generic converter detected
usbserial_generic 4-1:1.0: Generic device with no bulk out, not allowed.
usbserial_generic: probe of 4-1:1.0 failed with error -5
usbserial_generic 4-1:1.1: generic converter detected
usb 4-1: generic converter now attached to ttyUSB0
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core

Then I try to cat /dev/ttyUSB0 and it just sits there hanging until i do CTRL-C, but I need to let my GPS get a fix and see what happens.

Old 02-27-2006, 05:36 PM   #4
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 767

Rep: Reputation: 62
hmm, looks like it was only partially successful in connecting.
Unless someone else here can help, I think you may need to get on a linux kernel/usb mailing list or somesuch.
Try reading the Documentation/usb/serial.txt from the kernel, the maintainer of the driver may be interested.
Or perhaps you can get some sort of port emulator for the laptop?
Old 02-27-2006, 06:41 PM   #5
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Then I try to cat /dev/ttyUSB0 and it just sits there hanging until i do CTRL-C, but I need to let my GPS get a fix and see what happens.
Doing this with my serial GPS does the same thing, the only way I can get any output from it is with gpsd.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
usbserial, nokia6100 stellarboy Linux - Hardware 7 09-20-2007 08:13 AM
GPS (USB) Mouse Question theonebeyond Linux - Hardware 0 09-03-2004 03:52 AM
GPS & Swift&Smart General 4 05-30-2004 08:23 AM
success in using usb gps? ziggie216 Linux - Hardware 1 04-13-2004 02:30 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration