Культурный офтопик
 help / color / mirror / Atom feed
From: Andrey Rahmatullin <wrar@altlinux.ru>
To: smoke-room@lists.altlinux.org
Subject: [room] Fwd: "Safely remove hardware" for USB
Date: Tue, 29 Sep 2009 19:47:15 +0600
Message-ID: <20090929134714.GO6196@wrars-comp.wrarsdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 1214 bytes --]

----- Forwarded message from Alan Stern <stern@rowland.harvard.edu> -----

Date: Mon, 28 Sep 2009 02:19:57 -0400 (EDT)
From: Alan Stern <stern@rowland.harvard.edu>
To: David Zeuthen <davidz@redhat.com>
cc: USB list <linux-usb@vger.kernel.org>
Subject: "Safely remove hardware" for USB
X-Mailing-List: linux-usb@vger.kernel.org

David:

Below is a patch for 2.6.31 which should do what we discussed.  It
creates a sysfs file in each USB device's directory named "remove".  
Any write to this file will cause the device's port to be disabled, and
the port will remain disabled until the device is unplugged and either
it or another device is plugged in.  This is what Windows does when you
click on the "Safely remove hardware" control.

Alan Stern

[...]

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

----- End forwarded message -----

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):

 * Lost[work] .oO(Форма граблеводного эксгибиционизма - наступить на очередные
   грабли и хвалиться очередной шишкой на лбу)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

                 reply	other threads:[~2009-09-29 13:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090929134714.GO6196@wrars-comp.wrarsdomain \
    --to=wrar@altlinux.ru \
    --cc=smoke-room@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Культурный офтопик

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
		smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
	public-inbox-index smoke-room

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.smoke-room


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git