lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080407054832.GA11216@kroah.com>
Date:	Sun, 6 Apr 2008 22:48:32 -0700
From:	Greg KH <greg@...ah.com>
To:	Xavier Bestel <xavier.bestel@...e.fr>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: power off USB port

On Sun, Apr 06, 2008 at 12:20:24PM +0200, Xavier Bestel wrote:
> Hi,
> 
> I'd like to power off some usb ports (to make ejected usb flash drives
> power off their little "don't remove me yet" led), but I can't find how
> to do it with a 2.6.24 kernel:
> - eject /dev/sd? doesn't work anymore
> - /sys/bus/usb/devices/*/power/state doesn't exist anymore
> - hub-ctrl-2.c [1] fails with a "Broken pipe" error
> 
> Does anyone know how to achieve that ?

You can not, sorry.  Please see the archives of this list, and the
linux-usb list for the many many many times this keeps coming up.

thanks,

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ