Re: G90 / HamMadeParts Cable / FLDigi
Provide the console output of:
udrcver.sh alsa-show.sh aplay -l You should be routing AFOUT which will be IN2 R:[10 kOhm] Make sure squelch is low or off. What sound card device are you using for in the FLdigi Devices tab for Capture & Playback? Since you are beta testing a new cable, do you have another cable that works? but I did not see anything that looked like a signal coming from theWhen transmitting check pin 1 on the DRAWS mDin6 connector both left & right connectors, with out your data cable plugged in. /Basil n7nix Audio out can be directed from RPi to UDRC or through HDMI to
|
|
G90 / HamMadeParts Cable / FLDigi
Michael Sharp
Hello all,
I am beta-testing a new cable from HamMadeParts. I have the cable connected from the DRAWs Hat to the G90 ACC port. After some considerable configuration, I finally got it mostly working. Here is what I have so far: Audio out can be directed from RPi to UDRC or through HDMI to monitor. I do hear CW or RTTY when I click T/R on the FLDigi screen The radio will start to transmit. PTT does work, but... there is no signal being sent to the radio. No RTTY or CW to be seen on the G90’s display. I can hold down on my CW key, and see the old familiar spike on the display, but nothing seems to be going out of the DRAWs hat for any sort of modulation or signal, nor any transmission from the radio. On the DRAWs manager, I have the IC-880AF rig chosen. In FLDigi, I have PTT tone on right channel audio selected, and in GPIO I have BCM 23 selected and on “= 1 (on)” I’m pretty close to getting this to work, but need a little help. Xiegu has a CE-19 interface that provides PTT, AF, and DATA. i did have a look at all pins coming from the DRAWs Hat when T/R was active, but I did not see anything that looked like a signal coming from the DRAWs Hat. Any help appreciated! 73, -Michael / KD9MED
|
|
Re: DRAWS Image 15 and Xastir
Very Good. Was able to install what I needed. That fixed it.
Not sure what I did to cause the file corruption, but dpkg behaves itself now. Back to "prime time". Much obliged. -- Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
OK... that seemed to do something: Console output:
pi@kd4izdraws2:~ $ dpkg -l "rpi-eeprom*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=================-============-============-================================
ii rpi-eeprom 5.0-2 all Raspberry Pi 4 boot EEPROM updat
ii rpi-eeprom-images 5.0-2 all Raspberry Pi 4 boot EEPROM image
lines 1-7/7 (END)
pi@kd4izdraws2:~ $ sudo su
root@kd4izdraws2:/home/pi# rm /var/lib/dpkg/info/rpi-eeprom-images*
root@kd4izdraws2:/home/pi# rm /var/cache/apt/archives/rpi-eeprom-images*
root@kd4izdraws2:/home/pi# apt-get remove rpi-eeprom-images
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
flashrom libftdi1-2 libusb-0.1-4
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
rpi-eeprom rpi-eeprom-images
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 7,798 kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: warning: files list file for package 'rpi-eeprom-images' missing; assuming package has no files currently installed
(Reading database ... 119485 files and directories currently installed.)
Removing rpi-eeprom (5.0-2) ...
Removing rpi-eeprom-images (5.0-2) ...
Processing triggers for man-db (2.8.5-2) ...
root@kd4izdraws2:/home/pi# apt-get install rpi-eeprom rpi-eeprom-images
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
rpi-eeprom rpi-eeprom-images
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 204 kB/221 kB of archives.
After this operation, 7,798 kB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian buster/main armhf rpi-eeprom-images all 5.0-2 [204 kB]
Fetched 204 kB in 1s (374 kB/s)
Selecting previously unselected package rpi-eeprom-images.
(Reading database ... 119475 files and directories currently installed.)
Preparing to unpack .../rpi-eeprom-images_5.0-2_all.deb ...
Unpacking rpi-eeprom-images (5.0-2) ...
Selecting previously unselected package rpi-eeprom.
Preparing to unpack .../rpi-eeprom_5.0-2_all.deb ...
Unpacking rpi-eeprom (5.0-2) ...
Setting up rpi-eeprom-images (5.0-2) ...
Setting up rpi-eeprom (5.0-2) ...
Processing triggers for man-db (2.8.5-2) ...
root@kd4izdraws2:/home/pi# dpkg -l "rpi-eeprom*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=================-============-============-================================
ii rpi-eeprom 5.0-2 all Raspberry Pi 4 boot EEPROM updat
ii rpi-eeprom-images 5.0-2 all Raspberry Pi 4 boot EEPROM image
lines 1-7/7 (END)
root@kd4izdraws2:/home/pi#
I'll try to install "xscreensaver" with apt-get to see if I can do that now. Thanks! Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
Jack,
toggle quoted messageShow quoted text
Not sure if this worked or not. Guessing it didn't. Some files in your file system are corrupted. As a last attempt do this: dpkg -l "rpi-eeprom*" # Note asterisk at end of rpi-eeprom sudo su # Note asterisks at end of lines rm /var/lib/dpkg/info/rpi-eeprom-images* rm /var/cache/apt/archives/rpi-eeprom-images* apt-get remove rpi-eeprom-images apt-get install rpi-eeprom rpi-eeprom-images dpkg -l "rpi-eeprom*" # Note asterisk at end of rpi-eeprom Jack Spitznagel <kd4iz@frawg.org> writes:
Ran the commands and here is the console output:
|
|
Re: DRAWS Image 15 and Xastir
Ran the commands and here is the console output:
pi@kd4izdraws2:~ $ sudo su
root@kd4izdraws2:/home/pi# dpkg -l "rpi-eeprom"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-==================================
ii rpi-eeprom 5.0-2 all Raspberry Pi 4 boot EEPROM updater
root@kd4izdraws2:/home/pi# apt-get remove rpi-eeprom-images
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
flashrom libftdi1-2 libusb-0.1-4
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
rpi-eeprom rpi-eeprom-images
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 7,798 kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: unrecoverable fatal error, aborting:
files list file for package 'rpi-eeprom-images' contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)
root@kd4izdraws2:/home/pi# apt-get install rpi-eeprom rpi-eeprom-images
Reading package lists... Done
Building dependency tree
Reading state information... Done
rpi-eeprom is already the newest version (5.0-2).
rpi-eeprom-images is already the newest version (5.0-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@kd4izdraws2:/home/pi# dpkg -l "rpi-eeprom"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-==================================
ii rpi-eeprom 5.0-2 all Raspberry Pi 4 boot EEPROM updater
root@kd4izdraws2:/home/pi#
-- Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
Basil...
Will do as you suggest momentarily. Sorry for the confusion. I am not running synaptic because it never was successfully installed. I have been strictly using the apt-get commands you suggested. -- Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
Jack,
toggle quoted messageShow quoted text
Goal is to fix this problem: dpkg: unrecoverable fatal error, aborting: files list file for package 'rpi-eeprom-images' contains empty filename Do NOT go back & forth using synaptic & apt-get. Until this problem is solved JUST use apt-get. Do this: sudo su dpkg -l "rpi-eeprom*" apt-get remove rpi-eeprom-images apt-get install rpi-eeprom rpi-eeprom-images dpkg -l "rpi-eeprom*" # Send me the console output of above. /Basil Jack Spitznagel <kd4iz@frawg.org> writes:
Hi Basil,
|
|
Re: DRAWS Image 15 and Xastir
Hi Basil,
I ran your script sequence from the previous note- sudo su apt-get update apt-get install --fix-missing apt-get dist-upgrade
As requested, here is the console output from that session:
pi@kd4izdraws2:~ $ sudo su root@kd4izdraws2:/home/pi# apt-get update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Fetched 15.0 kB in 1s (15.3 kB/s) Reading package lists... Done root@kd4izdraws2:/home/pi# apt-get install --fix-missing Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base libegl-dev libgles-dev libglvnd-core-dev libglvnd-dev libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libjpeg9 libllvm6.0 libopengl0 libva-wayland2 libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2 libxshmfence-dev pimixer point-rpi xfconf Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@kd4izdraws2:/home/pi# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base libegl-dev libgles-dev libglvnd-core-dev libglvnd-dev libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libjpeg9 libllvm6.0 libopengl0 libva-wayland2 libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2 libxshmfence-dev pimixer point-rpi xfconf Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@kd4izdraws2:/home/pi#
The above obviously did not change the outcome of an attempt to install synaptic (tried again anyway). Then when running “sudo apt autoremove” afterward, dpkg still borks with an error code (2) – it is apparently unhappy because “ 'rpi-eeprom-images' contains empty filename”: pi@kd4izdraws2:~ $ sudo apt-get install synaptic Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base libegl-dev libgles-dev libglvnd-core-dev libglvnd-dev libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libjpeg9 libllvm6.0 libopengl0 libva-wayland2 libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2 libxshmfence-dev pimixer point-rpi xfconf Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libcairo-perl libept1.5.0 libglib-perl libgtk2-perl libpango-perl libxapian30 Suggested packages: libfont-freetype-perl libgtk2-perl-doc xapian-tools dwww menu deborphan apt-xapian-index software-properties-gtk The following NEW packages will be installed: libcairo-perl libept1.5.0 libglib-perl libgtk2-perl libpango-perl libxapian30 synaptic 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/4,196 kB of archives. After this operation, 14.7 MB of additional disk space will be used. Do you want to continue? [Y/n] y Selecting previously unselected package libcairo-perl. dpkg: unrecoverable fatal error, aborting: files list file for package 'rpi-eeprom-images' contains empty filename E: Sub-process /usr/bin/dpkg returned an error code (2) pi@kd4izdraws2:~ $ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: alsa-base gstreamer0.10-alsa gstreamer0.10-plugins-base libegl-dev libgles-dev libglvnd-core-dev libglvnd-dev libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libjpeg9 libllvm6.0 libopengl0 libva-wayland2 libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-2 libxshmfence-dev pimixer point-rpi xfconf 0 upgraded, 0 newly installed, 31 to remove and 0 not upgraded. After this operation, 68.8 MB disk space will be freed. Do you want to continue? [Y/n] y dpkg: unrecoverable fatal error, aborting: files list file for package 'rpi-eeprom-images' contains empty filename E: Sub-process /usr/bin/dpkg returned an error code (2)
This is getting off the beaten DRAWS track, so tell me if you don’t want to go there…
Thanks for trying to help.
Jack Spitznagel – KD4IZ Trustee for NR3DT The Museum Ship USCGC Taney WHEC-37 Amateur Radio Group Cell: (410) 207-5123
|
|
Re: DRAWS Image 15 and Xastir
Hi Jack,
toggle quoted messageShow quoted text
Something to try. Use the console commands instead of synaptic so you can cut & paste the output into an email to me. sudo su apt-get update apt-get install --fix-missing apt-get dist-upgrade Send me the console output of the above commands. /Basil Jack Spitznagel <kd4iz@frawg.org> writes:
Thanks Basil,
|
|
Re: DRAWS Image 15 and Xastir
I've seen issues arise when using both synaptic and command line apt-get. Be careful and watch for weirdness.
|
|
Re: DRAWS Image 15 and Xastir
Hi Jack,
toggle quoted messageShow quoted text
Something to try. Use the console commands instead of synaptic so you can cut & paste the output into an email to me. sudo su apt-get update apt-get install --fix-missing apt-get dist-upgrade Send me the console output of the above commands. /Basil Jack Spitznagel <kd4iz@frawg.org> writes:
Thanks Basil,
|
|
Re: DRAWS Image 15 and Xastir
Thanks Basil,
It worked. But when I went to wrap things up for my style of operating with raspbian LINUX, I tried to install synaptic and xscreensaver. Both attempts started by retrieving and failed at the extracting steps with a "dpkg returned an error code (2)". Fortunately XASTIR still starts and runs as do other apps, so I am not totally hamstrung. See error message detail below: For Synaptic install - when unpacking: "Selecting previously unselected package libcairo-perl. dpkg: unrecoverable fatal error, aborting: files list file for package 'rpi-eeprom-images' contains empty filename E: Sub-process /usr/bin/dpkg returned an error code (2)" For Xscreensaver install - when unpacking: "Selecting previously unselected package libglade2-0:armhf. dpkg: unrecoverable fatal error, aborting: files list file for package 'rpi-eeprom-images' contains empty filename E: Sub-process /usr/bin/dpkg returned an error code (2)" I tried several of the dpkg recovery suggestions from online raspbian help sources, but none did the trick so I could continue with the installations.Are there any tricks to bring *dpkg* back to its senses or rebuild the specified files with empty filenames? Thanks for responding even if I am off topic here... -- Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
My error wasYep. I confirm that's also what I see. so I'll back up unless and try again unless you plan toThis is easily fixed with what I previously posted so will not be releasing a new image for that. The xs_install.sh script already fixes this problem. sudo su apt-get update apt-get dist-upgrade apt-get -y -qq install shapelib libshp-dev libgeotiff-dev libwebp-dev libgraphicsmagick1-dev /Basil n7nix
|
|
Re: DRAWS Image 15 and Xastir
Did not exactly follow that but did "some".
My error was "xastir: error while loading shared libraries: libgeotiff.so.2: cannot open shared object file: No such file or directory" so I'll back up unless and try again unless you plan to change the image so those steps are not needed. -- Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
Hi Jack,
toggle quoted messageShow quoted text
The following is what I did from a clean install of image15 to get Xastir to run. I tried to run Xastir from just a clean install & I received this error: xastir: error while loading shared libraries: libgeotiff.so.2: cannot open shared object file: No such file or directory After doing the following Xastir ran fine. apt-get update apt-get dist-upgrade apt-get -y -qq install shapelib libshp-dev libgeotiff-dev libwebp-dev libgraphicsmagick1-dev shutdown -r now /Basil n7nix Jack Spitznagel <kd4iz@frawg.org> writes:
I have a 2nd DRAWS unit I use for porta/mobile activities and an SD card that already has the “virgin” image on it. I will give it a try this afternoon and record the results. More to come.
|
|
Re: DRAWS Image 15 and Xastir
I have a 2nd DRAWS unit I use for porta/mobile activities and an SD card that already has the “virgin” image on it. I will give it a try this afternoon and record the results. More to come.
Best -- Jack - KD4IZ
|
|
Re: DRAWS Image 15 and Xastir
Thanks Jack.
toggle quoted messageShow quoted text
If you can't get xastir to start from clicking the desktop icon then open a console and run xastir from the console. Doing this will display any problems that may be occurring that you won't see from clicking the desktop icon. I'll do a fresh install later today to see if I can replicate. /Basil n7nix Jack Spitznagel <kd4iz@frawg.org> writes:
Basil, All,
|
|
DRAWS Image 15 and Xastir
Basil, All,
Did I miss a posting about this? Had trouble getting XASTIR to load following the install and configure checklist/instructions in the group Wiki.
I finally got a chance (well, was forced by an apparent image 14 SD card brainfart) to load and configure DRAWS image 15. I was taking consulting calls and doing a pile of paperwork concurrently, so I beg idiocy and broken focus.
The load and configure went just fine until after Direwolf was configured and I tried to launch and configure XASTIR. I could not get it to come up using the icon or the console. I did do all reboots as required in the checklist.
I wish I had been less busy and had recorded exactly what I tried during my salvage attempt but the sequence was something like:
Basil, I am kicking myself that I did not write things down. I can’t remember if this image enables an install log by default. If so will be glad to send it.
XASTIR is happily working in spite of all that so priority is more for others than for me.
Jack Spitznagel – KD4IZ
Biomedical Consulting Services
|
|
Re: DRAWS FT817 no TX audio
Ken Myers
Just by the way, my board is the one with the sma the same end as the SD card.
|
|