projects | pushover | github | twitter | rss | contact
July 2019

Touchpad, Interrupted

posted to writings on jul 28th, 2019 with tags debugging, laptops, and openbsd and commented on 12 times

For two years I've been driving myself crazy trying to figure out the source of a driver problem on OpenBSD: interrupts never arrived for certain touchpad devices. A couple weeks ago, I put out a public plea asking for help in case any non-OpenBSD developers recognized the problem, but while debugging an unrelated issue over the weekend, I finally solved it.

It's been a long journey and it's a technical tale, but here it is.

Continue reading 2,878 words...

November 2018

OpenBSD in Stereo with Linux VFIO

posted to writings on nov 12th, 2018 with tags debugging, laptops, linux, and openbsd and commented on 11 times

I use a Huawei Matebook X as my primary OpenBSD laptop and one aspect of its hardware support has always been lacking: audio never played out of the right-side speaker. The speaker did actually work, but only in Windows and only after the Realtek Dolby Atmos audio driver from Huawei was installed. Under OpenBSD and Linux, and even Windows with the default Intel sound driver, audio only ever played out of the left speaker.

Now, after some extensive reverse engineering and debugging with the help of VFIO on Linux, I finally have audio playing out of both speakers on OpenBSD.

Continue reading 2,059 words...