Re: [gentoo-user] some help with wayland

2023-06-09 Thread Mark Dymek
wayland in my opinion is still many years off from being stable. i don’t know 
why gnome and kde switched to it as default. i have lots of issues with it 
currently on arch install. my advice would be switch back to xorg.

hopefully the freedesktop people can get their stuff together and fix this 
buggy and bloated software.

On Fri, Jun 9, 2023, at 8:19 PM, Jack wrote:
> I've been running xorg (KDE Plasma) for years, and have been perfectly  
> happy, but every now and then I have tried wayland, with less or even  
> less success.  My recent attempts give me a plasma session in the upper  
> 1024 x 768 of a monitor that does 1920x1080. It also doesn't recognize  
> the second monitor at all.  However, the mouse cursor moves freely  
> across all of both monitors.  I've modified /etc/default/grub per the  
> Wayland wiki page with no change.  My main question right now is where  
> to find any log of the wayland session.  There is a KDE page which says  
> where to look if you launch wayland from sddm, but I'm launching from a  
> command line, using startx, with the last line in .winitrc (so I can  
> also keep my original .xinitrc) of either "exec dbus-run-session  
> startplasma-wayland" or "exec dbus-launch --sh-syntax  
> --exit-with-session startplasma-wayland".
> 
> Thanks for any pointers.
> 
> Jack
> 
> 


[gentoo-user] some help with wayland

2023-06-09 Thread Jack
I've been running xorg (KDE Plasma) for years, and have been perfectly  
happy, but every now and then I have tried wayland, with less or even  
less success.  My recent attempts give me a plasma session in the upper  
1024 x 768 of a monitor that does 1920x1080. It also doesn't recognize  
the second monitor at all.  However, the mouse cursor moves freely  
across all of both monitors.  I've modified /etc/default/grub per the  
Wayland wiki page with no change.  My main question right now is where  
to find any log of the wayland session.  There is a KDE page which says  
where to look if you launch wayland from sddm, but I'm launching from a  
command line, using startx, with the last line in .winitrc (so I can  
also keep my original .xinitrc) of either "exec dbus-run-session  
startplasma-wayland" or "exec dbus-launch --sh-syntax  
--exit-with-session startplasma-wayland".


Thanks for any pointers.

Jack



Re: [gentoo-user] trying to get sd card reader to work

2023-06-09 Thread Lee
Modern kernels support damn near everything these days, the trick is
finding the right things to enable in the kernel! 

Lee 

On Fri, Jun 9, 2023, 7:58 AM John Blinka  wrote:

>
>
> On Fri, Jun 9, 2023 at 9:09 AM Michael  wrote:
>
>>
>> Have you also enabled CONFIG_MMC_REALTEK_USB in your kernel?
>
>
> Not until you suggested it. Works perfectly now. Thanks!
>
> John
>
>>


[gentoo-user] Re: Can't upgrade portage or update/install ebuilds

2023-06-09 Thread Grant Edwards
On 2023-06-09, Daniel Pielmeier  wrote:

> If it is only about gemato then temporary disable the rsync-verify flag 
> which pulls it in.
>
> # USE="-rsync-verify" emerge sys-apps/portage

The problem I ran into is that you never know how many issues there
are standing in the way of upgrading. The one time I decided to muscle
my way through updating an "obsolete" Gentoo install, I spent a very
long day fixing "one more problem" and trying again.  It took many
more hours than a scratch install would have taken, but at some point
I decided to keep going just to see if I could make it all the way
through the process. I did. Then I promised myself never to try that
again.

You do learn alot about how portage/emerge works...

--
Grant






Re: [gentoo-user] Can't upgrade portage or update/install ebuilds

2023-06-09 Thread Daniel Pielmeier

Nikolay Pulev schrieb am 09.06.23 um 21:40:

Hi community,

This is my first reach out to you. I have not update my machine for a long
time and have no reached a point where I can't install or upgrade packages.
My first concern is to update portage, however I get the error below error.
Does anybody have any suggestions how I could progress with my machine
update?

# emerge --oneshot sys-apps/portage

  * IMPORTANT: 15 news items need reading for repository 'gentoo'.
  * Use eselect news read to view new items.

Calculating dependencies... done!

!!! All ebuilds that could satisfy
">=app-portage/gemato-14.5[python_targets_pypy3(-)?,python_targets_python3_10(-)?,python_targets_python3_11(-)?]"
have been masked.
!!! One of the following masked packages is required to complete your
request:
- app-portage/gemato-::gentoo (masked by: EAPI 8)
- app-portage/gemato-20.4::gentoo (masked by: EAPI 8)
- app-portage/gemato-20.2::gentoo (masked by: EAPI 8)
- app-portage/gemato-20.1::gentoo (masked by: EAPI 8)

The current version of portage supports EAPI '7'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
(dependency required by "sys-apps/portage-3.0.45.3-r2::gentoo" [ebuild])
(dependency required by "sys-apps/portage" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.



If it is only about gemato then temporary disable the rsync-verify flag 
which pulls it in.


# USE="-rsync-verify" emerge sys-apps/portage

--
Regards
Daniel




Re: [gentoo-user] Can't upgrade portage or update/install ebuilds

2023-06-09 Thread John Covici
On Fri, 09 Jun 2023 15:40:36 -0400,
Nikolay Pulev wrote:
> 
> [1  ]
> Hi community,
> 
> This is my first reach out to you. I have not update my machine for a long
> time and have no reached a point where I can't install or upgrade packages.
> My first concern is to update portage, however I get the error below error.
> Does anybody have any suggestions how I could progress with my machine
> update?
> 
> # emerge --oneshot sys-apps/portage
> 
>  * IMPORTANT: 15 news items need reading for repository 'gentoo'.
>  * Use eselect news read to view new items.
> 
> Calculating dependencies... done!
> 
> !!! All ebuilds that could satisfy
> ">=app-portage/gemato-14.5[python_targets_pypy3(-)?,python_targets_python3_10(-)?,python_targets_python3_11(-)?]"
> have been masked.
> !!! One of the following masked packages is required to complete your
> request:
> - app-portage/gemato-::gentoo (masked by: EAPI 8)
> - app-portage/gemato-20.4::gentoo (masked by: EAPI 8)
> - app-portage/gemato-20.2::gentoo (masked by: EAPI 8)
> - app-portage/gemato-20.1::gentoo (masked by: EAPI 8)
> 
> The current version of portage supports EAPI '7'. You must upgrade to a
> newer version of portage before EAPI masked packages can be installed.
> (dependency required by "sys-apps/portage-3.0.45.3-r2::gentoo" [ebuild])
> (dependency required by "sys-apps/portage" [argument])
> For more information, see the MASKED PACKAGES section in the emerge
> man page or refer to the Gentoo Handbook.

If it were me, I would either reinstall from scratch, or change your
repository to use git and check out old enough versions so you could
get one two months after your current version, and update to that,
then advance your git by a couple of months and try again and
gradually get up to date.  Its going to be a real PITA, I am sure, so
consider a re install.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] Re: Can't upgrade portage or update/install ebuilds

2023-06-09 Thread Grant Edwards
On 2023-06-09, Nikolay Pulev  wrote:

> This is my first reach out to you. I have not update my machine for
> a long time

How long?

> and have no reached a point where I can't install or upgrade
> packages.

My experience is that if you haven't updated up for more than 6-9
months, the easiest/fastest thing to do (usually) is back up /etc,
/home, /root and /usr/src/linux/.config and re-install from scratch.

If you've got /home in a separate partition, that makes the reinstall
particularly easy.

--
Grant





[gentoo-user] Can't upgrade portage or update/install ebuilds

2023-06-09 Thread Nikolay Pulev
Hi community,

This is my first reach out to you. I have not update my machine for a long
time and have no reached a point where I can't install or upgrade packages.
My first concern is to update portage, however I get the error below error.
Does anybody have any suggestions how I could progress with my machine
update?

# emerge --oneshot sys-apps/portage

 * IMPORTANT: 15 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!

!!! All ebuilds that could satisfy
">=app-portage/gemato-14.5[python_targets_pypy3(-)?,python_targets_python3_10(-)?,python_targets_python3_11(-)?]"
have been masked.
!!! One of the following masked packages is required to complete your
request:
- app-portage/gemato-::gentoo (masked by: EAPI 8)
- app-portage/gemato-20.4::gentoo (masked by: EAPI 8)
- app-portage/gemato-20.2::gentoo (masked by: EAPI 8)
- app-portage/gemato-20.1::gentoo (masked by: EAPI 8)

The current version of portage supports EAPI '7'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
(dependency required by "sys-apps/portage-3.0.45.3-r2::gentoo" [ebuild])
(dependency required by "sys-apps/portage" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


[gentoo-user] Re: replacement for ddclient?

2023-06-09 Thread Grant Edwards
On 2023-06-09, Grant Edwards  wrote:

> I agree that having the router/firewall do it is the right way to do it.
>
> I've currently got the app provided by Dynu working.

Interestingly, what the Dynu-provided client does is equivalent to this:

#!/bin/bash
while true
do
curl 
http://api.dynu.com/nic/update?username=<...>?password=<...>?hostname=<...>
sleep 120
done

The "/nic/update" command assumes that if you don't provide an IP
address, then it's supposed to use the source IP address of the
incoming TCP connection.  It returns a single status string that tells
you if the "update" request resulted in a change, nochange, or failure
of some sort. [IIRC, if the IP changes, it tells you the new IP
address also.]  So, the app doesn't faff around trying to determine
if/when the outside IP address has changed or even what that IP
address is.

> I'll soon be switching to a TP-Link ER650 router/firewall when I
> change ISPs. It only supports a few DDNS services, and Dynu isn't
> supported (according to the manual).

According to a recent post in the TP-Link forums, the latest ER605
firmware version has a "General" DDNS provider choice that can be
configured to work with Dynu, so that'll be the long-term solution.

   https://community.tp-link.com/en/business/forum/topic/598958




[gentoo-user] Re: replacement for ddclient?

2023-06-09 Thread Grant Edwards
On 2023-06-09, Robin Atwood  wrote:
> On Mon, 5 Jun 2023 03:11:57 - (UTC)
> Grant Edwards  wrote:
>
>> They have a nicely documented API, and the server does support HTTPS,
>> so it may be time to write my own DDNS client daemon.
>
> Doesn't your router have a Dynamic DNS function?

Yes (OpenWRT), but the last time I tried it, I couldn't get it to
work. I've updated OpenWRT a few times since, but have never
revisisted the DDNS client feature to see if it would work.

> I stopped using ddclient years ago because my D-Link router does the
> updates. It is in a much better position to know when it is
> necessary!

I agree that having the router/firewall do it is the right way to do it.

I've currently got the app provided by Dynu working.

I'll soon be switching to a TP-Link ER650 router/firewall when I
change ISPs. It only supports a few DDNS services, and Dynu isn't
supported (according to the manual).

--
Grant





Re: [gentoo-user] Re: replacement for ddclient?

2023-06-09 Thread Matt Connell
On Fri, 2023-06-09 at 22:38 +0700, Robin Atwood wrote:
> > They have a nicely documented API, and the server does support
> > HTTPS,
> > so it may be time to write my own DDNS client daemon.
> 
> Doesn't your router have a Dynamic DNS function? I stopped using
> ddclient years ago because my D-Link router does the updates. It is
> in
> a much better position to know when it is necessary!

Same.  OpnSense handles my updates for me.  It supports a good number
of DNS providers right out of the box.



Re: [gentoo-user] Re: replacement for ddclient?

2023-06-09 Thread Robin Atwood
On Mon, 5 Jun 2023 03:11:57 - (UTC)
Grant Edwards  wrote:

> They have a nicely documented API, and the server does support HTTPS,
> so it may be time to write my own DDNS client daemon.

Doesn't your router have a Dynamic DNS function? I stopped using
ddclient years ago because my D-Link router does the updates. It is in
a much better position to know when it is necessary!

Robin
-- 











Re: [gentoo-user] trying to get sd card reader to work

2023-06-09 Thread John Blinka
On Fri, Jun 9, 2023 at 9:09 AM Michael  wrote:

>
> Have you also enabled CONFIG_MMC_REALTEK_USB in your kernel?


Not until you suggested it. Works perfectly now. Thanks!

John

>


Re: [gentoo-user] trying to get sd card reader to work

2023-06-09 Thread Michael
On Friday, 9 June 2023 13:48:56 BST John Blinka wrote:
> Hi, everyone,
> 
> I'm trying to get an SD card reader to work in Gentoo, but no success
> so far. Hoping that someone can point out what I'm doing wrong.
> 
> The hardware is an old Dell Inspiron 5759 laptop featuring a RealTek
> RTS5129 usb sd card reader. The kernel is gentoo-sources-6.1.31. The
> sd card should contain a FAT file system with mp3 files, was written
> by an older MacBook, and has been observed to supply sounds to an
> Arduino/mp3 player setup.
> 
> I have followed the setup directions in
> https://wiki.gentoo.org/wiki/PCSC-Lite using the ccid driver. I've
> enabled hotplug in openrc per the instructions on that page.
> 
> I'm using a kernel with CONFIG_MISC_RTSX=m and CONFIG_MISC_RTSX_USB=m.
> I have rc_hotplug="pcscd" in /etc/rc.conf and have confirmed that
> module rtsx_usb is actually loaded. I've emerged pcsc-lite using the
> default use flags of policykit, udev, and
> python_single_target_python3_11.
> 
> When I put the sd card into its slot (or take it out), dmesg doesn't
> report anything,  There isn't any device reported under /dev that
> looks to my untrained eye like something that might belong to this
> card reader. lsusb does report the presence of an RTS5129 card reader
> controller.
> 
> I'm over my head debugging this. Haven't found much via Google and
> nothing very recent. If anyone has ideas about what to try or how to
> debug, I'd be very happy to try any and all suggestions.
> 
> Thanks!
> 
> John Blinka

Have you also enabled CONFIG_MMC_REALTEK_USB in your kernel?


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] trying to get sd card reader to work

2023-06-09 Thread John Blinka
Hi, everyone,

I'm trying to get an SD card reader to work in Gentoo, but no success
so far. Hoping that someone can point out what I'm doing wrong.

The hardware is an old Dell Inspiron 5759 laptop featuring a RealTek
RTS5129 usb sd card reader. The kernel is gentoo-sources-6.1.31. The
sd card should contain a FAT file system with mp3 files, was written
by an older MacBook, and has been observed to supply sounds to an
Arduino/mp3 player setup.

I have followed the setup directions in
https://wiki.gentoo.org/wiki/PCSC-Lite using the ccid driver. I've
enabled hotplug in openrc per the instructions on that page.

I'm using a kernel with CONFIG_MISC_RTSX=m and CONFIG_MISC_RTSX_USB=m.
I have rc_hotplug="pcscd" in /etc/rc.conf and have confirmed that
module rtsx_usb is actually loaded. I've emerged pcsc-lite using the
default use flags of policykit, udev, and
python_single_target_python3_11.

When I put the sd card into its slot (or take it out), dmesg doesn't
report anything,  There isn't any device reported under /dev that
looks to my untrained eye like something that might belong to this
card reader. lsusb does report the presence of an RTS5129 card reader
controller.

I'm over my head debugging this. Haven't found much via Google and
nothing very recent. If anyone has ideas about what to try or how to
debug, I'd be very happy to try any and all suggestions.

Thanks!

John Blinka