LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-25-2004, 08:19 PM   #1
RottenMutt
Member
 
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 186

Rep: Reputation: 30
Question APC UPS BX1000: USB connection in Fedora


Hi-
I need some help geting APC powerchute 453 working on Fedora (kernel 4.6.3-2.1.253.2.1) for a APC UPS BX1000. I installed both the User Interface and Daemon Modules and am trying to configure the software to work on the UPS port. what would the proper port address to use in the ini file?
also, how do i remove the software?
how does portcheck work, plus orther utilities?

Am i just going to have to use apcupsd?

If i do cat /dev/usb/hiddev0 stuff happens on the cmd line, like comunications garble...
thanks,
Irk

#cat /proc/bus/usb/devices:
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
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= 2.06
S: Manufacturer=Linux 2.6.3-2.1.253.2.1.smp uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:1f.2
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

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=American Power Conversion
S: Product=Back-UPS RS 1000 FW:7.g7 .D USB FW:g7
S: SerialNumber=JBXXXXXXXXXX
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 24mA
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


#lsusb
Bus 001 Device 002: ID 051d:0002 American Power Conversion Back-UPS Pro 500
Bus 001 Device 001: ID 0000:0000

#dmesg:...
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:1f.2: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1f.2 to 64
uhci_hcd 0000:00:1f.2: irq 177, io base 0000ef80
uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usb 1-2: new low speed USB device using address 2
hiddev96: USB HID v1.10 Device [American Power Conversion Back-UPS RS 1000 FW:7.g7 .D USB FW:g7] on usb-0000:00:1f.2-2
...

my powerchute.ini file:
[ Ups ]
SignallingType = simple
PortName = /dev/usb/hiddev0
AutoUpsRebootEnabled = Yes
AllowedPortNames = /dev/ttyS0,/dev/ttyS1,/dev/usb/hiddev0
CableType = Normal
...

Last edited by RottenMutt; 04-26-2004 at 10:15 PM.
 
Old 05-01-2004, 07:36 PM   #2
RottenMutt
Member
 
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 186

Original Poster
Rep: Reputation: 30
Thumbs up apcusbd worked

i dl and installed apcusbd, configured apcusbd.conf to
  • UPSCABLE usb
    UPSTYPE usb
    DEVICE /dev/usb/hiddev[0-15]

Last edited by RottenMutt; 05-02-2004 at 09:10 PM.
 
Old 12-18-2004, 12:06 PM   #3
RottenMutt
Member
 
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 186

Original Poster
Rep: Reputation: 30
in fedora 3 the device is now in the root dev directory
so in your apcupsd.conf change device to:
DEVICE /dev/hiddev[0-15]
 
Old 01-08-2005, 06:03 PM   #4
hpnadig
Member
 
Registered: Nov 2003
Location: India
Distribution: Fedora
Posts: 43

Rep: Reputation: 15
Thanks for the useful info the same configuration worked for me, too.

But hey, whats with the Powerchute Business edition agent? How do you get that working? anybody tried that?
 
Old 02-11-2005, 06:24 PM   #5
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Where did you guys get apcusb? I can't seem to find it on APC's website or through Google. (I'm probably overlooking something).

FYI: I just spoke with APC who said I should buy a different UPS as their usb UPS's don't work under Linux.
 
Old 02-11-2005, 08:07 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,925

Rep: Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747
Nevermind.

Last edited by michaelk; 02-11-2005 at 08:12 PM.
 
Old 02-21-2005, 07:15 PM   #7
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
bump... Where did you guys get apcusb?

Thanks.
 
Old 02-22-2005, 04:05 PM   #8
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
::sigh:: it's called apcupsd, not apcusb.. found it through sourceforge & rpmfind.com
 
Old 05-06-2005, 12:44 PM   #9
RottenMutt
Member
 
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 186

Original Poster
Rep: Reputation: 30
http://www2.apcupsd.com/
release 3.10.17
if compiling your own installation, and if you are going to need "upstype" usb then be sure and include the --enable-usb switch when configureing.
i.e.
./configure --enable-usb
make
make install

Last edited by RottenMutt; 05-06-2005 at 01:09 PM.
 
  


Reply

Tags
ups


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
APC UPS w/ USB signal cable - work in Linux? sirpimpsalot Linux - Hardware 5 06-21-2010 08:24 AM
APC UPS Smart_UPS v/s 650 MikeAtVillage Linux - Hardware 4 07-05-2005 04:08 AM
apc Back-ups 650 a10392 Linux - Software 1 12-03-2004 10:51 AM
apc Back-ups a10392 Debian 1 12-03-2004 10:24 AM
USB Support for APC Battery back up UPS gway600 Linux - Hardware 2 08-06-2004 08:59 PM


All times are GMT -5. The time now is 02:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration