Can I use usb composite device in linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello 
I am a device developer using AT90USB162(ATMEL) in s.korea 
I am not good at linux and english
Anyway, I developed USB device named multi controller(composite device) that have functioned keyboad, mouse, joystick, and generic interface know as event interface
Of course I registered Vendor ID of my device at USB org. It is mean to pass USB org
My device be recognized in Windows XP, Vista, Windows 7 
Moreover, It is good to Operate at windows system without driver file
However, Why can't the device be recognized in linux system
I tested the device in fedora12, ubuntu9, etc 
I face same result in linux. It is mean that I have the problem 
In other words, The device based AT90USB162 is good in windows system
meanwhile I have the problem in linux system 
I checked the device's recognition using dmesg of linux command 
Bellow My dmesg log
[ 1323.040059] usb 2-1: new full speed USB device using uhci_hcd and address 2
[ 1323.269935] usb 2-1: configuration #1 chosen from 1 choice
[ 1323.282972] input: NaMoS JOYTION2: Multi Motion Controller as /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/input/input7
[ 1323.304294] generic-usb 0003:1F0D:0201.0004: input,hidraw0: USB HID v1.10 Mouse [NaMoS JOYTION2: Multi Motion Controller] on usb-0000:00:10.0-1/input0
[ 1333.313073] generic-usb 0003:1F0D:0201.0005: timeout initializing reports
[ 1333.321196] input: NaMoS JOYTION2: Multi Motion Controller as /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.1/input/input8
[ 1333.332321] generic-usb 0003:1F0D:0201.0005: input,hidraw1: USB HID v1.10 Joystick [NaMoS JOYTION2: Multi Motion Controller] on usb-0000:00:10.0-1/input1
[ 1368.337113] generic-usb: probe of 0003:1F0D:0201.0006 failed with error -110
[ 1368.337539] usbhid 2-1:1.3: couldn't find an input interrupt endpoint
I am wondering that why I meet the error message "probe a fail" in linux
Do you know how I can resolve this problem in linux system
Do you have Script or driver files for linux system 
Of course, I confirm http://www.cs.fsu.edu/~baker/devices/lxr/http/ident?i=probe_count // linux source regarding probe fail 
Is this linux kernel's bug? so How can I do for this problem
I am waiting your good reply. Take care
from South korea.

 
 
[youngmun@Test ~]$ lsusb -v 
 
Bus 002 Device 003: ID 1f0d:0201   //
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        32
  idVendor           0x1f0d  // vendor ID
  idProduct          0x0201 
  bcdDevice           10.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          109  // 
    bNumInterfaces          4  // 
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0  // 
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse // 
      iInterface              0  
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      52
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1 // 
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      3  // 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      84
         Report Descriptors: 
           ** UNAVAILABLE **
      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               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2   //
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard // 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      43
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3  // 
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      0 None  
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      38
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval               8
can't get device qualifier: Operation not permitted  
can't get debug descriptor: Operation not permitted 
cannot read device status, Operation not permitted (1) 


      
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux