• [^] # Re: pas expert en X

    Posté par . En réponse au message Bouton manquant sur cordless trackman optical. Évalué à 1.

    je remet exactement ce que j'ai dans le fichier de conf (je l'avais mis de mémoire) :
    Section "InputDevice"
    Identifier "Trackball"
    Driver "mouse"
    Option "Device" "/dev/input/mice"
    Option "Name" "AutoDetected"
    Option "Vendor" "AutoDetected"
    Option "Protocol" "ExplorerPS/2"
    Option "Buttons" "7"
    Option "AngleOffset" "-32"
    Option "ZAxisMapping" "4 5"
    EndSection

    lsmod (ces 3 là semblent se rapporter à mon trackball):

    mousedev 4276 1
    hid 22212 0 (unused)
    input 3552 0 [mousedev hid]

    lsusb -v (je ne met que le dernier qui comporte logitech):
    Bus 001 Device 003: ID 046d:c508 Logitech, Inc.
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 1.10
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor 0x046d Logitech, Inc.
    idProduct 0xc508
    bcdDevice 15.00
    iManufacturer 1 Logitech
    iProduct 2 USB Receiver
    iSerial 0
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 34
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xa0
    Remote Wakeup
    MaxPower 50mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 3 Human Interface Devices
    bInterfaceSubClass 1 Boot Interface Subclass
    bInterfaceProtocol 2 Mouse
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0008 bytes 8 once
    bInterval 10
    HID Device Descriptor:
    bLength 9
    bDescriptorType 33
    bcdHID 1.10
    bCountryCode 0 Not supported
    bNumDescriptors 1
    bDescriptorType 34 Report
    wDescriptorLength 76

    je suis en noyaux 2.4.16

    J'ai essayé ça :
    http://devilgallery.free.fr/articles.php?lng=fr&pg=14&prt=1(...)
    et
    http://www.slyunix.org/astuce/astuce.php?a_id=184(...)

    mais xev ne me donne pas de réponse pour ce bouton (ainsi que 2 autres :/)

    j'ai tenté de mettre /dev/psaux mais ça a craché mon serveur XFree 4.3.0.1