This is an old revision of the document!
Human Interface Devices
Through the USB port on the DNS-323, one could, theoretically, attach mice, keyboards, joysticks and gamepads to the device.
Information
To use devices with the linux kernel we need two things: a kernel object file for that specific device, and the relevant device node numbers. Kernel modules can be compiled from the GPL files, but if you can't be bothered, a selection of precompiled files can be found here: http://dev.skcserver.de/dns323/modules_v1.03/kernel/drivers/. The device node numbers can also be found in the GPL files, in linux-2.6.12.6/Documentation/devices.txt or on the internet.
USB Mice
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 mkdir /dev/input mknod /dev/input/mouse0 c 13 32 # Add individual mice mknod /dev/input/mouse1 c 13 33 # Add more mice to suit mknod /dev/input/mice c 13 63 # Unified mice rm -f /dev/mouse ln -s /dev/input/mice /dev/mouse
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.