Your message dated Mon, 22 Aug 2016 17:44:14 +0200
with message-id <11088613.3yZ5JzKckt@gyllingar>
and subject line Re: Bug#812842: EnableLogging=1 doesn't have any effect
has caused the Debian Bug report #812842,
regarding EnableLogging=1 doesn't have any effect
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
812842: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812842
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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_<interface-name>" 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

--- End Message ---
--- Begin Message ---
Version: 2.3.0+repack0-1

Le mercredi, 27 janvier 2016, 07.46:49 h CEST Josua Dietze a écrit :
> There is a bit of a misunderstanding there.
> 
> The log is created during the automatic invocation of usb_modeswitch, when
> the wrapper (usb_modeswitch_dispatcher) is triggered by the insertion of a
> modem.
> 
> For extended output during a manual run, add the -W parameter and remove the
> -Q parameter.
> 
> Note that a bug has been found in the wrapper only recently which prevented
> logging of early problems, e.g. when the parameters passed to the wrapper
> are not useable and it therefore exits.
> 
> This bug has been fixed in usb_modeswitch 2.3.0. There is a description in
> the discussion of bug report #805512 (see message #40):
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805512

Closing then; thanks for the (private) ping Josua!

-- 
Cheers,
    OdyX

--- End Message ---

Reply via email to