27 lines
1022 B
Plaintext
27 lines
1022 B
Plaintext
config BR2_PACKAGE_USB_MODESWITCH
|
|
bool "usb_modeswitch"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
|
select BR2_PACKAGE_JIMTCL if !BR2_PACKAGE_TCL || BR2_PACKAGE_TCL_SHLIB_ONLY
|
|
select BR2_PACKAGE_LIBUSB
|
|
help
|
|
Some USB devices such as 3G/4G broadband modems power-up
|
|
in mass storage mode to provide access to drivers
|
|
for the device's application mode. usb_modeswitch
|
|
changes the mode of such devices from the initial power-up
|
|
mode to the application mode.
|
|
Specific configuration data for each device model is required.
|
|
|
|
usb_modeswitch can be used with the usb_modeswitch_data
|
|
package and eudev/systemd for automatic mode switching
|
|
when devices are connected.
|
|
|
|
For more information search the Internet for "Virtual CD-ROM
|
|
switching utility".
|
|
|
|
http://www.draisberghof.de/usb_modeswitch/
|
|
|
|
comment "usb_modeswitch needs a toolchain w/ threads, gcc >= 4.9"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|