Re: [PATCH] ar9170usb: add mode-switching for AVM Fritz!WLAN USB N devices in cdrom mode

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

 



Alan Stern schrieb:

On Wed, 4 Nov 2009, Oliver Neukum wrote:

If power is turned off, there's nothing we can do about it.  Once that
happens, it doesn't make much difference whether the mode switch occurs
in usb-storage or from a userspace program.  The old device instance
will go away and a new one will appear.
That is what happens and what must happen if we switch mode in user space.
In kernel space, the kernel could repeat the mode switch.

How?  Doesn't the mode switch cause a change in the configuration,
interface, or endpoint descriptors? The end result would be the same -- the old device instance would go away and a new one would appear.


That is exactly what my "Option" modem is doing. There is no difference if I use "option_ms" in the kernel or the external program to switch it. It's always "USB disconnect" and "usb-storage: device found".

Same thing happens if I trigger a reset in the *switched* device via libusb (but not in the 'default' state).


Josua Dietze
--
Man is the only creature on earth enabled to take a
warm meal while flying!                      Loriot
--
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