[Bug 394542] New: nut-hal does not work as expected
https://bugzilla.novell.com/show_bug.cgi?id=394542 Summary: nut-hal does not work as expected Product: openSUSE 11.0 Version: Beta 3 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sbrabec@novell.com QAContact: qa@suse.de CC: suse+build@de-korte.org Found By: --- nut-hal should replace function of hid ups addon of hal. But it seems, that it does not work as expected: Here is a log of: attach cable, remove power cord, plug power cord Using HAL HID UPS addon: signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceRemoved string "/org/freedesktop/Hal/devices/usb_device_51d_2_AS0713242662" signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded string "/org/freedesktop/Hal/devices/usb_device_51d_2_AS0713242662" signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded string "/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial" signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded string "/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev" signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev; interface=org.freedesktop.Hal.Device; member=PropertyModified int32 4 array [ struct { string "battery.reporting.percentage" boolean false boolean false } struct { string "battery.reporting.current" boolean false boolean false } struct { string "battery.charge_level.percentage" boolean false boolean false } struct { string "battery.charge_level.current" boolean false boolean false } ] signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev; interface=org.freedesktop.Hal.Device; member=PropertyModified int32 1 array [ struct { string "battery.rechargeable.is_discharging" boolean false boolean false } ] signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev; interface=org.freedesktop.Hal.Device; member=PropertyModified int32 1 array [ struct { string "battery.remaining_time" boolean false boolean false } ] signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev; interface=org.freedesktop.Hal.Device; member=PropertyModified int32 4 array [ struct { string "battery.reporting.percentage" boolean false boolean false } struct { string "battery.reporting.current" boolean false boolean false } struct { string "battery.charge_level.percentage" boolean false boolean false } struct { string "battery.charge_level.current" boolean false boolean false } ] signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev; interface=org.freedesktop.Hal.Device; member=PropertyModified int32 2 array [ struct { string "battery.rechargeable.is_discharging" boolean false boolean false } struct { string "battery.rechargeable.is_charging" boolean false boolean false } ] signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev; interface=org.freedesktop.Hal.Device; member=PropertyModified int32 1 array [ struct { string "battery.remaining_time" boolean false boolean false } ] signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev; interface=org.freedesktop.Hal.Device; member=PropertyModified int32 4 array [ struct { string "battery.reporting.percentage" boolean false boolean false } struct { string "battery.reporting.current" boolean false boolean false } struct { string "battery.charge_level.percentage" boolean false boolean false } struct { string "battery.charge_level.current" boolean false boolean false } ] signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev; interface=org.freedesktop.Hal.Device; member=PropertyModified int32 1 array [ struct { string "battery.rechargeable.is_charging" boolean false boolean false } ] With nut-hal (with 20-nut-disable-hal-hid-ups.fdi installed): signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded string "/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial" signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded string "/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev" signal sender=:1.1 -> dest=(null destination) path=/org/freedesktop/Hal/Manager; interface=org.freedesktop.Hal.Manager; member=DeviceAdded string "/org/freedesktop/Hal/devices/usb_device_51d_2_AS0713242662" signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.67" string "" string ":1.67" signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.67" string ":1.67" string "" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=394542 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |sbrabec@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=394542 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=394542#c1 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Stanislav Brabec <sbrabec@novell.com> 2008-05-30 09:05:17 MDT --- It seems to be caused by some changes in HAL. NUT HID UPS addon does not find the UPS, even if it is started in exactly same context as HAL HID UPS addon. The result is: Network UPS Tools: 0.29 USB communication driver - core 0.33 (2.2.2) No matching HID UPS found Tested UPS is APC Smart-UPS 750. And environment is: BASH=/bin/sh BASH_ARGC=() BASH_ARGV=() BASH_LINENO=([0]="0") BASH_SOURCE=([0]="/usr/lib64/hal/hald-addon-usbhid-ups") BASH_VERSINFO=([0]="3" [1]="2" [2]="39" [3]="1" [4]="release" [5]="x86_64-suse-linux-gnu") BASH_VERSION='3.2.39(1)-release' CK_NUM_SEATS=1 CK_NUM_SESSIONS=2 CK_SEATS=Seat1 CK_SEAT_NUM_SESSIONS_Seat1=2 CK_SEAT_Seat1='Session1 Session3' CK_SESSION_IS_ACTIVE_Session1=false CK_SESSION_IS_ACTIVE_Session3=true CK_SESSION_IS_LOCAL_Session1=true CK_SESSION_IS_LOCAL_Session3=true CK_SESSION_SEAT_Session1=Seat1 CK_SESSION_SEAT_Session3=Seat1 CK_SESSION_UID_Session1=0 CK_SESSION_UID_Session3=10027 DIRSTACK=() EUID=0 GROUPS=() HALD_ACTION=addon HALD_DIRECT_ADDR=unix:abstract=/var/run/hald/dbus-RNqb4ND4Sv,guid=2e2f0582f705fc863867a6b4483d5ccc HALD_UNAME_S=linux HALD_VERBOSE=1 HAL_PROP_HIDDEV_APPLICATION_PAGES='Power Device Page' HAL_PROP_HIDDEV_DEVICE=/dev/hiddev0 HAL_PROP_HIDDEV_PRODUCT='American Power Conversion Smart-UPS 750 FW:651.13.I USB FW:7.3' HAL_PROP_INFO_ADDONS=hald-addon-usbhid-ups HAL_PROP_INFO_CAPABILITIES=hiddev HAL_PROP_INFO_CATEGORY=hiddev HAL_PROP_INFO_PARENT=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial HAL_PROP_INFO_PRODUCT='American Power Conversion Smart-UPS 750 FW:651.13.I USB FW:7.3' HAL_PROP_INFO_UDI=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev HAL_PROP_LINUX_DEVICE_FILE=/dev/hiddev0 HAL_PROP_LINUX_HOTPLUG_TYPE=2 HAL_PROP_LINUX_SUBSYSTEM=usb HAL_PROP_LINUX_SYSFS_PATH=/sys/devices/pci0000:00/0000:00:10.3/usb5/5-2/5-2:1.0/usb/hiddev0 HAVE_POLKIT=1 HOSTNAME=hammer HOSTTYPE=x86_64 IFS=' ' MACHTYPE=x86_64-suse-linux-gnu OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib64/hal:/usr/lib64/hal/scripts:/usr/bin PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=9390 PS4='+ ' PWD=/usr/lib64/hal SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments:posix SHLVL=1 TERM=dumb UDI=/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_hiddev UID=0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=394542 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=394542#c3 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|coolo@novell.com | --- Comment #3 from Stephan Kulow <coolo@novell.com> 2008-06-02 01:30:09 MDT --- I have no idea what I'm NEEDINFO on. nut-hal is not on any medium and if you want to remove it from FTP tree, set it to frozen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=394542 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=394542#c4 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |UPSTREAM --- Comment #4 from Stanislav Brabec <sbrabec@novell.com> 2008-09-17 08:11:48 MDT --- nut-hal is frozen. Let's wait for upstream. nut-hal will be re-checked after update, and it will be enabled, whenever it will become usable. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com