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

udev finds a matching entry in /lib/udev/rules.d/40-usb_modeswitch.rules
at line 565.  That line is

ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2000", RUN+="usb_modeswitch
'%b/%k'"

so udev runs

usb_modeswitch '7-1:1.0/7-1:1.0'

What /lib/udev/usb_modeswitch does in response to this invocation is not
revealed by the entries in syslog.  In theory it should run
usb_modeswitch_dispatcher which should then run /usr/sbin/usb_modeswitch
with parameters something like this:

usb_modeswitch --default-vendor 0x19d2 --default-product 0x2000
--message-content
"5553424312345678000000000000061e000000000000000000000000000000"
--message-
content2="5553424312345679000000000000061b000000020000000000000000000000"
--message-
content3="55534243123456702000000080000c85010101180101010101000000000000"
--need-response --target-vendor 0x19d2 --target-product 0x0055 -s 20 -D

but that is certainly not happening as the dongle remains in usb storage
mode.

In my next comment I shall show the extract from syslog when I manually
use usb_modeswitch to switch the dongle's mode.



** Attachment added: "k3520z-1.log"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1175093/+attachment/3671217/+files/k3520z-1.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