RadDevon

joined 2 years ago
[–] RadDevon@lemmy.zip 6 points 4 weeks ago

I moved from the city I grew up in and gave away my car on the way out. That was in 2017, and I haven’t owned a car since. I drive extremely rarely — used to rent a car for a few hours every couple of months to run this or that errand in the Pacific Northwest US. I’ve since moved to a larger city with better transit on the US east coast. I live in the center city and can’t imagine any reason I would need to drive at this point. It’s been a few years since I’ve driven a car.

How practical it is will depend heavily on your lifestyle and where you live. If you’re in most parts of the US, the default assumption is that you will drive a car, and you will be excluded from many things if you don’t. If you already live in a place that is conducive, are willing to move to a place that is, or can otherwise structure your life in such a way that doesn’t require it, you can absolutely do it. There are certainly trade-offs, but you couldn’t pay me enough money to go back to a car-centric life.

[–] RadDevon@lemmy.zip 9 points 1 month ago

I emailed support about this, and they replied telling me they had adjusted some configuration to try to fix the problem. Seems like it was an unintended result of some other change.

[–] RadDevon@lemmy.zip 1 points 1 month ago (1 children)

These are the dongles that came with the keyboards, so they’re paired out-of-the-box (although I have also used the process for re-pairing them). They are just connected to a USB port on the computer, so not really permanent, but I do leave them connected. Not both at the same time, but each in turn. Hope that answers your question, but I’m not 100% sure I understood it.

[–] RadDevon@lemmy.zip 1 points 1 month ago* (last edited 1 month ago)

Since posting this, I've also tried installing powertop and checking the tunables. According to lsof -t, the dongle is connected directly to the root hub (under only xHCI host controller). I noticed in powertop that those controllers were still under power management, so I disabled them. That didn't seem to help. The keyboard still lost connection.

[–] RadDevon@lemmy.zip 2 points 1 month ago

Thanks for taking a look. Nothing in dmesg. I'm using the keyboard wired at the moment. That top entry happened when I disconnected USB. I flipped to 2.4GHz and tested the OS key which worked. Tested it periodically until it didn't work but there were no additional log entries. The rest of the log entries happened when I reconnected USB.

[Mon May 26 11:07:31 2025] usb 1-12: USB disconnect, device number 8
[Mon May 26 11:14:00 2025] usb 1-12: new full-speed USB device number 10 using xhci_hcd
[Mon May 26 11:14:00 2025] usb 1-12: New USB device found, idVendor=fffe, idProduct=0082, bcdDevice= 1.07
[Mon May 26 11:14:00 2025] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Mon May 26 11:14:00 2025] usb 1-12: Product: M67
[Mon May 26 11:14:00 2025] usb 1-12: Manufacturer:  
[Mon May 26 11:14:00 2025] input:   M67 as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/0003:FFFE:0082.0017/input/input46
[Mon May 26 11:14:00 2025] hid-generic 0003:FFFE:0082.0017: input,hidraw0: USB HID v1.11 Keyboard [  M67] on usb-0000:00:14.0-12/input0
[Mon May 26 11:14:00 2025] hid-generic 0003:FFFE:0082.0018: hiddev96,hidraw1: USB HID v1.11 Device [  M67] on usb-0000:00:14.0-12/input1
[Mon May 26 11:14:00 2025] input:   M67 Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.2/0003:FFFE:0082.0019/input/input47
[Mon May 26 11:14:00 2025] input:   M67 System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.2/0003:FFFE:0082.0019/input/input48
[Mon May 26 11:14:00 2025] input:   M67 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.2/0003:FFFE:0082.0019/input/input49
[Mon May 26 11:14:00 2025] input:   M67 Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.2/0003:FFFE:0082.0019/input/input50
[Mon May 26 11:14:00 2025] hid-generic 0003:FFFE:0082.0019: input,hidraw2: USB HID v1.11 Mouse [  M67] on usb-0000:00:14.0-12/input2
[Mon May 26 11:14:02 2025] input: input-remapper   M67 Keyboard forwarded as /devices/virtual/input/input51

Are there other logs that would be good to check?

 

I'm on Bazzite Linux 42 and was having some trouble with my 2.4GHz wireless keyboard disconnecting, so I decided to replace it. The new one is having similar issues despite being a different brand (new: XVX, old: Royal Kludge), so I suspect the culprit may actually have been software all along. I have a 2.4GHz wireless mouse connected to the same system that is generally reliable, so I don't believe it's an issue of 2.4GHz interference. The keyboards work well when connected to my Mac, so I don't believe it's faulty hardware.

This keyboard has one feature that may be helpful in troubleshooting: it flashes an LED when it’s trying to reconnect. (The previous one had no indicator.) I can clearly see that, after the keyboard has been idle for a bit, it starts trying to reconnect again. I suspected a power management issue, but I believe I’ve disabled that. I started with a rule in /etc/udev/rules.d/:

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1038", ATTR{idProduct}=="1830", TEST=="power/control", ATTR{power/control}="on"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0c45", ATTR{idProduct}=="fefe", TEST=="power/control", ATTR{power/control}="on"

(These rules disable power management for both keyboard and mouse, just in case.) I got the IDs with lsusb. I’m assuming the part of the ID before the colon is the vendor ID and the part after is the product ID.

That didn’t seem to help at all, so I tried disabling USB power management with rpm-ostree kargs --append-if-missing="usbcore.autosuspend=-1". That made the problem better, but now it just seems to take longer (a couple of minutes) for the keyboard to lose connectivity. Also, now when it loses connectivity, it seems even disconnecting and reconnecting the dongle doesn't always fix it.

Anyone have ideas what I might try from here?

 

I'm in the process of setting up backups for my home server, and I feel like I'm swimming upstream. It makes me think I'm just taking the wrong approach.

I'm on a shoestring budget at the moment, so I won't really be able to implement a 3-2-1 strategy just yet. I figure the most bang for my buck right now is to set up off-site backups to a cloud provider. I first decided to do a full-system backup in the hopes I could just restore it and immediately be up and running again. I've seen a lot of comments saying this is the wrong approach, although I haven't seen anyone outline exactly why.

I then decided I would instead cherry-pick my backup locations instead. Then I started reading about backing up databases, and it seems you can't just back up the data directory (or file in the case of SQLite) and call it good. You need to dump them first and backup the dumps.

So, now I'm configuring a docker-db-backup container to back each one of them up, finding database containers and SQLite databases and configuring a backup job for each one. Then, I hope to drop all of those dumps into a single location and back that up to the cloud. This means that, if I need to rebuild, I'll have to restore the containers' volumes, restore the backups, bring up new containers, and then restore each container's backup into the new database. It's pretty far from my initial hope of being able to restore all the files and start using the newly restored system.

Am I going down the wrong path here, or is this just the best way to do it?

 

I'm running a Docker-based homelab that I manage primarily via Portainer, and I'm struggling with how to handle container updates. At first, I had all containers pulling latest, but I thought maybe this was a bad idea as I could end up updating a container without intending to. So, I circled back and pinned every container image in my docker-compose files.

Then I started looking into how to handle updates. I've heard of Watchtower, but I noticed the Linuxserver.io images all recommend not running Watchtower and instead using Diun. In looking into it, I learned it will notify you of updates based on the tag you're tracking for the container, meaning it will never do anything for my containers pinned to a specific version. This made me think maybe I've taken the wrong approach.

What is the best practice here? I want to generally try to keep things up to date, but I don't want to accidentally break things. My biggest fear about tracking latest is that I make some other change in a docker-compose and update the stack which pulls latest for all the container in that stack and breaks some of them with unintended updates. Is this a valid concern, and if so, how can I overcome it?