Exploring unknown HID devices

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

 



Hi all,
I could use some pointers on figuring out a particular device on my
laptop.

The laptop came with an IR remote control. I'd like to use it to control
multimedia apps like mplayer and xmms, or simply map keystrokes or GNOME
functions to buttons. The IR receiver is recognised by Linux as USB HID
device (see attached). Hence I reckon lirc is the wrong way to go.

Out of all the buttons on the remote, only one triggers an action: the
volume-up button. Curiously, it seems to do the same as the volume-down
key on the laptop. For all other buttons xev remains silent.

I was wondering how to go about detecting the rest of the button
presses. Obviously, something is working/going on there, or the
volume-up button would do anything either.

I suspect the answer might also help in getting the multimedia keys on
the laptop to work. With the exception of volume up/down they don't
register in xev either. I tried xxd'ing /dev/input/event* to no avail.
The buttons/keys that work show up on event0, the others on none of the
devices.

Cheers
Steffen.

Bus 004 Device 002: ID 04c5:10c4 Fujitsu, Ltd 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x04c5 Fujitsu, Ltd
  idProduct          0x10c4 
  bcdDevice            1.00
  iManufacturer           1 Fujitsu
  iProduct                2 Remote Control Receiver
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower               98mA
    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            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     113
         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     0x0003  1x 3 bytes
        bInterval              10

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux