Let me just explain shortly why I'm sticking with Tcl for the dispatcher. That script language is perfectly fitted for string and file parsing. At the same time, it's much better human-readable than a Bash or Perl script. I had people adding fixes to the wrapper script who weren't even familiar with the language.
Execution time is not really relevant regarding the mode-switching process, because its duration predominantly depends on the device's internal workings until it 'reappears' in the new mode. Both the bare interpreter tclsh *and* the 'pocket version' (jimtcl) have everything on board for the task. No loading of additional extensions or modules required. Besides, I somehow can't warm up to Python but that's my personal issue :-) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to usb-modeswitch in Ubuntu. https://bugs.launchpad.net/bugs/1866926 Title: Device validation failing when connected to an usb hub Status in usb-modeswitch package in Ubuntu: Fix Released Bug description: After upgrading to Ubuntu focal fossa development branch the usb_modeswitch does not seem to work any more on a Toshiba laptop. Two modems I have D-Link DWM-156 and Huawei E3372 show up as drives and stay like that until I use "Eject" in Gnome or explicitly use usb_modeswitch from the terminal. I have a strong feeling that it may either be related to Gnome or hardware. On another Dell laptop with Kubuntu focal fossa development, both modems connect automatically. /var/log/usb_modeswitch.log ends with: Warning: SCSI attribute "ref" not readable. Check class of first interface ... Device is in istall mode. No access to interface 8. Exit Up until and including the "ref" not readable is exactly the same as on Kubuntu @ Dell. Yet on Kubuntu I get plenty of successful config logs after that and on Ubuntu @ Toshiba I don't. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1866926/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

