APC SU1400XLT User Manual Page 14

  • Download
  • Add to my manuals
  • Print
  • Page
    / 115
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 13
usbdevfs
hub
96-111: hiddev
hid
On Linux-2.6.x, make sure the sysfs filesystem is mounted on /sys and do:
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 Interface Device driver. If you are compiling your own kernel,
you want to enable
CONFIG_USB
CONFIG_USB_HID
CONFIG_USB_HIDDEV
CONFIG_USB_DEVICEFS
...as well as at least one USB Host Controller Driver...
CONFIG_USB_UHCI_HCD (linux-2.6.x)
CONFIG_USB_OHCI_HCD (linux-2.6.x)
CONFIG_USB_UHCI (linux-2.4.x)
CONFIG_USB_OHCI (linux-2.4.x)
Device Nodes
Apcupsd accesses USB UPSes via the hiddev device nodes. Typically these are located in
/dev/hiddevN, /dev/usb/hiddevN or /dev/usb/hiddev/hiddevN (where N is a digit 0 thru 9).
Some distributions (some Debian releases, possibly others) do not provides these device nodes for you,
so you will have to make them yourself. Check /dev, /dev/usb, and /dev/usb/hiddev and if you
cannot find the hiddevN nodes, run (as root) the examples/make-hiddev script from the apcupsd
source distribution.
Page view 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 114 115

Comments to this Manuals

No comments