Re: [Linux-usb-users] usb power management
On Fri, 11 May 2007, Radha Mohan wrote: Thanks Alen. I did as you said. I want to know how the power management for usb comes up. Does the kernel take care of it. Or else do we have to give any type of interrupt. Suppose I have connected a pendrive to my PC and I am not using it for say 10min. In this scenario what will happen? The kernel takes care of it. However only a few USB drivers have automatic power management built in right now. The hub driver does, but usb-storage doesn't. So if you connect a pendrive and don't use it for 10 minutes, nothing will happen -- it will remain powered on. In the future, of course, more and more drivers will support automatic power management. But for now, we're just getting started. Alan Stern - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] usb power management
On Wed, 9 May 2007, Radha Mohan wrote: But CONFIG_USB_SUSPEND selected by on USB_OTG which inturn depends on ARCH_OMAP architecture. I want this for my PC. So I assume USB power management is not present. Or else can I somehow use CONFIG_USB_SUSPEND code for my architecture. You can use CONFIG_USB_SUSPEND for your architecture by putting a line saying: CONFIG_USB_SUSPEND=y in your .config file. Alan Stern - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] usb power management
Thanks Alen. I did as you said. I want to know how the power management for usb comes up. Does the kernel take care of it. Or else do we have to give any type of interrupt. Suppose I have connected a pendrive to my PC and I am not using it for say 10min. In this scenario what will happen? - Original Message From: Alan Stern [EMAIL PROTECTED] To: Radha Mohan [EMAIL PROTECTED] Cc: linux-usb-users@lists.sourceforge.net Sent: Thursday, May 10, 2007 9:05:42 PM Subject: Re: [Linux-usb-users] usb power management On Wed, 9 May 2007, Radha Mohan wrote: But CONFIG_USB_SUSPEND selected by on USB_OTG which inturn depends on ARCH_OMAP architecture. I want this for my PC. So I assume USB power management is not present. Or else can I somehow use CONFIG_USB_SUSPEND code for my architecture. You can use CONFIG_USB_SUSPEND for your architecture by putting a line saying: CONFIG_USB_SUSPEND=y in your .config file. Alan Stern __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] usb power management
On Wed, 9 May 2007, Radha Mohan wrote: Hi, How to enable usb power management like suspend/resume in linux from the kernel. Is it already built in? It is already built into the 2.6.20 and 2.6.21 kernels, provided you set CONFIG_USB_SUSPEND when you build the kernel. Alan Stern - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
Re: [Linux-usb-users] usb power management
But CONFIG_USB_SUSPEND selected by on USB_OTG which inturn depends on ARCH_OMAP architecture. I want this for my PC. So I assume USB power management is not present. Or else can I somehow use CONFIG_USB_SUSPEND code for my architecture. - Original Message From: Alan Stern [EMAIL PROTECTED] To: Radha Mohan [EMAIL PROTECTED] Cc: linux-usb-users@lists.sourceforge.net Sent: Wednesday, May 9, 2007 9:09:25 PM Subject: Re: [Linux-usb-users] usb power management On Wed, 9 May 2007, Radha Mohan wrote: Hi, How to enable usb power management like suspend/resume in linux from the kernel. Is it already built in? It is already built into the 2.6.20 and 2.6.21 kernels, provided you set CONFIG_USB_SUSPEND when you build the kernel. Alan Stern __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users