Ahoj,
neporadil byste mi prosím někdo, jak zprooznit taneční podložku (Impact Dance Pad) připojenou přes USB?
Dle návodů na netu, např.
http://www.abclinuxu.cz/hardware/vstupni-zarizeni/gamepady/dance-performance-ii-aw-001by se to mělo chovat jako joystick. Ten jsem ovšem nikdy předtím nepoužíval.
Nainstaloval jsem přes Synaptic programy
joystick a
xserver-xorg-input-joystick.
Ale nic se nestalo. Dle
man joystick jsem do
/etc/X11/xorg.conf vložil
Section "InputDevice"
Identifier "DancePad"
Driver "joystick"
Option "Path" "/dev/input/js0"
EndSection
ale to nestačí.
Zařízení se hlásí následovně:
dmessg dá:
[22463.444095] usb 2-1: new low speed USB device using uhci_hcd and address 10
[22463.704520] usb 2-1: configuration #1 chosen from 1 choice
[22463.763917] input: WiseGroup.,Ltd Positive Gaming Impact USB pad as /devices/pci0000:00/0000:00:1a.1/usb2/2-1/2-1:1.0/input/input21
[22463.817266] input,hidraw2: USB HID v1.00 Joystick [WiseGroup.,Ltd Positive Gaming Impact USB pad] on usb-0000:00:1a.1-1, takže ho nějak vidí
lsusb -v -d 6677:8811 dá:
Bus 002 Device 010: ID 6677:8811
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x6677
idProduct 0x8811
bcdDevice 1.00
iManufacturer 1
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 100mA
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.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 56
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 10
cannot read device status, Operation not permitted (1)
, z toho ovšem 2*moudrý nejsem, vidím jen to, že je to totéž, co bylo uvedeno ve výpisech ve výše zmíněném návosu na netu.
Jediný program, který reagoval na "klávesy" byl
jscalibrator, taneční programy
Stepmania, Pydance to vesele ignorují a tváří se (v nastavéní kláves) že ho vůbec nevidí připojený.
Používám trochu starší Ubuntu (8.10 - Intrepid Ibex), ale myslím, že by to nemělo být tím. Máte někdo nějaký nápad, jak zařídit, aby klávesy dance padu viděly i jiné programy než
jscalibrator?
Díky