Resume script hid2hci reports error when nothing is done

Bug #380754 reported by matika
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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

Revision history for this message
Mario Limonciello (superm1) wrote :

In karmic this script doesn't exist, so this fix is done.

Changed in bluez (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.