Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555308 - usbcore behaves strange
Summary: usbcore behaves strange
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-19 04:40 UTC by giskard
Modified: 2018-11-16 14:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel configuration, gentoo-sources-4.0.5 (config.gz,30.04 KB, application/gzip)
2015-07-19 04:40 UTC, giskard
Details

Note You need to log in before you can comment on or make changes to this bug.
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.