[Bug 380754] [NEW] Resume script hid2hci reports error when nothing is done

matika xmaximx at gmx.net
Tue May 26 22:23:56 BST 2009


Public bug reported:

Binary package hint: bluez

I found this bug when i used the Suspend-to-RAM feature of kpowersave.
it correctly switches to S3 mode but after waking up it reports:
"unknown error : 1".

i found the bug in the /usr/lib/pm-utils/sleep.d/48hid2hci script:

hid2hci()
{
        if [ "$HID2HCI_ENABLED" = "1" ] && [ -x /usr/sbin/hid2hci ]; then
                /usr/sbin/hid2hci --tohci
        fi
}

case "$1" in
        thaw|resume)
                hid2hci
## hid2hci reports nonzero result code when nothing could be switched to hci mode. at this point of the script, the result code should be set to zero if so
                ;;
        *) exit $NA
                ;;
esac

** Affects: bluez (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Resume script hid2hci reports error when nothing is done
https://bugs.launchpad.net/bugs/380754
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in ubuntu.



More information about the Ubuntu-bluetooth mailing list