Package: apcupsd
Version: 3.14.10-2
Severity: important

Dear Maintainer,
apcupsd is unable to find any usb bus or device on kFreeBSD systems.
The UPS Device is a Back-UPS ES 700 G. The UPS uses usb to communicate
with apcupsd.
On Linux systems everything works perfekt.

Here is the output of apctest -d 1000:
2013-11-01 12:55:34 apctest 3.14.10 (13 September 2011) debian
Checking configuration ...
0.000 apcupsd: apcconfig.c:799 After config scriptdir: "/etc/apcupsd"
0.000 apcupsd: apcconfig.c:800 After config pwrfailpath: "/etc/apcupsd"
0.000 apcupsd: apcconfig.c:801 After config nologinpath: "/etc"
0.000 apcupsd: newups.c:102 write_lock at drivers.c:208
0.000 apcupsd: drivers.c:210 Looking for driver: usb
0.000 apcupsd: drivers.c:214 Driver dumb is configured.
0.000 apcupsd: drivers.c:214 Driver apcsmart is configured.
0.000 apcupsd: drivers.c:214 Driver net is configured.
0.000 apcupsd: drivers.c:214 Driver usb is configured.
0.000 apcupsd: drivers.c:217 Driver usb found and attached.
0.000 apcupsd: newups.c:108 write_unlock at drivers.c:234
0.000 apcupsd: drivers.c:236 Driver ptr=0x431080
Attached to driver: usb
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = USB UPS Driver
Setting up the port ...
usb_set_debug: Setting debugging level to 10 (on)
0.001 apcupsd: newups.c:102 write_lock at generic-usb.c:655
0.001 apcupsd: generic-usb.c:425 Initializing libusb
0.001 apcupsd: generic-usb.c:430 Found 0 USB busses
0.001 apcupsd: generic-usb.c:432 Found 0 USB devices
0.001 apcupsd: newups.c:108 write_unlock at generic-usb.c:671
apctest FATAL ERROR in generic-usb.c at line 674
Cannot find UPS device --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/support.html>.
0.002 apcupsd: newups.c:102 write_lock at generic-usb.c:694
0.002 apcupsd: newups.c:108 write_unlock at generic-usb.c:701
apctest error termination completed

Output of lsusb:
Bus 000 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 005 Device 001: ID 0000:0000  
Bus 003 Device 002: ID 0624:0248 Avocent Corp. 
Bus 002 Device 002: ID 051d:0002 American Power Conversion Uninterruptible 
Power Supply


Output of dmesg | tail -n 3 -
ugen0.2: <APC> at usbus0
ugen0.2: <APC> at usbus0 (disconnected)
ugen2.2: <APC> at usbus2

-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apcupsd depends on:
ii  libc0.1       2.13-38
ii  libgcc1       1:4.7.2-5
ii  libusb-0.1-4  2:0.1.12-20+nmu1
ii  libwrap0      7.6.q-24

Versions of packages apcupsd recommends:
ii  apcupsd-doc  3.14.10-2

Versions of packages apcupsd suggests:
ii  apcupsd-cgi  3.14.10-2
pn  udev         <none>

-- Configuration Files:
/etc/apcupsd/apcupsd.conf changed:
UPSNAME ES 700G
UPSCABLE usb
UPSTYPE usb
DEVICE /dev/ugen2.2
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 10
MINUTES 10
TIMEOUT 0
ANNOY 30
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0

/etc/apcupsd/hosts.conf changed:
MONITOR 192.168.0.12 "meteohub.athome"
MONITOR 192.168.0.33 "proliant.athome"
MONITOR 192.168.0.39 "vorlon.athome"

/etc/default/apcupsd changed:
APCACCESS=/sbin/apcaccess
ISCONFIGURED=yes


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to