USB on 9.3 - apcupsd won't start
Hello all, I've tried this on two 9.3 installs. Setting up apcupsd with a ups cable, I get the following error. ------- apcupsd FATAL ERROR in dumbsetup.c at ine 86 Cannot open UPS port /dev/usb/hiddev[0-15]: No such file or directory apcupsd error shutdown completed ------- This device worked under 9.1 on the same computer. I read from a post a few days ago that usb has changed under 9.3, but don't know what to set the dev to. The apcupsd.conf for 9.3 says to use the above dev for ups cable. There are /dev/usb/hiddev 0-15 on my system. Any help would be appreciated. -- Jim Flanagan linuxjim@jjfiii.com
** Reply to message from Jim Flanagan
I've tried this on two 9.3 installs. Setting up apcupsd with a ups cable, I get the following error.
------- apcupsd FATAL ERROR in dumbsetup.c at ine 86 Cannot open UPS port /dev/usb/hiddev[0-15]: No such file or directory apcupsd error shutdown completed -------
This device worked under 9.1 on the same computer.
I read from a post a few days ago that usb has changed under 9.3, but don't know what to set the dev to. The apcupsd.conf for 9.3 says to use the above dev for ups cable. There are /dev/usb/hiddev 0-15 on my system.
Any help would be appreciated.
Did you destroy your /etc/apcupsd directory from 9.1? If not, as root, copy its contents to /etc/apcupsd on your 9.3 install. That is what I did and no errors. This is assuming that you are using the same usb cable. I seem to remember that the cable id is the key to getting it to work. Make sure in 9.3 that apcupsd is running at boot up with "insserv apcupsd". Good luck. Ed Harrison SuSE 9.3, Kernel 2.6.11 PolarBar Mailer 1.25a
On Mon, 25 Apr 2005 19:15:26 -0500 (CDT), you wrote:
Hello all,
I've tried this on two 9.3 installs. Setting up apcupsd with a ups cable, I get the following error.
------- apcupsd FATAL ERROR in dumbsetup.c at ine 86 Cannot open UPS port /dev/usb/hiddev[0-15]: No such file or directory apcupsd error shutdown completed -------
This device worked under 9.1 on the same computer.
I read from a post a few days ago that usb has changed under 9.3, but don't know what to set the dev to. The apcupsd.conf for 9.3 says to use the above dev for ups cable. There are /dev/usb/hiddev 0-15 on my system.
Any help would be appreciated.
-- Jim Flanagan linuxjim@jjfiii.com
If you changed nothing but the version of linux, you may (just guessing) need to change the device to /dev/ttyUSBx from the HID device. Mike- -- Mornings: Evolution in action. Only the grumpy will survive. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces, try non-HTML, non-encoded, non-attachments.
On Tuesday, April 26, 2005 11:55 pm, Michael W Cocke wrote:
On Mon, 25 Apr 2005 19:15:26 -0500 (CDT), you wrote:
Hello all,
I've tried this on two 9.3 installs. Setting up apcupsd with a ups cable, I get the following error.
------- apcupsd FATAL ERROR in dumbsetup.c at ine 86 Cannot open UPS port /dev/usb/hiddev[0-15]: No such file or directory apcupsd error shutdown completed -------
This device worked under 9.1 on the same computer.
I read from a post a few days ago that usb has changed under 9.3, but don't know what to set the dev to. The apcupsd.conf for 9.3 says to use the above dev for ups cable. There are /dev/usb/hiddev 0-15 on my system.
Any help would be appreciated.
-- Jim Flanagan linuxjim@jjfiii.com
If you changed nothing but the version of linux, you may (just guessing) need to change the device to /dev/ttyUSBx from the HID device.
USB support has not been compiled in for a few versions. It was in 8.2, but not 9.2 (which is what I am running now). I recall there may be a version with USB support somewhere in the people tree on ftp.suse.com, but I do not have the exact location, or know for sure if it still exists. Mark -- _________________________________________________________ A Message From... L. Mark Stone Reliable Networks of Maine, LLC "We manage your network so you can manage your business." 477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.rnome.com
On Wed, 27 Apr 2005 06:41:59 -0400, you wrote:
On Tuesday, April 26, 2005 11:55 pm, Michael W Cocke wrote:
On Mon, 25 Apr 2005 19:15:26 -0500 (CDT), you wrote:
Hello all,
I've tried this on two 9.3 installs. Setting up apcupsd with a ups cable, I get the following error.
------- apcupsd FATAL ERROR in dumbsetup.c at ine 86 Cannot open UPS port /dev/usb/hiddev[0-15]: No such file or directory apcupsd error shutdown completed -------
This device worked under 9.1 on the same computer.
I read from a post a few days ago that usb has changed under 9.3, but don't know what to set the dev to. The apcupsd.conf for 9.3 says to use the above dev for ups cable. There are /dev/usb/hiddev 0-15 on my system.
Any help would be appreciated.
-- Jim Flanagan linuxjim@jjfiii.com
If you changed nothing but the version of linux, you may (just guessing) need to change the device to /dev/ttyUSBx from the HID device.
USB support has not been compiled in for a few versions. It was in 8.2, but not 9.2 (which is what I am running now).
I recall there may be a version with USB support somewhere in the people tree on ftp.suse.com, but I do not have the exact location, or know for sure if it still exists.
Hmmm. I don't recall doing anything particular to use apcupsd with a usb link on 9.1 or 9.2, other than the usual "WHAT port is it connected to?", and compiling apcupsd from source to include usb support. Got 5 of them on assorted 9.1 and 9.2 systems now. Except that I use the advice I just gave you - not the HID ports. <shrug> Mike- -- Mornings: Evolution in action. Only the grumpy will survive. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces, try non-HTML, non-encoded, non-attachments.
participants (4)
-
Ed Harrison
-
Jim Flanagan
-
L. Mark Stone
-
Michael W Cocke