Differences
This shows you the differences between the selected revision and the current version of the page.
howto:hid 2011/05/26 13:58 | howto:hid 2017/09/06 18:38 current | ||
---|---|---|---|
Line 11: | Line 11: | ||
First, download the driver here: [[http://dev.skcserver.de/dns323/modules_v1.03/kernel/drivers/usb/input/usbmouse.ko]] and copy it onto the NAS. Then run this script, or incorporate it into a fun_plug: | First, download the driver here: [[http://dev.skcserver.de/dns323/modules_v1.03/kernel/drivers/usb/input/usbmouse.ko]] and copy it onto the NAS. Then run this script, or incorporate it into a fun_plug: | ||
- | insmod /mnt/HD_a2/usbmouse.ko # Load driver | + | <code bash>insmod /mnt/HD_a2/usbmouse.ko # Load driver |
- | mkdir /dev/input | + | mkdir /dev/input |
- | mknod /dev/input/mouse0 c 13 32 # Add individual mice | + | mknod /dev/input/mouse0 c 13 32 # Add individual mice |
- | mknod /dev/input/mouse1 c 13 33 | + | mknod /dev/input/mouse1 c 13 33 |
- | # Add more mice to suit | + | # Add more mice to suit |
- | mknod /dev/input/mice c 13 63 # Unified mice | + | mknod /dev/input/mice c 13 63 # Unified mice |
- | rm -f /dev/mouse | + | rm -f /dev/mouse |
- | ln -s /dev/input/mice /dev/mouse | + | ln -s /dev/input/mice /dev/mouse</code> |
By using "cat /dev/mouse" you will be able to check if a mouse is present and working, as some funny characters should appear when you move it. | By using "cat /dev/mouse" you will be able to check if a mouse is present and working, as some funny characters should appear when you move it. |