usb

usb


[26671.795491] usb 3-6: new full-speed USB device number 7 using xhci_hcd

[26671.937048] usb 3-6: New USB device found, idVendor=1234, idProduct=0101

[26671.937053] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[26671.937056] usb 3-6: Product: s900

[26671.937058] usb 3-6: Manufacturer: PAX

[33378.528250] usb 3-6: USB disconnect, device number 7

[34164.860116] usb 3-6: new full-speed USB device number 8 using xhci_hcd

[34165.001551] usb 3-6: New USB device found, idVendor=1234, idProduct=0101

[34165.001555] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[34165.001558] usb 3-6: Product: s900

[34165.001560] usb 3-6: Manufacturer: PAX


вот что lsusb дал

Bus 003 Device 008: ID 1234:0101 Brain Actuated Technologies 

Couldn't open device, some information will be missing

Device Descriptor:

 bLength        18

 bDescriptorType    1

 bcdUSB       2.00

 bDeviceClass      0 (Defined at Interface level)

 bDeviceSubClass    0 

 bDeviceProtocol    0 

 bMaxPacketSize0    64

 idVendor     0x1234 Brain Actuated Technologies

 idProduct     0x0101 

 bcdDevice      3.00

 iManufacturer     1 

 iProduct        2 

 iSerial        0 

 bNumConfigurations   1

 Configuration Descriptor:

  bLength        9

  bDescriptorType    2

  wTotalLength     32

  bNumInterfaces     1

  bConfigurationValue  1

  iConfiguration     4 

  bmAttributes    0xc0

   Self Powered

  MaxPower        6mA

  Interface Descriptor:

   bLength        9

   bDescriptorType    4

   bInterfaceNumber    0

   bAlternateSetting   0

   bNumEndpoints     2

   bInterfaceClass   255 Vendor Specific Class

   bInterfaceSubClass   0 

   bInterfaceProtocol   0 

   iInterface       0 

   Endpoint Descriptor:

    bLength        7

    bDescriptorType    5

    bEndpointAddress  0x81 EP 1 IN

    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  0x01 EP 1 OUT

    bmAttributes      2

     Transfer Type      Bulk

     Synch Type       None

     Usage Type       Data

    wMaxPacketSize  0x0040 1x 64 bytes

    bInterval       0


intbulkTransfer(UsbEndpoint endpoint, byte[] buffer, int length, int timeout)

Performs a bulk transaction on the given endpoint.


Report Page