NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/42633: uhmodem: suspend/resume impossible with built-in modem

>Number:         42633
>Category:       kern
>Synopsis:       uhmodem: suspend/resume impossible with built-in modem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 17 15:20:00 +0000 2010
>Originator:     Uwe Krüger
>Release:        netbsd-5 (snapshot from Jan 14th 2010)
NetBSD eeepc 5.0_STABLE NetBSD 5.0_STABLE (UWE) #1: Sun Jan 17 14:50:10 UTC 
2010  root@eeepc:/usr/src/sys/arch/i386/compile/UWE i386

On an eeepc-901go (with built-in HUAWEI HSDPA modem) suspend/resume doesn't 
work. The following error messages are printed:

Jan 17 14:00:31 eeepc /netbsd: acpi0: entering state 3
Jan 17 14:00:31 eeepc /netbsd: Devices without power management support: 
Jan 17 14:00:31 eeepc /netbsd: acpi0: aborting suspend

Try to enter suspend mode on an eeepc 901go. (You should deactivate the wired 
network in the BIOS since the built-in ale-Device causes various proplems - but 
that's another story...)
Addind a dummy power management registration to the uhmodem driver fixes the 

--- sys/dev/usb/uhmodem.c.orig  2010-01-17 14:45:15.000000000 +0000
+++ sys/dev/usb/uhmodem.c       2010-01-17 14:48:52.000000000 +0000
@@ -369,6 +369,9 @@
        usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, sc->sc_ubsa.sc_udev,
+       if (!pmf_device_register(self, NULL, NULL))
+               aprint_error_dev(self, "couldn't establish power handler\n");

Home | Main Index | Thread Index | Old Index