Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613546 - sys-apps/usb_modeswitch-2.4.0 broken for some modems
Summary: sys-apps/usb_modeswitch-2.4.0 broken for some modems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rafael Martins (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-03-22 14:26 UTC by Maciej S. Szmigiero
Modified: 2018-03-25 20:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix for 2.4.0 (usb_modeswitch-2.4.0-fix.patch,395 bytes, patch)
2017-03-22 14:26 UTC, Maciej S. Szmigiero
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej S. Szmigiero 2017-03-22 14:26:24 UTC
Created attachment 467908 [details, diff]
fix for 2.4.0

~sys-apps/usb_modeswitch-2.4.0 (the most recent version currently in tree) is
broken for some modems.
At least D-Link DWM-157 B1 (2001:a707) is affected, probably others with "StandardEject=1" in config, too.

The problem lies in config file parsing (a patch, backported from version 2.5.0
is attached to this bug).

Either this patch needs to be added to sys-apps/usb_modeswitch-2.4.0 ebuild or
the package needs to be bumped to 2.5.0.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2018-03-25 20:52:33 UTC
commit 54bc2d02fa53adc994266479764f352543bbec67
Author: Gilles Dartiguelongue <eva@gentoo.org>
Date:   Sun Mar 25 19:53:08 2018 +0200

    sys-apps/usb_modeswitch: version bump to 2.5.2, bug #622656
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=622656
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

Thanks for reporting and sorry for the delay.