Есть на руках геймпад CBR для PC и Playstation (2 коннектора) Так вот, там не заводятся виброматоры (в стим играх), сначала подумал это китай и там их нет, вскрыл, стоят и рабочие.
Ну и простыня =>
[95055.145185] usb 5-1: new full-speed USB device number 28 using ohci-pci
[95055.309826] usb 5-1: New USB device found, idVendor=0810, idProduct=0003
[95055.309838] usb 5-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[95055.309845] usb 5-1: Product: USB Gamepad
[95055.318872] input: USB Gamepad as /devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.0/0003:0810:0003.0021/input/input35
[95055.319180] hid-generic 0003:0810:0003.0021: input,hidraw4: USB HID v1.10 Joystick [USB Gamepad ] on usb-0000:00:13.0-1/input0
dron@gnu:~$ lsusb -v -d 0810:0003
Bus 005 Device 028: ID 0810:0003 Personal Communication Systems, Inc. PlayStation Gamepad
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0810 Personal Communication Systems, Inc.
idProduct 0x0003 PlayStation Gamepad
bcdDevice 1.06
iManufacturer 0
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 350mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 101
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 17
dron@gnu:~$
Ещё
dron@gnu:~$ fftest
Force feedback test program.
HOLD FIRMLY YOUR WHEEL OR JOYSTICK TO PREVENT DAMAGES
Open device file: Permission denied
dron@gnu:~$ su
Пароль:
root@gnu:/home/dron# fftest
Force feedback test program.
HOLD FIRMLY YOUR WHEEL OR JOYSTICK TO PREVENT DAMAGES
Device /dev/input/event0 opened
Features:
* Absolute axes:
[00 00 00 00 00 00 00 00 ]
* Relative axes:
[00 00 ]
* Force feedback effects types:
Force feedback periodic effects:
[00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
* Number of simultaneous effects: 0
Uploading effect #0 (Periodic sinusoidal) ... Error:: Function not implemented
Uploading effect #1 (Constant) ... Error: Function not implemented
Uploading effect #2 (Spring) ... Error: Function not implemented
Uploading effect #3 (Damper) ... Error: Function not implemented
Uploading effect #4 (Strong rumble, with heavy motor) ... Error: Function not implemented
Uploading effect #5 (Weak rumble, with light motor) ... Error: Function not implemented
Enter effect number, -1 to exit