bugGPSD - Bugs: bug #35652, GPSD doesn't correctly identifies...

 
 

bug #35652: GPSD doesn't correctly identifies the USB device when several USB GPS devices are connected, one of which Garmin USB.

Submitter:  Michael Tatarinov <mike_t>
Submitted:  Tue 28 Feb 2012 05:52:10 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  garyemiller
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 31 May 2019 10:43:03 AM UTC, comment #3: 

It looks from the code as though this may have been fixed by the addition of the packet send check in garmin_usb_detect().

I don;'t have the right hardware to check.  But we're changing bugtrackers and I need to dispose of this, so my request for mike_t is: if this is still a live bug, please refile at https://gitlab.com/gpsd/gpsd/issues

Eric S. Raymond <esr>
Group administrator
Tue 08 May 2012 03:10:28 AM UTC, comment #2: 

gpsd doesn't work also.
is_usb_device() returns TRUE for any devices if Garmin USB is connected.

Michael Tatarinov <mike_t>
Tue 08 May 2012 02:22:09 AM UTC, comment #1: 

gpsd works fine, the problem seems to be in gpsctl.  I'm not sure why gpsctl gives different results than gpsd.

Gary E. Miller <garyemiller>
Group administrator
Tue 28 Feb 2012 05:52:10 AM UTC, original submission:  

Hello

$ ./gpsctl -D2 -f /dev/ttyUSB0
gpsctl:INFO: startup at 2011-10-18T06:56:16.000Z (1318920976)
gpsctl:INFO: opening GPS data source type 3 at '/dev/ttyUSB0'
gpsctl:INFO: speed 115200, 8N1
gpsctl:INFO: attempting USB device enumeration.
gpsctl:INFO: 1d6b:0002 (bus 1, device 1)
gpsctl:INFO: 1d6b:0001 (bus 2, device 1)
gpsctl:INFO: 1d6b:0001 (bus 3, device 1)
gpsctl:INFO: 1d6b:0001 (bus 4, device 1)
gpsctl:INFO: 1d6b:0001 (bus 5, device 1)
gpsctl:INFO: 058f:6335 (bus 1, device 3)
gpsctl:INFO: 05e3:0505 (bus 1, device 5)
gpsctl:INFO: 067b:2303 (bus 2, device 2)
gpsctl:INFO: 091e:0003 (bus 3, device 2)
gpsctl:SHOUT: vendor/product match with 091e:0003 found
gpsctl:INFO: gpsd_activate(): activated GPS (fd 3)
gpsctl:SHOUT: /dev/ttyUSB0 identified as a Garmin USB binary at 115200.
$ ./gpsctl -D2 -f /dev/ttyUSB1
gpsctl:INFO: startup at 2011-10-18T06:56:46.000Z (1318921006)
gpsctl:INFO: opening GPS data source type 3 at '/dev/ttyUSB1'
gpsctl:INFO: speed 9600, 8N1
gpsctl:INFO: attempting USB device enumeration.
gpsctl:INFO: 1d6b:0002 (bus 1, device 1)
gpsctl:INFO: 1d6b:0001 (bus 2, device 1)
gpsctl:INFO: 1d6b:0001 (bus 3, device 1)
gpsctl:INFO: 1d6b:0001 (bus 4, device 1)
gpsctl:INFO: 1d6b:0001 (bus 5, device 1)
gpsctl:INFO: 058f:6335 (bus 1, device 3)
gpsctl:INFO: 05e3:0505 (bus 1, device 5)
gpsctl:INFO: 067b:2303 (bus 2, device 2)
gpsctl:INFO: 091e:0003 (bus 3, device 2)
gpsctl:SHOUT: vendor/product match with 091e:0003 found
gpsctl:INFO: gpsd_activate(): activated GPS (fd 3)
gpsctl:SHOUT: /dev/ttyUSB1 identified as a Garmin USB binary at 9600.

/dev/ttyUSB0 - SiRF
/dev/ttyUSB1 - Garmin

Michael Tatarinov <mike_t>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by garyemiller (Posted a comment)
  • -email is unavailable- added by esr (Updated the item)
  • -email is unavailable- added by mike_t (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-31 esr Open/ClosedOpen Closed
    2012-05-08 garyemiller StatusNone Confirmed
    2012-04-05 esr Assigned toNone garyemiller

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code