View previous topic :: View next topic |
Author |
Message |
Kellerkalt n00b
Joined: 22 Dec 2020 Posts: 47
|
Posted: Tue Jul 09, 2024 8:02 pm Post subject: Ugly ModemManager warning message at shutdown |
|
|
On a recent fresh install of Gentoo, I've noticed this ugly warning message at restart/shutdown:
Code: | ModemManager[11409]: <info> ModemManager (version 1.20.6) starting in system bus...
ModemManager[11409]: [qrtr] socket lookup from 1:0
ModemManager[11409]: [qrtr] initial lookup finished
ModemManager[11409]: <warn> could not acquire the 'org.freedesktop.ModemManager1' service name
ModemManager[11409]: <info> ModemManager is shut down
|
Digging through my logs, I see this in syslog:
Code: | Jul 9 11:34:23 blackbox dbus-daemon[2756]: [system] Activating service name='org.freedesktop.ModemManager1' requested by ':1.12' (uid=1000 pid=3797 comm="/usr/bin/kded5" label="kernel") (using servicehelper)
Jul 9 11:34:23 blackbox ModemManager[4556]: <info> ModemManager (version 1.20.6) starting in system bus...
Jul 9 11:34:23 blackbox dbus-daemon[2756]: [system] Successfully activated service 'org.freedesktop.ModemManager1'
Jul 9 11:34:25 blackbox ModemManager[4556]: <info> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:19.0': not supported by any plugin
Jul 9 11:34:25 blackbox ModemManager[4556]: <info> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.2/0000:05:00.0': not supported by any plugin
Jul 9 11:34:29 blackbox ModemManager[4556]: <info> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.2/0000:05:00.0': not supported by any plugin
|
I was hoping to easily remove the ugly warning at shutdown since I don't have or use a modem. I thought I could simply disable a service or re-emerge without a use flag, but I'm stuck after digging into it a bit. As best I can tell, it's being pulled in by net-misc/networkmanager. I tried to remove the ppp and modemmanager use flages for net-misc/networkmanager, but that seemed to anger my system and was going to break bluetooth:
Code: | # cat /etc/portage/package.use/networkmanager
net-misc/networkmanager -ppp -modemmanager
# emerge -vaq net-misc/networkmanager
!!! Problem resolving dependencies for net-misc/networkmanager
!!! The ebuild selected to satisfy "net-misc/networkmanager" has unmet requirements.
- net-misc/networkmanager-1.46.0-r1::gentoo USE="bluetooth concheck elogind gtk-doc introspection nss (policykit) tools wext wifi -audit -connection-sharing -debug -dhclient -dhcpcd -gnutls -iptables -iwd -libedit -modemmanager -nftables -ofono -ovs -ppp -psl -resolvconf (-selinux) -syslog -systemd -teamd -test -vala" ABI_X86="(64) -32 (-x32)"
The following REQUIRED_USE flag constraints are unsatisfied:
bluetooth? ( modemmanager )
The above constraints are a subset of the following complete expression:
bluetooth? ( modemmanager ) connection-sharing? ( any-of ( iptables nftables ) ) gtk-doc? ( introspection ) iwd? ( wifi ) test? ( tools ) vala? ( introspection ) wext? ( wifi ) exactly-one-of ( gnutls nss ) at-most-one-of ( elogind systemd ) at-most-one-of ( dhclient dhcpcd ) at-most-one-of ( syslog systemd )
|
I've happily got Bluetooth working in KDE/Plasma as part of this new/fresh install and I'd rather not break my functioning Bluetooth. I guess things are working and it is really more of an annoyance that I see the warning about 'org.freedesktop.ModemManager1' service at shutdown, but if I could clean it up somehow that would be great. Any ideas? |
|
Back to top |
|
|
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 520
|
Posted: Wed Jul 10, 2024 7:23 am Post subject: |
|
|
I posted a similar problem in another thread -- but perhaps it's worse for me, because ModemManager actually breaks things, rather than just generating annoying messages.
I rather hope that '-bluetooth' applied to net-misc/networkmanager affects Bluetooth support only in NetworkManager, and not elsewhere. I would expect that to be the case, but I haven't yet had any feedback, one way or the other.
BR, Lars. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|