Re: problem with usb device

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

 



On Sun, 29 May 2011, cedric Martin wrote:

> Dear sir,
> 
> I'm writting you as I found your email on:
> 
> http://www.linux-usb.org/
> 
> I don't know if you are the right person to write to?

You should send problem reports like this to the linux-usb mailing 
list.

> I'm totally beginner on Linux, I'm not programmer and I have problem
> with an USB arcade joystick, I spent many hours to try to make it
> works...
> 
> here my OS:
>  
> Linux ambre-jade 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC
> 2011 i686 athlon i386 GNU/Linux
> 
> I bought this arcade stick which working, on PS3 and on win XPsp2
> now I decide to try on Ubuntu OS.
> 
> I used a six axis genuine oem PS3 controler and my arcade stick on
> PC XPsp3 to my work: OK, these 2 controllers are detected in the
> same way as "PLAYSTATION 3 controller" and work perfectly in the
> joystick manager panel.
> 
> On my computer, I try genuine PS3 controler and with jscal I saw axis
> and buttons values who change when I'm interact with, it seems works.
> BUT with my controler it do not work (sometime it is detected as PS3
> sony controller, but still do not work, and sometime not detected at
> all).
> 
> here are some test I did perform with first the genuine PS3 controller:
> 
> Bus 002 Device 006: ID 054c:0268 Sony Corp. Batoh Device
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0 
>   bDeviceProtocol         0 
>   bMaxPacketSize0        64
>   idVendor           0x054c Sony Corp.
>   idProduct          0x0268 Batoh Device
>   bcdDevice            1.00
>   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.11
>           bCountryCode            0 Not supported
>           bNumDescriptors         1
>           bDescriptorType        34 Report
>           wDescriptorLength     148
>          Report Descriptors: 
>            ** UNAVAILABLE **
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x02  EP 2 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
> can't get device qualifier: Operation not permitted
> can't get debug descriptor: Operation not permitted
> cannot read device status, Operation not permitted (1)
> 
> a dmesg display this when connect:
> 
> "[  127.108225] usb 2-6: new full speed USB device using ohci_hcd and
> address 3
> [  128.042283] input: Sony PLAYSTATION(R)3 Controller
> as /devices/pci0000:00/0000:00:02.0/usb2/2-6/2-6:1.0/input/input4
> [  128.043102] sony 0003:054C:0268.0002: input,hiddev0,hidraw1: USB HID
> v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on
> usb-0000:00:02.0-6/input0"
> 
> Now my arcade stick, when detected (sometime), display this:
> 
> Bus 002 Device 016: ID 054c:0268 Sony Corp. Batoh Device
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0 
>   bDeviceProtocol         0 
>   bMaxPacketSize0         8
>   idVendor           0x054c Sony Corp.
>   idProduct          0x0268 Batoh Device
>   bcdDevice            1.00
>   iManufacturer           1 
>   iProduct                2 
>   iSerial                 0 
>   bNumConfigurations      0
> can't get device qualifier: Operation not permitted
> can't get debug descriptor: Operation not permitted
> cannot read device status, Operation not permitted (1)
> 
> this arcade stick is not everytime detected (check with lsusb and dmesg,
> sometimes it happens this:
> 
> [  903.640028] usb 2-5: new full speed USB device using ohci_hcd and
> address 3
> [  903.843543] usb 2-5: device descriptor read/all, error -71
> [  904.024032] usb 2-5: new full speed USB device using ohci_hcd and
> address 4
> [  904.231542] usb 2-5: device descriptor read/all, error -71
> [  904.412033] usb 2-5: new full speed USB device using ohci_hcd and
> address 5
> [  904.647543] usb 2-5: device descriptor read/all, error -62
> [  904.828027] usb 2-5: new full speed USB device using ohci_hcd and
> address 6
> [  904.863539] usb 2-5: device descriptor read/all, error -71
> [  904.868020] hub 2-0:1.0: unable to enumerate USB device on port 5
> 
> and yesterday I had this:
> 
> 
> [ 1869.904023] usb 2-6: new full speed USB device using ohci_hcd and
> address 3
> [ 1870.216032] input: Sony PLAYSTATION(R)3 Controller
> as /devices/pci0000:00/0000:00:02.0/usb2/2-6/2-6:1.0/input/input4
> [ 1870.216828] sony 0003:054C:0268.0002: input,hiddev0,hidraw1: USB HID
> v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on
> usb-0000:00:02.0-6/input0
> [ 1870.218183] sony 0003:054C:0268.0002: can't set operational mode
> [ 1870.218588] sony: probe of 0003:054C:0268.0002 failed with error -71
> 
> and Today I plug it many time and I had every time different message:
> 
> [ 1853.676028] usb 2-5: new full speed USB device using ohci_hcd and
> address 9
> [ 1853.856023] usb 2-5: device descriptor read/64, error -62
> [ 1854.182556] usb 2-5: unable to read config index 0 descriptor/all
> [ 1854.182563] usb 2-5: can't read configurations, error -71
> [ 1854.360023] usb 2-5: new full speed USB device using ohci_hcd and
> address 10
> [ 1854.575554] usb 2-5: unable to read config index 0 descriptor/start:
> -62
> [ 1854.575560] usb 2-5: chopping to 0 config(s)
> [ 1854.590685] usb 2-5: no configuration chosen from 0 choices
> [ 1868.462126] usb 2-5: USB disconnect, address 10
> [ 1869.316037] usb 2-5: new full speed USB device using ohci_hcd and
> address 11
> [ 1869.496024] usb 2-5: device descriptor read/64, error -71
> [ 1869.807553] usb 2-5: device descriptor read/all, error -71
> [ 1869.988028] usb 2-5: new full speed USB device using ohci_hcd and
> address 12
> [ 1870.191553] usb 2-5: device descriptor read/all, error -62
> [ 1870.372024] usb 2-5: new full speed USB device using ohci_hcd and
> address 13
> [ 1870.399552] usb 2-5: device descriptor read/8, error -62
> [ 1870.542558] usb 2-5: unable to read config index 0 descriptor/all
> [ 1870.542565] usb 2-5: can't read configurations, error -71
> [ 1870.720024] usb 2-5: new full speed USB device using ohci_hcd and
> address 14
> [ 1870.747553] usb 2-5: device descriptor read/8, error -62
> [ 1870.896554] usb 2-5: unable to read config index 0 descriptor/all
> [ 1870.896559] usb 2-5: can't read configurations, error -71
> [ 1870.900019] hub 2-0:1.0: unable to enumerate USB device on port 5
> [ 1886.168025] usb 2-6: new full speed USB device using ohci_hcd and
> address 15
> [ 1886.371556] usb 2-6: device descriptor read/all, error -84
> [ 1886.552030] usb 2-6: new full speed USB device using ohci_hcd and
> address 16
> [ 1886.732021] usb 2-6: device descriptor read/64, error -62
> [ 1887.016026] usb 2-6: device descriptor read/64, error -71
> [ 1887.296037] usb 2-6: new full speed USB device using ohci_hcd and
> address 17
> [ 1887.352555] usb 2-6: unable to read config index 0 descriptor/all
> [ 1887.352560] usb 2-6: can't read configurations, error -71
> 
> 
> I suppose this come from less fields in configuration or interface
> descriptor. between the 2 joystick?

These -62, -71, and -84 errors are all low-level hardware problems.  
They indicate that the computer is not able to communicate with the 
joystick.  They could be caused by a bad cable or bad electronics in 
the computer or in the stick.

> The arcade stick is a simple 2 axis (4 switches), and 11 buttons (all
> with switches, no analog stick).
> 
> 
> is there a way to use this stick in the same way as with the Sony
> driver as they hade the same vendor and product ID?

Not until the hardware problems are fixed.  Have you tried using the 
stick on a different Linux computer?  For example, what happens if you 
plug it into the Win-XP system and boot from an Ubuntu LiveCD?

Alan Stern

--
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