Open tpalmatier opened 6 months ago
Hi Terry,
Can you confirm if you've gone through the first time install notes? Basically it's just one line in the command prompt:
sudo snap connect chirp-snap:raw-usb
Thanks!
Yes, I tried that.
Terry AC8NR
From: Tony F @.> Sent: Monday, February 5, 2024 9:52 AM To: goldstar611/chirp @.> Cc: tpalmatier @.>; Author @.> Subject: Re: [goldstar611/chirp] Raspberry Pi 5 (Issue #9)
Hi Terry,
Can you confirm if you've gone through the first time install notes? Basically it's just one line in the command prompt: sudo snap connect chirp-snap:raw-usb
Thanks!
— Reply to this email directly, view it on GitHubhttps://github.com/goldstar611/chirp/issues/9#issuecomment-1927178535, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALWPCIEAE2QAQNGZXTLXSD3YSDWZXAVCNFSM6AAAAABC2I34C2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRXGE3TQNJTGU. You are receiving this because you authored the thread.Message ID: @.***>
Hi Terry,
Are there any other details you can pass along?
Maybe the brltty
service is taking over the USB to serial adapter. Check https://chirp.danplanet.com/issues/9877 for notes on how to disable brltty
if installed.
Tony
I tried this as well but to no avail. I'm not sure what other details I can pass along but let me try.
When I open the program, if I plug a programming cable into the USB port before trying to open the Radio Menu, it will not open. When I open the Radio Program before plugging a programming cable into the USB port it will actually open but when I plug the cable in it doesn't show what cable is plugged in.
I hope you understand what I am trying to say.
I have contacted Canonical and they are also looking into it. Mostly we just play phone tag. Hopefully they will be of some help.
Terry AC8NR
From: Tony F @.> Sent: Tuesday, February 6, 2024 3:41 PM To: goldstar611/chirp @.> Cc: tpalmatier @.>; Author @.> Subject: Re: [goldstar611/chirp] Raspberry Pi 5 (Issue #9)
Hi Terry,
Are there any other details you can pass along?
Maybe the brltty service is taking over the USB to serial adapter. Check https://chirp.danplanet.com/issues/9877 for notes on how to disable brltty if installed.
Tony
— Reply to this email directly, view it on GitHubhttps://github.com/goldstar611/chirp/issues/9#issuecomment-1930716612, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALWPCIGR22E3FR46VLQVLL3YSKIPFAVCNFSM6AAAAABC2I34C2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZQG4YTMNRRGI. You are receiving this because you authored the thread.Message ID: @.***>
What is the output of the groups
command? You should be in the dialout
group to access /dev/tty* devices.
I'm not sure I understand the question. I did go to the terminal and type sudo usermod -aG dialout terry.
Terry AC8NR
From: Tony F @.> Sent: Wednesday, February 7, 2024 3:23 PM To: goldstar611/chirp @.> Cc: tpalmatier @.>; Author @.> Subject: Re: [goldstar611/chirp] Raspberry Pi 5 (Issue #9)
What is the output of the groups command? You should be in the dialout group to access /dev/tty* devices.
— Reply to this email directly, view it on GitHubhttps://github.com/goldstar611/chirp/issues/9#issuecomment-1932805548, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALWPCIBLCSEZQH64VLWTIFDYSPPELAVCNFSM6AAAAABC2I34C2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSHAYDKNJUHA. You are receiving this because you authored the thread.
Oh, that answers my question. Sorry I didn't ask it in a more straight forward way.
If you get a chance, can you post the output of these two commands:
ls -alh /dev/tty*
and run this one right after you plug in the usb to serial adapter
sudo dmesg | tail -n 20
Thanks!
To answer your question about output it says ttyAMA10(ttyAMA10). I think that's what you were asking me about before.
So, I tried this last suggestion and nothing changed. I think it's supposed to say ttyUSB0 but nothing changed.
Terry AC8NR
From: Tony F @.> Sent: Wednesday, February 7, 2024 3:40 PM To: goldstar611/chirp @.> Cc: tpalmatier @.>; Author @.> Subject: Re: [goldstar611/chirp] Raspberry Pi 5 (Issue #9)
Oh, that answers my question. Sorry I didn't ask it in a more straight forward way.
If you get a chance, can you post the output of these two commands: ls -alh /dev/tty* and run this one right after you plug in the usb to serial adapter sudo dmesg | tail -n 20
Thanks!
— Reply to this email directly, view it on GitHubhttps://github.com/goldstar611/chirp/issues/9#issuecomment-1932831512, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALWPCIGUPFW2MT35MFBA2Z3YSPRCXAVCNFSM6AAAAABC2I34C2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSHAZTCNJRGI. You are receiving this because you authored the thread.Message ID: @.***>
Sorry, you asked me to post the output of these two commands. I don't know how to do that.
Terry AC8NR
From: Tony F @.> Sent: Wednesday, February 7, 2024 3:40 PM To: goldstar611/chirp @.> Cc: tpalmatier @.>; Author @.> Subject: Re: [goldstar611/chirp] Raspberry Pi 5 (Issue #9)
Oh, that answers my question. Sorry I didn't ask it in a more straight forward way.
If you get a chance, can you post the output of these two commands: ls -alh /dev/tty* and run this one right after you plug in the usb to serial adapter sudo dmesg | tail -n 20
Thanks!
— Reply to this email directly, view it on GitHubhttps://github.com/goldstar611/chirp/issues/9#issuecomment-1932831512, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALWPCIGUPFW2MT35MFBA2Z3YSPRCXAVCNFSM6AAAAABC2I34C2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZSHAZTCNJRGI. You are receiving this because you authored the thread.Message ID: @.***>
I think the easiest way to get the output is to connect the pi to a wireless network, login to github and copy/paste the terminal output here using firefox :)
Ok, so ttyUSB0 is listed with the dialout group. Let's check if the snap eco system is the problem here for a second. Can you try the AppImage version as a test?
https://github.com/goldstar611/chirp-appimage/releases/tag/20240229
I think you will need the -aarch64.AppImage file, mark it executable and run it from the command line to catch any errors.
Thanks, Tony
I am once again in over my head here. I don't know how to do this.
Terry AC8NR
From: Tony F @.> Sent: Tuesday, March 5, 2024 10:24 AM To: goldstar611/chirp @.> Cc: tpalmatier @.>; Author @.> Subject: Re: [goldstar611/chirp] Raspberry Pi 5 (Issue #9)
Ok, so ttyUSB0 is listed with the dialout group. Let's check if the snap eco system is the problem here for a second. Can you try the AppImage version as a test?
https://github.com/goldstar611/chirp-appimage/releases/tag/20240229
I think you will need the -aarch64.AppImage file, mark it executable and run it from the command line to catch any errors.
Thanks, Tony
— Reply to this email directly, view it on GitHubhttps://github.com/goldstar611/chirp/issues/9#issuecomment-1979025086, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALWPCID5SLBQUKW6ZBU6C6DYWXPSNAVCNFSM6AAAAABC2I34C2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGAZDKMBYGY. You are receiving this because you authored the thread.Message ID: @.***>
No worries, I know that we're all at differing levels on linux and that my previous instructions were vague.
On the pi5 that's connected to wifi, open the terminal app and run these commands. It will download the CHIRP app image, make it runnable, then try to launch CHIRP as an app image.
cd ~/Downloads
wget https://github.com/goldstar611/chirp-appimage/releases/download/20240229/Chirp-next-20240229-aarch64.AppImage
wget https://github.com/goldstar611/chirp-appimage/releases/download/20240229/Chirp-next-20240229-armhf.AppImage
chmod +x *.AppImage
if ! ./Chirp-next-20240229-aarch64.AppImage; then
./Chirp-next-20240229-armhf.AppImage
fi
sudo apt install libfuse2
should fix that error.
I see a warning and two errors, but did CHIRP open?
Yes. It opened and I was able to download a Baofeng UV-5R and save it to file.
From: Tony F @.> Sent: Tuesday, March 5, 2024 9:37 PM To: goldstar611/chirp @.> Cc: tpalmatier @.>; Author @.> Subject: Re: [goldstar611/chirp] Raspberry Pi 5 (Issue #9)
I see a warning and two errors, but did CHIRP open?
— Reply to this email directly, view it on GitHubhttps://github.com/goldstar611/chirp/issues/9#issuecomment-1979972762, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALWPCIFE66TT2GFETG4E7ULYWZ6NDAVCNFSM6AAAAABC2I34C2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZHE3TENZWGI. You are receiving this because you authored the thread.Message ID: @.***>
I've been trying to reproduce this behavior in Ubuntu 23.10 and I think I got it. What I saw was that CHIRP opened, but when I clicked Radio -> Download from Radio, nothing happened. No dialog opened for me as usual.
Can you:
Then, can you run the command below in a terminal and paste the output back here?
sudo dmesg | grep chirp-snap
I'm interested to see what, if any, AppArmor denials are in dmesg related to chirp-snap.
Thanks
terry@terry-desktop:~$ sudo dmesg | grep chirp-snap
[sudo] password for terry:
[ 125.566009] audit: type=1400 audit(1710014154.631:227): apparmor="DENIED" operation="open" class="file" profile="snap.chirp-snap.chirp" name="/etc/issue.net" pid=3761 comm="python3" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 128.698153] audit: type=1400 audit(1710014157.763:228): apparmor="DENIED" operation="open" class="file" profile="snap.chirp-snap.chirp" name="/usr/share/locale/" pid=3761 comm="python3" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 128.703112] audit: type=1400 audit(1710014157.767:229): apparmor="DENIED" operation="open" class="file" profile="snap.chirp-snap.chirp" name="/usr/share/locale/" pid=3761 comm="python3" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 157.073818] audit: type=1400 audit(1710014186.138:230): apparmor="DENIED" operation="open" class="file" profile="snap.chirp-snap.chirp" name="/sys/devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb4/4-2/bNumInterfaces" pid=3761 comm="python3" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
terry@terry-desktop:~$
Thanks Terry, that's perfect. That last denied message gives me enough info to ask the snapcrafters team how to proceed.
Thanks for all your efforts on this Tony.
Terry AC8NR
From: Tony F @.> Sent: Saturday, March 9, 2024 3:25 PM To: goldstar611/chirp @.> Cc: tpalmatier @.>; Author @.> Subject: Re: [goldstar611/chirp] Raspberry Pi 5 (Issue #9)
Thanks Terry, that's perfect. That last denied message gives me enough info to ask the snapcrafters team how to proceed.
— Reply to this email directly, view it on GitHubhttps://github.com/goldstar611/chirp/issues/9#issuecomment-1986968023, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALWPCIFM7JZ6U2M3J563XL3YXNV3BAVCNFSM6AAAAABC2I34C2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWHE3DQMBSGM. You are receiving this because you authored the thread.Message ID: @.***>
CHIRP-Snap doesn't seem to work on Raspberry Pi 5 running Ubuntu 23.10. I can't download from radio. The Radio menu doesn't appear to be working at all.