Bug 1331043

Summary: initialize already plugged in devices
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: usb_modeswitchAssignee: Antonio Cardace <acardace>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: acardace, aloughla, atragler, lrintel, rkhan, sukulkar, thaller
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 07:35:10 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:

Description Vladimir Benes 2016-04-27 14:11:06 UTC
Description of problem:
after installing modeswitch I don't have plugged in devices, I had to reboot as reloading of MM or NM services was not helpful. 

maybe udevadm trigger and udevadm control -R would help, have to check.

Version-Release number of selected component (if applicable):
usb_modeswitch-1.2.7-6.el7.x86_64
ModemManager-1.1.0-8.git20130913.el7.x86_64
NetworkManager-1.2.0-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. have a clean system with plugged in device
2. install usb_modeswitch and modemManager
3. nmcli dev

Actual results:
should show device

Expected results:
no devices shown

Additional info:

Comment 1 Vladimir Benes 2016-04-27 14:23:38 UTC
I removed usb_modeswitch and ModemManager, rebooted, and I had to do all these:
1. udevadm control -R
2. udevadm trigger
3. systemctl restart ModemManager
4. systemctl restart NetworkManager
^^ until last restart the device was not visible with NM

Comment 2 Marcelo Ricardo Leitner 2019-07-03 15:10:46 UTC
Mass-moving bugs RHEL <= 7.6.0 to 7.7.0.
As we are past RFE deadline for 7.7.0 and we should have no new features on 7.8.0, please evaluate if it's still wanted on RHEL7 and contact PM for exception. You may also move it to RHEL8 if that's wanted. Thanks!

Comment 4 Thomas Haller 2020-03-11 15:29:37 UTC
possibly related to bug 1331799 (?)

Comment 5 Antonio Cardace 2020-07-09 15:42:38 UTC
Yes this seems indeed related to https://bugzilla.redhat.com/show_bug.cgi?id=1331799, thing is NM only loads plugins at startup and is thus not able to detect ModemManager if it gets installed afterwards NM has been started, fixing this would require NM to monitor the directory in which plugins are installed and it definitely is a major RFE.

Can we close this as WONTFIX as I don't see this getting implemented in the near future?

Comment 7 Vladimir Benes 2020-07-13 07:35:10 UTC
I think we should fix it in RHEL8.x. No need for it in RHEL7

*** This bug has been marked as a duplicate of bug 1331799 ***