Re: Tool to enable USB power management

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

 



Hi Sarah,

I tested my mobile MotorokrE6 with acting as a modem using cdc-acm driver.
and here is the result, I pasted.
http://pastie.org/399875

I believe, "rm: cannot remove
`/etc/udev/rules.d/025_usb-autosuspend.rules': No such file or
directory", can be avoided for first time user using "rm $UDEV_RULE"
in vid-pid-to-udev-rule.sh
Please, comment.

Also, "Type enter once you are actively using the device:", does this
wait for user to resume this device. I resumed my device using "echo
AT > /dev/ttyACM0"
What is the meaning of "Does this device still work? (y/n):", how can
I make sure?

Rest of the things worked fine. But I am not able to invoke
auto-generated udev-rule every time, I disconnect and reconnect the
device. I tried to debug this, and I can manually invoke udev-rule by
using "sudo udevadm trigger".
This could be my machine's udev's problem?

Thanks and Regards,
Shivdas

On Wed, Feb 25, 2009 at 4:35 AM, Sarah Sharp
<sarah.a.sharp@xxxxxxxxxxxxxxx> wrote:
> A couple months ago, I started on a tool to automatically test and enable
> automatic power management for USB devices.  The USB Power Management tool (USB
> PM tool) is now mostly complete, and is available for download:
>
>        git clone git://git.moblin.org/usb-pm-tool.git
>
> I would love for people to start testing USB devices with this tool.  I haven't
> yet found any devices that can't handle selective suspend, so I really need
> testers with broken USB devices.
>
> If you run the tool and test a couple devices, please send me these two files:
>
>        /etc/usb-pm-tool/pm-enabled-devices.txt
>        /etc/usb-pm-tool/pm-broken-devices.txt
>
>
> About the tool:
> ==============
>
> The script usb-pm-tool.sh will present the user with a list of devices on their
> system that are capable of auto-suspend.  The user picks a device to test,
> follows the prompts on the screen, and reports whether the device works
> successfully after the auto-suspend test.
>
> If the device passes the test, the script will prompt the user if they always
> want to enable auto-suspend for this device.  If so, the script will generate a
> udev rule to enable auto-suspend for the device whenever it is plugged in.
> Enabling auto-suspend will lower system power consumption, but only if *all* the
> USB devices on the system have auto-suspend enabled.
>
> Eventually I want the tool to ask the user if they want to send info about their
> device to a centralized server.  Then people could download the latest list of
> devices that correctly auto-suspend.  That's still work in progress.
>
> Thanks for testing!
>
> Sarah Sharp
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux