Portál AbcLinuxu, 12. června 2024 18:46

Rubber Pad MM-811

Ovladač: v jádře

Technické parametry

Gamepad na USB co více říci :-)

Identifikace pod Linuxem

Bus 002 Device 002: ID 0e8f:0003
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0e8f
  idProduct          0x0003
  bcdDevice            1.07
  iManufacturer           1 GreenAsia Inc.
  iProduct                2 USB Joystick
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      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

Postup zprovoznění pod Linuxem

Pod FC4 žádný jednoduše jsem ho zastrčil a spustil test "jstest /dev/input/js0" a funguje. :-) U některých distribucí ho bude asy nutné rozchodit nahráním příslušných ovladačů pomocí modprobe. Taky třeba upravit udev aby vytvařel zařízení /dev/jsX protože /dev/input/jsX některé programy neberou. Takže upravit /etc/udev/rules.d/50-udev.rules kde najdeme řádek pro joystick a upravíme na
KERNEL=="js*", NAME="input/%k", SYMLINK="js%n"
přidáme vlastně parametr SYMLINK.

Dokument vytvořil: Petr Šobáň, 27.7.2005 17:48 | Zobrazeno: 766×

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.