Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936414AbZLQSWb (ORCPT ); Thu, 17 Dec 2009 13:22:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S935540AbZLQSWW (ORCPT ); Thu, 17 Dec 2009 13:22:22 -0500 Received: from adsl-67-113-118-6.dsl.sndg02.pacbell.net ([67.113.118.6]:45402 "EHLO multivac.one-eyed-alien.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935356AbZLQSWT (ORCPT ); Thu, 17 Dec 2009 13:22:19 -0500 Date: Thu, 17 Dec 2009 10:21:34 -0800 From: Matthew Dharm To: Oliver Neukum Cc: Dan Williams , Josua Dietze , Stefan Seyfried , linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, usb-storage@lists.one-eyed-alien.net, Stefan Seyfried Subject: Re: [PATCH] move eject code from zd1211rw to usb-storage Message-ID: <20091217182134.GL16426@one-eyed-alien.net> Mail-Followup-To: Oliver Neukum , Dan Williams , Josua Dietze , Stefan Seyfried , linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, usb-storage@lists.one-eyed-alien.net, Stefan Seyfried References: <1260878800-14691-1-git-send-email-stefan.seyfried@googlemail.com> <1260993048.2179.68.camel@localhost.localdomain> <20091216195258.GJ16426@one-eyed-alien.net> <200912171402.42168.oliver@neukum.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k9xkV0rc9XGsukaG" Content-Disposition: inline In-Reply-To: <200912171402.42168.oliver@neukum.org> User-Agent: Mutt/1.4.2.3i Organization: One Eyed Alien Networks X-Copyright: (C) 2009 Matthew Dharm, all rights reserved. X-Message-Flag: Get a real e-mail client. http://www.mutt.org/ X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.12 (multivac.one-eyed-alien.net [127.0.0.1]); Thu, 17 Dec 2009 10:21:38 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1746 Lines: 56 --k9xkV0rc9XGsukaG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 17, 2009 at 02:02:41PM +0100, Oliver Neukum wrote: > Am Mittwoch, 16. Dezember 2009 20:52:58 schrieb Matthew Dharm: > > > > If this is the case, then the only reasonable answer to is to push = the > > > > modeswitch code for both into udev and out of the kernel. It will = take > > >=20 > > > you mean usb_modeswitch, not udev actually. > >=20 > > That is correct; I had mis-typed. Tho, the actual implementation is ud= ev > > calling usb_modeswitch and/or eject. >=20 > Can storage tell the devices apart so that it knows which ones to leave > to the kernel solution and which devices to accept so that udev can > issue an eject command? Maybe. Depends on how identical the devices are. We would need to compare descriptors between the two devices. Matt --=20 Matthew Dharm Home: mdharm-usb@one-eyed-alien.= net=20 Maintainer, Linux USB Mass Storage Driver E: You run this ship with Windows?! YOU IDIOT! L: Give me a break, it came bundled with the computer! -- ESR and Lan Solaris User Friendly, 12/8/1998 --k9xkV0rc9XGsukaG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFLKnauHL9iwnUZqnkRAmH3AKCWHehrHnKs8etIDdM/Zahw4N4/+wCeMc9v Ax62Eh9o71uSWUOE1ZkIUfo= =GOim -----END PGP SIGNATURE----- --k9xkV0rc9XGsukaG-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/