[Desktop-packages] [Bug 1926341] Re: Sinister usb-modeswitch behavior

2021-04-27 Thread Josua Dietze
You don't need to uninstall usb_modeswitch to disable it. There is an option in /etc/usb_modeswitch.conf to do that. To actually identify the problem, you would have to reinstall it and generate a log. This is also enabled by an option in /etc/usb_modeswitch.conf. -- You received this bug notifi

[Desktop-packages] [Bug 1926341] Re: Sinister usb-modeswitch behavior

2021-04-27 Thread Josua Dietze
You are not clearly saying what the actual issue is. Is the modem resetting on its own? If so, what happens when you disable usb_modeswitch globally? Does the behaviour change in any way? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1910982] Re: ZTE Modem USB stick not recognized with kernel 5.8

2021-02-02 Thread Josua Dietze
Josue, the first step would be to fix your usb_modeswitch package installation, maybe by re-installing it. Once you see in your logs that it runs normally when the stick is inserted, check if your problem persists. -- You received this bug notification because you are a member of Desktop Packages

[Desktop-packages] [Bug 1910982] Re: ZTE Modem USB stick not recognized with kernel 5.8

2021-02-02 Thread Josua Dietze
To elaborate, the error means that usb_modeswitch was not run at all, so anything that happens afterwards is unrelated to the package. -- 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/bu

[Desktop-packages] [Bug 1910982] Re: ZTE Modem USB stick not recognized with kernel 5.8

2021-02-02 Thread Josua Dietze
In both the "good" and the "bad" syslog, this error sticks out: Jan 19 18:24:06 ubuntu systemd[6325]: usb_modeswitch@1-3.service: Failed at step EXEC spawning /usr/sbin/usb_modeswitch_dispatcher: No such file or directory -- You received this bug notification because you are a member of Desktop

[Desktop-packages] [Bug 1903331] Re: usb-modeswitch 2.6.1-1ubuntu2 is very buggy on Ubuntu 20.10

2020-11-07 Thread Josua Dietze
I don't doubt that it was working in earlier versions. The point is that the cause of the problem is somewhere else, probably in the USB driver. It's not a usb_modeswitch problem. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to usb-mode

[Desktop-packages] [Bug 1903331] Re: usb-modeswitch 2.6.1-1ubuntu2 is very buggy on Ubuntu 20.10

2020-11-07 Thread Josua Dietze
Your log shows many disconnects and reconnects, as Lars has noticed. If you have not unplugged your modem manually, then there is a problem with the USB connection. Note that it may also be driver-related, so does not happen on Windows. In any case, usb_modeswitch is not the problem. The mode swi

[Desktop-packages] [Bug 1903331] Re: usb-modeswitch 2.6.1-1ubuntu2 is very buggy on Ubuntu 20.10

2020-11-07 Thread Josua Dietze
Ah, that makes sense. So these are not manual disconnects then. Why would the first run of usb_modeswitch (during boot) take so long? Just system load perhaps? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to usb-modeswitch in Ubuntu. htt

[Desktop-packages] [Bug 1903331] Re: usb-modeswitch 2.6.1-1ubuntu2 is very buggy on Ubuntu 20.10

2020-11-07 Thread Josua Dietze
I have trouble pinpointing the actual problem. Did you want to say "15-25 seconds" instead of "minutes"? The only unusual behaviour I see in your log is that the very first run of usb_modeswitch takes roughly 40 seconds. Afterwards, everything seems to be fine, modem and storage. I suppose the la

[Desktop-packages] [Bug 1901318] Re: needs to depend on tcl (not just tcl8.6)

2020-10-29 Thread Josua Dietze
ALL distributions that I'm familiar with are adding a symlink "/usr/bin/tclsh" to whatever specific version of the shell is included when tcl is installed. Update: just checked, and the symlink "tclsh" is included with the current tcl package of Debian Sid as well as with the package of Debian Str

[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2020-07-10 Thread Josua Dietze
As a reminder, the file http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-versions.xml can be monitored for updates; it has download link and md5 value. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to usb-modeswitch in Ubuntu. ht

[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2020-07-10 Thread Josua Dietze
I have released upstream version 2.6.1 which includes the fixes for recently reported problems. -- 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/1676763 Title: usb_modeswitch_dis

[Desktop-packages] [Bug 1866926] Re: Device validation failing when connected to an usb hub

2020-07-06 Thread Josua Dietze
Sebastien, I understand your concerns with regard to jimtcl. However, the tcl package seems to be well maintained, with very few bugs (2) in the current version, one of low urgency and one undecided. Anyway, it's not my decision to make obviously. I trust that you know what's best for Ubuntu. --

[Desktop-packages] [Bug 1880191] Re: usb_modeswitch 2.5.2 segfault

2020-07-05 Thread Josua Dietze
dle USB devices with multiple modes * Version 2.5.2 (C) Josua Dietze 2017 * Based on libusb1/libusbx ! PLEASE REPORT NEW CONFIGURATIONS ! DefaultVendor= 0x05c6 DefaultProduct= 0x1000 StandardEject=1 [New Thread 0x77d58700 (LWP 16370)] Look for default devices ... fo

[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2020-07-05 Thread Josua Dietze
I've made an attempt to fix the problem of interfaces missing in the original Tcl wrapper. I intend to release 2.6.1 soon. If anybody wants to test, the files are here: https://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?p=19605#p19605 -- You received this bug notification because you a

[Desktop-packages] [Bug 1866926] Re: Device validation failing when connected to an usb hub

2020-07-04 Thread Josua Dietze
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 wi

[Desktop-packages] [Bug 1880191] Re: usb_modeswitch 2.5.2 segfault

2020-07-02 Thread Josua Dietze
h -W -v 05c6 -p 1000 -K [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Take all parameters from the command line * usb_modeswitch: handle USB devices with multiple modes * Version 2.5.2 (C) Josua

[Desktop-packages] [Bug 1880191] Re: usb_modeswitch 2.5.2 segfault

2020-07-02 Thread Josua Dietze
;/lib/x86_64-linux-gnu/libthread_db.so.1". Take all parameters from the command line * usb_modeswitch: handle USB devices with multiple modes * Version 2.5.2 (C) Josua Dietze 2017 * Based on libusb1/libusbx ! PLEASE REPORT NEW CONFIGURATIONS ! DefaultVendor= 0x05c6 Default

[Desktop-packages] [Bug 1878921] Re: USB 3 NVMe SSD dongle doesn't flip

2020-05-20 Thread Josua Dietze
@Sebastien, I just checked and the entry "05c6:1000:uMa=Qualcomm" suggested in bug #1823540 was indeed added to the last (current) data package release. So it was checked alright. The bug can probably be closed as fixed. -- You received this bug notification because you are a member of Desktop P

[Desktop-packages] [Bug 1878921] Re: USB 3 NVMe SSD dongle doesn't flip

2020-05-20 Thread Josua Dietze
Unfortunately, no VCS. However, there is a little helper link that can be monitored and which is up to date, including download link and MD5: https://draisberghof.de/usb_modeswitch/usb-modeswitch-versions.xml Regarding bug #1823540, that's a case with an issue similar to this one. 05c6:1000 is a

[Desktop-packages] [Bug 1878921] Re: USB 3 NVMe SSD dongle doesn't flip

2020-05-20 Thread Josua Dietze
@Sebastian, I am happy to correct myself in that Ubuntu is obviously NOT generally slow in picking up the latest update of the data package. You do have the current version now. I was rather referring to earlier LTS releases. I'm not even sure if that's still the case with recent LTS versions. Fa

[Desktop-packages] [Bug 1878921] Re: USB 3 NVMe SSD dongle doesn't flip

2020-05-18 Thread Josua Dietze
I was unclear, sorry. I'm referring to this very bug report. Upstream is me :-) -- 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/1878921 Title: USB 3 NVMe SSD dongle doesn't fli

[Desktop-packages] [Bug 1878921] Re: USB 3 NVMe SSD dongle doesn't flip

2020-05-17 Thread Josua Dietze
Well, I suppose the maintainers are following this bug report, or at least they should. Upstream has confirmed the bug and provided a solution. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to usb-modeswitch in Ubuntu. https://bugs.launch

[Desktop-packages] [Bug 1878921] Re: USB 3 NVMe SSD dongle doesn't flip

2020-05-16 Thread Josua Dietze
Thanks for the lsusb output! It enabled me to provide a solution. usb_modeswitch can check for additional attributes beside the USB ID, precisely *because* of those IDs being re-used for different devices. The original idea was to have one ID for each device model or at least for one series of dev

[Desktop-packages] [Bug 1878921] Re: USB 3 NVMe SSD dongle doesn't flip

2020-05-15 Thread Josua Dietze
I have found a detailed lsusb listing for the Pico Pix 1120. Now we need to compare it to the listing of your device *before* the mode switch. Cedric, could you post such a listing svp? You can disable usb_modeswitch the hard way by renaming usb_modeswitch_dispatcher. It usually sits in /usr/sbin

[Desktop-packages] [Bug 1878921] Re: USB 3 NVMe SSD dongle doesn't flip

2020-05-15 Thread Josua Dietze
That USB ID is in fact in the 'data base' of usb_modeswitch. It was originally used for the Philips PicoPix 1020 Projector. That's what you get when the same USB ID is used for multiple unrelated devices ... The clean solution would be to use additional USB attributes to try and tell the projecto

[Desktop-packages] [Bug 1866926] Re: usb_modeswitch does not switch modems (remain visible as mass storage)

2020-05-13 Thread Josua Dietze
The dot in the kernel name of a USB device indicates that a device is connected via a hub. In theory, this can even be cascaded, leading to names like "2-1.2.1.3.4" So the hardware difference is that the ports in the Toshiba are not 'primary' but exposed through an internal hub as opposed to the

[Desktop-packages] [Bug 1866926] Re: usb_modeswitch does not switch modems (remain visible as mass storage)

2020-03-12 Thread Josua Dietze
Without being familiar with the Ubuntu flavour of usb_modeswitch - can this be a permission issue? Does the usb_modeswitch wrapper and program run in the proper user / group context? It needs to be able to read attributes in the "sys" tree. If the permissions are not correct, that would explain w

[Desktop-packages] [Bug 1676763] Re: usb_modeswitch_dispatcher crashed with SIGSEGV in strrchr()

2019-12-29 Thread Josua Dietze
Thanks for the thorough analysis! I will check your patches and apply them upstream accordingly. It's amazing what device engineers come up with to make life more "interesting" ... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to usb-mode

Re: [Desktop-packages] [Bug 1800794] Re: usb-modeswitch can't apply Configuration=0 to Snapdragon X12 LTE

2019-08-28 Thread Josua Dietze
Am 27. August 2019 19:17:09 GMT+02:00 schrieb Gunnar Hjalmarsson <1800...@bugs.launchpad.net>: >@Josua: Thanks for that explanation. > >Since you are here, may I take the opportunity to ask a question. I >think that Mathieu would prefer that TCL somehow is compiled into a >binary, and that's what

Re: [Desktop-packages] [Bug 1800794] Re: usb-modeswitch can't apply Configuration=0 to Snapdragon X12 LTE

2019-08-27 Thread Josua Dietze
Am 27. August 2019 04:04:34 GMT+02:00 schrieb Gunnar Hjalmarsson <1800...@bugs.launchpad.net>: > > The upstream source has a jim/ folder with a lot of stuff, but that > folder is excluded in the Debian/Ubuntu source. The inclusion of the jim shell code is just meant to be a suggestion for users w

[Desktop-packages] [Bug 1819362] Re: HUAWEI E3531 HSPA+ USB Stick "please report the device ID to the Linux USB developers"

2019-03-30 Thread Josua Dietze
Syncing Ubuntu usb_modeswitch is hardly possible because it's a fork of the original, using a C implementation of the wrapper script. I'd just throw out anything that's related to module loading and driver binding. -- You received this bug notification because you are a member of Desktop Package

[Desktop-packages] [Bug 1819362] Re: HUAWEI E3531 HSPA+ USB Stick "please report the device ID to the Linux USB developers"

2019-03-18 Thread Josua Dietze
Correction: The mode that Huawei calls "HiLink" is No.1, not No.2. -- 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/1819362 Title: HUAWEI E3531 HSPA+ USB Stick "please report th

[Desktop-packages] [Bug 1819362] Re: HUAWEI E3531 HSPA+ USB Stick "please report the device ID to the Linux USB developers"

2019-03-18 Thread Josua Dietze
Addendum: The "official" switching message suggested by Huawei may bring up either mode No.1 or mode No.2 in recent models. If No.1 shows up, there is a possibility that the "HuaweiAltMode" message may bring up No.2 instead. This is up to the user though, there is no comprehensive information ava

[Desktop-packages] [Bug 1819362] Re: HUAWEI E3531 HSPA+ USB Stick "please report the device ID to the Linux USB developers"

2019-03-18 Thread Josua Dietze
Not sure if and how SMS features are included there - that's not my field of expertise. Josua Dietze (usb_modeswitch upstream) -- 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/1819362

[Desktop-packages] [Bug 1448457] Re: zte-balde not in adb device list

2017-01-21 Thread Josua Dietze
As you noticed, there is already a usb_modeswitch configuration for the USB ID 19d2:0083. However, the scope of its application is narrowed to devices which have the string "WCDMA" in their product description. This applies to ZTE modem sticks. Now, your phone's product description is "ZTE HSUSB

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2016-11-11 Thread Josua Dietze
udippel, instead of ranting generally you could just use Debian instead of Ubuntu. It's likely that you would not run into this bug. -- 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

[Desktop-packages] [Bug 1435874] Re: unrecognized option '--huawei-new-mode'

2015-04-23 Thread Josua Dietze
Thanks - will be fixed upstream soon(ish). In the definition of "long_options" there is one line missing: ... {"huawei-new-mode", no_argument, 0, 'J'}, ... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to usb-

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2015-03-23 Thread Josua Dietze
Hint: It may well be that there is a timing problem if the dispatcher tries to read the values when the storage driver has not completed the initialization of the storage interface. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to usb-mod

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2015-03-23 Thread Josua Dietze
Yes, it's correct to disable mode-switching when checking out the SCSI attributes. This is what usb_modeswitch sees when a phone/modem is plugged in. Then it has to determine if any action is required. Bottom line: The dispatcher part of the usb_modeswitch Ubuntu fork has trouble reading the SCSI

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2015-03-21 Thread Josua Dietze
The problem is obvious in the log from #14: Warning: SCSI attribute "vendor" not readable. Warning: SCSI attribute "model" not readable. Warning: SCSI attribute "rev" not readable. The filter "sMo=U209" which should prevent usb_modeswitch from doing anything in this case does not work - because t

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2015-03-21 Thread Josua Dietze
The problem is obvious in the log from #14: Warning: SCSI attribute "vendor" not readable. Warning: SCSI attribute "model" not readable. Warning: SCSI attribute "rev" not readable. The filter "sMo=U209" which should prevent usb_modeswitch from doing anything in this case does not work - because t

[Desktop-packages] [Bug 1319105] Re: Cisco AM10 no longer switches mode

2015-01-15 Thread Josua Dietze
I have released an updated version of usb_modeswitch (upstream). This version works very reliably with the Cisco AM10, as tested with my own device. See http://www.draisberghof.de/usb_modeswitch -- You received this bug notification because you are a member of Desktop Packages, which is subscrib

[Desktop-packages] [Bug 1261923] Re: wrong modeswitch conf for usb_modeswitch GlobeTrotter GI1515 0af0:d001 gsm modem

2014-02-16 Thread Josua Dietze
nt =0x89 MessageContent ="55534243785634120100860100" CheckSuccess =4 Ubuntu 13.10 (usb_modeswitch Version 1.2.3 (C) Josua Dietze 2012) still uses BAD configPack.tar.gz/0af0:d001 config: # Option GlobeTrotter GI1515 TargetVendor= 0x0a

[Desktop-packages] [Bug 1261923] Re: wrong modeswitch conf for usb_modeswitch GlobeTrotter GI1515 0af0:d001 gsm modem

2014-02-16 Thread Josua Dietze
01 MessageEndpoint =0x02 ResponseEndpoint =0x89 MessageContent ="55534243785634120100860100" CheckSuccess =4 Ubuntu 13.10 (usb_modeswitch Version 1.2.3 (C) Josua Dietze 2012) still uses BAD configPack.tar.gz/0af0:d001 config: # Option GlobeTrot

[Desktop-packages] [Bug 979697] Re: Modeswitching modem not working with some USB 3.0 host controllers

2013-05-17 Thread Josua Dietze
*** This bug is a duplicate of bug 992639 *** https://bugs.launchpad.net/bugs/992639 LJ, you can just create a new file and add the option line. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to usb-modeswitch in Ubuntu. https://bugs.l

[Desktop-packages] [Bug 1030531] Re: Can't connect with Huawei E173Eu-1 [12d1:14a8] (Natcom Haiti)

2012-10-11 Thread Josua Dietze
BTW, the use of "usbserial" is not recommended for 3G modems. To bind a driver to the modem, do this: # modprobe option # echo "12d1 14a8 ff" > /sys/bus/usb-serial/drivers/option1/new_id Ubuntu Precise is still using data package release "20120120"; the modem ID was first reported in April. -

[Desktop-packages] [Bug 1030531] Re: Can't connect with Huawei E173Eu-1 [12d1:14a8] (Natcom Haiti)

2012-10-11 Thread Josua Dietze
It has been added to "usb-modeswitch-data-20120531", released on May 31st. This version is in Debian "wheezy (testing)". The current version is 20120815, which is in Debian "sid (unstable)". This is the content of the respective config file ("12d1:14b5"): -- # Hua

[Desktop-packages] [Bug 990337] Re: BSNL USB Capitel EVDO not working after upgrade to 12.04

2012-10-08 Thread Josua Dietze
ked config collection /usr/share/usb_modeswitch/configPack.tar.gz Searching entries named: /usr/share/usb_modeswitch/1c9e:9e00* Searching overriding entries named: /etc/usb_modeswitch.d/1c9e:9e00* SCSI attributes not needed, moving on. Reading config file: /run/usb_modeswitch/current_cfg

[Desktop-packages] [Bug 996664] Re: Huawei E173 does not switch to modem mode after uparge to 12.04LTS (in 11.10 worked well out of box)

2012-10-08 Thread Josua Dietze
GreDi, your log shows that this problem is indeed the same as in bug #990337. A fix is on the way. -- 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/996664 Title: Huawei E173 do

[Desktop-packages] [Bug 979697] Re: Modeswitching modem not working with some USB 3.0 host controllers

2012-09-28 Thread Josua Dietze
Since this is evidently hardware-dependent, the minimum value should better be confirmed by all reporters. In any case, 2 or 3 seconds is still an improvement against the earlier kernel default which was 5 seconds, IIRC. -- You received this bug notification because you are a member of Desktop P

[Desktop-packages] [Bug 979697] Re: Modeswitching modem not working with some USB 3.0 host controllers

2012-09-27 Thread Josua Dietze
O.K., so the usb_modeswitch package should install a file in "/etc/modprobe.d" named "usb-storage.conf" with this content (or so): --x-- # Increase the default delay to avoid conflict with usb_modeswitch options usb-storage delay_use=3 --x-- Is there a way to check if there are other packages wh

[Desktop-packages] [Bug 979697] Re: Modeswitching modem not working with some USB 3.0 host controllers

2012-09-27 Thread Josua Dietze
Here is a little HowTo for conducting the test I requested: There is a list (OR a package) of small config files in /usb/share/usb_modeswitch. Pick the one that matches your stick's ID in *install mode* (e.g. if the mode switch fails or if switching is disabled globally in /etc/usb_modeswitch.co

[Desktop-packages] [Bug 979697] Re: Modeswitching modem not working with some USB 3.0 host controllers

2012-09-27 Thread Josua Dietze
People, I need *anybody* with the USB 3.0 problem test the "ReleaseDelay" parameter. If that does not work, there is still plan B which is to alter the default "delay_use" option with the installation of usb_modeswitch. I can also let it check the setting with every run. This would of course af

[Desktop-packages] [Bug 996664] Re: Huawei E173 does not switch to modem mode after uparge to 12.04LTS (in 11.10 worked well out of box)

2012-09-26 Thread Josua Dietze
Again: Please post a log of the mode-switching process. See post #4. ** Changed in: usb-modeswitch (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to usb-modeswitch in Ubuntu. https://bugs.l

[Desktop-packages] [Bug 755342] Re: Samsung Xcover 271 B2710 mass storage does not mount automatically

2012-09-22 Thread Josua Dietze
Please create a usb_modeswitch log file by editing /etc/usb_modeswitch.conf and set EnableLogging to 1. -- 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/755342 Title: Samsung Xco

[Desktop-packages] [Bug 979697] Re: Modeswitching modem not working with some USB 3.0 host controllers

2012-09-20 Thread Josua Dietze
Has anybody been able to test the "ReleaseDelay" parameter ? -- 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/979697 Title: Modeswitching modem not working with some USB 3.0 host

[Desktop-packages] [Bug 979697] Re: Modeswitching modem not working with some USB 3.0 host controllers

2012-09-17 Thread Josua Dietze
There is nothing orderly about the whole mode-switching business. From the system's view it's no different than a physical unplug and reinsert of a device. The word "API" does not come to my mind at all. For usb_modeswitch as such, timing is not important - in theory. The tipping point *should* be

[Desktop-packages] [Bug 979697] Re: Modeswitching modem not working with some USB 3.0 host controllers

2012-09-17 Thread Josua Dietze
There might be a loose relation to bug #992639, where the storage driver attribute "delay_use" has some relevance: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/992639 Anyway, all these timing problems seem to be rather system-specific. Apart from pointing to the tweakable parame

[Desktop-packages] [Bug 979697] Re: Modeswitching modem not working in USB 3.0 port

2012-09-13 Thread Josua Dietze
I was not able to reproduce this on my machine, which has a Renesas chip for the USB 3.0 ports. Kernel is "3.2.0-27-generic". No xHCI error, no problems with mode switching ... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to usb-modeswit

[Desktop-packages] [Bug 885316] Re: Mobile broadband aspect of modem/storage device not showing up in NetworkManager -- Huawei E220, Novatel Wireless MiFi® 2352

2012-08-28 Thread Josua Dietze
In reply to #60, Thomas Hood: The first report contains "CurrentDmesg.txt". According to this, the option driver has bound and serial ports are available. So usb_modeswitch has fulfilled its task. -- You received this bug notification because you are a member of Desktop Packages, which is subscr

[Desktop-packages] [Bug 992639] Re: Regression: 12.04 update breaks support for Internet Sticks (3G modems): Nokia CS-15, Nokia cs-17 and perhaps many others

2012-08-28 Thread Josua Dietze
It would be good to know what the default 'delay_use' is on 12.04 and what it was on *previous* Ubuntu versions. Originally, this was set to 5 seconds in the storage driver, with SCSI hard disks in mind. This may have been changed in the kernel as the main users of the driver nowadays are flash

[Desktop-packages] [Bug 891307] Re: usb_modeswitch does not recognize ZTE 19d2:0031 modem

2012-03-16 Thread Josua Dietze
As far as I can see, these problems are related to modem-manager, not usb_modeswitch. ** Package changed: usb-modeswitch-data (Ubuntu) => network-manager (Ubuntu) ** Changed in: network-manager (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a mem

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2012-01-08 Thread Josua Dietze
If I may refer to my comment #85 - I had a look at the "working" and "nonworking" log of modem-manager and pointed out the obvious differences. I strongly suspect that the newer version of MM is attempting to make use of the diagnostic port, which can give status information (like signal strength

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2011-12-04 Thread Josua Dietze
One striking difference between the two modem-manager.logs is that in 11.10 there is communication with ttyUSB1 in parallel, whereas in 11.04 it is "type ignored" after the probing. The commands that are going to ttyUSB0 seem not to be different in both logs, but the response from there stops at t

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2011-12-04 Thread Josua Dietze
Can you extract the modem-manager.log from 11.04? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/868034 Title: Huawei E220 can't connect on Ubuntu 11.10 Status in “linux” pac

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2011-12-01 Thread Josua Dietze
> Is it possible for an E220 to be left in the "wrong" > state when it's switched off? Not that I know of. Power gone = back to install mode. Always. No known exceptions. This would not make sense anyway: the point of the whole process is to have the (Windows) drivers available at *every* plugin

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2011-11-30 Thread Josua Dietze
The dmesg output from comment #73 does not indicate a problem. This is exactly what will happen every time during the device mode switch. The first device will 'vanish' and then return as a second one with a very different setup. -- You received this bug notification because you are a member of D

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2011-11-29 Thread Josua Dietze
The command from comment #13 will do nothing but send a standard device reset control message to the modem. Any tool using libusb could do that, so it's not a genuine property of usb_modeswitch. It was added just for convenience. And the workaround is quite logical: if something is screwing up the

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2011-11-29 Thread Josua Dietze
I think I have not been clear enough; the built-in switching function in the kernel is not related to the bug reported here. It has not changed since the 2.6.2x versions, AFAIK. It just confirmed the fact that usb_modeswitch could not be involved with this bug in any way. My assumption (rather

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2011-11-27 Thread Josua Dietze
It's the kernel. I have forgotten about it - there is a switching function in usb-storage from the time when usb_modeswitch wasn't wide-spread. The affected devices are listed in "unusual_devs.h". The bottom line is that usb_modeswitch can't be responsible for the reported bug. It is not needed f

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2011-11-27 Thread Josua Dietze
If udev starts usb_modeswitch, but usb_modeswitch can't find the device when searching the busses, it means that something else is affecting the device in the meantime. This should be visible when calling "dmesg" after plugging in. Either it's a driver thing (I'll check the source code of usb-stor

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2011-11-25 Thread Josua Dietze
Furthermore I don't recommend to blacklist the "usb-storage" module. Several modems want to be initialized before the mode switch can successfully happen. The storage driver should not be able to keep any device from switching. Again, please enable usb_modeswitch's logging. -- You received this

[Desktop-packages] [Bug 885316] Re: Mobile Broadband not showing in Network Manager after update from 11.04 to 11.10

2011-11-25 Thread Josua Dietze
This is not a usb_modeswitch problem, as mode switching and serial port creation have completed fine. Re-assigning to "network-manager". ** Package changed: usb-modeswitch (Ubuntu) => network-manager (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, w

[Desktop-packages] [Bug 630416] Re: usb device is recognized as "USBModem MMC Storage" but no connection starts

2011-11-25 Thread Josua Dietze
** Package changed: usb-modeswitch-data (Ubuntu) => network-manager (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/630416 Title: usb device is recognized as "USBModem

[Desktop-packages] [Bug 654053] Re: Network manager does not recognise ZTE mobile broadband dongle

2011-11-25 Thread Josua Dietze
** Changed in: usb-modeswitch-data (Ubuntu) Status: New => Invalid ** Package changed: usb-modeswitch-data (Ubuntu) => network-manager (Ubuntu) ** Changed in: network-manager (Ubuntu) Status: Invalid => New -- You received this bug notification because you are a member of Desktop

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2011-11-25 Thread Josua Dietze
** Changed in: usb-modeswitch-data (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/868034 Title: Huawei E220 can't connect on Ub

[Desktop-packages] [Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

2011-11-25 Thread Josua Dietze
To determine if the problem is caused by usb_modeswitch, please enable logging in /etc/usb_modeswitch.conf. Post the largest file (name starting with "usb_modeswitch") that is created in /var/log after you plugged the device. DON'T comment out any entry in the "rules"file !! -- You received th