On Fri, Dec 10, 2010 at 9:41 AM, nick caruso <ngv...@gmail.com> wrote:

> If the kernel's got a driver set up for the device, then you have to
> tell the kernel
> to let go before you can set the configuration etc.
>
> I forget the API function, but it's obvious if you look.
>
> Also you probably need to do this as root.
>
> Does it mount as a serial to usb device, I wonder, or a filesystem?
> Have you used 'lsusb -v'?
>
> If it's one of those two, you've got a better chance of getting data
> out of it than if they've gone and implemented a custom USB device.
>
>  good luck!
>     best regards,
>        Nick Caruso
>


Never occurred to me to use -v. Lots of interesting stuff printed.  The
comment about mounting as a filesystem...that's intriguing. Does the output
below give up helpful info? This device does come with a gig of user
storage, btw, two 512Mb fat partitions.


> Bus 001 Device 013: ID 1a79:6002 Bayer Health Care LLC
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0        64
>   idVendor           0x1a79 Bayer Health Care LLC
>   idProduct          0x6002
>   bcdDevice            1.00
>   iManufacturer           1 Bayer HealthCare LLC
>   iProduct                2 Contour USB
>   iSerial                 3 0000000001078634
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           64
>     bNumInterfaces          2
>     bConfigurationValue     1
>     iConfiguration          4 Full Speed Configuration
>     bmAttributes         0x80
>       (Bus Powered)
>     MaxPower              500mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass         3 Human Interface Device
>       bInterfaceSubClass      0 No Subclass
>       bInterfaceProtocol      0 None
>       iInterface              5 Hid Interface
>         HID Device Descriptor:
>           bLength                 9
>           bDescriptorType        33
>           bcdHID              10.10
>           bCountryCode            0 Not supported
>           bNumDescriptors         1
>           bDescriptorType        34 Report
>           wDescriptorLength      38
>          Report Descriptors:
>            ** UNAVAILABLE **
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x01  EP 1 OUT
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0040  1x 64 bytes
>         bInterval               1
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0040  1x 64 bytes
>         bInterval               1
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        1
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass         8 Mass Storage
>       bInterfaceSubClass      6 SCSI
>       bInterfaceProtocol     80 Bulk (Zip)
>       iInterface              6 Msc Interface
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x02  EP 2 OUT
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0040  1x 64 bytes
>         bInterval               0
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x82  EP 2 IN
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0040  1x 64 bytes
>         bInterval               0
> Device Status:     0x0000
>   (Bus Powered)
>
>
------------------------------------------------------------------------------
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to