udev scripts for bluetooth mouse connections

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

 



Hi all,

I've got a bluetooth mouse that is rediculously sensitive. I have a script I can run that drops the sensitivity to a reasonable level, but I would like to have the script triggered automatically.

  I can see in /var/log/messages these messages on connect:

Powering on the mouse:

=====
Jan 27 13:18:23 lemass kernel: [1066613.505701] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 Jan 27 13:18:23 lemass kernel: [1066613.505714] Bluetooth: HIDP socket layer initialized Jan 27 13:18:23 lemass kernel: [1066613.506147] hid-generic 0005:1532:0039.0018: unknown main item tag 0x0 Jan 27 13:18:23 lemass kernel: [1066613.506199] input: Razer Orochi 2013 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:11/0005:1532:0039.0018/input/input36 Jan 27 13:18:23 lemass kernel: Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Jan 27 13:18:23 lemass kernel: Bluetooth: HIDP socket layer initialized
Jan 27 13:18:23 lemass kernel: hid-generic 0005:1532:0039.0018: unknown main item tag 0x0 Jan 27 13:18:23 lemass kernel: input: Razer Orochi 2013 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:11/0005:1532:0039.0018/input/input36 Jan 27 13:18:23 lemass kernel: hid-generic 0005:1532:0039.0018: input,hidraw0: BLUETOOTH HID v5.01 Mouse [Razer Orochi 2013] on c0:18:85:db:01:5f Jan 27 13:18:23 lemass kernel: [1066613.506418] hid-generic 0005:1532:0039.0018: input,hidraw0: BLUETOOTH HID v5.01 Mouse [Razer Orochi 2013] on c0:18:85:db:01:5f
=====

and when the mouse recovers from sleep:

=====
Jan 27 13:47:10 lemass kernel: [1068339.689287] hid-generic 0005:1532:0039.0019: unknown main item tag 0x0 Jan 27 13:47:10 lemass kernel: [1068339.689337] input: Razer Orochi 2013 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:12/0005:1532:0039.0019/input/input37 Jan 27 13:47:10 lemass kernel: hid-generic 0005:1532:0039.0019: unknown main item tag 0x0 Jan 27 13:47:10 lemass kernel: input: Razer Orochi 2013 as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:12/0005:1532:0039.0019/input/input37 Jan 27 13:47:10 lemass kernel: hid-generic 0005:1532:0039.0019: input,hidraw0: BLUETOOTH HID v5.01 Mouse [Razer Orochi 2013] on c0:18:85:db:01:5f Jan 27 13:47:10 lemass kernel: [1068339.689492] hid-generic 0005:1532:0039.0019: input,hidraw0: BLUETOOTH HID v5.01 Mouse [Razer Orochi 2013] on c0:18:85:db:01:5f
=====

Any tips/pointers to docs to help with a udev-triggered script would be much appreciated!

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without access to education?
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux