Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
APC Back-UPS ES 500 and apcupsd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dmolavi
Apprentice
Apprentice


Joined: 24 Feb 2003
Posts: 153
Location: Washington Township, NJ

PostPosted: Wed Jul 30, 2003 1:29 pm    Post subject: APC Back-UPS ES 500 and apcupsd Reply with quote

What kernel options did you have to enable? Also, what devices were created when you connected this thing to your system? I don't see any /dev/usb at all, nor do I find any hiddev devices anywhere...

tia,
dm
Back to top
View user's profile Send private message
dmolavi
Apprentice
Apprentice


Joined: 24 Feb 2003
Posts: 153
Location: Washington Township, NJ

PostPosted: Wed Jul 30, 2003 2:31 pm    Post subject: Reply with quote

i should mention that this is the USB version, cable number: 940-0127B .
it shows up in dmesg:
Code:
Manufacturer: APC
Product: Back-UPS ES 500 FW:2.e2.D USB FW:e2
SerialNumber: JB0312030497


and in cat /proc/bus/usb/devices:
Code:
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=051d ProdID=0002 Rev= 1.06
S:  Manufacturer=APC
S:  Product=Back-UPS ES 500 FW:2.e2.D USB FW:e2
S:  SerialNumber=JB0312030497 
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


cat /proc/bus/usb/drivers yields:
Code:
         usbdevfs
         hub
 96-111: hiddev
         hid


any ideas?
Back to top
View user's profile Send private message
dmolavi
Apprentice
Apprentice


Joined: 24 Feb 2003
Posts: 153
Location: Washington Township, NJ

PostPosted: Wed Jul 30, 2003 6:09 pm    Post subject: Reply with quote

got it working :D yay me. the ebuild forgets to do the following:
Code:
#!/bin/sh
mkdir -p /dev/usb/hid
mknod /dev/usb/hid/hiddev0 c 180 96
mknod /dev/usb/hid/hiddev1 c 180 97
mknod /dev/usb/hid/hiddev2 c 180 98
mknod /dev/usb/hid/hiddev3 c 180 99
mknod /dev/usb/hid/hiddev4 c 180 100
mknod /dev/usb/hid/hiddev5 c 180 101
mknod /dev/usb/hid/hiddev6 c 180 102
mknod /dev/usb/hid/hiddev7 c 180 103
mknod /dev/usb/hid/hiddev8 c 180 104
mknod /dev/usb/hid/hiddev9 c 180 105
mknod /dev/usb/hid/hiddev10 c 180 106
mknod /dev/usb/hid/hiddev11 c 180 107
mknod /dev/usb/hid/hiddev12 c 180 108
mknod /dev/usb/hid/hiddev13 c 180 109
mknod /dev/usb/hid/hiddev14 c 180 110
mknod /dev/usb/hid/hiddev15 c 180 111

which should be in the <apcupsd src directory>/examples/make-hid file.
additionally, the ebuild only listed hid0-9 in the generated conf file, not 0-15 as it should be. to whom/where do i submit a patch?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum