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]

 



Frank Schaefer schrieb:

I really think the mode-switching should be done in the kernel and not
in user-space for reasons of usability.

What is wrong with an udev rule entry? By the way, did the "eject" command line tool work as well?

It also doesn't "pollute" the driver with much code (adds a single
usb_bulk_msg()).


That may be true for a single device but there are around 30+ others which are switched outside the kernel, some inside usb-storage, and this would add even more places where mode switching happened.

Another benfit is that it binds the mode-switching to the driver. If the
driver is blacklisted/not used, there will be no mode-switching.


But how would you access the storage part of the device then?


Josua
--
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