Re: Toshiba G450 kernel patch

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

 



Peter Magdina schrieb:
I have created patch for linux kernel which handles Toshiba G450
as a HSDPA modem.

Honestly, I'd rather see a principal decision to do all this switching stuff either in the kernel or in the userspace. Up to now every device could be handled by "udev" and "usb_modeswitch". Even proper device identification (beyond vendor and product ID, to avoid ambiguities) can be done there. And lately the "option" driver is bound to switched modems via the "new_id" facility, with no immediate need to add them to the "option" ID list.

I suggested earlier to include all mode switching in the kernel and received no clear signal. So I went back to maintaining the userspace mechanism.

The situation is disturbing enough with Sierra and Option devices handled by their own storage extension and Huawei devices by "initializers.c". On the other hand, new devices keep popping up and the userspace tool can be adapted quickly once their switching command is known.

With that mechanism in place, adding the switching command for a specific device to usb-storage just creates confusion.


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