meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:prepare:logitech_trackman [2019/08/14 08:06] – created niziak | linux:prepare:logitech_trackman [2022/02/01 13:30] (current) – niziak | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| === Change trackball pointer speed === | === Change trackball pointer speed === | ||
| Using CTM: | Using CTM: | ||
| - | <code bash> | + | <file bash / |
| + | #!/bin/bash | ||
| xinput set-prop " | xinput set-prop " | ||
| xinput set-prop " | xinput set-prop " | ||
| Line 34: | Line 35: | ||
| 0.000000, 2.000000, 0.000000, \ | 0.000000, 2.000000, 0.000000, \ | ||
| 0.000000, 0.000000, 1.000000 | 0.000000, 0.000000, 1.000000 | ||
| + | </ | ||
| + | |||
| + | === Automatic speed change when device connected === | ||
| + | |||
| + | <code bash> | ||
| + | dmesg | ||
| + | |||
| + | 164704.769399] usb 1-6: new low-speed USB device number 11 using xhci_hcd | ||
| + | [164704.931613] usb 1-6: New USB device found, idVendor=046d, | ||
| + | [164704.931621] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0 | ||
| + | [164704.931623] usb 1-6: Product: USB Receiver | ||
| + | [164704.931625] usb 1-6: Manufacturer: | ||
| + | [164704.937746] input: Logitech USB Receiver as / | ||
| + | [164704.997603] hid-generic 0003: | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | udevadm info --attribute-walk --path / | ||
| + | |||
| + | # or simply | ||
| + | |||
| + | udevadm info --attribute-walk --path / | ||
| + | </ | ||
| + | |||
| + | <code text> | ||
| + | looking at parent device '// | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | <file / | ||
| + | ATTRS{idVendor}==" | ||
| + | ACTION==" | ||
| + | SUBSYSTEM==" | ||
| + | ENV{DISPLAY}=": | ||
| + | ENV{XAUTHORITY}="/ | ||
| + | RUN+="/ | ||
| + | </ | ||
| + | |||
| + | <code bash> | ||
| + | udevadm control --reload-rules && udevadm trigger -s usb -a idProduct=" | ||
| </ | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||