Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I am having a problem with RedHat7.3 and UPS. I have a APC Backup UPS 500 ES that communicates via USB. I need a /dev/usb/hid0 device filesystem for the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2003
    Location
    Salt Lake City, Utah
    Posts
    5

    UPS , /dev/usb/hid0 , apcupsd


    Hello,

    I am having a problem with RedHat7.3 and UPS. I have a APC Backup UPS 500 ES that communicates via USB. I need a /dev/usb/hid0 device filesystem for the apcupsd package. What do I need to install to get this going? What does that "Taintet P:" that lsmod produces mean?

    This is what I have installed...
    lsmod
    Module Size Used by Tainted: P
    emu10k1 65536 0 (autoclean)
    sound 72876 0 (autoclean) [emu10k1]
    ac97_codec 13280 0 (autoclean) [emu10k1]
    soundcore 6788 7 (autoclean) [emu10k1 sound]
    agpgart 40704 3 (autoclean)
    nvidia 1671648 10 (autoclean)
    binfmt_misc 7300 1
    autofs 11716 0 (autoclean) (unused)
    3c59x 27944 1
    ide-cd 31968 1 (autoclean)
    cdrom 32288 0 (autoclean) [ide-cd]
    ext3 66496 4 (autoclean)
    jbd 50904 4 (autoclean) [ext3]
    hid 16352 0 (unused)
    ehci-hcd 18656 0 (unused)
    usb-ohci 20992 0 (unused)
    usbcore 75232 1 [hid ehci-hcd usb-ohci]

    /proc/bus/usb/devices contains this on my UPS:
    S: Manufacturer=APC
    S: Product=Back-UPS ES 500 FW:2.e2.D USB FW:e2
    S: SerialNumber=AB0307142033
    C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA
    I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
    E: Ad=81(I) Atr=03(Int.) MxPS= 6 Ivl=10ms
    T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
    B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
    D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
    P: Vendor=0000 ProdID=0000 Rev= 0.00
    S: Product=USB OHCI Root Hub
    S: SerialNumber=f0924000
    C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
    I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
    E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

    dir /dev/usb
    dabusb0 dabusb7 dc2xx4 lp15 mdc80012 scanner0 scanner7 ttyUSB4
    dabusb1 dabusb8 dc2xx5 lp2 mdc80013 scanner1 scanner8 ttyUSB5
    dabusb10 dabusb9 dc2xx6 lp3 mdc80014 scanner10 scanner9 ttyUSB6
    dabusb11 dc2xx0 dc2xx7 lp4 mdc80015 scanner11 ttyUSB0 ttyUSB7
    dabusb12 dc2xx1 dc2xx8 lp5 mdc8002 scanner12 ttyUSB1 ttyUSB8
    dabusb13 dc2xx10 dc2xx9 lp6 mdc8003 scanner13 ttyUSB10 ttyUSB9
    dabusb14 dc2xx11 lp0 lp7 mdc8004 scanner14 ttyUSB11
    dabusb15 dc2xx12 lp1 lp8 mdc8005 scanner15 ttyUSB12
    dabusb2 dc2xx13 lp10 lp9 mdc8006 scanner2 ttyUSB13
    dabusb3 dc2xx14 lp11 mdc8000 mdc8007 scanner3 ttyUSB14
    dabusb4 dc2xx15 lp12 mdc8001 mdc8008 scanner4 ttyUSB15
    dabusb5 dc2xx2 lp13 mdc80010 mdc8009 scanner5 ttyUSB2
    dabusb6 dc2xx3 lp14 mdc80011 rio500 scanner6 ttyUSB3

    Any help would be appreciated very much! Thanks in advance,

    shane

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I believe that /dev/usb/hid* is the old, obsolete HID interface system. Although try this:
    Code:
    mknod /dev/usb/hid0 c 180 96
    Running a tainted kernel means that you've loaded modules that aren't licensed under an approved OSI license, like the nvidia module.

  3. #3
    Just Joined!
    Join Date
    Aug 2003
    Location
    Salt Lake City, Utah
    Posts
    5

    Thanks!

    Thanks for your help!
    How do I make sure that this /dev/usb/hid0 will show up on boot up? Should I place that command in /etc/rc.d/rc.local or some other rc.* file? Again thanks much.

    shane :P

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    As long as you're not using devfs, you need not worry. It's a file like any else.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •