Re: raspberry pi 3b+ how to boot with hdmi

2022-01-08 Thread Shadrock Uhuru




From: Marcus MERIGHI 
To: openbsd 
Date: Sat, 1 Jan 2022 08:42:27 +0100
Subject: Re: raspberry pi 3b+ how to boot with hdmi

Good morning 2022,

niyal...@gmail.com (Shadrock Uhuru), 2021.01.01 (Sat) 05:54 (CET):

> From: Stuart Henderson 
> To: misc@openbsd.org
> Date: Tue, 28 Dec 2021 12:55:27 - (UTC)
> Subject: Re: raspberry pi 3b+ how to boot with hdmi

> > On 2021-12-28, Shadrock Uhuru  wrote:
> > i have successfully installed the latest snapshot onto a rpi3b+
> > using a serial cable,
> > after rebooting still with the serial cable everything startup
> > fine,
> > when i try to reboot with a hdmi monitor connected
> > i get a few line at startup then the screen goes blank,
> > what configuration do i change to make the hdmi monitor the
> > primary
> > display when booting ?

> See the text around "To use video output on the framebuffer instead"
> in the INSTALL.arm64 file distributed with the install sets.

i now have output on the hdmi monitor,
one thing that i've noticed is the boot up information
stops after displaying the date and doesn't proceed to the login
prompt,
i can ping and ssh into the pi but no login prompt,


It might need something like this in /etc/ttys:

ttyC0   "/usr/libexec/getty std.9600"   vt220   on  secure

See ttys(5)!

Marcus


Hi Marcus
your suggestion solved the problem,

many thanks 
shadrock




Re: laptop touchpad works fine for a while, then stops working

2022-01-08 Thread Jonathan Thornburg
Hi Ulf,

On Fri, Jan 07, 2022 at 10:52:20PM +0100, Ulf Brosziewski wrote:
> When the touchpad stops working, you could enable wsmouse logging, make
> one or two movements on the touchpad, and extract and post the relevant
> part of /var/log/messages.  It might help to determine where the problem
> is.

I will try this the next time the touchpad stops working.


In the meantime...
> Does the problem persist when you throw away your xorg.conf?

I can't easily tell because without xorg.conf the system is unusable
due to the "cursor jumps to left or top of screen" problem.


> And BTW,
> you have different hardware now, is it still necessary to avoid those
> cursor jumps?

Yes, xorg.conf is still necessary on both my T530 and my T580 to avoid
the cursor jumps, at least for twm and ctwm.  xorg.conf is NOT necessary
for fvwm on either machine.

All the best, keep safe and COVID-free, -- Jonathan



Re: auto_upgrade.conf ignored?

2022-01-08 Thread Roderick



On Sat, 8 Jan 2022, Jan Stary wrote:


Buy a bigger machine.  Or use Linux,


Now that is just rude ...


You are also rude, much ruder than that, to others. Did you think,
you are very special, so that you deserve a different treatment?



Re: What password manager do you recommend?

2022-01-08 Thread Willy Gonnason
I’ve used keepassxc, or earlier variants of it, for over a decade and a half 
and Ive been happy with it.  Keepassxc is gui based software.  There’s more 
info available on the project page: (https://keepassxc.org/project/ 
).  You might find a command line version more 
to your liking.  Various implementations for different platforms are documented 
at (https://pwsafe.org/relatedprojects.html 
)

Keepassxc is open source and cross platform.  Variants that can read the 
encrypted database exist for all the platforms I still have to deal with: 
Linux, MacOS, phones, and Windows.  It's based on the password safe code 
originally written by Bruce Schneier. 

It’s available from ports (openports.se )

Regards,
Willy Gonnason

> 
> Date: Fri, 7 Jan 2022 14:53:33 -0500
> From: fo...@dnmx.org
> To: misc@openbsd.org
> Subject: What password manager do you recommend?
> Message-ID: 
> 
> 
> Hello. I hope this these types of questions are okay for an mailing list..
> I completely understand if they are not..
> 
> There's password-store, but it does need some shitty dependencies..
> Then there's opm, but since it doesn't seem to be popular fuck-knows-who
> if it's secure(ish)..
> 
> If I were to use password-store, I'd have dmenu pipe in the query, then
> just pipe the password to `xclip -i -selection clipboard` which is a
> decent setup I guess..



Re: What password manager do you recommend?

2022-01-08 Thread deich...@placebonol.com
FWIW https://openports.pl/ is a better ports site, run by Solene ( 
https://openbsd.amsterdam/runs.html )

On January 8, 2022 8:35:55 AM MST, Willy Gonnason  wrote:
>I’ve used keepassxc, or earlier variants of it, for over a decade and a half 
>and Ive been happy with it.  Keepassxc is gui based software.  There’s more 
>info available on the project page: (https://keepassxc.org/project/ 
>).  You might find a command line version more 
>to your liking.  Various implementations for different platforms are 
>documented at (https://pwsafe.org/relatedprojects.html 
>)
>
>Keepassxc is open source and cross platform.  Variants that can read the 
>encrypted database exist for all the platforms I still have to deal with: 
>Linux, MacOS, phones, and Windows.  It's based on the password safe code 
>originally written by Bruce Schneier. 
>
>It’s available from ports (openports.se )
>
>Regards,
>Willy Gonnason
>
>> 
>> Date: Fri, 7 Jan 2022 14:53:33 -0500
>> From: fo...@dnmx.org
>> To: misc@openbsd.org
>> Subject: What password manager do you recommend?
>> Message-ID: 
>> 
>> 
>> Hello. I hope this these types of questions are okay for an mailing list..
>> I completely understand if they are not..
>> 
>> There's password-store, but it does need some shitty dependencies..
>> Then there's opm, but since it doesn't seem to be popular fuck-knows-who
>> if it's secure(ish)..
>> 
>> If I were to use password-store, I'd have dmenu pipe in the query, then
>> just pipe the password to `xclip -i -selection clipboard` which is a
>> decent setup I guess..
>


Re: What password manager do you recommend?

2022-01-08 Thread Kristaps Dzonsons
If you're using keepassxc-browser with chromium in ports (at least for 
7.0), note that the same unveil bits documented for firefox apply:


% tail /etc/chromium/unveil.main 


[snip]
# KeePassXC
/usr/local/bin r
/usr/local/bin/keepassxc-proxy rx

If you don't have the /usr/local/bin unveil, it will not properly detect 
the proxy plugin.  (There's an assertion in the source prior to the exec 
that getcwd must exist, which is invoked in /usr/local/bin.)




Documentation error in pci_mapreg_probe(9)

2022-01-08 Thread Ted Bullock
The manpage incorrectly describes the behaviour and usage of
pci_mapreg_probe(9). This function does not return 0 for success and !0
for failure as described in the manual, see the diff below for a
possible re-wording and corrected description.

Index: share/man/man9/pci_mapreg_map.9
===
RCS file: /cvs/src/share/man/man9/pci_mapreg_map.9,v
retrieving revision 1.1
diff -u -p -r1.1 pci_mapreg_map.9
--- share/man/man9/pci_mapreg_map.9 23 Feb 2019 04:54:25 -  1.1
+++ share/man/man9/pci_mapreg_map.9 8 Jan 2022 20:36:07 -
@@ -127,20 +127,34 @@ pointers.
 .Nm pci_mapreg_probe
 attempts to determine if the BAR referenced by
 .Fa reg
-describes a valid register mapping.
+describes a valid register mapping. If the mapping is valid the register type
+will be updated via the pointer
+.Fa *typep
+to either
+.Dv PCI_MAPREG_TYPE_IO
+or
+.Dv PCI_MAPREG_TYPE_MEM .
+If the mapping is invalid the register type should not be used.
+.Fa *typep
+can be
+.Dv NULL
+if determining the register type is not desired.
 .Pp
 .Nm pci_mapreg_type
 returns the type of register access for the registers at the BAR
 referenced by
 .Fa reg .
 .Sh RETURN VALUES
-.Nm pci_mapreg_map ,
-.Nm pci_mapreg_info ,
-and
-.Nm pci_mapreg_probe
-return 0 on success, or an
+.Nm pci_mapreg_map and
+.Nm pci_mapreg_info 
+return zero on success, or an
 .Xr errno 2
 style value on failure.
+.Pp
+.Nm pci_mapreg_probe
+returns zero when no register is found or one if it finds a
+register at the BAR referenced by
+.Fa reg .
 .Pp
 .Nm pci_mapreg_type
 returns either



-- 
Ted Bullock