Re: Asynchronous write()/send()?

2024-01-23 Thread Todd C . Miller
On Tue, 23 Jan 2024 22:31:25 +, illegalcod...@proton.me wrote: > I'm writing a program that uses sockets, and am facing a problem where I thin > k some threads block on a send() forever. I thought I could solve this by usi > ng an asynchronous write, and setting a timeout, but I cannot find

Re: Huawei K5161h 4G dongle

2024-01-23 Thread Jonathan Gray
On Tue, Jan 23, 2024 at 11:52:01AM +, Alex Frolkin wrote: > Hi all, > > Has anyone had any success with getting a Huawei (Vodafone-branded) > K5161h 4G dongle working on OpenBSD? > > It looks like it should work with the umb(4) driver, but the problem is > getting it into the right mode.

drm on MacBook Air (M1)

2024-01-23 Thread Jan Stary
This is current/arm64 on an M1 MacBook Air; current dmesg and previous dmesg below. The biggest difference seems to be drm replacing simplefb (thank you): -"dcp" at simplebus0 not configured -"display-subsystem" at simplebus0 not configured +apldcp0 at simplebus0 +apldrm0 at simplebus0 +drm0 at

Re: drm on MacBook Air (M1)

2024-01-23 Thread Jan Stary
On Jan 23 21:09:10, h...@stare.cz wrote: > these are the errors drm reports: > > Jan 23 15:03:49 mb /bsd: drm:pid35173:iomfb_poweroff_v12_3 *ERROR* > dcp_poweroff() done > Jan 23 15:27:35 mb /bsd: drm:pid35173:iomfb_poweron_v12_3 *ERROR* > dcp_poweron() starting > Jan 23 16:05:40 mb /bsd:

Asynchronous write()/send()?

2024-01-23 Thread illegalcoding
Hi, I'm writing a program that uses sockets, and am facing a problem where I think some threads block on a send() forever. I thought I could solve this by using an asynchronous write, and setting a timeout, but I cannot find anything about this on OpenBSD. Is this just not available? I

Huawei K5161h 4G dongle

2024-01-23 Thread Alex Frolkin
Hi all, Has anyone had any success with getting a Huawei (Vodafone-branded) K5161h 4G dongle working on OpenBSD? It looks like it should work with the umb(4) driver, but the problem is getting it into the right mode. When I plug it in, it appears as a USB CD drive, and there are magic commands

Re: Huawei K5161h 4G dongle

2024-01-23 Thread Zé Loff
On Tue, Jan 23, 2024 at 11:52:01AM +, Alex Frolkin wrote: > Hi all, > > Has anyone had any success with getting a Huawei (Vodafone-branded) > K5161h 4G dongle working on OpenBSD? > > It looks like it should work with the umb(4) driver, but the problem is > getting it into the right mode.