Re: [PATCH 2/2] Ignore storage device in modem mode on DWN-652

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 16, 2009 at 08:10:22AM +0200, Pascal Terjan wrote:
> Le mercredi 15 avril 2009 à 21:06 -0700, Greg KH a écrit :
> > On Thu, Apr 09, 2009 at 02:32:34PM +0200, Pascal Terjan wrote:
> > > My previous patch was actually not enough for a smooth use of DWN-652
> > > 
> > > Unlike other 3G keys which hide storage mode when in modem mode, 
> > > D-Link DWN-652 in modem mode exposes 3 interfaces:
> > > - First one is the USB storage
> > > - Second one is for both control and connection
> > > - Third one is unknown
> > > 
> > > This patch avoids usb-storage trying to switch again when already in
> > > modem mode, have it ignored so that people don't get it automounted as
> > > the content is useless under linux, and exposes only one ttyUSB instead 
> > > of three.
> > 
> > The usb-storage device can be ejected and we aren't adding quirks for
> > those types of devices.
> 
> I don't understand
> When plugged in it is in CD-ROM emulation mode, and the quirk makes it
> swith into modem mode. When in modem mode, it still presents the CD-ROM
> emulation interface, but adds the 2 other interfaces.
> If it does not get ignored by usb-storage when the other interfaces are
> there, usb-storage and option will fight for the device (and usb-storage
> may try to switch it again)

Ok, that makes more sense.

> > The other ttyUSB connections can be useful, as network manager and other
> > tools can access them for information.
> 
> Well the first one as really no meaning, it gets created on the mass
> storage interface
> Both control and connection happen on the ttyUSB1 on this device
> The last one could stay even if its usage is unknown

Yes, it should stay.  Care to respin the patch?

thanks,

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux