* [gentoo-user] Plasma teething problems - Part I
@ 2019-06-24 11:00 Mick
2019-06-24 11:17 ` Neil Bothwick
2019-06-25 14:09 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 2 replies; 9+ messages in thread
From: Mick @ 2019-06-24 11:00 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2255 bytes --]
Well, not Plasma's but mine for sure. I have been chasing my tail trying to
reverse engineer processes/services/applications I do not want auto-running on
a fresh Plasma installation and I'm fast losing the will to live.
I've installed plasma-meta plus some kde-apps meta packages as follows:
kde-apps/kdeadmin-meta
kde-apps/kdecore-meta
kde-apps/kdegraphics-meta
kde-apps/kdemultimedia-meta
kde-apps/kdenetwork-meta
kde-apps/kdepim-meta
kde-apps/kdeutils-meta
kde-apps/kwalletmanager
kde-frameworks/oxygen-icons
kde-plasma/plasma-meta
One of the above[1] brought in NetworkManager, which I don't use because for
my use case there's nothing wrong with openrc netifrc scripts. When I plug in
a USB wireless adaptor nothing happens since it stays dormant, although its
LED illuminates. Then I enable it by starting 'net.wlp0s18f2u1' and at that
point NM starts fighting over the wireless adaptor, resulting in the unpleasant
phenomenon of dropping the connection every few minutes and changing its MAC
address, consequently rendering it unusable with APs which implement ACL.
[1] kde-plasma/plasma-meta requires kde-plasma/powerdevil, which requires kde-
frameworks/networkmanager-qt, which requires net-misc/networkmanager, which
requires net-misc/modemmanager
So I naively thought, let's try stopping NM (note: the NetworkManager rc
service is not set to run at any level, so something else is starting it).
The moment I stop NM I find my logs being flooded with a storm of 'dbus failing
to start obex', which bluez wants. Note: I have not started a bluetooth
service, or tried running bluetootctl, and BTW rfkill shows the bluetooth
adaptor is soft blocked anyway.
So I now try to stop dbus and restart it, which results in losing access to
any Plasma menu applications, so I can't launch any application. It may be
worth mentioning when I leave alone NM and just disable the USB adaptor from
openrc, I also lose access to launching KDE applications (the error message
when trying to launch an app from a terminal mentions a Qt error).
Could someone more knowledgeable in Plasma/KDE shenanigans please explain how
I can end up with a workable USB wireless dongle, which I can enable/disable
at will?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Plasma teething problems - Part I
2019-06-24 11:00 [gentoo-user] Plasma teething problems - Part I Mick
@ 2019-06-24 11:17 ` Neil Bothwick
2019-06-24 11:31 ` Mick
2019-06-25 14:09 ` [gentoo-user] " Nikos Chantziaras
1 sibling, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2019-06-24 11:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2693 bytes --]
On Mon, 24 Jun 2019 12:00:36 +0100, Mick wrote:
> Well, not Plasma's but mine for sure. I have been chasing my tail
> trying to reverse engineer processes/services/applications I do not
> want auto-running on a fresh Plasma installation and I'm fast losing
> the will to live.
>
> I've installed plasma-meta plus some kde-apps meta packages as follows:
>
> kde-apps/kdeadmin-meta
> kde-apps/kdecore-meta
> kde-apps/kdegraphics-meta
> kde-apps/kdemultimedia-meta
> kde-apps/kdenetwork-meta
> kde-apps/kdepim-meta
> kde-apps/kdeutils-meta
> kde-apps/kwalletmanager
> kde-frameworks/oxygen-icons
> kde-plasma/plasma-meta
>
> One of the above[1] brought in NetworkManager, which I don't use
> because for my use case there's nothing wrong with openrc netifrc
> scripts. When I plug in a USB wireless adaptor nothing happens since
> it stays dormant, although its LED illuminates. Then I enable it by
> starting 'net.wlp0s18f2u1' and at that point NM starts fighting over
> the wireless adaptor, resulting in the unpleasant phenomenon of
> dropping the connection every few minutes and changing its MAC address,
> consequently rendering it unusable with APs which implement ACL.
>
> [1] kde-plasma/plasma-meta requires kde-plasma/powerdevil, which
> requires kde- frameworks/networkmanager-qt, which requires
> net-misc/networkmanager, which requires net-misc/modemmanager
>
> So I naively thought, let's try stopping NM (note: the NetworkManager
> rc service is not set to run at any level, so something else is
> starting it). The moment I stop NM I find my logs being flooded with a
> storm of 'dbus failing to start obex', which bluez wants. Note: I have
> not started a bluetooth service, or tried running bluetootctl, and BTW
> rfkill shows the bluetooth adaptor is soft blocked anyway.
>
> So I now try to stop dbus and restart it, which results in losing
> access to any Plasma menu applications, so I can't launch any
> application. It may be worth mentioning when I leave alone NM and just
> disable the USB adaptor from openrc, I also lose access to launching
> KDE applications (the error message when trying to launch an app from a
> terminal mentions a Qt error).
>
> Could someone more knowledgeable in Plasma/KDE shenanigans please
> explain how I can end up with a workable USB wireless dongle, which I
> can enable/disable at will?
>
Set USE="-wireless" for powerdevil
I have KDE on this laptop, with no NM. The wireless connection is managed
by systemd-networkd here, but the same should be possible with openrc and
no NM.
--
Neil Bothwick
System halted - hit any Microsoft employee to continue.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Plasma teething problems - Part I
2019-06-24 11:17 ` Neil Bothwick
@ 2019-06-24 11:31 ` Mick
2019-06-24 14:53 ` Philip Webb
2019-06-24 18:27 ` Mick
0 siblings, 2 replies; 9+ messages in thread
From: Mick @ 2019-06-24 11:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 576 bytes --]
On Monday, 24 June 2019 12:17:51 BST Neil Bothwick wrote:
> On Mon, 24 Jun 2019 12:00:36 +0100, Mick wrote:
> > Could someone more knowledgeable in Plasma/KDE shenanigans please
> > explain how I can end up with a workable USB wireless dongle, which I
> > can enable/disable at will?
>
> Set USE="-wireless" for powerdevil
>
> I have KDE on this laptop, with no NM. The wireless connection is managed
> by systemd-networkd here, but the same should be possible with openrc and
> no NM.
Excellent! This is what I was looking for. Thank you Neil. :-)
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Plasma teething problems - Part I
2019-06-24 11:31 ` Mick
@ 2019-06-24 14:53 ` Philip Webb
2019-06-24 15:01 ` Mick
2019-06-24 17:41 ` Neil Bothwick
2019-06-24 18:27 ` Mick
1 sibling, 2 replies; 9+ messages in thread
From: Philip Webb @ 2019-06-24 14:53 UTC (permalink / raw
To: gentoo-user
190624 Mick wrote:
> On Monday, 24 June 2019 12:17:51 BST Neil Bothwick wrote:
>> On Mon, 24 Jun 2019 12:00:36 +0100, Mick wrote:
>>> Could someone more knowledgeable in Plasma/KDE shenanigans please
>>> explain how I can end up with a workable USB wireless dongle, which I
>>> can enable/disable at will?
>> Set USE="-wireless" for powerdevil
> Excellent! This is what I was looking for. Thank you Neil. :-)
Finally, a good example of the value of 'USE-"-* ... "' in make.conf !
I had no idea of any of this & don't need 'powerdevil',
but the '-wireless' flag has been set all along anyway (grin).
Yes, I know there are opposite cases too.
--
========================,,============================================
SUPPORT ___________//___, Philip Webb
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
TRANSIT `-O----------O---' purslowatchassdotutorontodotca
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Plasma teething problems - Part I
2019-06-24 14:53 ` Philip Webb
@ 2019-06-24 15:01 ` Mick
2019-06-24 17:41 ` Neil Bothwick
1 sibling, 0 replies; 9+ messages in thread
From: Mick @ 2019-06-24 15:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]
On Monday, 24 June 2019 15:53:04 BST Philip Webb wrote:
> 190624 Mick wrote:
> > On Monday, 24 June 2019 12:17:51 BST Neil Bothwick wrote:
> >> On Mon, 24 Jun 2019 12:00:36 +0100, Mick wrote:
> >>> Could someone more knowledgeable in Plasma/KDE shenanigans please
> >>> explain how I can end up with a workable USB wireless dongle, which I
> >>> can enable/disable at will?
> >>
> >> Set USE="-wireless" for powerdevil
> >
> > Excellent! This is what I was looking for. Thank you Neil. :-)
>
> Finally, a good example of the value of 'USE-"-* ... "' in make.conf !
> I had no idea of any of this & don't need 'powerdevil',
> but the '-wireless' flag has been set all along anyway (grin).
>
> Yes, I know there are opposite cases too.
TBH the opposite cases must be overwhelmingly more that this one. If it were
a single package *and* you know which one it is, then it is easy to look at
its USE flags and make a call to affect its functionality. In my example here
I couldn't see the wood for the Plasma/KDE trees, until Neil pointed the
particular tree I should be barking under ... :-)
I still wouldn't apply a 'USE-"-* ... "' approach unless I was looking for a
way to spend many hours contemplating the causes of breaking stuff and then
breaking them again after an update/upgrade.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Plasma teething problems - Part I
2019-06-24 14:53 ` Philip Webb
2019-06-24 15:01 ` Mick
@ 2019-06-24 17:41 ` Neil Bothwick
1 sibling, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2019-06-24 17:41 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 555 bytes --]
On Mon, 24 Jun 2019 10:53:04 -0400, Philip Webb wrote:
> >> Set USE="-wireless" for powerdevil
> > Excellent! This is what I was looking for. Thank you Neil. :-)
>
> Finally, a good example of the value of 'USE-"-* ... "' in make.conf !
Far from it, by knowing which flags are set per package, you have far
more control of your system.
Of course, if you enjoy investigating random breakages at inconvenient
times, USE="-*" is a good way to keep yourself happy ;-)
--
Neil Bothwick
And then Adam said, "What's a headache?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Plasma teething problems - Part I
2019-06-24 11:31 ` Mick
2019-06-24 14:53 ` Philip Webb
@ 2019-06-24 18:27 ` Mick
1 sibling, 0 replies; 9+ messages in thread
From: Mick @ 2019-06-24 18:27 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]
On Monday, 24 June 2019 12:31:26 BST Mick wrote:
> On Monday, 24 June 2019 12:17:51 BST Neil Bothwick wrote:
> > On Mon, 24 Jun 2019 12:00:36 +0100, Mick wrote:
> > > Could someone more knowledgeable in Plasma/KDE shenanigans please
> > > explain how I can end up with a workable USB wireless dongle, which I
> > > can enable/disable at will?
> >
> > Set USE="-wireless" for powerdevil
> >
> > I have KDE on this laptop, with no NM. The wireless connection is managed
> > by systemd-networkd here, but the same should be possible with openrc and
> > no NM.
>
> Excellent! This is what I was looking for. Thank you Neil. :-)
I can attest to the fact powerdevil with its devilish tentacles which dragged
in NetworkManager was the cause of my problems, plus KDE's default setting:
'Enable bluetooth integration'
was causing all this obex race by dbus. Now I have a 'normal' system to work
with. :-)
The only thing I noticed after I disabled the wifi, rfkilled it and pulled the
USB dongle was this entry in the logs:
Jun 24 18:23:51 localhost kernel: usb 1-1: USB disconnect, device number 3
Jun 24 18:23:53 localhost /etc/init.d/net.wlp0s18f2u1[5619]: net.wlp0s18f2u1:
not allowed to be hotplugged
Jun 24 18:23:53 localhost dhcpcd[3208]: wlp0s18f2u1: removing interface
I'm not sure of its meaning ...
Is openrc angry with me for unplugging the by definition pluggable and already
disabled USB device? :-/
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: Plasma teething problems - Part I
2019-06-24 11:00 [gentoo-user] Plasma teething problems - Part I Mick
2019-06-24 11:17 ` Neil Bothwick
@ 2019-06-25 14:09 ` Nikos Chantziaras
2019-06-25 17:03 ` Neil Bothwick
1 sibling, 1 reply; 9+ messages in thread
From: Nikos Chantziaras @ 2019-06-25 14:09 UTC (permalink / raw
To: gentoo-user
On 24/06/2019 14:00, Mick wrote:
> I've installed plasma-meta plus some kde-apps meta packages as follows:
>
> kde-apps/kdeadmin-meta
> kde-apps/kdecore-meta
> kde-apps/kdegraphics-meta
> kde-apps/kdemultimedia-meta
> kde-apps/kdenetwork-meta
> kde-apps/kdepim-meta
> kde-apps/kdeutils-meta
> kde-apps/kwalletmanager
> kde-frameworks/oxygen-icons
> kde-plasma/plasma-meta
>
> One of the above[1] brought in NetworkManager, which I don't use because for
> my use case there's nothing wrong with openrc netifrc scripts.
> [...]
> [1] kde-plasma/plasma-meta requires kde-plasma/powerdevil, which requires kde-
> frameworks/networkmanager-qt, which requires net-misc/networkmanager, which
> requires net-misc/modemmanager
I use Plasma, and NW is not installed. I have "-networkmanager" in my
USE flags in make.conf. Add that, and do a:
emerge -auDN --with-bdeps=y @world
emerge -a --depclean
You should then be able to install Plasma without NW.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Re: Plasma teething problems - Part I
2019-06-25 14:09 ` [gentoo-user] " Nikos Chantziaras
@ 2019-06-25 17:03 ` Neil Bothwick
0 siblings, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2019-06-25 17:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
On Tue, 25 Jun 2019 17:09:02 +0300, Nikos Chantziaras wrote:
> > [1] kde-plasma/plasma-meta requires kde-plasma/powerdevil, which
> > requires kde- frameworks/networkmanager-qt, which requires
> > net-misc/networkmanager, which requires net-misc/modemmanager
>
> I use Plasma, and NW is not installed. I have "-networkmanager" in my
> USE flags in make.conf.
That's not enough, powerdevil doesn't have a networkmanager USE flag, you
have to set -wireless for powerdevil. Here's the relevant portion of the
DEPEND definition in the ebuild
wireless? (
$(add_frameworks_dep bluez-qt)
$(add_frameworks_dep networkmanager-qt)
)
--
Neil Bothwick
Bagpipe for free: Stuff cat under arm. Pull legs, chew tail.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2019-06-25 17:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-24 11:00 [gentoo-user] Plasma teething problems - Part I Mick
2019-06-24 11:17 ` Neil Bothwick
2019-06-24 11:31 ` Mick
2019-06-24 14:53 ` Philip Webb
2019-06-24 15:01 ` Mick
2019-06-24 17:41 ` Neil Bothwick
2019-06-24 18:27 ` Mick
2019-06-25 14:09 ` [gentoo-user] " Nikos Chantziaras
2019-06-25 17:03 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox