@RussianNeuroMancer: This bug is closed, so please file a new bug if you
have found a new issue. OTOH, an issue with Linux 5.9 isn't reasonably
an Ubuntu bug yet. If you think there is a need to modify usb-modeswitch
to work with Linux 5.9, then I think it's best to start a new topic in
the upstrea
*on Ubuntu 20.10 with Linux 5.8
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1800794
Title:
usb-modeswitch can't apply Configuration=0 to Snapdragon X12 LTE
To manage notifications about this bug
Issue is no longer reproducible on Linux 5.8, although on 5.9 there is
regression: https://bugzilla.kernel.org/show_bug.cgi?id=209469
** Bug watch added: Linux Kernel Bug Tracker #209469
https://bugzilla.kernel.org/show_bug.cgi?id=209469
--
You received this bug notification because you are a
This bug was fixed in the package usb-modeswitch - 2.6.0-2ubuntu1
---
usb-modeswitch (2.6.0-2ubuntu1) groovy; urgency=medium
* Resynchronize on Debian
* Remove dispatcher-c-rewrite, it has issues and no active maintainer
(LP: #1800794)
* debian/rules:
- don't use the dyn
** Changed in: usb-modeswitch (Ubuntu)
Status: In Progress => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1800794
Title:
usb-modeswitch can't apply Configuration=0 to Snapdragon
Currently I doesn't have access to hardware. I will try to check
/run/usb_modeswitch/current_cfg content with latest build from PPA this
Friday, or next week.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/b
So with my PPA version, what do you have in
/run/usb_modeswitch/current_cfg then?
I suspect the program is crashing, I probably made a small mistake in
the patch?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.
I referring to the variant with the TCL dispatcher in the first PPA. You
described this version in #4 as "dispatcher-c-rewrite.patch disabled" so
this is why I call it like this.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://
Thanks! I'll leave it to Mathieu to ask possible follow-up questions.
However, there is one thing I wonder ATM: When you say "with disabled
dispatcher-c-rewrite.patch" above, are you then talking about not using
a dispatcher at all, or are you referring to the variant with the TCL
dispatcher in th
Log of usb-modeswitch 2.5.2+repack0-2ubuntu1 from Ubuntu eoan repository
and with /usr/share/usb_modeswitch/03f0:0857 (Configuration=3)
** Attachment added: "usb_modeswitch.log"
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1800794/+attachment/5287518/+files/usb_modeswitch.log
Log of usb-modeswitch 2.5.2+repack0-2ubuntu2~mtrudel1 and without
/usr/share/usb_modeswitch/03f0:0857
** Attachment added: "usb_modeswitch.log"
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1800794/+attachment/5287516/+files/usb_modeswitch.log
--
You received this bug notific
Log of usb-modeswitch 2.5.2+repack0-2ubuntu2~mtrudel1 and with
/usr/share/usb_modeswitch/03f0:0857 (Configuration=3)
** Attachment added: "usb_modeswitch.log"
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1800794/+attachment/5287517/+files/usb_modeswitch.log
--
You received t
Shortly, 2.5.2+repack0-2ubuntu2~mtrudel1 version does not work with or
without /usr/share/usb_modeswitch/03f0:0857
I created /usr/share/usb_modeswitch/03f0:0857 with Configuration=3
specifically to check if 2.5.2+repack0-2ubuntu2~mtrudel1 can behave at
least like usb-modeswitch 2.5.2+repack0-2ubun
Just in case I want to clarify that I did mistake in #19 and #22 - I
totally forgot that besides configuration file I also added couple of
lines with modem id's to /lib/udev/rules.d/40-usb_modeswitch.rules:
# HP lt4210
ATTR{idVendor}=="03f0", ATTR{idProduct}=="0857", RUN+="usb_modeswitch '/%k'"
O
@RussianNeuroMancer: With your log files as guidance, Mathieu has made
several modifications of dispatcher-c-rewrite.patch, which I put in the
second PPA:
https://launchpad.net/~gunnarhj/+archive/ubuntu/usb-modeswitch2
Any chance you can try that too?
--
You received this bug notification becau
> i.e. it addresses the problem description in the bug summary: "usb-
modeswitch can't apply Configuration=0 to Snapdragon X12 LTE". Is that
correct?
Yes.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs
@RussianNeuroMancer: Thanks for the additional info. From what you now
say, and unlike how I understood comment #14, the newline fix *does*
make a difference, i.e. it addresses the problem description in the bug
summary: "usb-modeswitch can't apply Configuration=0 to Snapdragon X12
LTE". Is that co
So last time (#16) usb-modeswitch service failed for me because there was no
configuration for this modem in usb-modeswitch-data - result log is in #20
It's possible to workaround this be creating configuration manually (#21) but
version without dispatcher-c-rewrite.patch is more convenient - it
Log of usb-modeswitch with fixed dispatcher-c-rewrite.patch and without
/usr/share/usb_modeswitch/03f0:0857
** Attachment added: "usb_modeswitch.log"
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1800794/+attachment/5286995/+files/usb_modeswitch.log
--
You received this bug n
Log of usb-modeswitch with disabled dispatcher-c-rewrite.patch and
without /usr/share/usb_modeswitch/03f0:0857
** Attachment added: "usb_modeswitch_2-3"
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1800794/+attachment/5286994/+files/usb_modeswitch_2-3
--
You received this bu
Log of usb-modeswitch with fixed dispatcher-c-rewrite.patch and with
/usr/share/usb_modeswitch/03f0:0857 (Configuration=0)
** Attachment added: "usb_modeswitch.log"
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1800794/+attachment/5286996/+files/usb_modeswitch.log
--
You rece
Rather than pasting just a single error line, please include the full
debug log for running usb-modeswitch. You can do that by modifying
/etc/usb_modeswitch.conf:
EnableLogging=1
And looking under /var/log/ for the log file written by usb-modeswitch
after it has run.
Having the full file means w
So to summarize you found the newline issue, but that proved to not be
related to the error message you get, even if fixing it may be necessary
as a partial solution. If I modify the test script by commenting the
newline fix I get:
File "/lib/modules/5.0.0-25-generic
/kernel/drivers/net/usb/cdc_mb
> Is that the same error you get when you run the usb-modeswitch version
in the Ubuntu archive?
Yes, same error: "usb_modeswitch_dispatcher[3587]: Could not read
attribute: No such file or directory"
Installed version is: 2.5.2+repack0-2ubuntu1
> Can you please run test
Sure, output is:
~$ ./t
@RussianNeuroMancer: Thanks for testing! Is that the same error you get
when you run the usb-modeswitch version in the Ubuntu archive?
Attached please find a test script I put together. Can you please run
test:
./test
and let us know what it outputs.
When I run it, it says:
File "/lib/modules/
> Any chance you can test this variant too, before I ask a sponsor to
upload the patch?
This variant fail to apply configuration with following error:
> usb_modeswitch_dispatcher[2373]: Could not read attribute: No such
file or directory
Probably there is other issues besides new line.
--
You
@Josua: Thanks for your answer! (I didn't see it before posting the
debdiff.)
I may make an attempt with install-static later then. Possibly a better
alternative for Ubuntu (easier maintenance) than keeping the C patch.
--
You received this bug notification because you are a member of Ubuntu
Bug
There is no enthusiasm among the Ubuntu developers to go back to a TCL
dispatcher, so I have made an alternative fix via the attached debdiff
where I simply modified the C patch by removing the problematic newline.
Built with the modified patch in this PPA:
https://launchpad.net/~gunnarhj/+archive
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
@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 README indicates will happen with the installed-
shared option. But Debian builds with installed-shar
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
@RussianNeuroMancer: Thanks for confirming.
Then we can fix this bug either by modifying dispatcher-c-rewrite.patch
or by replacing it with upstream's TCL code (as is done in the PPA
version).
I'm hoping for Mathieu's input on the latter option. It would make
maintenance easier going forward, but
> Does this possibly address the issue you are having?
Yes, I can confirm that with Configuration=0 in
/usr/share/usb_modeswitch/03f0:0857 and usb-modeswitch package from
ppa:gunnarhj/usb-modeswitch usb-modeswitch service automatically switch
bConfigurationValue of HP lt4220 (Snapdragon X12 LTE) t
As RussianNeuroMancer correctly pointed out the bug is in the concatenation of
the strings
MODULES_PATH, kversion, and CDC_MBIM_DRIVER_PATH into cdc_mbim_module_path.
The ending linefeed char in kversion is the culprit and it makes the dispatcher
unable to detect the presence of a cdc-mbim modul
On 2019-08-26 23:42, Gunnar Hjalmarsson wrote:
> I built usb-modeswitch with tcl8.6-dev and
> dispatcher-c-rewrite.patch disabled, and mobile broadband still works
> with my old USB thing.
>
> No extra runtime depends.
That does not make sense, apparently.
Changed it so the usb-modeswitch binary
I built usb-modeswitch with tcl8.6-dev and dispatcher-c-rewrite.patch
disabled, and mobile broadband still works with my old USB thing.
No extra runtime depends.
https://launchpad.net/~gunnarhj/+archive/ubuntu/usb-modeswitch
@Mathieu: Would appreciate your input. Would this be a suitable step to
** Changed in: usb-modeswitch (Ubuntu)
Status: Incomplete => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1800794
Title:
usb-modeswitch can't apply Configuration=0 to Snapdragon X12 LTE
> Please include all the debugging information you can here
check_mbim_available function was modified like this:
check_mbim_available (void)
{
int kver_fd = -1;
ssize_t read_count;
char kversion[100];
char *cdc_mbim_module_path;
struct stat buf;
kver_fd = open(OSRELEASE_FILE,
>From my understating this issue boils down to not dropping new line
symbol from kernel version string when function in C program check
presence of cdc_mbim kernel module. It can’t find cdc_mbim kernel module
because it looking in folder that doesn’t exist, so automatic changing
LTE modem mode to M
Please describe the problem here, rather than in forum posts. It's not
helpful to have to go through various pages and posts from different
people, with information that is potentially irrelevant to the bug. To
compound to the situation, pastebins have disappeared by now.
Please include all the de
** Tags added: cosmic disco eoan
** Tags removed: cosmic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1800794
Title:
usb-modeswitch can't apply Configuration=0 to Snapdragon X12 LTE
To manage not
41 matches
Mail list logo