Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 555308

Summary: usbcore behaves strange
Product: Gentoo Hosted Projects Reporter: giskard <rtgiskard>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kernel configuration, gentoo-sources-4.0.5

Description giskard 2015-07-19 04:40:44 UTC
Created attachment 407120 [details]
kernel configuration, gentoo-sources-4.0.5

the parameter of usbcore 'autosuspend' seems to work with unpredictable behaviors.
when I compile usbcore as built-in, and pass usbcore.autosuspend=7, when booted, my usb mouse just don't autosuspend, when I re-plug it, output of `cat /sys/bus/usb/devices/*/power/autosuspend_delay_ms` becomes the default vale 2000(before the re-plug, it has the value 7 or 0)
when usbcore built as a module, errors printed on initramfs stage on bootup, but nothing seems to be broken once booted, while, the autosuspend parameter still doesn't works as it should.
sometimes it autosuspend on AC, sometimes it doesn't, it's just so strange that I can't understand.
here is my kernel configuration, it may provide more information.