Here is the output:

I am using the filter - how do I use the device driver mode instead?


DLL version:    1.2.5.0
Driver version: 1.2.5.0

bus/device  idVendor/idProduct
bus-0/\\.\libusb0-0001--0x091e-0x0003     091E/0003
bLength:             18
bDescriptorType:     01h
bcdUSB:              0110h
bDeviceClass:        FFh
bDeviceSubClass:     FFh
bDeviceProtocol:     FFh
bMaxPacketSize0:     40h
idVendor:            091Eh
idProduct:           0003h
bcdDevice:           0001h
iManufacturer:       0
iProduct:            0
iSerialNumber:       0
bNumConfigurations:  1
  wTotalLength:         39
  bNumInterfaces:       1
  bConfigurationValue:  1
  iConfiguration:       0
  bmAttributes:         80h
  MaxPower:             60
    bInterfaceNumber:   0
    bAlternateSetting:  0
    bNumEndpoints:      3
    bInterfaceClass:    255
    bInterfaceSubClass: 255
    bInterfaceProtocol: 255
    iInterface:         0
      bEndpointAddress: 81h
      bmAttributes:     02h
      wMaxPacketSize:   64
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0
      bEndpointAddress: 82h
      bmAttributes:     03h
      wMaxPacketSize:   64
      bInterval:        1
      bRefresh:         0
      bSynchAddress:    0
      bEndpointAddress: 03h
      bmAttributes:     02h
      wMaxPacketSize:   64
      bInterval:        0
      bRefresh:         0
      bSynchAddress:    0

-----Original Message-----
From: Xiaofan Chen [mailto:xiaof...@gmail.com] 
Sent: Saturday, December 24, 2011 3:53 PM
To: pyusb-users@lists.sourceforge.net
Subject: Re: [pyusb-users] Garmin GPS

On Sun, Dec 25, 2011 at 3:49 AM, Stephen Conley <conle...@me.com> wrote:
> Hi - new to PyUSB and attempting to read GPS info from Garmin USB GPS.  I
am
> using the Windows 7 (64 bit) and have installed libusb0.  The Garmin
driver
> also appears to be connected to the GPS.
>
> I get the error:
>
> [Errno None] libusb0-dll:err [claim_interface] could not claim interface
0,
> win error: The requested resource is in use.
>
> I have read on the byte forum that Garmin GPS units don't work with PyUSB
on
> Windows because of some quirk in the way the drivers are installed.  Is
that
> true and is there a work around (short of not using PyUSB)?
>

How did you install libusb-win32? What is the output of testlibusb-win.exe?

Are you using the filter driver? If that does not work, try to use the
device
driver mode and it should work.


-- 
Xiaofan

----------------------------------------------------------------------------
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to