Re: How to get scancodes from mouse buttons?

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

 



On Tue, Feb 15, 2011 at 12:52, JB <jb.1234abcd@xxxxxxxxx> wrote:
> Dotan Cohen <dotancohen <at> gmail.com> writes:
>
>> ...
>> Thanks. I just spent a good hour going through there, but even with
>> xinput I could not switch those keys' positions, and getscancodes did
>> not help, either. I figured maybe the scancodes were above 255 [1] but
>> I'm not sure.
>>
>> [1]  https://bugs.freedesktop.org/show_bug.cgi?id=11227
>>
>
>> $ lsusb
>> Bus 006 Device 003: ID 04fc:0538 Sunplus Technology Co., Ltd
>
> Follow it up with:
> $ lsusb -v
>

Bus 006 Device 003: ID 04fc:0538 Sunplus Technology Co., Ltd
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x04fc Sunplus Technology Co., Ltd
  idProduct          0x0538
  bcdDevice            1.10
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              5
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     130
         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)


> I would contact the manufacturer directly thru their web site, that is their
> Service / Technical Support (there must be a phone # or e-mail address).
> Include all product details as above.
>
> You may get this technical question answered promptly.
> Any way, there is nothing to lose.

I tried contacting them even before buying the device. No answer.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



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

  Powered by Linux