Bug 1352687
| Summary: | Some Huawei hostless modems not switched to modem mode automatically (udev-rules) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | samoht0 <samoht0-bugzilla> |
| Component: | usb_modeswitch | Assignee: | romal <redhat> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | huzaifas, lkundrak, peter.kovar, redhat |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-10 13:28:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
samoht0
2016-07-04 17:58:33 UTC
/usr/lib/udev/rules.d/40-usb_modeswitch.rules
# Huawei E3372
ATTR{idVendor}=="12d1", ATTR{idProduct}=="14fe", RUN+="usb_modeswitch '%b/%k'"
To be precise: Yes, the specific rule is present and worked fine in F22 with systemd 219. But there is a regression with later systemd versions as shipped with F24. This is analyzed and confirmed by the developer in the upstream forum post (based on Archlinux with systemd 221): http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?p=16777 /usr/lib/udev/usb_modeswitch was changed in 2.4.0 to fix this. So my suggestion was, that we could try 2.4.0, which is supposed to fix the regression. I tried 2.4.0 from F25, but sadly no change in behavior. So my bug is most likely another issue. (In reply to Peter Kovář from comment #1) > /usr/lib/udev/rules.d/40-usb_modeswitch.rules > > # Huawei E3372 > ATTR{idVendor}=="12d1", ATTR{idProduct}=="14fe", RUN+="usb_modeswitch > '%b/%k'" Now it's solved. Your advice was good, but I had to change the Id (my fault, as I have the correct Id in systemd-journal): # Huawei E3372 ATTR{idVendor}=="12d1", ATTR{idProduct}=="1f01", RUN+="usb_modeswitch '%b/%k'" I wonder why this worked out of box in F22... |