[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091217182134.GL16426@one-eyed-alien.net>
Date: Thu, 17 Dec 2009 10:21:34 -0800
From: Matthew Dharm <mdharm-kernel@...-eyed-alien.net>
To: Oliver Neukum <oliver@...kum.org>
Cc: Dan Williams <dcbw@...hat.com>,
Josua Dietze <digidietze@...isberghof.de>,
Stefan Seyfried <stefan.seyfried@...glemail.com>,
linux-usb@...r.kernel.org, linux-wireless@...r.kernel.org,
linux-kernel@...r.kernel.org, usb-storage@...ts.one-eyed-alien.net,
Stefan Seyfried <seife@...airon.com>
Subject: Re: [PATCH] move eject code from zd1211rw to usb-storage
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
> > >
> > > you mean usb_modeswitch, not udev actually.
> >
> > That is correct; I had mis-typed. Tho, the actual implementation is udev
> > calling usb_modeswitch and/or eject.
>
> 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
--
Matthew Dharm Home: mdharm-usb@...-eyed-alien.net
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
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists