LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   A4Tech X-718 navigation buttons problem (https://www.linuxquestions.org/questions/linux-hardware-18/a4tech-x-718-navigation-buttons-problem-696584/)

Baisuoklis 01-11-2009 06:05 PM

A4Tech X-718 navigation buttons problem
 
Hi, i have problem configuring my mouse navigation buttons. Its a 7 button mouse,A4Tech X-718 http://www.x7.cn/en/product.asp?id=17
Adding usual :
Code:

        Option      "ZAxisMapping" "4 5"
        Option      "ButtonMapping" "1 2 3 6 7"

doesent help.

lsusb -v output:
Code:

Bus 002 Device 002: ID 09da:000e A4 Tech Co., Ltd
Device Descriptor:
  bLength                18
  bDescriptorType        1
  bcdUSB              1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass        0
  bDeviceProtocol        0
  bMaxPacketSize0        8
  idVendor          0x09da A4 Tech Co., Ltd
  idProduct          0x000e
  bcdDevice            0.01
  iManufacturer          1 A4Tech
  iProduct                2 PS/2+USB Mouse
  iSerial                0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                9
    bDescriptorType        2
    wTotalLength          34
    bNumInterfaces          1
    bConfigurationValue    1
    iConfiguration          3 HID-Compliant Mouse
    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              0
        HID Device Descriptor:
          bLength                9
          bDescriptorType        33
          bcdHID              1.10
          bCountryCode            0 Not supported
          bNumDescriptors        1
          bDescriptorType        34 Report
          wDescriptorLength      64
        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    0x0006  1x 6 bytes
        bInterval              10
Device Status:    0x0000
  (Bus Powered)

I'm using Slackware 12.2, kernel 2.6.28. KDE 3.5.10 desktop. xev is telling me that my "Back" button is button 3 and "Forward" button is 2. Which is realy confusing because those are already mapped on respective mouse buttons. So how can i get those navigation buttons to work?

Any help appreciated! :)

David the H. 01-11-2009 10:28 PM

Are you saying that you have multiple buttons outputting the same codes? I've had a similar problem with my Kensington trackball. A couple of the buttons are duplicated and the rest don't work at all. It's a problem with the standard mouse driver, which doesn't properly support all the extra multimedia buttons on most modern mice.

Try the evdev driver instead; it will probably give you full support for all of your buttons. Just configure your xorg as explained here. Note that evdev has a different set of configuration options and most of the older ones won't work; but in general most mice will work fine without any extra tweaking. You'll probably only need the Identifier, Driver, And Device path in your entry.

Baisuoklis 01-12-2009 12:25 AM

First off thx for such a quick reply :)
Quote:

Originally Posted by David the H. (Post 3405186)
Are you saying that you have multiple buttons outputting the same codes?

Yes, mouse button 2 (middle buton under mouse wheel) and "Forward" button are both identified as 'button 2' by xev. Same situation with button 3 and "Back" button.
Quote:

Originally Posted by David the H. (Post 3405186)
Try the evdev driver instead; it will probably give you full support for all of your buttons. Just configure your xorg as explained here. Note that evdev has a different set of configuration options and most of the older ones won't work; but in general most mice will work fine without any extra tweaking. You'll probably only need the Identifier, Driver, And Device path in your entry.

Will try that as soon as i get home. Gonna post on results later.


All times are GMT -5. The time now is 09:25 AM.