The attached file is an extract from syslog that includes debug output
from udev when the K3770 is connected to the system.

Note that /lib/udev/rules.d/40-usb_modeswitch.rules line 397 is

ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14d1", RUN+="usb_modeswitch
'%b/%k'"

This is the line that one would expect udev to match for this dongle,
but it never happens.  Instead the dongle switches mode for some other
reason (I don't know what other reason, but I might eventually get round
to investigating further) and then udev finds  matching entry in
/lib/udev/rules.d/40-usb_modeswitch.rules at lines 9 and 16 (cf my
previous comment) for the new device.  So the K3770 works correctly when
connected to the system even though usb_modeswitch hasn't at any stage
been invoked to switch its mode, as evidenced by the lack of a
usb_modeswitch entry in syslog (cf my previous comment).

As a sanity check to confirm that usb_modeswitch was not responsible for
the K3770 switching modes, I temporarily replaced
/lib/udev/usb_modeswitch by a dummy shell script that did nothing more
than 'exit 0' and then connected the K3770 to the system again.  Despite
the neutering of usb_modeswitch, the dongle still switched modes.

** Attachment added: "syslog extract showing udev debug output when K3770 is 
connected to system"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1175093/+attachment/3671291/+files/k3770.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1175093

Title:
  K3520-Z mode not switched automatically

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1175093/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to