Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Direwolf
- Messages
Search
Re: Heads up: New Raspberry Pi OS Bookworm 12.2 OS upgrade breaks Direwolf v1.7 GPIO pin access
¿ªÔÆÌåÓýJust the opposite. I was asking if all I need to do is add?gpiod?and?libgpiod-dev to the updated Bookworm and change my direwolf.conf file.? I'm already running DW 1.8A. You will still need to re-compile Direwolf 1.8A once the libgpiod-dev package is installed so it can been seen and linked in.? See this output of a new build on a 64bit Raspberry Pi OS Bookworm 12.2.4 Rpi: -- Starting Cmake stage -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.39.2") -- Dire Wolf Version: 1.8.0-e41a7f2 -- Build type set to: Release CMake system: Linux -- Target architecture: ARM64 -- Use NEON SIMD instructions -- Looking for strlcpy -- Looking for strlcpy - not found -- Looking for strlcat -- Looking for strlcat - not found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE? -- Checking for module 'libgps' --?? Found libgps, version 3.22 -- Found GPSD: /usr/lib/aarch64-linux-gnu/libgps.so -- Checking for module 'hamlib' --?? Package 'hamlib', required by 'virtual:world', not found -- Could NOT find hamlib (missing: HAMLIB_LIBRARY HAMLIB_INCLUDE_DIR) -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Found gpiod: /usr/lib/aarch64-linux-gnu/libgpiod.so??? <------------------------------------------------------------------------------ -- Found ALSA: /usr/lib/aarch64-linux-gnu/libasound.so (found version "1.2.8") -- Checking for module 'libudev' --?? Found libudev, version 252 -- Found udev: /usr/lib/aarch64-linux-gnu/libudev.so? -- Could NOT find Avahi (missing: AVAHI_COMMON_FOUND AVAHI_CLIENT_FOUND) -- Configuring done -- Generating done -- Build files have been written to: /usr/src/archive/Rpi-scratch/direwolf/direwolf/direwolf-1.8.0-A-e41a7f2/build -- |
Re: Direwolf as a Raspberry Pi 3B+ tracker only
nicholstribe@... <nicholstribe@...> wrote:
Any way to add a short line of text to the TBEACON packet string?comment="text" have you seen the user guide? page 79 starts with beaconing and a few pages the TBEACON and smartbeaconing is explained. HTH -dominic -- Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment. - Buddha |
Re: Direwolf as a Raspberry Pi 3B+ tracker only
nicholstribe@... <nicholstribe@...> wrote:
On Sun, Mar 17, 2024 at 05:24 AM, Michael WA7SKG wrote:The `1` on the end of the @reboot line got lost. btw, to just print the actual users crontab you can use `crontab -l` Still nothing, no auto start as of yet.-dominic -- Far and away the best prize that life has to offer is the chance to work hard at work worth doing. - Theodore Roosevelt |
Re: Direwolf as a Raspberry Pi 3B+ tracker only
John, Thanks so much, works absolutely awesome.?
Question on the SMARTBEACINING, if there is no movement does it stop altogether or just wait the max.? I will have to play with that setting to get it like i would need if I can get it to function. 73 and thanks to a great group. Ed AK7AN |
Re: Heads up: New Raspberry Pi OS Bookworm 12.2 OS upgrade breaks Direwolf v1.7 GPIO pin access
¿ªÔÆÌåÓýAre you asking if you can switch to gpiod on an older non-Bookworm version OS?? If so, there might be other dependencies you will also have to install but I can confirm that gpiod is in Bullseye, Buster, and even Stretch has gpiod.? To be clear, you will also need to switch to using the Direwolf "Dev" branch which has the new Direwolf v1.8 code, recompile Direwolf, and use that new version. --David KI6ZHD On 03/17/2024 10:06 AM, dtmenges@...
via groups.io wrote:
As I noted in an earlier response, I ran into this yesterday right after an update. I would rather bite the bullet now rather than in the future. For Direwolf, is this a simple matter of installing gpiod and libgpiod-dev and then changing the direwolf.conf file? |
Re: Heads up: New Raspberry Pi OS Bookworm 12.2 OS upgrade breaks Direwolf v1.7 GPIO pin access
As I noted in an earlier response, I ran into this yesterday right after an update. I would rather bite the bullet now rather than in the future. For Direwolf, is this a simple matter of installing gpiod and libgpiod-dev and then changing the direwolf.conf file?
Dave WB9TEN |
Re: Heads up: New Raspberry Pi OS Bookworm 12.2 OS upgrade breaks Direwolf v1.7 GPIO pin access
No different than the
ethernet / wifi naming issue removal / changing of the camera functionality any other number of changes made by the program developers @ RPiFoundation, who have by actions have shown they have changed their focus to the commercial side instead of what gave them the capabilities to create in the first place. I gave up on them a few reversions back. In order to 'beat the system' I began using the tool that they use to build my own images with the reversals enabled to maintain the software I used, but I've given that up because they made no way to reverse the most recent changes. I'm on debian 11 and debian 12 for almost everything, using m73TFF and Lenovo ideapad 3s running xcp-ng and docker to multi-task my tools...? -- = = = = ? Kevin? --? KD9EFV |
Re: Heads up: New Raspberry Pi OS Bookworm 12.2 OS upgrade breaks Direwolf v1.7 GPIO pin access
Yah, this is an epic disaster for five reasons,
1) breaks every gpio document on the internet 2) breaks direwolf 3) gpiozero (the lauded replacement) burns half a cpu just to monitor a button, nobody there cares 4) gpiod requires 30 lines of python to monitor a button 5) You need different code depending on which Pi model you're using it's a huge disservice to the educational/pi community. imho, -craig KM6LYW |
Re: Direwolf as a Raspberry Pi 3B+ tracker only
Thanks for the replies.
Lee, thats eactly where I started. Didn't work for me as configured, I changed the "pi" to my home dir and it would give me 340+ lines on the journal file. I kept making little changes until I got to where I am and it looks like it almost starts. Andrew, While I understand your point about what the software is first and foremost, I got the idea right from the direwolf gihub page. doc/Raspberry-Pi-APRS-Tracker.pdf I can run the direwolf command in CLI and it functions as I would like, just would like to be able to auto start it. Look up AK7AN-3 to see the output on APRS.fi Still working on it Thanks Ed AK7AN |
Re: Direwolf as a Raspberry Pi 3B+ tracker only
The fundamental problem here is that Direwolf is a audio-to-packet TNC first and foremost, so it expects to have some sort of audio interface to a radio to receive and send AX.25 packet tones. It is not meant to operate without such an interface. That's why Direwolf keeps exiting when it can't find the audio interface.
If you really want a "tracker" that must not use AX.25 packet over a radio, don't use Direwolf. :-) That is what programs like aprx are for. Andrew, KA2DDO ________________________________________ From: [email protected] <[email protected]> on behalf of nicholstribe@... <nicholstribe@...> Sent: Sunday, March 17, 2024 11:05 AM To: [email protected] Subject: Re: [direwolf] Direwolf as a Raspberry Pi 3B+ tracker only I haven't had any luck with crontab -e, so I built s systemd file direwolf.service. Here is what it looks like. [cid:[email protected]] I run sudo systemctl start direwolf look at journalctl -xeu direwolf.service and here is the out put... Looks like I am almost there.. What do I need to change or add to keep it from exiting [cid:[email protected]] Thanks for the help in advance... Ed AK7AN |
Re: Direwolf as a Raspberry Pi 3B+ tracker only
I haven't had any luck with crontab -e, so I built s systemd file direwolf.service.? Here is what it looks like.
I run sudo systemctl start direwolf look at?journalctl -xeu direwolf.service and here is the out put... Looks like I am almost there.. What do I need to change or add to keep it from exiting Thanks for the help in advance... Ed AK7AN |
Re: Direwolf as a Raspberry Pi 3B+ tracker only
Your crontab entry is trying to run the program every minute. You want
toggle quoted message
Show quoted text
it like this: @reboot /home/ak7an/dw-start.sh >/dev/null 2>&1 Michael WA7SKG nicholstribe@... wrote on 3/17/24 4:12 AM: I was able to get this solved and it is working just fine from the CLI. |
Re: Direwolf as a Raspberry Pi 3B+ tracker only
I was able to get this solved and it is working just fine from the CLI. I am now trying to get the autostart function running and am hitting a brick wall.
Here is my crontab -e I have verified dw-start.sh at that location in the directory. RUNMODE=CLI Does not autostart on reboot. I can run? direwolf from the CLI and it starts just fine. Any suggestions and help would be greatly appreciated. Thanks Ed AK7AN |
Direwolf as a Raspberry Pi 3B+ tracker only
Trying to setup a Raspberry Pi 3B+ running Bookworm as a tracker only. I went through the Direwolf install process without setting up a radio, soundcard, and PTT. Added GPSD, was never able to see my device on /ttyAMCO, however I see it on /tty/USB0.? Recompiled after all the GPSD installs. I can run cgps -s and see all the sat info and Lat/Lon, altitude etc. Edited the direwolf.conf, set MYCALL to AK7AN-3, generated a password entered that and selected noam for my server, added GPSD line,and TBEACON EVERY=1 SYMBOL=truck alt=1. Here is a snip of my ssh screen
It looks to me like it is trying to send my info via a radio, which I am not using, and not sending to the APRS server.. What do I need to change to geet it to send my packets to the server instead of trying to send via a radio? Thanks? Ed AK7AN |
Re: Heads up: New Raspberry Pi OS Bookworm 12.2 OS upgrade breaks Direwolf v1.7 GPIO pin access
+1 for the heads up. There will either have to be more changes in direwolf, or some additions to documentation for rpi gpio ptt. On a pi5 using gpio 17 for ptt, `ptt GPIOD gpiochip4 -17` worked fine for me. Notice the inverted logic; it appears direwolf gpiod is using active low.
|
to navigate to use esc to dismiss