Portál AbcLinuxu, 11. května 2025 04:51
I: Bus=0017 Vendor=0001 Product=0001 Version=0100 N: Name="Macintosh mouse button emulation" P: Phys= S: Sysfs=/devices/virtual/input/input2 U: Uniq= H: Handlers=mouse0 event2 B: EV=7 B: KEY=70000 0 0 0 0 0 0 0 0 B: REL=3 I: Bus=0003 Vendor=046d Product=c517 Version=0110 N: Name="Logitech USB Receiver" P: Phys=usb-0000:00:1d.1-1/input1 S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/input/input19 U: Uniq= H: Handlers=kbd mouse2 event7 B: EV=1f B: KEY=837fff 42c332f bf084444 0 0 ff0001 1f84 8a37cc00 667bfa dd71dfed 9e0000 0 0 0 B: REL=1c3 B: ABS=1 0 B: MSC=10Problem je ze nahnutni kolecka (tilt wheel left/right) misto vertikalniho scrollovani "posle" sipku doleva, resp. doprava. Coz mimochodem dela i pouzivani kliknuti na kolecko dost problemove. Ostatni extra tlacitka funguji dobre. Druha mys co se v lsusb hlasi jako "046d:c526 Logitech, Inc. MX Revolution Cordless Mouse" funguje absolutne bezproblemove. Updatoval jsem kvuli tomu z jaunty na karmic ale problem je furt stejny. Zkousel jsem najit problem sam, ale kdyz kazda verze ubuntu pouziva jiny (xorg.conf,evdev,udev,hid,hal) system nastavovani, tak to akorat nastve.
(II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse2) (II) No input driver/identifier specified (ignoring) (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event7) (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall" (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall" (**) Logitech USB Receiver: always reports core events (**) Logitech USB Receiver: Device: "/dev/input/event7" (II) Logitech USB Receiver: Found 12 mouse buttons (II) Logitech USB Receiver: Found scroll wheel(s) (II) Logitech USB Receiver: Found relative axes (II) Logitech USB Receiver: Found x and y relative axes (II) Logitech USB Receiver: Found absolute axes (II) Logitech USB Receiver: Found keys (II) Logitech USB Receiver: Configuring as mouse (II) Logitech USB Receiver: Configuring as keyboard (**) Logitech USB Receiver: YAxisMapping: buttons 4 and 5 (**) Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD) (**) Option "xkb_rules" "evdev" (**) Option "xkb_model" "pc105" (**) Option "xkb_layout" "us" (II) Logitech USB Receiver: initialized for relative axes. (WW) Logitech USB Receiver: ignoring absolute axes.
$ xinput set-button-map 12 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 $ xinput get-button-map 12 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1tak vsechny tlacitka (vcetne wheel tilt left/right) funguji jako zmacknuti prvniho tlacitka + navic wheel tilt left/right JESTE POSLE SIPKU DOLEVA/DOPRAVA!
KeyPress event, serial 36, synthetic NO, window 0x4200001, root 0x110, subw 0x4200002, time 1392485, (10,25), root:(681,77), state 0x10, keycode 78 (keysym 0xff14, Scroll_Lock), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 36, synthetic NO, window 0x4200001, root 0x110, subw 0x4200002, time 1392493, (10,25), root:(681,77), state 0x10, keycode 78 (keysym 0xff14, Scroll_Lock), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False EnterNotify event, serial 36, synthetic NO, window 0x4200001, root 0x110, subw 0x0, time 1392725, (9,25), root:(680,77), mode NotifyNormal, detail NotifyInferior, same_screen YES, focus YES, state 16kolecko naklneni doleva:
LeaveNotify event, serial 36, synthetic NO, window 0x4200001, root 0x110, subw 0x0, time 1481337, (10,41), root:(681,93), mode NotifyNormal, detail NotifyInferior, same_screen YES, focus YES, state 16 MotionNotify event, serial 36, synthetic NO, window 0x4200001, root 0x110, subw 0x4200002, time 1481337, (10,41), root:(681,93), state 0x10, is_hint 0, same_screen YES KeyPress event, serial 36, synthetic NO, window 0x4200001, root 0x110, subw 0x4200002, time 1482081, (10,41), root:(681,93), state 0x10, keycode 78 (keysym 0xff14, Scroll_Lock), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 36, synthetic NO, window 0x4200001, root 0x110, subw 0x4200002, time 1482089, (10,41), root:(681,93), state 0x10, keycode 78 (keysym 0xff14, Scroll_Lock), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 36, synthetic NO, window 0x4200001, root 0x110, subw 0x4200002, time 1482105, (10,41), root:(681,93), state 0x10, keycode 113 (keysym 0xff51, Left), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 36, synthetic NO, window 0x4200001, root 0x110, subw 0x4200002, time 1482113, (10,41), root:(681,93), state 0x10, keycode 113 (keysym 0xff51, Left), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 36, synthetic NO, window 0x4200001, root 0x110, subw 0x4200002, time 1482625, (10,41), root:(681,93), state 0x10, keycode 78 (keysym 0xff14, Scroll_Lock), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 36, synthetic NO, window 0x4200001, root 0x110, subw 0x4200002, time 1482641, (10,41), root:(681,93), state 0x10, keycode 78 (keysym 0xff14, Scroll_Lock), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
xinput set-button-map "Logitech USB Receiver" pořadí tlačítek
, tj. něco jako 1 2 3 4 5 11 12 8 9 10 6 7
Podle toho, které nastavení bude nejlépe fungovat bych si pak napsal vlastní udev pravidlo. S tím kdyžtak pomůžu pak.
#define USB_DEVICE_ID_S510_RECEIVER_2 0xc517ze by za ty problemy mohlo nekolik zarizeni se stejnym product id?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.