Package: usb-modeswitch
Version: 2.2.0+repack0-2
According to the comments in /etc/usb_modeswitch.conf, setting
EnableLogging=1 should make i
produce a logfile in /var/log. When I invoke usb_modeswitch it does work
(switches mode of
my 3G dongle) but no logfile is created in /var/log.
This is how I invoke it:
usb_modeswitch --default-vendor=0x12d1 --default-product=0x1446 -J -Q
This is the config file:
# cat /etc/usb_modeswitch.conf
# Configuration for the usb_modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
#
# Evaluated by the wrapper script /usr/sbin/usb_modeswitch_dispatcher
#
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"
# Disable automatic mode switching globally (e.g. to access the original
# install storage)
DisableSwitching=0
# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_" and probably others
EnableLogging=1
# Optional increase of "delay_use" for the usb-storage driver; there are
hints
# that a recent kernel default change to 1 sec. may lead to problems,
particu-
# larly with USB 3.0 ports. Set this to at least 3 (seconds) in that case.
# Does nothing if the current system value is same or higher
#SetStorageDelay=4