Re: Using the DRAWS hat with a Raspberry Pi 4 #draws #yaac #install #js8call #replacecompass


Frank Ivan
 

Hi John,

My results were not successful.

I am using a Pi 4 - 2gb memory with the Buster downloaded today.  I did not turn on anything except to connect to wifi.  After the install I did enable ssh.

uname -a

Linux raspberrypi 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l GNU/Linux

Changing to n7nix/bin

./sndcard.sh

No udrc sound card found.

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 IEC958/HDMI [bcm2835 IEC958/HDMI]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]

  Subdevices: 1/1

 

  Subdevice #0: subdevice #0

sudo lsmod

Module                  Size  Used by

rfcomm                 49152  4

bnep                   20480  2

hci_uart               40960  1

btbcm                  16384  1 hci_uart

serdev                 20480  1 hci_uart

bluetooth             389120  29 hci_uart,bnep,btbcm,rfcomm

ecdh_generic           28672  1 bluetooth

fuse                  110592  3

8021q                  32768  0

garp                   16384  1 8021q

stp                    16384  1 garp

llc                    16384  2 garp,stp

joydev                 20480  0

evdev                  24576  11

brcmfmac              311296  0

brcmutil               16384  1 brcmfmac

sha256_generic         20480  0

cfg80211              614400  1 brcmfmac

bcm2835_v4l2           45056  0

rfkill                 28672  6 bluetooth,cfg80211

bcm2835_codec          36864  0

snd_bcm2835            24576  2

v4l2_mem2mem           24576  1 bcm2835_codec

videobuf2_dma_contig    20480  1 bcm2835_codec

snd_pcm               102400  1 snd_bcm2835

bcm2835_mmal_vchiq     32768  2 bcm2835_codec,bcm2835_v4l2

v4l2_common            16384  1 bcm2835_v4l2

videobuf2_vmalloc      16384  1 bcm2835_v4l2

videobuf2_memops       16384  2 videobuf2_dma_contig,videobuf2_vmalloc

videobuf2_v4l2         24576  3 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem

videobuf2_common       45056  4 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2

snd_timer              32768  1 snd_pcm

raspberrypi_hwmon      16384  0

videodev              200704  6 bcm2835_codec,v4l2_common,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2

hwmon                  16384  1 raspberrypi_hwmon

snd                    73728  7 snd_timer,snd_bcm2835,snd_pcm

media                  36864  2 videodev,v4l2_mem2mem

vc_sm_cma              36864  1 bcm2835_mmal_vchiq

rpivid_mem             16384  0

uio_pdrv_genirq        16384  0

uio                    20480  1 uio_pdrv_genirq

fixed                  16384  0

ax25                   69632  0

i2c_dev                20480  0

ip_tables              24576  0

x_tables               32768  1 ip_tables

ipv6                  450560  30

Doesn't look like any of the modules are loading.

cat /boot/config.txt

# For more options and information see

# http://rpf.io/configtxt

# Some settings may impact device functionality. See link above for details

 

# uncomment if you get no picture on HDMI for a default "safe" mode

#hdmi_safe=1

 

# uncomment this if your display has a black border of unused pixels visible

# and your display can output without overscan

#disable_overscan=1

 

# uncomment the following to adjust overscan. Use positive numbers if console

# goes off screen, and negative if there is too much border

#overscan_left=16

#overscan_right=16

#overscan_top=16

#overscan_bottom=16

 

# uncomment to force a console size. By default it will be display's size minus

# overscan.

#framebuffer_width=1280

#framebuffer_height=720

 

# uncomment if hdmi display is not detected and composite is being output

#hdmi_force_hotplug=1

 

# uncomment to force a specific HDMI mode (this will force VGA)

#hdmi_group=1

#hdmi_mode=1

 

# uncomment to force a HDMI mode rather than DVI. This can make audio work in

# DMT (computer monitor) modes

#hdmi_drive=2

 

# uncomment to increase signal to HDMI, if you have interference, blanking, or

# no display

#config_hdmi_boost=4

 

# uncomment for composite PAL

#sdtv_mode=2

 

#uncomment to overclock the arm. 700 MHz is the default.

#arm_freq=800

 

# Uncomment some or all of these to enable the optional hardware interfaces

#dtparam=i2c_arm=on

#dtparam=i2s=on

#dtparam=spi=on

 

# Uncomment this to enable the lirc-rpi module

#dtoverlay=lirc-rpi

 

# Additional overlays and parameters are documented /boot/overlays/README

 

# Enable audio (loads snd_bcm2835)

dtparam=audio=on

 

[pi4]

# Enable DRM VC4 V3D driver on top of the dispmanx display stack

dtoverlay=vc4-fkms-v3d

max_framebuffers=2

 

[all]

#dtoverlay=vc4-fkms-v3d

 

# enable udrc/draws if no eeprom

dtoverlay=draws,alsaname=udrc

force_turbo=1

Doesn't look like /boot/config.txt got the dtparam=audio=on made it to the last line.

I am not sure why my results are so different.

Thanks
Frank - K0FEI

 




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