[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-08-07 Thread Marius Kotsbak
** Changed in: usb-modeswitch Status: Fix Released = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769816 Title: Switching of Samsung LTE modem does no longer work in Natty+ To

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-08-07 Thread Marius Kotsbak
Josua, can you get this updated file attached into the next release. It has the line Configuration=-1 added. We should have an updated version of the data package for Oneiric. Ubuntu packager: if we don't get a new version, the current version should be patched with this change. ** Attachment

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty+

2011-08-07 Thread Josua Dietze
Hmm, Configuration=-1 is usable only from usb_modeswitch version 1.1.8. Starting with that version, the configuration check is skipped anyway if bNumConfigurations is 1; this applies also to the Samsung device. In short, updating just the config file with 1.1.7 will fail - updating the program

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty+

2011-08-07 Thread Josua Dietze
Note: the current version is 1.1.9 which adds support for the Cisco AM10 Wifi stick. Just mentioning. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769816 Title: Switching of Samsung LTE modem does

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty+

2011-08-07 Thread Josua Dietze
Re-reading the bug thread, I noticed the problem in #25. The usb_modeswitch automatic framework will skip the configuration test; actually it will run the binary with the -u -1 parameter. Your test in #25 failed because you called the binary manually on the commandline. If you want, test again

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty+

2011-08-07 Thread Marius Kotsbak
Josua, thanks for investigating this. You are right, it actually works fine when I tested the latest Oneiric alpha. ** Changed in: usb-modeswitch Status: Triaged = Fix Released ** Changed in: usb-modeswitch-data (Ubuntu) Status: Confirmed = Fix Released ** Summary changed: -

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-06-21 Thread Marius Kotsbak
Or maybe it is easier to try to get the new version into backports. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769816 Title: Switching of Samsung LTE modem does no longer work in Natty To

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-06-20 Thread Josua Dietze
If you want, test the freshly released version 1.1.8 from source. Debian packages should be up soon but are probably not fully compatible with Ubuntu. I changed the logic and the implementation of the active-configuration check. This check will now only be done if bNumConfigurations is bigger

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-06-20 Thread Marius Kotsbak
Okay, I tried it now. Just running it gives: $ sudo ./usb_modeswitch -IW -c /etc/usb_modeswitch.d/04e8\:689a Reading config file: /etc/usb_modeswitch.d/04e8:689a * usb_modeswitch: handle USB devices with multiple modes * Version 1.1.8 (C) Josua Dietze 2011 * Based on libusb0 (0.1.12 and

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-06-20 Thread Marius Kotsbak
Hmm, could we get a backport of just that new feature into 1.1.7 version, so that we can get rid of this bug before next Ubuntu? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769816 Title:

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-05-20 Thread Marius Kotsbak
Strange, on another ARM based NAS box, I get a timeout even with v1.1.4: - Manufacturer: SAMSUNG ELECTRONICS Co.Ltd. Product: not provided Serial No.: not provided - Looking for active driver ... USB error: could not get bound driver: No data

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-05-01 Thread Josua Dietze
Configuration is global, like the other switching parameters. If the current configuration cannot be determined correctly, configuration switching will be skipped. This will not affect YOUR case. So you are saying you get the next error during interface class detection? I'm beginning to suspect

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-05-01 Thread Marius Kotsbak
** Changed in: usb-modeswitch (Ubuntu) Status: New = Incomplete ** Changed in: usb-modeswitch (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-05-01 Thread Marius Kotsbak
Japp, it looks exactly like in that forum post. What about using options to usb_modeswitch to make it behave like before for this modem and set those in the config file for the device? Are all the options configurable through the config file now? I know the device is very quirky. Seems like they

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-04-30 Thread Marius Kotsbak
Hmm, where is this change? In get_current_configuration() there is no Configuration variable. Then the if (Configuration) doesn't make sense. Do you have a patch against the Ubuntu patched version? I tried something similar, and then I got: Error: getting the interface class failed. Aborting. I

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-04-28 Thread Josua Dietze
Before version 1.1.5 some devices popped up which want to be switched by changing the device configuration. USB allows to provide multiple internal modes that can be set with SELECT_CONFIGURATION. In fact, that is how the whole mode switching SHOULD have been implemented while following the

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-04-28 Thread Josua Dietze
Copy-n-paste error in line 4 of the code. It should look like this, of course: fprintf(stderr, No configuation setting possible for this device.\n); -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-04-27 Thread Josua Dietze
Again, the offending line is the one I posted in #4. The time-out for this control transfer is set to 1000 which is one second. Can you try to change that to 2000 or more and see if there is any change? -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-04-27 Thread Marius Kotsbak
Josua: tried the following patch: --- usb-modeswitch-1.1.7.orig/usb_modeswitch.c +++ usb-modeswitch-1.1.7/usb_modeswitch.c @@ -1387,7 +1387,7 @@ int get_current_configuration(struct usb int ret; SHOW_PROGRESS(Getting the current device configuration ...\n); - ret =

[Bug 769816] Re: Switching of Samsung LTE modem does no longer work in Natty

2011-04-27 Thread Marius Kotsbak
Same with timeout of 10 000, just takes longer time to time out. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769816 Title: Switching of Samsung LTE modem does no longer work in Natty --