Re: SHANWAN pad rumbling not working on USB

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

 



It's a PS3 "clone" joystick. Everything works fine EXCEPT rumbling.

I think it's related to commit
492ca83c3d19fba1622164f07cd7b775596a7db2 (HID: sony: Fix SHANWAN pad
rumbling on USB ) . If I revert this commit, the controller starts to
rumble as soon as plugged in,
indicated this joystick is, in fact, capable of rumbling after all.

PS: I also noticed four leds of this controller start to blink after
plugged in. But in windows, only one LED toggle on without blinking.

Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> 于2018年12月27日周四 下午5:41写道:
>
> Adding linux-input which is the best list for this...
>
> On Thu, Dec 27, 2018 at 09:17:22AM +0800, liquid wrote:
> > Rumbling function on SHANWAN DS3 clone joystick doesn't work.
> > Meanwhile it can work fine on Windows ScpToolkit v1.7.277.16103-BETA.
> > (Tested with PCSX2 lilypad Win32 build).
> >
> > SDL2/test/testhaptic was able to find out its supported effect. But NO
> > rumble at all.
> > INFO: 1 Haptic devices detected.
> > INFO: Device: SHANWAN PS3 GamePad
> > INFO:    Supported effects [16 effects, 16 playing]:
> > INFO:       sine
> > INFO:       triangle
> > INFO:       left/right
> > INFO:    Supported capabilities:
> > INFO:       gain
> > INFO:
> > Uploading effects
> > INFO:    effect 0: Sine Wave
> > INFO:    effect 1: Left/Right
> > INFO:
> > Now playing effects for 5 seconds each with 1 second delay between
> > INFO:    Playing effect 0
> > INFO:    Playing effect 1
> >
> > lsusb:
> > Bus 001 Device 017: ID 054c:0268 Sony Corp. Batoh Device / PlayStation
> > 3 Controller
> >
> > lsusb -v:
> > Bus 001 Device 017: ID 054c:0268 Sony Corp. Batoh Device / PlayStation
> > 3 Controller
> > Device Descriptor:
> >   bLength                18
> >   bDescriptorType         1
> >   bcdUSB               1.10
> >   bDeviceClass            0
> >   bDeviceSubClass         0
> >   bDeviceProtocol         0
> >   bMaxPacketSize0        64
> >   idVendor           0x054c Sony Corp.
> >   idProduct          0x0268 Batoh Device / PlayStation 3 Controller
> >   bcdDevice            1.00
> >   iManufacturer           1 SHANWAN
> >   iProduct                2 PS3 GamePad
> >   iSerial                 0
> >   bNumConfigurations      1
> >   Configuration Descriptor:
> >     bLength                 9
> >     bDescriptorType         2
> >     wTotalLength       0x0029
> >     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
> >       bInterfaceProtocol      0
> >       iInterface              0
> >         HID Device Descriptor:
> >           bLength                 9
> >           bDescriptorType        33
> >           bcdHID               1.10
> >           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
> > Device Status:     0x0004
> >   (Bus Powered)
> >   Test Mode
>
>
> Has this device ever worked on Linux?
>
> It says it is a PS3 controller and I thought PS3 controllers handled
> rumbling for a while now.
>
> thanks,
>
> greg k-h




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux