Using my Google-Foo, I was able to find a solution. If you're using any Logitech gaming mice, and can't bind your keys to macros to use in Linux, here's the solution.
The long and short of it, apparently, is that there is a kernel bug (feature?) that causes the Logitech Mice to no longer show up as a keyboard, and as a result, they lost their ability to send certain keys. However, as mentioned in that forum post, it isn't too hard to fix it yourself. Removing and blacklisting the Logitech drivers
hid_logitech_hidpp means happy times. First, use
modprobe -r drivername on each driver, and then add the following lines your
blacklist hid_logitech_dj install hid_logitech_dj /bin/true blacklist hid_logitech_hidpp install hid_logitech_hidpp /bin/true
Blacklisting those drivers prevents them from loading, and using the install option to
/bin/true, prevents them from reinstalling.
/bin/true is used in lieu of
/bin/false to prevent any error messages.
The second problem was that the two modes, wired and wireless, now had different DPIs. I thought I might run into another bit of a headache, but it turns out that adjusting mouse DPI in Linux couldn't be simpler. Using
mouse-dpi-tool, which is included with
libevdev package on Arch, it's very simply to change mouse DPI settings.
Find your mouse's device node by using
xinput to first find the id, then
xinput list-props id which shows device node. My G903 is
/dev/input/event19. Then run
mouse-dpi-tool /dev/input/event19. Move your mouse around for a few seconds, then press
Mouse Logitech USB Receiver Mouse on /dev/input/event19 Move the device 250mm/10in or more along the x-axis. Pause 3 seconds before movement to reset, Ctrl+C to exit. Covered distance in device units: 267 at frequency 1016.3Hz -^C Estimated sampling frequency: 1016Hz (mean 1000Hz) To calculate resolution, measure physical distance covered and look up the matching resolution in the table below 16mm 0.67in 400dpi 11mm 0.45in 600dpi 8mm 0.33in 800dpi 6mm 0.27in 1000dpi 5mm 0.22in 1200dpi 4mm 0.19in 1400dpi 4mm 0.17in 1600dpi 3mm 0.15in 1800dpi 3mm 0.13in 2000dpi 3mm 0.12in 2200dpi 2mm 0.11in 2400dpi If your resolution is not in the list, calculate it with: resolution=267/inches, or resolution=267 * 25.4/mm Entry for hwdb match (replace XXX with the resolution in DPI): mouse:usb:v046dpc539:name:Logitech USB Receiver Mouse: MOUSE_DPI=XXX@1016
Then it's as simple as copying the last two lines into
/etc/udev/hwdb.d/71-mouse-local.hwdb and fill in the DPI you want. Then, trigger the device using
udevadm trigger /dev/input/event19 and off to the races. I repeated this with the wired and wireless configuration of my mouse and my resulting
71-mouse-local.hwdb looks like this:
mouse:usb:v046dpc539:name:Logitech USB Receiver Mouse: MOUSE_DPI=400@1000 mouse:usb:v046dpc086:name:Logitech Logitech G903 Wired/Wireless Gaming Mouse: MOUSE_DPI=400@1000
Mouse macros working, DPI's synced across wired and wireless. Happy days of mouse media control ahead.