And you should get, Where you should get, Or perhaps something like – APC UPS control system User Manual

Page 25

Advertising
background image

esr@grelber$ cat /proc/bus/usb/drivers

and you should get:

usbdevfs
hub

96-111: hiddev

hid

On Linux-2.6.x, make sure the sysfs filesystem is mounted on /sys and do:

adk0212@mail$ ls -l /sys/bus/usb/drivers/

where you should get

total 0
drwxr-xr-x

2 root

root

0 May

1 18:55 hid

drwxr-xr-x

2 root

root

0 May

1 18:55 hiddev

drwxr-xr-x

2 root

root

0 May

1 18:55 hub

drwxr-xr-x

2 root

root

0 May

1 18:55 usb

drwxr-xr-x

2 root

root

0 May

1 18:55 usbfs

or perhaps something like

total 0
drwxr-xr-x

2 root root 0 Jan

6 15:27 hiddev

drwxr-xr-x

2 root root 0 Jan

6 15:28 hub

drwxr-xr-x

2 root root 0 Jan

6 15:28 usb

drwxr-xr-x

2 root root 0 Jan

6 15:27 usbfs

drwxr-xr-x

2 root root 0 Jan

6 15:28 usbhid

If your 2.6.x system does not have the /sys/bus/usb directory, either you do
not have sysfs mounted on /sys or the USB module(s) have not been loaded.
(Check /proc/mounts to make sure sysfs is mounted.)

A USB UPS needs all of these drivers – the USB device filesystem, the USB
hub, the Human Interface Device subsystem driver, and the Human Inter-
face Device driver. If you are compiling your own kernel, you want to enable

24

Advertising