Posted: Sat Jun 07, 2008 20:42 Post subject: USB HID driver?
I have a Linksys WRT350N running dd-wrt mega 2.4, hooked up to a 1TB usb drive that contains optware and a network backup drive. The equipment is plugged into an APC UPS, and I was hoping to get apcupsd working so that the router will shut itself down (ie mostly unmount the drives) when the ups battery is running low.
I plugged the ups usb cable into the usb hub, and it is recognized. I installed the apcupsd optware package. However, there are no usb hid or hiddev drivers loaded, and they are not in /lib/modules, so it doesn't work. Do I have to recompile the firmware to get these, or are they available in some package?
Btw, it's impossible to fsck a 1TB ext2 file system on this router, e2fsck just uses so much memory that everything grinds to a halt, swapping like crazy, and eventually locking the device up. Make sure you are running ext3 if you do this. (It also makes me more motivated to get proper shutdown working, since if something were to really get screwed up, I have to plug the drive into a linux machine to fsck the fs...)
Joined: 18 Jun 2006 Posts: 1110 Location: Kiel (54.4247,10.1721)
Posted: Sun Jun 08, 2008 0:01 Post subject:
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <email@example.com>
hid-core.c: USB HID support drivers
hub.c: new USB device 00:02.0-1, assigned address 2
hiddev0: USB HID v10.01 Mouse [Razer Razer Copperhead Laser Mouse] on usb1:2.0
hiddev1: USB HID v10.01 Keyboard [Razer Razer Copperhead Laser Mouse] on usb1:2.1
Only had a mouse for testing... but somehow works
Enabled the hiddev support for you as i think you will need that one, right?
USB Human Interface Device (full HID) support --- Input core support is needed for USB HID input layer or HIDBP [*] /dev/hiddev raw HID device support