💾 Archived View for g.mikf.pl › gemlog › 2022-02-15-hp-obsd-current.gmi captured on 2023-01-29 at 03:11:36. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

🚧 View Differences

-=-=-=-=-=-=-

Setting up a HP device and switching OpenBSD to -current

2022-02-15

I am writing this post for a second time after I lost a pretty much finished one because TEdit on my old-ass tablet crashed on me with my Untitled file never once saved after I did some weird tap-tap on screen with a bt keyboard connected. I am now in WordGrinder on my HaikuOS laptop.

Damn it seems I can't have both Caps Lock and Ctrl be Left Control on HaikuOS.. maybe I will have Caps Lock be the only one?

Oh welp WordGrinder's ^LEFT ^RIGHT don't work in Haiku's Terminal, they open menus and 05C and 05D get typed.

We have recently gotten a HP DeskJet F4580 multifunctional device from friends. It has empty cartridges, has exclamation marks on its levels indicators, and that's probably what makes it blink error all the time.

We have suspected that's what causes it to not be connectable to Wireless with HP's utilities for Windows like HP Smart and HP Photosmart iirc the name. I have also previously tried the Android apps (HP Smart and i think HP ePrint?) which are supposed to connect to the printer first using some stuff like supposedly Bluetooth and what I'm guessing WiFi Direct but idk.

Damn I'm writing in a much different style this time.

In those Windows utilities and in the Windows settings, shown are statuses like "Printer not installed", drivers missing, "offline", "of unknown status".

And the device doesn't show up in system's scanner and HP Smart asks one to create an account to scan.

At one point I decided that what I am trying to accomplish must be much easier with hplip on *nix. So first I turned to my now-travel-laptop X220 running OpenBSD.

Like with some other programs in earlier times, I ended up getting library errors with bad major errors, when I tried to install hplip-gui.

Avahi being a dependency had a dependency on a different major of gdbm, among others. It turned out to be possibly related to how I was running release but have installed some ports from snapshot portstree.

As, I then learned that there is a -release system version and a -current version, the latter seemingly called the snapshot version as sysupgrade manual calls it. So I did `sysupgrade -s` and then I did `pkg_add -U hplip-gui` and after a long wait I had it installed. Wow I'm on -current now!

Then I turned to running hp-setup and it turned out that it fails to use lsusb. I ran lsusb as root and it turned out --help says I can input the bus/device numbers from there to the --auto option. But then it still couldn't access the device.

Oh I hope just adding my user to some group will fix the problem.

But at least I can clearly see that I will finally be able to set up Wireless on the printer as it was the first thing I was shown as a choice. The Windows utilities have it greyed out or impossible to find, something always doesn't work. Now it will be clear there is the one way to do it and then there's just trying to make it work.

Oh I wonder how many things from the previous iteration of this post I have not written in this one.