Re: How to set up dev environment for ESP32 MCUs?

2024-02-14 Thread David Demelier
On Sun, 2024-02-11 at 13:32 +0800, Sadeep Madurange wrote: > Hello, > > Has anyone set up the ESP-IDF for programming ESP32 MCUs? > > Should I install dependencies like libmpc using pkg_add, and then > install the ESP-IDF from their GitHub or put things together using > xtensa-esp32-elf/* ports

Re: Installing OpenBSD amd64 on UTM on Intel Mac?

2024-01-15 Thread David Demelier
> On Jan 12, 2024, at 21:31, Implausibility wrote: > > Hi. > > Since there's some uncertainty around the future of VMware Fusion on the Mac, > I've decided to switch to UTM (with QEMU under the covers) -- but I can't > seem to get OpenBSD .isos (7.3 or 7.4) to boot -- instead, I get dumped

Re: ls in color

2023-12-11 Thread David Demelier
On Mon, 2023-12-11 at 08:55 +0100, David Demelier wrote: > On Fri, 2023-12-08 at 19:45 +0100, Karel Lucas wrote: > > > > > > Op 08-12-2023 om 19:42 schreef Theo de Raadt: > > > Karel Lucas wrote: > > > > > > > In openBSD

Re: ls in color

2023-12-10 Thread David Demelier
On Fri, 2023-12-08 at 19:45 +0100, Karel Lucas wrote: > > > Op 08-12-2023 om 19:42 schreef Theo de Raadt: > > Karel Lucas wrote: > > > > > In openBSD V7.4 I would like to see the output of ls in color, > > > and > > > therefore would like to know how to configure that. The output of > > > "man

Re: mount invalid argument

2023-09-29 Thread David Demelier
On Thu, 2023-09-28 at 22:41 +0200, Daniele B. wrote: > > Hello, > > wiz$ mount -t ffs /dev/sd1i /mnt/stick > > mount_ffs: /dev/sd1i on /mnt/stick: Invalid argument Hi, mount_ffs uses mount(2) which reports errors as errno constants, there are no one for a specified filesystem type that is not

Re: Feedback on redesigned OpenBSD.org

2023-08-11 Thread David Demelier
On Wed, 2023-08-09 at 14:01 -0500, mich...@mlpdesign.com wrote: > Hi everyone > > WHAT: > = > I greatly respect OpenBSD; while I don't have OS tech level expertise > to contribute - I do have some design skills and wanted to contribute > to the community and project. > > So I created a new

Re: Installing openBSD

2023-08-04 Thread David Demelier
On Thu, 2023-08-03 at 22:48 +0200, Karel Lucas wrote: > > Hi, > > My openBSD installation was successful! Have fun on OpenBSD. > I first removed all partitions > except for the EFI partition, which I left. Sure, the EFI partition isn't supposed to be formatted/recreated but shared among

Re: Installing openBSD

2023-08-02 Thread David Demelier
On Tue, 2023-08-01 at 01:00 +0800, ykla wrote: > Actually, I think it's a bug that OpenBSD cannot create EFI > partitions manually. I've installed OpenBSD many times in dualboot with linux (for some things we can't do right now on OpenBSD such as ESP32 development). And my take is to install

Re: Disabling .core file generation

2023-02-23 Thread David Demelier
On Fri, 2023-02-24 at 05:38 +0100, Daniele Bonini wrote: > Crystal Kolipe wrote: > > > > On Mon, Feb 20, 2023 at 05:15:30PM +0100, Daniele Bonini wrote:  > > > > Is it still possible to disable file .core generation at all?  > > > > > > > > Yes, it is.  > > > > > > ok, thx > > > > > > NB:

Re: pkg_info -Q not finding all entries?

2023-02-01 Thread David Demelier
On Mon, 2023-01-30 at 11:26 +, Stuart Henderson wrote: > On 2023-01-30, David Demelier wrote: > > While searching for sqlite3 I've realized that pkg_info -Q sqlite3 > > finds some php packages but not everything available in the remote > > repository: > > This is

pkg_info -Q not finding all entries?

2023-01-30 Thread David Demelier
Hello, While searching for sqlite3 I've realized that pkg_info -Q sqlite3 finds some php packages but not everything available in the remote repository: # cat /etc/installurl https://ftp.fr.openbsd.org/pub/OpenBSD/ # pkg_info -Q sqlite3

Re: UNIX manual volume 2 (Supplementary Documents) Re: less prints superfluous characters with --no-init

2022-11-23 Thread David Demelier
On Mon, 2022-11-21 at 19:13 +1100, Reuben mac Saoidhea wrote: > > [heres if(3p) for some reason.] > > the fact that `man if' goes to a whole man page about a perl thing > rather than just the sh(1) page, is a bit silly i think. But you can see that `if` is documented in the 3p category which

no azalia nor sdmmc on Intel NUC

2022-10-03 Thread David Demelier
Hi, I have a Intel NUC (NUC7CJYHN) which I installed OpenBSD 7.1 on it. Installation went fine and most of the things work out of the box. There is a SD card slot on the side that does not seem effective, the only message I get is: sdmmc0: can't enable card There is no kernel activity if I

Re: Convert a Linux VPS to OpenBSD

2022-06-23 Thread David Demelier
On Mon, 2022-06-20 at 16:47 +0100, Étienne wrote: > Hello there, > > This is a bit of a long shot, but I'm trying my luck: There used to > be a > community thread on Scaleway's documentation website that explained > how > to convert a Linux instance to an OpenBSD instance, because no > OpenBSD

Re: booting OpenBSD on Raspberry pi4 without using sdcard for UEFI

2022-05-20 Thread David Demelier
> On 20 May 2022, at 18:27, Sandeep Gupta wrote: > > Hello, > > This post here ( > http://matecha.net/posts/openbsd-on-pi-4-with-full-disk-encryption/) claims > its possible to > boot OpenBSD directly from USB without the need for UEFI on sdcard. > I tried today but couldn't get it to work. I

Re: Setting up vmd with veb0/vport0

2022-05-12 Thread David Demelier
On Thu, 2022-05-12 at 06:09 +, Stuart Henderson wrote: > > vlan0: flags=8002 mtu 1500 > > lladdr e0:d4:64:3c:31:9c > > index 6 priority 0 llprio 3 > > encap: vnetid none parent iwx0 txprio packet rxprio outer > > groups: vlan > > media: IEEE802.11

Setting up vmd with veb0/vport0

2022-05-11 Thread David Demelier
Hello, I'm trying to setup vms using the wonderful vmd and private addresses on 10.0.0.0 range. Following the various entries in the FAQ (faq16) and the examples using bridge/vether I just wanted to adapt to using veb/vport instead since it's designed as a newer and more performant replacement.

Two minor issues with GNOME (autologin/night light)

2022-05-05 Thread David Demelier
Hi there, Enjoying GNOME 41 on 7.1 (and on an other machine GNOME 42 on - current), I have encountered two minor issues: 1. The night light seems to have no effect. I don't think it's due to the use of X.Org rather than wayland, on my Linux machine I also use GNOME on Xorg without no issue.

Re: bwfm0 no networking when combined with trunk (Raspberry Pi 4)

2022-05-02 Thread David Demelier
On Sat, 2022-04-30 at 08:42 +, Stuart Henderson wrote: > trunk changes the MAC address to that of the first port, and there's > a fair chance that changing MAC might not work with bwfm. > > You could try "lladdr (mac address of bwfm interface)" in > hostname.trunk0 > and see if that helps.

bwfm0 no networking when combined with trunk (Raspberry Pi 4)

2022-04-29 Thread David Demelier
Hello, I have setup a trunk combination on my Pi 4 to aggregate the ethernet port (bse0) with the wireless port (bwfm0) using the examples in the documentation: $ cat /etc/hostname.bse0 up $ cat /etc/hostname.bwfm0 join "MyAp" wpakey "blablabla" up $ cat /etc/hostname.trunk0 trunkproto failover

Re: Unusable resolution on a widescreen monitor during install

2022-04-28 Thread David Demelier
> On 28 Apr 2022, at 04:06, Mike Larkin wrote: > > On Wed, Apr 27, 2022 at 05:07:14PM -0400, Nick Holland wrote: >> On 4/27/22 9:15 AM, David Demelier wrote: >>> Hello, >>> >>> I have a lenovo thinkcentre machine connected to 24” LG screen (with &g

Unusable resolution on a widescreen monitor during install

2022-04-27 Thread David Demelier
Hello, I have a lenovo thinkcentre machine connected to 24” LG screen (with 4k resolution), the installer boots fine using UEFI but it looks like efifb takes a strange “squared” resolution where bottom part of the console is below the screen so I’m unable to see what I type. I’ve taken a

Re: how to mount phone?

2020-07-15 Thread David Demelier
Le 13/07/2020 à 23:39, Justin Muir a écrit : Hi, Just wishing to mount my phone to access photos. Hello, There is Airdroid application on Android phones that could be interesting. It's an application that acts as a server and that you could access from any computer/any os. You simply need

Re: Sound is good on OpenBSD

2020-04-28 Thread David Demelier
Le 28/04/2020 à 14:01, Yury Grebenkin a écrit : OpenBSD gives a better sound experience on my machine than several Linux distributions I have used and FreeBSD. Just want to say thank you to all the people involved and state the fact that OpenBSD does make a difference. The audio stack is

Re: GNU+Linux corporate takeover, was: Wine for OpenBSD?

2020-04-14 Thread David Demelier
Le 14/04/2020 à 17:10, Oddmund G. a écrit : Linux is doomed. Closer 'integration' of systemd, pulseaudio, wayland Wayland isn't that bad. It solves many things by reducing the display complexity and is much faster than X.Org. The real problem is by being simple; many compositors (~= window

Re: Record with a device, playback with another with sndiod

2020-03-17 Thread David Demelier
On Mon, Mar 16, 2020 at 10:09:50PM +0100, David Demelier wrote: > It has only one jack yes, but the logo on top of the jack is a headset > with a microphone but I don't even know if combined output/microphone > jacks are supported? I never experienced them at all, I don't have a > head

Re: Record with a device, playback with another with sndiod

2020-03-16 Thread David Demelier
On Mon, Mar 16, 2020 at 02:41:20PM +0100, Alexandre Ratchov wrote: Hello, > Sorry, it's not possible to combine two devices into a single one with > sndiod. > > FWIW, this is because both devices don't use the same clock source, if > there were combined, audio could be unstable. Properly

Record with a device, playback with another with sndiod

2020-03-14 Thread David Demelier
Hello, I'm trying to setup sndiod to record input using my laptop's builtin microphone but using an USB sound card for output. The microphone does work correctly because I was able to record some test using aucat $ aucat -o test.wav $ aucat -i test.wav (worked) To my understanding the

Re: trunk(4) driver with optional interface?

2020-03-13 Thread David Demelier
Le 13/03/2020 à 13:23, Raf Czlonka a écrit :> Hi David, hotplugd(8) might help here. Thanks, I've heard of it in the past. Can't understand how I did forget it. That will help me a lot! Regards, -- David

trunk(4) driver with optional interface?

2020-03-13 Thread David Demelier
Hello, I'm using trunk(4) pseudo device to aggregate my wireless iwm(4) and my dock ethernet interface ure(4) together. Since my laptop is not always connected to my dock, when booting I get a trunk error if the interface is not available: ifconfig: SIOCTRUNKPORT: Invalid argument

Re: alacritty build

2020-03-12 Thread David Demelier
Le 11/03/2020 à 15:51, Wayn0 a écrit : part of the staff group, datasizr-cur=4096M max infinity during build on my dual core i7 4xxx it took 17m to build RAM usage really going over 800mb 35mb binary not sure it's worth all of that This is mostly because rust statically link to almost

Re: man to render pure text? (or a pipe in vi macros ?)

2020-03-03 Thread David Demelier
Le 02/03/2020 à 17:59, Marc Chantreux a écrit : i felt dumb reading this as i gave a try to the mandoc man. but i just double checked: man mandoc|col -b|grep -w col Hmmm, here I have it though: https://man.openbsd.org/mandoc In the “ASCII Output” paragraph. -- David

Re: man to render pure text? (or a pipe in vi macros ?)

2020-03-02 Thread David Demelier
On Mon, Mar 02, 2020 at 11:49:31AM +0100, Marc Chantreux wrote: > hello, > > coming from linux, i'm used to read manpages > in a vi buffer so i can do much more than > reading the content. i basically use > > :r !man ls > or > !!sh (when the line content is "man ls") > > under

Re: Good job done for OpenBSD on laptops

2017-01-18 Thread David Demelier
On 01/18/2017 12:32 PM, Marcus MERIGHI wrote: Hello, demelier.da...@gmail.com (David Demelier), 2017.01.18 (Wed) 06:56 (CET): The only thing I could not get to work actually is the backlight adjustment. Function keys have no effect, even in GNOME. I also check wsconsctl display.progress

Good job done for OpenBSD on laptops

2017-01-17 Thread David Demelier
Hello all, This is my first mail to this list, I have a very old HP Probook 4510s slowly dying. I have previously installed FreeBSD on it but got disappointed after several regression YoY and after upgrade like: no usable touchpad anymore, no more ethernet, new VT very buggy. As lots of friends