On Mon, 17 Apr 2006, Flynn Marquardt wrote: > Am Montag, den 17.04.2006, 10:24 -0400 schrieb Alan Stern: > > It's true that there have been a lot of changes to the UHCI driver, and > > one of them could cause increased power consumption under certain > > circumstances. It depends on what devices are attached to the controller > > and how they operate. > > > > In your case, it would help to have more information. Here's what you > > should do: Turn on USB verbose debugging in the kernel configuration > > (CONFIG_USB_DEBUG). Also turn on the Debug Filesystem option in the > > Kernel Hacking section (CONFIG_DEBUG_FS). Then rebuild the kernel and > > load the new driver with > > > > modprobe uhci-hcd debug=3 > > > > and also mount a debugfs filesystem, say at /sys/kernel/debug. Post the > > contents of the files you find under /sys/kernel/debug/uhci. > > > > In addition, you should post the contents of /proc/bus/usb/devices. > > Depending on your distribution, /proc/bus/usb may not be mounted > > automatically, so you may have to do it manually (with -t usbfs). > > > > Alan Stern > Ok, to have an easier situation for you I build a unpatched kernel > (usually I use swsusp2, undervolt, ...) und I enabled the desired kernel > options. > > The attachements uhci-0000\:00\:1d.0-2 are the files > under /sys/kernel/debug. > > The file devices is /proc/bus/usb/devices. > > While unplugged the connected usb-devices (mouse and a internal > bluetooth adapter) and I discovered, that the bluetooth adapter is > causing the high power consumption, maybe that helps you a little.
Yes, I can tell from the attachments. The bluetooth adapter has a pattern of data transfer (polling bulk endpoints) that will cause the increased power usage. To tell you the truth, the other changes to uhci-hcd were so large that I wanted to get them out and fully tested before making other, smaller improvements (like this power thing). Since everything seems to be working okay, I guess it's time to start working on those smaller items. For now, you can always reduce your power consumption by unplugging the bluetooth adapter or unloading the hci_usb driver. However, I will work on a patch that should fix things up. It should be ready for you to test in a few days. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
