USB power management, usb_autopm_set_interface(struct usb_interface) fails, kernel with CONFIG_USB_SUSPEND

Asked by Tartuf

Hi Ubunters,

I try to install drivers using USB power management (http://lwn.net/Articles/253587/) for a wifi card.

I use Ubuntu 10.10 - the Maverick Meerkat on a EeePc 1000H and the wifi card is a Broadcom.

When I try to install the drivers I have this following errors:

***bcm_usbshim.c: In function ‘bcm_autopm_set_interface’:
***/bcm_usbshim.c:56: error: implicit declaration of function ‘usb_autopm_set_interface’
make[3]: *** [***/bcm_usbshim.o] Error 1
make[2]: *** [***obj-bcm_usbshim-2.6.35-28-generic-] Error 2
make[1]: *** [modules] Error 2
make: *** [all] Error 2
cp: cannot stat `./src/linuxdev/obj-*/bcm_usbshim.ko': No such file or directory
and more ...

The website http://lwn.net/Articles/253587/, specifies:

Note: Dynamic PM support for USB is present only if the kernel was
+built with CONFIG_USB_SUSPEND enabled.

How can I build such a kernel or pass over this problem?

Thank you

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu acpi Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#1

See https://help.ubuntu.com/community/Kernel/Compile, and please feel to reply if you have any questions or experience any problems.

Can you help with this problem?

Provide an answer of your own, or ask Tartuf for more information if necessary.

To post a message you must log in.