Discussion:
UPS on USB not detected
(too old to reply)
lee
2010-11-07 17:10:02 UTC
Permalink
Hi,

my UPS (HP T750 intl) which is plugged into an USB port with the
supplied USB cable is not detected. Nothing happens when I plug it out
or in, and I tried different USB ports. It´s the only USB device
connected, and lsusb only shows the host controllers but no USB
devices.

Other USB devices like card readers and USB disks work. Am I missing
some module?


***@yun:~# lsmod |grep usb
usbhid 14977 0
hid 32891 1 usbhid
usbcore 103361 3 usbhid,ehci_hcd,xhci
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@yun.yagibdah.de
Camaleón
2010-11-07 17:20:01 UTC
Permalink
Post by lee
my UPS (HP T750 intl) which is plugged into an USB port with the
supplied USB cable is not detected. Nothing happens when I plug it out
or in, and I tried different USB ports. It´s the only USB device
connected, and lsusb only shows the host controllers but no USB devices.
Other USB devices like card readers and USB disks work. Am I missing
some module?
You're maybe missing the program to control your UPS unit (i.e., "nut" or
maybe the manufacturer's own utils, if available).

Before going with Nut, I would suggest you to look into the compatibility
table for UPS devices and verify your UPS brand and model is listed here:

http://www.networkupstools.org/compat/

If not present, perform a Google search to find out additional
information for setting up your device in linux.

Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@gmail.com
lee
2010-11-07 17:30:02 UTC
Permalink
Post by Camaleón
Post by lee
my UPS (HP T750 intl) which is plugged into an USB port with the
supplied USB cable is not detected. Nothing happens when I plug it out
or in, and I tried different USB ports. It´s the only USB device
connected, and lsusb only shows the host controllers but no USB devices.
Other USB devices like card readers and USB disks work. Am I missing
some module?
You're maybe missing the program to control your UPS unit (i.e., "nut" or
maybe the manufacturer's own utils, if available).
Before going with Nut, I would suggest you to look into the compatibility
http://www.networkupstools.org/compat/
Nut supports it via usbhid-ups. It´ll probably work once the UPS is
detected as USB device, so I figure the first problem that needs to be
solved is that the UPS isn´t detected at all.

I know why I hate USB ...
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@yun.yagibdah.de
Camaleón
2010-11-07 18:20:02 UTC
Permalink
Post by lee
Post by Camaleón
Post by lee
Other USB devices like card readers and USB disks work. Am I missing
some module?
You're maybe missing the program to control your UPS unit (i.e., "nut"
or maybe the manufacturer's own utils, if available).
Before going with Nut, I would suggest you to look into the
compatibility table for UPS devices and verify your UPS brand and model
http://www.networkupstools.org/compat/
Nut supports it via usbhid-ups. It´ll probably work once the UPS is
detected as USB device, so I figure the first problem that needs to be
solved is that the UPS isn´t detected at all.
Nothing in "dmesg"?
Post by lee
I know why I hate USB ...
:-)

Does the unit attach a serial port?

Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@gmail.com
lee
2010-11-07 18:50:01 UTC
Permalink
Post by Camaleón
Post by lee
Nut supports it via usbhid-ups. It´ll probably work once the UPS is
detected as USB device, so I figure the first problem that needs to be
solved is that the UPS isn´t detected at all.
Nothing in "dmesg"?
***@yun:~# dmesg |grep -i usb
[ 8095.506188] usbcore: registered new interface driver usbhid
[ 8095.506195] usbhid: v2.6:USB HID core driver


So I assume that the USB modules are all available and working, unless
I´m missing one.
Post by Camaleón
Does the unit attach a serial port?
Yes, and it came with the serial cable. But I don´t have a serial port
on my computer. Even if I had one, nut doesn´t seem to have support
for the HP T750 via a serial cable but only via USB.

If there´s some software supporting this UPS via a serial cable, I can
check if there´s a connector on the mainboard for a serial port, but
which software would that be?
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@yun.yagibdah.de
Camaleón
2010-11-07 19:20:02 UTC
Permalink
Post by Camaleón
Post by lee
Nut supports it via usbhid-ups. It´ll probably work once the UPS is
detected as USB device, so I figure the first problem that needs to
be solved is that the UPS isn´t detected at all.
Nothing in "dmesg"?
[ 8095.506188] usbcore: registered new interface driver usbhid [
8095.506195] usbhid: v2.6:USB HID core driver
So I assume that the USB modules are all available and working, unless
I´m missing one.
"cat /proc/usb/devices" and look for your UPS...
Post by Camaleón
Does the unit attach a serial port?
Yes, and it came with the serial cable. But I don´t have a serial port
on my computer. Even if I had one, nut doesn´t seem to have support for
the HP T750 via a serial cable but only via USB.
How is that? Did you read it anywhere at Nut's site? :-?

"usbhid-ups" is the driver to be used, not the port. I mean IIRC, you can
define "usbhid-ups" as driver and "/dev/ttyS0" as serial port (or "auto"
for USB").
If there´s some software supporting this UPS via a serial cable, I can
check if there´s a connector on the mainboard for a serial port, but
which software would that be?
Nut should be just fine. More difficult is to find nowadays a serial port
embedded in motherboard, they are becoming "extinct".

Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@gmail.com
Celejar
2010-11-07 20:10:02 UTC
Permalink
On Sun, 7 Nov 2010 19:11:32 +0000 (UTC)
...
Post by Camaleón
Post by lee
If there´s some software supporting this UPS via a serial cable, I can
check if there´s a connector on the mainboard for a serial port, but
which software would that be?
Nut should be just fine. More difficult is to find nowadays a serial port
embedded in motherboard, they are becoming "extinct".
One can always try a USB-RS232 converter.

Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@gmail.com
Camaleón
2010-11-07 21:00:02 UTC
Permalink
Post by Celejar
...
Post by Camaleón
Post by lee
If there´s some software supporting this UPS via a serial cable, I
can check if there´s a connector on the mainboard for a serial port,
but which software would that be?
Nut should be just fine. More difficult is to find nowadays a serial
port embedded in motherboard, they are becoming "extinct".
One can always try a USB-RS232 converter.
Sure, or even a PCI multi-port card.

I still need to make use of COM ports but there are not many
manufacturers embedding on their boards (heck, I would change 4 of my USB
ports -there are 12!- for 1 COM port) O:-)

Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@gmail.com
lee
2010-11-08 15:00:03 UTC
Permalink
Post by Camaleón
Post by lee
So I assume that the USB modules are all available and working, unless
I´m missing one.
"cat /proc/usb/devices" and look for your UPS...
Proc fs is not enabled. There are lots of entries under /sys. But if
the USV is detected, wouldn´t lsusb show it?
Post by Camaleón
Post by lee
Post by Camaleón
Does the unit attach a serial port?
Yes, and it came with the serial cable. But I don´t have a serial port
on my computer. Even if I had one, nut doesn´t seem to have support for
the HP T750 via a serial cable but only via USB.
How is that? Did you read it anywhere at Nut's site? :-?
The compatibility list says it´s supported by usbhid-ups.
Post by Camaleón
"usbhid-ups" is the driver to be used, not the port. I mean IIRC, you can
define "usbhid-ups" as driver and "/dev/ttyS0" as serial port (or "auto"
for USB").
Hm, that would be something I could eventually try.
Post by Camaleón
Post by lee
If there´s some software supporting this UPS via a serial cable, I can
check if there´s a connector on the mainboard for a serial port, but
which software would that be?
Nut should be just fine. More difficult is to find nowadays a serial port
embedded in motherboard, they are becoming "extinct".
Yes, unfortunately ...
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@yun.yagibdah.de
Camaleón
2010-11-08 15:40:01 UTC
Permalink
Post by Camaleón
Post by lee
So I assume that the USB modules are all available and working,
unless I´m missing one.
"cat /proc/usb/devices" and look for your UPS...
Proc fs is not enabled. There are lots of entries under /sys. But if the
USV is detected, wouldn´t lsusb show it?
Mmmm... man "lsusb" says it reads data from "/proc/bus/usb" :-?

How about loading a LiveCD of any distribution just to compare "lsusb"
output?
Post by Camaleón
How is that? Did you read it anywhere at Nut's site? :-?
The compatibility list says it´s supported by usbhid-ups.
Yes, but that's only a driver's name. The same driver should be able to
handle different connection types (serial port and USB).

Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@gmail.com
Paul Cartwright
2010-11-07 17:40:02 UTC
Permalink
Post by lee
my UPS (HP T750 intl) which is plugged into an USB port with the
supplied USB cable is not detected. Nothing happens when I plug it out
or in, and I tried different USB ports. It´s the only USB device
connected, and lsusb only shows the host controllers but no USB
devices.
Other USB devices like card readers and USB disks work. Am I missing
some module?
I have an APC Ups on my system, and it tells me when the power takes a
hit, and powers down the PC when the battery is going dead.. I have a
package installed to make that happen:
# dpkg --list |grep apcupsd
ii apcupsd
3.14.8-2 APC UPS Power Management (daemon)
ii apcupsd-doc
3.14.8-2 APC UPS Power Management
(documentation/examples)
--
Paul Cartwright
Registered Linux user # 367800
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@pcartwright.com
lee
2010-11-07 18:50:02 UTC
Permalink
Post by Paul Cartwright
Post by lee
my UPS (HP T750 intl) which is plugged into an USB port with the
supplied USB cable is not detected. Nothing happens when I plug it out
or in, and I tried different USB ports. It´s the only USB device
connected, and lsusb only shows the host controllers but no USB
devices.
Other USB devices like card readers and USB disks work. Am I missing
some module?
ii apcupsd
3.14.8-2 APC UPS Power Management (daemon)
As far as I could find out, apcupsd only supports UPSs made by APC,
perhaps some others, but not the one I have.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@yun.yagibdah.de
Hugo Vanwoerkom
2010-11-07 18:20:02 UTC
Permalink
Post by lee
Hi,
my UPS (HP T750 intl) which is plugged into an USB port with the
supplied USB cable is not detected. Nothing happens when I plug it out
or in, and I tried different USB ports. It´s the only USB device
connected, and lsusb only shows the host controllers but no USB
devices.
<snip>

You're in luck. NUT in its stable compat supports the HP T750 intl with
driver usbhid-ups.

Install NUT and you're all set.

But usually I check what I see in stores (in Mexico) with NUT and I get
zip. APC is well supported with apcupsd but I never see it here.

Hugo
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/ib6qj0$792$***@dough.gmane.org
lee
2010-11-07 18:40:02 UTC
Permalink
Post by Hugo Vanwoerkom
Post by lee
Hi,
my UPS (HP T750 intl) which is plugged into an USB port with the
supplied USB cable is not detected. Nothing happens when I plug it out
or in, and I tried different USB ports. It´s the only USB device
connected, and lsusb only shows the host controllers but no USB
devices.
<snip>
You're in luck. NUT in its stable compat supports the HP T750 intl
with driver usbhid-ups.
That probably only works when the USV is detected as an USB device
first.
Post by Hugo Vanwoerkom
Install NUT and you're all set.
I´ve nut installed, but it doesn´t work:


***@yun:~# lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
***@yun:~# /lib/nut/usbhid-ups -D -D -a myups
Network UPS Tools - Generic HID driver 0.34 (2.4.3)
USB communication driver 0.31
0.000000 debug level is '2'
0.000990 upsdrv_initups...
0.001382 Checking device (1D6B/0002) (003/001)
0.001446 - VendorID: 1d6b
0.001458 - ProductID: 0002
0.001468 - Manufacturer: unknown
0.001478 - Product: unknown
0.001487 - Serial Number: unknown
0.001496 - Bus: 003
0.001505 Trying to match device
0.001533 Device does not match - skipping
0.001550 Checking device (1D6B/0002) (002/001)
0.001582 - VendorID: 1d6b
0.001593 - ProductID: 0002
0.001602 - Manufacturer: unknown
0.001611 - Product: unknown
0.001620 - Serial Number: unknown
0.001629 - Bus: 002
0.001638 Trying to match device
0.001649 Device does not match - skipping
0.001662 Checking device (1D6B/0003) (001/001)
0.001693 - VendorID: 1d6b
0.001703 - ProductID: 0003
0.001712 - Manufacturer: unknown
0.001721 - Product: unknown
0.001731 - Serial Number: unknown
0.001740 - Bus: 001
0.001748 Trying to match device
0.001759 Device does not match - skipping
0.001774 No appropriate HID device found
0.001787 No matching HID UPS found


As you can see, the USV is not detected. It´s plugged in, though.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@yun.yagibdah.de
Hugo Vanwoerkom
2010-11-07 19:00:01 UTC
Permalink
Post by lee
Post by Hugo Vanwoerkom
Post by lee
Hi,
my UPS (HP T750 intl) which is plugged into an USB port with the
supplied USB cable is not detected. Nothing happens when I plug it out
or in, and I tried different USB ports. It´s the only USB device
connected, and lsusb only shows the host controllers but no USB
devices.
<snip>
You're in luck. NUT in its stable compat supports the HP T750 intl
with driver usbhid-ups.
That probably only works when the USV is detected as an USB device
first.
Post by Hugo Vanwoerkom
Install NUT and you're all set.
<snip>
Post by lee
As you can see, the USV is not detected. It´s plugged in, though.
I use apcupsd with an apc ups. What's an USV? Google says 'unmanned
surface vehicle'?

Hugo
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/ib6shh$g7r$***@dough.gmane.org
lee
2010-11-08 15:00:02 UTC
Permalink
Post by Hugo Vanwoerkom
I use apcupsd with an apc ups. What's an USV? Google says 'unmanned
surface vehicle'?
An USV is an UPS :)
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@yun.yagibdah.de
Erwan David
2010-11-07 19:50:02 UTC
Permalink
Post by lee
Hi,
my UPS (HP T750 intl) which is plugged into an USB port with the
supplied USB cable is not detected. Nothing happens when I plug it out
or in, and I tried different USB ports. It´s the only USB device
connected, and lsusb only shows the host controllers but no USB
devices.
Other USB devices like card readers and USB disks work. Am I missing
some module?
usbhid 14977 0
hid 32891 1 usbhid
usbcore 103361 3 usbhid,ehci_hcd,xhci
lsusb gives you a bus number and a device number eg.
Bus 005 Device 002: ID 0463:ffff MGE UPS Systems UPS

what is the resukt of ls -l /dev/bus/usb/<bus number>/<device number>
(for preceding example, I get
crw-rw-r-- 1 root nut 189, 513 Nov 7 20:39 /dev/bus/usb/005/002, and it
is the only device for my UPS).
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@rail.eu.org
o***@netptc.net
2010-11-08 17:00:02 UTC
Permalink
---- Original Message ----
Subject: Re: UPS on USB not detected
Date: Mon, 8 Nov 2010 15:31:41 +0000 (UTC)
Post by Camaleón
Post by lee
Post by Camaleón
Post by lee
So I assume that the USB modules are all available and working,
unless I´m missing one.
"cat /proc/usb/devices" and look for your UPS...
Proc fs is not enabled. There are lots of entries under /sys. But
if the
Post by Camaleón
Post by lee
USV is detected, wouldn´t lsusb show it?
Mmmm... man "lsusb" says it reads data from "/proc/bus/usb" :-?
How about loading a LiveCD of any distribution just to compare
"lsusb"
Post by Camaleón
output?
Post by lee
Post by Camaleón
How is that? Did you read it anywhere at Nut's site? :-?
The compatibility list says it´s supported by usbhid-ups.
Yes, but that's only a driver's name. The same driver should be able
to
Post by Camaleón
handle different connection types (serial port and USB).
Greetings,
--
Camaleón
I've dug into the protocol of about 5 UPSs in conjunction with a
consulting assignment. Each vendor has his/her own protocol which
varies widely from vendor to vendor but a single vendor typically has
the same protocol across its own product line.
Larry
Post by Camaleón
--
with a subject of "unsubscribe". Trouble? Contact
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/380-***@netptc.net
lee
2010-11-26 20:40:01 UTC
Permalink
Post by lee
Hi,
my UPS (HP T750 intl) which is plugged into an USB port with the
supplied USB cable is not detected. Nothing happens when I plug it out
or in, and I tried different USB ports. It´s the only USB device
connected, and lsusb only shows the host controllers but no USB
devices.
Other USB devices like card readers and USB disks work. Am I missing
some module?
usbhid 14977 0
hid 32891 1 usbhid
usbcore 103361 3 usbhid,ehci_hcd,xhci
It turned out that I was missing the ohci_hcd kernel module.
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@yun.yagibdah.de
Loading...