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
- KM4ACK-Pi
- Messages
Search
Re: /dev/ttyUSB0 not responding AND aliases
VK2AHB
With a call for help, Kevin VK2CKD suggested using?
? ? sudo lsof /dev/ttyUSB0 That told me that gpsd had a hold of it.? Funny, I didn't install the GPS bit. Anyway, killed that and flrig was happy, so was Pat Menu. Went and found Winlink stations, added their aliases fine.? Stopped and restarted Pat Menu but when I selected one of the stations, it did not put the frequency in the box.? So I entered a frequency and got this: ? ? ? QSY ardop: 7183.5
? ? ? ?2020/09/07 15:03:27 Unable to QSY: Unable to get rig frequency: dial tcp 127.0.0.1:4532: connect: connection refused 'flrig can change the frequency on the radio. Further testing showed that fldigi and js8call work fine.? When I rebooted, I had the same gpsd problem.? Killed that and started flrig OK. Pat Menu gives the same error as above. Paul VK2AHB |
AndyH
Jason,
? ?I'm running another install attempt of BAP on a Pi 4 2Gig box.? OS is the recommended Buster package. Internet is wired. ? ?Questions first: ? ?- When the script builds the Ruby gems for gps_client and maidenhead, into which directory are those downloaded? ? ?-? Same for specs.4.8.gz? where should it be placed when it's retrieved from via the Ruby API? ? Again tonight, the BAP script could not retrieve? both gems from the Ruby site.? The first error message included a URL for a specs.4.8.gz file.? As the script kept trying, I was able to open a Chromium browser window, enter the url for specs.4.8.gz, and it was downloaded very quickly. Same for maidenhead.? It appears the problem with the gem download isn't a problem with the gem server, at least not the https port. --- Processing triggers for man-db (2.8.5-2) ...
ERROR:? Could not find a valid gem 'gpsd_client' (>= 0), here is why:
? ? ? ? ? Unable to download data from https://rubygems.org/ - timed out (https://api.rubygems.org/specs.4.8.gz)
ERROR:? While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
? ? timed out (https://api.rubygems.org/quick/Marshal.4.8/maidenhead-1.0.1.gemspec.rz)
chmod: cannot access '/home/pi/bin/conky/temp-conv': No such file or directory
---? ?Post install (after 3rd reboot):? gpsd is running.? No grid in conky (no gps-client or maidenhead yet). ? ?73, Andy, KG5RKP |
/dev/ttyUSB0 not responding
VK2AHB
I have just re-flashed Buster and installed Build-a-pi.? flrig can't configure the USB port with? error? "Transceiver is not responding"
I tried flrig on the laptop and all is OK. ls -sal *USB*
0 crw-rw---- 1 root dialout 188, 0 Sep? 7 10:10 ttyUSB0
pi is a member of dialout group.??I've never seen this behaviour before. Paul VK2AHB ? |
Re: Linux Distro for Ham Radio
Definitely stick with a flavor of Ubuntu when your starting to learn linux. It uses most of the same programs a pi uses. Also like most have said the Mate desktop environment is also nice and lite if you don't mind old windows styling. Don't feel like you have to stick with one thing either because that's half the fun of using Linux.?
4GB of ram should be plenty for a ham shack unless you want to play with SDR stuff too. Ram is cheap enough that you may as well throw a stick in while you have the cover open. I'd also use a small cheap ssd for the OS and put /home on it's own partition.? -- 73 de KC0WBP |
Re: Enhancement request
Hi Jason Here it is? However I think it needs enhancement to correct the date in the 7300. Icom put?in a soldered rechargeable battery. To replace it one needs to disassemble the radio including undoing several delicate ribbon cables. ( Poor design) I did see a video detailing how to do this or replace with an AA cell. However squirting a few seconds of Python code via the Pi is more elegant. 73 Nigel M0NDE On Sun, 6 Sep 2020 at 14:01, km4ack <jason.oleham@...> wrote: Do you have a link to the video? --
73 de Nigel Evans Callsign: M0NDE QTH: Willington Locator: IO92fu GEO Shop shop@... ------------------------------------------------------------------------------ |
Re: GPS and Build-a-Pi V3
AndyH
TL;DR - no grid in Conky
toggle quoted message
Show quoted text
- gpsd isn't auto-starting even though it's supposed to according to /etc/default/gpsd - RTC isn't auto-starting (and install menu can't see that it's installed) ? -- I2C is activated and RTC's been installed from the initial menu and 3x from the BAP update menu - JS8Call Utilities won't save GPS information - it has to be re-connected each time it's started ? -- JS8Call Utilities does get grid from GPS - PAT shows as active/on in Conky on boot - have to killall to shut it down Not sure what to do next.? Looks I'll reflash the SD card with a fresh install of Buster, put the Pi on the shelf with the Pi1s and Pi2s, and keep using the Win10 laptop for radio stuff. Good luck to all. 73, Andy On Sat, Sep 5, 2020 at 11:37 PM, AndyH wrote: Ok...pulled the two zips of source from github.? Unzipped in Download.? Followed directions from here: |
Re: GPS and Build-a-Pi V3
AndyH
Ok...pulled the two zips of source from github.? Unzipped in Download.? Followed directions from here:
toggle quoted message
Show quoted text
gem build GEMNAME.gemspec?
gem install gemname-version.gem
I could build as user pi, but had to sudo to install due to an ownership/write permission error in /var/lib/gems/2.5.0 Example output: ----- pi@raspberrypi:~/Downloads/maidenhead-master $ gem build maidenhead.gemspec
WARNING:? open-ended dependency on minitest (>= 0, development) is not recommended
? if minitest is semantically versioned, use:
? ? add_development_dependency 'minitest', '~> 0'
WARNING:? open-ended dependency on guard (>= 0, development) is not recommended
? if guard is semantically versioned, use:
? ? add_development_dependency 'guard', '~> 0'
WARNING:? open-ended dependency on guard-minitest (>= 0, development) is not recommended
? if guard-minitest is semantically versioned, use:
? ? add_development_dependency 'guard-minitest', '~> 0'
WARNING:? open-ended dependency on rubysl (>= 0, development) is not recommended
? if rubysl is semantically versioned, use:
? ? add_development_dependency 'rubysl', '~> 0'
WARNING:? See http://guides.rubygems.org/specification-reference/ for help
? Successfully built RubyGem
? Name: maidenhead
? Version: 1.0.1
? File: maidenhead-1.0.1.gem
pi@raspberrypi:~/Downloads/maidenhead-master $ sudo gem install maidenhead-1.0.1.gem
Successfully installed maidenhead-1.0.1
Parsing documentation for maidenhead-1.0.1
Installing ri documentation for maidenhead-1.0.1
Done installing documentation for maidenhead after 0 seconds
WARNING:? Unable to pull data from 'https://api.rubygems.org/': IOError: HTTP session not yet started (https://api.rubygems.org/specs.4.8.gz)
1 gem installed
pi@raspberrypi:~/Downloads/maidenhead-master $?
-----
Time to reboot and see what I broke, I guess 73, Andy On Sat, Sep 5, 2020 at 11:18 PM, AndyH wrote: I rebooted again.? This time, on start-up: |
Re: GPS and Build-a-Pi V3
AndyH
I rebooted again.? This time, on start-up:
toggle quoted message
Show quoted text
$gpsmon gpsmon:ERROR: TCP device open error can't connect to host/port pair. $systemctl is-active gpsd inactive $sudo systemctl start gpsd $systemctl is-active gpsd active $gpsmon (gpsmon starts - tcp://localhost:2947) Gonna try to get the two ruby gems manually. more to follow... On Sat, Sep 5, 2020 at 09:41 PM, AndyH wrote: Did some more digging tonight and for some reason I cannot get gpsd to start.? I downloaded it manually using apt-get install, but it was already installed by default. |
Re: GPS and Build-a-Pi V3
AndyH
Did some more digging tonight and for some reason I cannot get gpsd to start.? I downloaded it manually using apt-get install, but it was already installed by default.
toggle quoted message
Show quoted text
Thing is, I can sudo killall gpsd and still get GPS data in cgps, xgps, and gpsmon.? gpsmon reports a tcp connection to localhost:2947 even with gpsd inactive. Additional info. $sudo systemctl restart gpsd A dependency job for gpsd.service failed. see 'journalctl -xe' for details. $journalctl -xe Sep 05 20:16:41 raspberrypi systemd[7789]: gpsd.docket: Failed to create listening socket ([::1]:2947): Address already in u Sep 05 20:16:41 raspberrypi systemd[1]: gpsd.socket: Failed to receive listening socket ([::1]:2947): Input/output error Sep 05 20:16:41 raspberrypi systemd[1]: gpsd.socket: failed to listen on sockets: Input/output error Sep 05 20:16:41 raspberrypi systemd[1]: gpsd.socket: Failed with result 'resources'. It seem that some process is communicating with the GPS outside of gpsd and is even serving up a TCP port. When I use ss -lntup, I see tcp? LISTEN? 0? 4096? *:5000? ?*:*? ? users:(("pat",pid-459,fd=6)) lsof -i tcp returns gpsmon 24331 pi 3u IPv6 147246? ?0t0? TCP? localhost:33368->localhost:gpsd (ESTABLISHED) The above entry disappears once I terminate the instance of gpsmon. I opened PAT but didn't configure it.? I've rebooted a number of times since opening it yesterday.? I've killall gpsd a number of times and the system reports that gpsd is not active.? But when I run gpsmon, it reports port 2947 is open - but that port doesn't show as active using lsof or ss. ? Don't know if that's useful or not.? I'm def missing something but I have no idea where to put the duct tape to pull these pieces together. 73, Andy On Sat, Sep 5, 2020 at 04:53 PM, AndyH wrote:
An additional finding, I think, is that Hamclock doesn't have a location, and YAAC can't connect to the GPS. |
Re: GPS and Build-a-Pi V3
AndyH
An additional finding, I think, is that Hamclock doesn't have a location, and YAAC can't connect to the GPS.
toggle quoted message
Show quoted text
While I'm a sometimes user of linux, I'm by no means fluent.? Books and Google usually get me there, though it sometimes requires bouts of coarse language and excessive amounts of coffee. hihihi.? It appears that the build-a-pi script calls for ruby2.3 in line 104 of "additional.function" (master repository) It then uses the gem install process to retrieve and install gpsd_client and maidenhead. Ruby 2.3 appears to be included in the Debian repository for Stretch.? The Ruby package included in the Debian Buster repository is Ruby 2.5.? I think that means that an explicit call for Ruby2.3 in the install script must fail unless we add the earlier repository and pull the package for the earlier distro . I found that Ruby 2.5 is installed on the Pi when the OS is burned onto the SD card. ruby --version returns: ruby 2.5.5p157 (2019-03-15 revision 67260) [arm-linux-gnueabihf] Manually entering sudo gem install gpsd_client resulted in a time-out with the report that: ERROR: Could not find a valid gem 'gpsd_client' (>= 0), here is why: Unable to download data from ?- timed out (https//api.rubygems.org/specs.4.8.gz) The result is the same when attempting to manually install maidenhead. ?Using a web browser, gpsd_client can be found at rubygems.org, as can maidenhead I manually installed the full ruby package using info from raspberry-pi.org After the full install, the result of attempting to retrieve gpsd_client and maidenhead was the same - timeout. The box also times-out when attempting to run any of the ruby commands intended to update ruby or update the installed gems. (for example:?sudo gem update --system No idea, guys - sorry. 73, Andy On Thu, Sep 3, 2020 at 04:12 PM, AndyH wrote: Fresh install report...?? |
Hot Spot solution
Given the troubles I had enabling the hotspot, I used an old Nano Router that I had laying around for use camping where It didn¡¯t have internet access. It allowed me to operate my TS2000 sitting by the campfire or lake. One advantage is I could position the hotspot with a 5V battery physically in between the station in my camp trailer an our spot on the beach.?
|
Re: VARA with PAT
VARA does seem to send/receive audio on Pi 4B using ExaGear Desktop running Wine?(though I haven't tested sending/receiving actual signals).? VARA could theoretically be hooked by Pat to send/receive signals, though since the VARA developers aren't interested in Linux. I think the best bet for getting VARA working on the Pi will be an x86 emulator running Wine running VARA on the Pi using either a custom i/o script (hooking into a command-line version of VARA maybe) or using RMS Express (also running on emulated?x86 w/ wine). On Sat, Sep 5, 2020 at 7:56 AM Bryan Waller <bryanw55@...> wrote: VARA is Windows only right now unfortunately. Last I read the developer had also stated he had no plans to bring it to Linux. |
to navigate to use esc to dismiss