xref: /OK3568_Linux_fs/buildroot/package/usb_modeswitch/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_USB_MODESWITCH
2*4882a593Smuzhiyun	bool "usb_modeswitch"
3*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
4*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
5*4882a593Smuzhiyun	select BR2_PACKAGE_JIMTCL if !BR2_PACKAGE_TCL || BR2_PACKAGE_TCL_SHLIB_ONLY
6*4882a593Smuzhiyun	select BR2_PACKAGE_LIBUSB
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  Some USB devices such as 3G/4G broadband modems power-up
9*4882a593Smuzhiyun	  in mass storage mode to provide access to drivers
10*4882a593Smuzhiyun	  for the device's application mode. usb_modeswitch
11*4882a593Smuzhiyun	  changes the mode of such devices from the initial power-up
12*4882a593Smuzhiyun	  mode to the application mode.
13*4882a593Smuzhiyun	  Specific configuration data for each device model is required.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  usb_modeswitch can be used with the usb_modeswitch_data
16*4882a593Smuzhiyun	  package and eudev/systemd for automatic mode switching
17*4882a593Smuzhiyun	  when devices are connected.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	  For more information search the Internet for "Virtual CD-ROM
20*4882a593Smuzhiyun	  switching utility".
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	  http://www.draisberghof.de/usb_modeswitch/
23*4882a593Smuzhiyun
24*4882a593Smuzhiyuncomment "usb_modeswitch needs a toolchain w/ threads, gcc >= 4.9"
25*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
26*4882a593Smuzhiyun		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
27