Here's what I've tried on Ubuntu 12.04
I cloned the git repo and did the following:
Code:
make modules
sudo make modules_install
sudo depmod
sudo modprobe hid-microsoft-sidewinder-x4
lsmod | grep sidewinder
hid_microsoft_sidewinder_x4 13110 0
hid_microsoft_sidewinder 13582 1 hid_microsoft_sidewinder_x4
hid 99559 2 hid_microsoft_sidewinder_x4,usbhid
Everything looks good and I have sidewinder-x4 in /sys/bus/hid/drivers
Now I add the 90-microsoft-sidewinder-x4.rules file to /etc/udev/rules.d
Here's the content. joshuafcole's post didn't have the full command so maybe I'm missing something?
Code:
ACTION=="add", SUBSYSTEM=="hid", DRIVER=="generic-usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0768", RUN+="/bin/sh -c '/sbin/modprobe hid-microsoft-sidewinder-x4; if test -d /sys/bus/hid/drivers/generic-usb; then /bin/echo -n %k >/sys/bus/hid/drivers/generic-usb/unbind;fi'"
Now I reboot and the keyboard doesn't work. Remove the udev rule and I'm okay.
Am I missing something? Anyone else have this driver working?
Bookmarks