SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been trying to get a APC Back-UPS ES 750 to talk to my main system for about six months without success.
The problem, I never see a hiddevx created when I plug in the usb cable from the UPS supply.
What I know so far.
The UPS works on my HP netbook running Ubuntu. ( I can provide more details if required ). The monitoring software works fine with the netbook.
On my main desktop, its a no go.
The desktop system board is a Gigabyte GA-M61SME-S2 running the latest BIOS available. I updated the BIOS with no effect on this problem. I can hot plug many other USB devices on the system and all are recognized properly. This includes a Brother printer, three digital cameras, a web cam, and two USB memory sticks.
I have been through the documentation here -->http://www.apcupsd.com/ for the daemon. I can find nothing wrong. I have all the necessary modules loaded.
Still, the device never shows up. Here is what I see from dmesg.
Quote:
usb 2-5: new low speed USB device using ohci_hcd and address 7
usb 2-5: device not accepting address 7, error -71
usb 2-5: new low speed USB device using ohci_hcd and address 8
usb 2-5: device descriptor read/all, error -71
usb 2-5: new low speed USB device using ohci_hcd and address 9
usb 2-5: device not accepting address 9, error -71
usb 2-5: new low speed USB device using ohci_hcd and address 10
usb 2-5: device descriptor read/all, error -71
hub 2-0:1.0: unable to enumerate USB device on port 5
I have no idea how to further trouble shoot this problem. I' open for suggestions.
System info.
Slackware 13.1.
Quote:
uname -a
Linux duelie 2.6.33.4-smp #1 SMP Wed Feb 9 13:52:01 EST 2011 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD GNU/Linux
I compiled the kernel after install. I only changed the CPU type to match my hardware.
APCUPSD version.
Quote:
apcupsd -V
apcupsd 3.14.8 (16 January 2010) slackware
This is the latest version as far as I know.
I also have Mandriva 2010.1 installed, I'm dual booting. Mandy was my main system for the a long time. The UPS does not work on Mandy either, same problem. I installed Slackware in hopes of fixing this problem. Nope, nothing has changed, other than now I know a lot more about Slackware.
Still, the device never shows up. Here is what I see from dmesg.
Here is what I see with mine :-
Code:
usb 6-2: new low speed USB device using uhci_hcd and address 2
usb 6-2: New USB device found, idVendor=051d, idProduct=0002
usb 6-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
usb 6-2: Product: Smart-UPS 1500 RM FW:617.3.I USB FW:8.1
usb 6-2: Manufacturer: American Power Conversion
usb 6-2: SerialNumber: AS0624130553
Note that mine is using uhci_hcd and yours uses ohci_hcd, perhaps yours is using the wrong driver?
Note that mine is using uhci_hcd and yours uses ohci_hcd, perhaps yours is using the wrong driver?
There are a lot of things about how USB works I have no understanding of. The one you have pointed out is just one. How a device is connected to the correct driver is a mystery to me. As far as I know, you can plug a USB 1.1 or 2.0 device in to any available usb port, the system determines ( some how ) how to talk to it. I know of no way a user can control this.
BTW, your UPS is a 'Smart' model. Mine is not. Thank-you for your interest.
Can anyone give me some guidance as to what might be wrong? I'm thinking this is a BIOS bug, and I can't fix it.
What happens if you boot your desktop using an Ubuntu Live CD? Considering the UPS works with Ubuntu on your netbook this would tell you pretty quickly whether or not your problem was hardware or BIOS related.
The only other advice I can suggest is to try setting your USB to the lower 1.1 speed in the BIOS. I'm not sure if adding a PCI USB expansion card is an option for you, or perhaps connecting front USB ports to your motherboard headers if indeed such a thing exists on this board. If these ports were on a different controller they just might do the trick.
What happens if you boot your desktop using an Ubuntu Live CD? Considering the UPS works with Ubuntu on your netbook this would tell you pretty quickly whether or not your problem was hardware or BIOS related.
I booted the system with Kubuntu 10.10. Loading the modules is no problem, however, to get the UPS detected, hiddev0 created, I need to add a udev rule, its in the doc for apcupsd. This I have not figured out if there is a way without installing. So, the test is inconclusive.
Quote:
The only other advice I can suggest is to try setting your USB to the lower 1.1 speed in the BIOS
I have been throught the Award BIOS and can not find a way to lower the speed. I suppose a usb expansion card is a possibility.
Before I do that, I'm going to dig up a Ubuntu 32bit 10.04 CD, and install that to the HD. My second disk has empty space. That will take some time.
I booted the system with Kubuntu 10.10. Loading the modules is no problem, however, to get the UPS detected, hiddev0 created, I need to add a udev rule, its in the doc for apcupsd. This I have not figured out if there is a way without installing. So, the test is inconclusive.
You can of course install software in a LiveCD session, once you don't have to reboot. And it is preferable to use a Live CD of exactly the same Ubuntu version you have working on your Netbook.
Quote:
I have been throught the Award BIOS and can not find a way to lower the speed. I suppose a usb expansion card is a possibility.
According to the manual for this board you can change to the V1.1 controller under the On-Chip USB submenu on the Integrated Peripherals screen of your BIOS setup. The default is V1.1 and V2.0.
While you're there it might be an idea to experiment with two other values: the USB Memory Type value and the USB Legacy value.
There are two headers on this board to connect the USB ports at the front/side/top of your case. Are you using them? Sometimes front USB ports don't have sufficient power output compared with rear ports integrated on the board.
apcupsd -V
apcupsd 3.14.8 (16 January 2010) slackware
dmesg reports:
Code:
usb 2-3: New USB device found, idVendor=051d, idProduct=0002
usb 2-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2
usb 2-3: Product: Back-UPS ES 750 FW:841.I3 .D USB FW:I3
usb 2-3: Manufacturer: American Power Conversion
usb 2-3: SerialNumber: 3B1005X47717
usbcore: registered new interface driver hiddev
Code:
uname -r
2.6.33.4-smp
Code:
apcaccess status
APC : 001,037,0913
DATE : 2011-03-18 13:43:27 -0400
HOSTNAME : galactus
VERSION : 3.14.8 (16 January 2010) slackware
UPSNAME : galactus
CABLE : USB Cable
MODEL : Back-UPS ES 750
UPSMODE : Stand Alone
STARTTIME: 2011-03-18 12:52:38 -0400
STATUS : ONLINE
LINEV : 126.0 Volts
LOADPCT : 30.0 Percent Load Capacity
BCHARGE : 100.0 Percent
TIMELEFT : 13.2 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
SENSE : Medium
LOTRANS : 092.0 Volts
HITRANS : 139.0 Volts
ALARMDEL : Always
BATTV : 13.7 Volts
LASTXFER : Low line voltage
NUMXFERS : 0
TONBATT : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STATFLAG : 0x07000008 Status Flag
MANDATE : 2010-01-29
SERIALNO : 3B1005X47717
BATTDATE : 2010-01-29
NOMINV : 120 Volts
NOMBATTV : 12.0 Volts
NOMPOWER : 450 Watts
FIRMWARE : 841.I3 .D USB FW:I3
APCMODEL : Back-UPS ES 750
END APC : 2011-03-18 13:43:32 -0400
The only difference I see is, I created an initrd to boot the generic SMP kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.