Re: Beta12 release announcement

Steve, N9VW
 

Basil,
Here you go. It appears that commenting out the audio fixed the problem.
Fresh burn of Beta 12
New DRAWS card, fresh out of the bag!
No other commands issued
The files xxx2.txt are after the config file change and reboot
Seems like progress is on the horizon

Steve

On 4/18/2019 1:19 PM, Basil Gunn wrote:
I am trying to understand why the Draws udrc driver is not loading.
Could you please get the hwtest.sh script and show me the results.
Specifically:

cd
cd n7nix
git pull
cd bin
./hwtest.sh

# Then edit /boot/config.txt & comment this line
# change
dtparam=audio=on
# to
#dtparam=audio=on

Now reboot & run n7nix/bin/hwtest.sh

Thanks,

/Basil



On 4/18/2019 1:31 PM, Bjorn Pehrson wrote:

On 2019-04-18 22:19, Basil Gunn wrote:
I am trying to understand why the Draws udrc driver is not loading.
Could you please get the hwtest.sh script and show me the results.
Specifically:

cd
cd n7nix
git pull
cd bin
./hwtest.sh

---------

exit
pi@draws:~/bin $ cd
pi@draws:~ $ cd n7nix/
pi@draws:~/n7nix $ git pull
remote: Enumerating objects: 39, done.
remote: Counting objects: 100% (39/39), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 31 (delta 22), reused 27 (delta 18), pack-reused 0
Unpacking objects: 100% (31/31), done.
From https://github.com/nwdigitalradio/n7nix
   64cab2c..c799c3c  master     -> origin/master
Updating 64cab2c..c799c3c
Fast-forward
 ChangeLog                   | 14 ++++++++++-
 bin/hwtest.sh               | 60 +++++++++++++++++++++++++++++++++++++++++++++
 bin/mgr-stop.sh             |  2 +-
 bin/showudrc.sh             |  5 +++-
 docs/DRAWS_CONFIG.md        |  7 +++++-
 docs/DRAWS_IMAGE_UPDATER.md | 25 ++++++++++++++++---
 6 files changed, 106 insertions(+), 7 deletions(-)
 create mode 100755 bin/hwtest.sh
pi@draws:~/n7nix $ cd bin
pi@draws:~/n7nix/bin $ ./hwtest.sh

 === Verify AudioSense-Pi drivers are not loaded.
AudioSense drivers NOT loaded.

 === Verify Sound Card is found
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

No udrc sound card found.

=== Verify tlv320aic driver load

    Directory: /proc/device-tree/soc/i2c@7e804000/tlv320aic32x4@18 does NOT exist

Directory: /proc/device-tree/soc/i2c@7e804000 exists and status is disabled
pi@draws:~/n7nix/bin $
--------------------

# Then edit /boot/config.txt & comment this line
# change
dtparam=audio=on
# to
#dtparam=audio=on

Now reboot & run n7nix/bin/hwtest.sh

----------------------

pi@draws:~/n7nix/bin $ sudo vi /boot/config.txt
pi@draws:~/n7nix/bin $ reboot
Failed to set wall message, ignoring: Interactive authentication required.
Failed to reboot system via logind: Interactive authentication required.
Failed to open /dev/initctl: Permission denied
Failed to talk to init daemon.
pi@draws:~/n7nix/bin $ sudo reboot
Connection to 192.168.1.236 closed by remote host.
Connection to 192.168.1.236 closed.
(base) bjorn@bpX260:~/draws$ ssh pi@....236
pi@....236's password:
Linux draws 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Apr 18 22:00:57 2019 from 192.168.1.148
pi@draws:~ $ cd n7nix/bin/
pi@draws:~/n7nix/bin $ ./hwtest.sh

 === Verify AudioSense-Pi drivers are not loaded.
AudioSense drivers NOT loaded.

 === Verify Sound Card is found
**** List of PLAYBACK Hardware Devices ****
card 0: udrc [udrc], device 0: Universal Digital Radio Controller tlv320aic32x4-hifi-0 []
  Subdevices: 0/1
  Subdevice #0: subdevice #0

udrc card number line: card 0: udrc [udrc], device 0: Universal Digital Radio Controller tlv320aic32x4-hifi-0 []
udrc is sound card #0

=== Verify tlv320aic driver load
Directory: /proc/device-tree/soc/i2c@7e804000/tlv320aic32x4@18 exists and status is okay
pi@draws:~/n7nix/bin $

--------------------


Thanks,

/Basil


Bjorn Pehrson <bjorn@...> writes:

Hi Basil,

I seem to have exactly te same problem with beta12 and my answers to
your questions are

1: no, i only get

pi@draws:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
   Subdevices: 7/7
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
   Subdevice #2: subdevice #2
   Subdevice #3: subdevice #3
   Subdevice #4: subdevice #4
   Subdevice #5: subdevice #5
   Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
pi@draws:~ $

2.

pi@draws:~/bin $ cd
pi@draws:~ $ cd bin
pi@draws:~/bin $ sudo su
root@draws:/home/pi/bin# ./ax25-start
Starting: direwolf.service
Starting: ax25dev.path
Starting: ax25dev.service
Job for ax25dev.service failed because the control process exited with
error code.
See "systemctl status ax25dev.service" and "journalctl -xe" for details.
Problem starting ax25dev.service
Starting: ax25-mheardd.service

..hanging, not terminating

On 2019-04-18 19:40, Basil Gunn wrote:
Jack Spitznagel <kd4iz@...> writes:

Hi Basil.

Thanks for looking at that file. This is exactly what was puzzling me: Did
exactly what you suggested previously, rebooted, and when I tried to make
sure the AX25 stuff was being loaded, it turned out not. At that point (as
root) I tried to "./ax25-start" and it failed during the run with error (I
think I sent you that)
I need to learn what your problem is so please do not do another
install.

I do not have the console output of ax25-start after your reboot &
successful udrc driver enumeration.

1. run aplay -l
   - do you see the udrc enumerated?
2.
cd
cd bin
sudo su
./ax25-start
./ax25-status
./ax25-status -d
# Send me the console output.

/Basil

. Since I have previous BETAs running on both boxes,
we know nothing is wrong at the hardware level (except maybe my "organic
CPU"). Lets let my past reports "go away" and proceed with the following:











Join udrc@nw-digital-radio.groups.io to automatically receive all group messages.