Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2009-07-08 15:43:42

ryan
Contributor
Registered: 2009-06-17
Posts: 36

Strange Errors While Grabbing USB Device

I decided to give the linux client a try, and I'm having difficulty in getting it to see the proxmark.  I've kind of hit a brick wall and am wondering if anyone has any ideas.

I'm running Gentoo x86_64 under VMware Fusion.  When I plug in the pm3, I get the following in dmesg:

  usb 2-1: new full speed USB device using uhci_hcd and address 8
  usb 2-1: configuration #1 chosen from 1 choice
  usb 2-1: can't set config #1, error -110

At the moment, I'm still unsure of the meaning or significance of the -110 error.  I don't have a HID driver trying to grab the device, so I don't think that is an issue.  Either way, when I start the proxmark3 utility, I get:

  synthetic linux # ./proxmark3
  detach kernel driver failed: (-113) could not detach kernel driver from interface 0: No route to host!
  claim failed: could not claim interface 0: No such file or directory!
  PROXMARK3: NOT FOUND!
  proxmark3>

After starting the proxmark3 utility, I get the additional dmesg output, repeated once for each time I try to launch the utility:

  reset full speed USB device using uhci_hcd and address 8

Also of note, the pm3 works fine on the same system under a Windows VM, so I don't believe it's a hardware issue.  Does anyone have any suggestions?  Can someone post their (or just relevant parts of a) kernel .config that works with the pm3?

-ryan

Offline

#2 2009-07-08 22:35:21

adam@algroup.co.uk
Contributor
From: UK
Registered: 2009-05-01
Posts: 203
Website

Re: Strange Errors While Grabbing USB Device

When I plug mine in, I get:

[112791.040633] usb 3-1: new full speed USB device using uhci_hcd and address 74
[112789.141542] usb 3-1: device descriptor read/64, error -71
[112791.388452] usb 3-1: device descriptor read/64, error -71
[112791.604302] usb 3-1: new full speed USB device using uhci_hcd and address 75
[112789.702255] usb 3-1: device descriptor read/64, error -71
[112789.933133] usb 3-1: device descriptor read/64, error -71
[112790.145041] usb 3-1: new full speed USB device using uhci_hcd and address 76
[112790.556755] usb 3-1: device not accepting address 76, error -71
[112793.263415] usb 3-1: new full speed USB device using uhci_hcd and address 78
[112796.420932] usb 3-1: configuration #1 chosen from 1 choice

There is then a fairly long pause - like 5-6 seconds... Then I get:

[112806.422308] /build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: timeout initializing reports
[112806.422386] hiddev96hidraw1: USB HID v1.00 Device [J. Westhues ProxMark-3 RFID Instrument] on usb-0000:00:1d.2-1

and if I do an lsusb -v, I get:

Bus 003 Device 078: ID 9ac4:4b8f 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x9ac4
  idProduct          0x4b8f
  bcdDevice            0.01
  iManufacturer           1
  iProduct                2 ProxMark-3 RFID Instrument
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    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              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      52
         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     0x0008  1x 8 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               1
Device Status:     0x0000
  (Bus Powered)

What does your lsusb say?

Offline

#3 2009-07-09 22:55:50

ryan
Contributor
Registered: 2009-06-17
Posts: 36

Re: Strange Errors While Grabbing USB Device

It doesn't seem to give quite as much information as yours does, but here is what I get.  Note the last line about the timeout.  Strange...

synthetic ~ # lsusb -v

Bus 001 Device 011: ID 9ac4:4b8f  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x9ac4 
  idProduct          0x4b8f 
  bcdDevice            0.01
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    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              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      52
         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     0x0008  1x 8 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               1
cannot read device status, Connection timed out (110)

Offline

Board footer

Powered by FluxBB