Go to advanced search

by lrhorer
Mon Jun 29, 2020 5:26 am
Forum: Automation, sensing and robotics
Topic: Solved: Creating keyboard status lights
Replies: 4
Views: 227

Re: Creating keyboard status lights

Thanks. I am using the following Python code to read /dev/input/event1. I think this will get me there. #! /usr/bin/python3 import asyncio from evdev import InputDevice, categorize, ecodes dev = InputDevice('/dev/input/event1') async def helper(dev): async for ev in dev.async_read_loop(): print(repr...
by lrhorer
Thu Jun 25, 2020 7:37 pm
Forum: Advanced users
Topic: Adding an OS to an existing SSD System
Replies: 11
Views: 558

Re: Adding an OS to an existing SSD System

Which I have not, as yet, had a chance to investigate. My time is limited, and this is not at the top of my priorities. I hope to get back to this some time within the next two weeks.
by lrhorer
Sun Jun 21, 2020 8:01 am
Forum: Advanced users
Topic: Adding an OS to an existing SSD System
Replies: 11
Views: 558

Re: Adding an OS to an existing SSD System

fruitoftheloom wrote:
Thu Jun 18, 2020 6:05 am
Have you asked the developers of BerryBoot ?
Yes. So far I have had no response
by lrhorer
Fri Jun 19, 2020 8:45 pm
Forum: Automation, sensing and robotics
Topic: Solved: Creating keyboard status lights
Replies: 4
Views: 227

Re: Creating keyboard status lights

Hmm. I could have a script of some sort run an external command and then parse the result from stdin, then loop the process immediately, but that is very clunky. It well may not not respond reliably in less than 50ms. I'm really looking for a hardware register, memory location, or something in /proc...
by lrhorer
Fri Jun 19, 2020 6:53 pm
Forum: Automation, sensing and robotics
Topic: Solved: Creating keyboard status lights
Replies: 4
Views: 227

Solved: Creating keyboard status lights

I have a Raspberry Pi with a wireless mouse and keyboard pair attached. For obvious reasons, the keyboard lacks status LEDs to indicate Capslock and Number Lock. I find this annoying at best. I could, of course, install a status bar app on the desktop, but I find that less than ideal. Is there a sim...
by lrhorer
Thu Jun 18, 2020 5:53 am
Forum: Advanced users
Topic: Adding an OS to an existing SSD System
Replies: 11
Views: 558

Adding an OS to an existing SSD System

I have a Newark Raspberry Pi Desktop system with Raspbian already installed on and booting from a 240G SSD. There is no micro-SD card installed at the moment. I would like to add a bootloader like Berryboot to the SSD so I can boot to other OS systems like OSMC. How can I accomplish this, preferably...
by lrhorer
Wed Jun 17, 2020 12:47 pm
Forum: Troubleshooting
Topic: SAMBA mount not persistent across reboot
Replies: 6
Views: 152

RESOLVED: SAMBA mount not persistent across reboot

That was it. Thanks!
by lrhorer
Mon Jun 15, 2020 10:55 pm
Forum: Troubleshooting
Topic: SAMBA mount not persistent across reboot
Replies: 6
Views: 152

Re: SAMBA mount not persistent across reboot

let me guess... you've set the network share to mount via fstab but have not set the "wait for network" in raspi-config.... No, I didn't. I have it set now, and I will give it a shot when I get to the unit. (I am working remotely at the moment.) Honestly, that is pretty obscure, if you ask me. Firs...
by lrhorer
Mon Jun 15, 2020 10:43 pm
Forum: Troubleshooting
Topic: SAMBA mount not persistent across reboot
Replies: 6
Views: 152

Re: SAMBA mount not persistent across reboot

If I did not have the correct UUID, it would not mount at all now, would it? 'Not the issue.
by lrhorer
Mon Jun 15, 2020 10:23 pm
Forum: Troubleshooting
Topic: VLC acting up
Replies: 0
Views: 57

VLC acting up

I am running VLC to play videos on one of my Raspberry Pi 3B+ systems. I upgraded to Buster and increased the video memory, and the problem is less pronounced, but still pretty bad. Both the video and sometimes the audio will jerk, stutter, or freeze. The video will sometimes pixellate. It seems to ...
by lrhorer
Mon Jun 15, 2020 10:04 pm
Forum: Troubleshooting
Topic: SAMBA mount not persistent across reboot
Replies: 6
Views: 152

SAMBA mount not persistent across reboot

I have a raspberry Pi 3B+ that is not properly retaining an SMB mount across reboots. In order to get the share to mount I must issue the `mount -a` command as root. Afterwards, the share shows up properly. The share is world readable and writeable and no password is required to mount it. None of my...
by lrhorer
Mon Jun 15, 2020 9:57 pm
Forum: Advanced users
Topic: Screen blanking issue
Replies: 1
Views: 110

Screen blanking issue

I have a Raspberry P 3B+ that has a desktop blanking issue. It is running Buster with lightdm as the display manager. When the system is idle for a time, the display dutifully blanks, but then in a few seconds it un-blanks for no reason whatsoever. There are no applications running on the desktop an...
by lrhorer
Mon Jun 15, 2020 9:42 pm
Forum: Advanced users
Topic: External control from Pi Desktop
Replies: 0
Views: 89

External control from Pi Desktop

I have two different Raspberry Pi systems on which I need to deploy the same capabilities. Both are Raspberry Pi 3B+ boards. Both are running Buster with lightdm as the display manager. I need to capture the screen status - blanked or live - and pass this to one of the GPIO pins. Where can I find th...
by lrhorer
Mon Aug 12, 2019 1:56 am
Forum: Advanced users
Topic: systemd module not working
Replies: 13
Views: 1019

Re: systemd module not working

No, I did not know that, and I will try it, but that only solves the issue with varlog. The other services still start way too soon, no matter what I have tried. I have not been able to work on this the last few days and won't again until later in the week, because the system is down for hardware mo...
by lrhorer
Sat Aug 03, 2019 2:56 am
Forum: Advanced users
Topic: systemd module not working
Replies: 13
Views: 1019

Re: systemd module not working

It still happens.
by lrhorer
Fri Aug 02, 2019 1:19 am
Forum: Advanced users
Topic: systemd module not working
Replies: 13
Views: 1019

Re: systemd module not working

Thu 1 Aug 19:44:32 CDT 2019 varlog started 1564706673.4285336 Thu 1 Aug 19:44:33 CDT 2019 varlog finished 1564706673.6966412 tclient started 19:44:34 1564706674.128445 tclient started 19:44:44 1564706684.7160547 tclient enters loop 19:44:44 1564706684.7177026 tserver started 19:44:34 1564706674.0341...
by lrhorer
Thu Aug 01, 2019 4:31 pm
Forum: Advanced users
Topic: systemd module not working
Replies: 13
Views: 1019

Re: systemd module not working

Have you ever seen any output from a start command? I don't recall ever having done so: HVAC-Relay1:~# systemctl start varlog HVAC-Relay1:~# systemctl start tserver HVAC-Relay1:~# systemctl start tclient I posted the relevant entries in syslog. Journalctl doesn't really show anything different. Aug ...
by lrhorer
Thu Aug 01, 2019 3:40 pm
Forum: Advanced users
Topic: systemd module not working
Replies: 13
Views: 1019

Re: systemd module not working

As I said, it starts normally when I run it manually after boot: HVAC-Relay1:~# systemctl status varlog.service ● varlog.service - Create directories in /var/log Loaded: loaded (/lib/systemd/system/varlog.service; enabled; vendor preset: enabled) Active: inactive (dead) since Thu 2019-08-01 10:20:43...
by lrhorer
Thu Aug 01, 2019 2:49 pm
Forum: Advanced users
Topic: systemd module not working
Replies: 13
Views: 1019

Re: systemd module not working

My logic is not backwards. They do depend upon it, and it runs, doesn't work which means they fail, which is exactly what I said in my post. Note I have made varlog dependent upon local-fs.target ( I tried other targets and services, as well), which creates the local file systems. Obviously, in orde...
by lrhorer
Thu Aug 01, 2019 1:22 pm
Forum: Advanced users
Topic: systemd module not working
Replies: 13
Views: 1019

systemd module not working

I am running a headless Raspberry Pi 2 as a simple relay controller. In order to work properly, I need certain directories and files to exist at boot time, so I created a simple BASH script and made it a systemd service. It isn't working, however. I can run the script after the system boots, and it ...
by lrhorer
Tue Jul 09, 2019 11:45 am
Forum: Raspberry Pi OS
Topic: archive.raspberrypi.org error
Replies: 16
Views: 10998

Re: archive.raspberrypi.org error

The main question here is, "Why is apt trying to get resources from a target in Wheezy?" We are on Stretch, and the sources.list file only contains: deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi I don't see any way this could be anything but errata in the distrib...
by lrhorer
Thu Jun 27, 2019 5:35 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Do GPIO output pins bounce?
Replies: 3
Views: 559

Do GPIO output pins bounce?

Does anyone know if setting or re-setting a GPIO output pin to its current status will cause the pin to bounce? IOW, if the pin is set high, and one issues a command in Python to set the pin high, does it momentarily drop low, or vice-versa?
by lrhorer
Sun May 26, 2019 12:00 am
Forum: Advanced users
Topic: New Problem in chromium
Replies: 2
Views: 744

Re: New Problem in chromium

Hey! That fixed it. 'Great advice, and thanks a million.
by lrhorer
Sat May 25, 2019 12:18 pm
Forum: Advanced users
Topic: New Problem in chromium
Replies: 2
Views: 744

New Problem in chromium

I am having a weird screen issue that was not there before. I don't know why it was OK before, why it has popped up, or how to fix it. It most likely has to do with some issue I created while reducing the writes to disk in an attempt to extend the life of the SD card. Prior to this, the screen was p...
by lrhorer
Fri May 10, 2019 4:52 am
Forum: Advanced users
Topic: Seeking the illusive zero write
Replies: 14
Views: 1674

Re: Seeking the illusive zero write

I still need to do some investigation into zram, but in the meantime, I have reduced the writes to the SD card tremendously. There are a few things that remain the highest write rate on the card: 1. Directory updates. In particular, even though the sub-directories are tmpfs mounts, the listing of se...

Go to advanced search