[GIT PATCH] USB suspend persistance for 2.6.25-rc5 git



A few -rc releases ago you asked about USB storage devices being
persistant across suspend/resume cycles.

Well, Alan Stern has put together a nice small set of patches that do
just this. Here they are against your 2.6.26-rc5-git tree.

Now I know they are a new "feature" and it's way late in the release
cycle, but you were asking for this a while ago. I've been beating on
it with my laptops and had no problems at all.

They have been in the past few -mm releases with no reported problems,
as well as the -next tree.

If you want to take them, or just play with them, please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-persist-2.6.git/

The full patches will be sent to the linux-usb and linux-kernel mailing
lists for everyone to see them.

thanks,

greg k-h

------------

Documentation/usb/persist.txt | 43 ++++---
drivers/usb/core/Kconfig | 25 ----
drivers/usb/core/driver.c | 9 +-
drivers/usb/core/hub.c | 266 +++++++++++++++++++++++++++--------------
drivers/usb/core/message.c | 2 +-
drivers/usb/core/quirks.c | 14 ++
drivers/usb/core/sysfs.c | 22 ++--
drivers/usb/host/ehci-hub.c | 15 +--
drivers/usb/host/ehci-pci.c | 1 -
include/linux/usb.h | 2 +-
10 files changed, 234 insertions(+), 165 deletions(-)

---------------

Alan Stern (6):
USB: EHCI: carry out port handover during each root-hub resume
USB: reorganize code in hub.c
USB: make USB-PERSIST work after every system sleep
USB: remove CONFIG_USB_PERSIST setting
USB: check serial-number string after device reset
USB: enable USB-PERSIST by default

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Re[2]: Flash Drive Policy
    ... Windows Operating systems make a clear distinction between USB storage ... USB Storage devices may be disabled completely in the windows ... The 'Start' value disables/enables USB storage. ...
    (Security-Basics)
  • Re: Slow USB HDD on SuSe 10.0 (and usb flash stick)
    ... the USB drive is terribly slow compared to the on board drive. ... Before this problem is definitely fixed with a patch for SUSE 10.0 ... and add the possibility to mount ALL usb storage devices without the sync option. ... I have had the problem of writing speed to usb storage devices on different computers and on different devices. ...
    (alt.os.linux.suse)
  • Re: USB Pen Drives and Linux
    ... >>FAT doesn't, though there is a space in the FAT superblock for a volume ... Most USB storage devices are shipped with FAT filesystems ... -- Paul Tomblin, in a.s.r. ...
    (comp.os.linux.misc)
  • WinCE 5 using USB RNDIS : LAN vs. W-LAN how to ?
    ... The rndis device used is U.S.Robotics USR5421 USB to wireless LAN stick. ... USB port correctly functions and recognizes both USB storage devices and USB printers. ... There is on-board Ethernet adapter already as well on-board wireless LAN adapter as well, for which 3rd party drivers are used. ... Upon insertion of USR5421 into device's USB port no visual effects are seen, but "power" led on the USR5421 comes on, antenna light stays off. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Disable Usage of USB storage Devices
    ... After making the following registry changes none of the usb storage devices ...
    (microsoft.public.win2000.security)