LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 05-26-2018, 09:54 PM   #1
robmckennon68
LQ Newbie
 
Registered: Mar 2018
Location: Jacksonville, FL
Distribution: Slackware and CentOS
Posts: 14

Rep: Reputation: Disabled
14.2-current on RPi3, no sound on headphone jack or HDMI


Hello gurus greater than I,

I've been banging my head for hours. I installed 14.2-current on a RPi-3, and everything seems to be working fine except for sound! I've found many solved threads, but so far none have worked for me.

root@slack14pi3:~# amixer cset numid=3 2
numid=3,iface=MIXER,name='Master Playback Volume'
; type=INTEGER,access=rw------,values=2,min=0,max=65536,step=1
: values=2,2

I've created and modified my config.txt file many times (and yes rebooted), but no luck.

rob@slack14pi3:~$ cat /boot/config.txt
# Force the monitor to HDMI mode so that sound will be sent over HDMI cable
hdmi_drive=2
# Turn on audio on boot
dtparam=audio=on
gpu_mem=124


And aplay always reports "no soundcards found"

rob@slack14pi3:~$ aplay -l
aplay: device_list:272: no soundcards found...




Any thoughts on this?

Rob.
 
Old 05-27-2018, 06:57 AM   #2
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 228

Rep: Reputation: 67
Quote:
Originally Posted by robmckennon68 View Post

Any thoughts on this?

Rob.
Hi Rob,

is the module for the audio hardware loaded?
 
Old 05-27-2018, 12:21 PM   #3
robmckennon68
LQ Newbie
 
Registered: Mar 2018
Location: Jacksonville, FL
Distribution: Slackware and CentOS
Posts: 14

Original Poster
Rep: Reputation: Disabled
Pretty sure I had tried this before, but I forgot to put it in the original post.

root@slack14pi3:~# modprobe snd_bcm2835

bash-4.4$ xmms song.mp3
Message: device: default

** WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: No such file or directory


bash-4.4$ aplay -l
aplay: device_list:272: no soundcards found...


Rob.
 
Old 05-27-2018, 12:58 PM   #4
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 583

Rep: Reputation: 114Reputation: 114
After you do
Code:
modprobe snd_bcm2835
what does
Code:
lsmod | grep bcm
show? I see
Quote:
snd_bcm2835 32768 3
snd_pcm 98304 3 snd_usb_audio,snd_bcm2835
snd 69632 17 snd_hwdep,snd_usb_audio,snd_timer,snd_rawmidi,snd_usbmidi_lib,snd_seq_device,snd_bcm2835,snd_pcm
and

Code:
aplay -l
Quote:
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 6/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
 
Old 05-27-2018, 01:05 PM   #5
robmckennon68
LQ Newbie
 
Registered: Mar 2018
Location: Jacksonville, FL
Distribution: Slackware and CentOS
Posts: 14

Original Poster
Rep: Reputation: Disabled
glorsplitz: thank you for the reply!

root@slack14pi3:~# lsmod | grep bcm
snd_bcm2835 32768 0
snd_pcm 98304 1 snd_bcm2835
snd 69632 3 snd_timer,snd_bcm2835,snd_pcm

root@slack14pi3:~# aplay -l
aplay: device_list:272: no soundcards found...


Rob.
 
Old 05-27-2018, 01:24 PM   #6
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 583

Rep: Reputation: 114Reputation: 114
does
Code:
alsamixer
do anything?
 
Old 05-30-2018, 11:46 AM   #7
robmckennon68
LQ Newbie
 
Registered: Mar 2018
Location: Jacksonville, FL
Distribution: Slackware and CentOS
Posts: 14

Original Poster
Rep: Reputation: Disabled
alsamixer does bring up the mixer dialog screen, and I can adjust the mixer master volume. However pressing F6 just shows (default) sound card.

┌────────────────────────────── AlsaMixer v1.1.6 ──────────────────────────────┐
│ Card: PulseAudio F1: Help │
│ Chip: PulseAudio F2: System information │
│ View: F3:[Playback] F4: Capture F5: All F6: Select sound card │
│ Item: Master Esc: Exit │
│ ┌──┐ │
│ │ │ │
│ │▒▒│ │
│ ┌───── Sound Card ──────┐ │
│ │- (default) │ │
│ │ enter device name...│ │
│ └───────────────────────┘ │
│ │▒▒│ │
│ │▒▒│ │
│ │▒▒│ │
│ ├──┤ │
│ │OO│ │
│ └──┘ │
│ 90<>90 │
│ < Master > │
└──────────────────────────────────────────────────────────────────────────────┘

looking at system information (F2) shows nothing in /proc/asound/cards:
┌────────────────────────────── AlsaMixer v1.1.6 ──────────────────────────────┐
│ Card: PulseAudio F1: Help │
│ Chip: PulseAudio F2: System information │
│ View: F3:[Playback] F4: Capture F5: All F6: Select sound card │
│ Item: Master Esc: Exit │
│ ┌──┐ │
│ │ │ │
│ ┌─── Select File ────┐ │
│ │/proc/asound/version│ │
│ ┌ /proc/asound/cards ─┐ │
│ │--- no soundcards ---│ │
│ └─────────────────────┘ │
│ │/proc/asound/pcm │ │
│ └────────────────────┘ │
│ │▒▒│ │
│ ├──┤ │
│ │OO│ │
│ └──┘ │
│ 90<>90 │
│ < Master > │
└──────────────────────────────────────────────────────────────────────────────┘


Sorry for the delayed reply, thought I had submitted this days ago, guess I didn't!

Rob.
 
Old 05-30-2018, 05:16 PM   #8
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 583

Rep: Reputation: 114Reputation: 114
maybe someone else?

that's all I can think of, maybe someone else can help?

looks like you have alsa installed, "modprobe snd_bcm2835" loads the modules

I don't know if this is pulse related, is there a /tmp/pulse-* folder?
If not as root do
Code:
killall pulseaudio
that should restart it
 
Old 05-30-2018, 07:01 PM   #9
robmckennon68
LQ Newbie
 
Registered: Mar 2018
Location: Jacksonville, FL
Distribution: Slackware and CentOS
Posts: 14

Original Poster
Rep: Reputation: Disabled
Yes, I do have a /tmp/pulse-* directory created when I booted up.

For fun I put in a raspbian sd card, and the sound works just fine (at least though my monitor). So I know that the card/chip and the monitor's sound both work. Not quite sure yet why slack isn't picking it up.

Thank you for your help.


Rob.
 
Old 06-02-2018, 07:58 PM   #10
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 450

Rep: Reputation: 226Reputation: 226Reputation: 226
I was about to suggest to check your /boot partition for errors, but first I considered your ALSA conf might be buggy. However, you showed in your latest posts that ALSA cannot find your card and I'd suggest to check if the following files are available and consistent:
/lib/udev/rules.d/90-alsa-restore.rules
/lib/udev/rules.d/60-persistent-alsa.rules
/etc/asound.conf
/usr/share/alsa/alsa.conf


Additionally, you don't need that many tools/utilities to check if ALSA has found a sound card, this simple command does it:
Code:
cat /proc/asound/cards
Or, use the available ALSA check script and inspect the output file:
Code:
/usr/sbin/alsa-info.sh
You might have some corrupted files in the /boot/overlays/ folder and in order to check your boot partition, first check /etc/fstab to learn which one is the partition /boot is mounted on and run the following:
Code:
umount /boot
#change the partition to match /boot if different from /dev/mmcblk0p1
fsck.vfat -afwvV /dev/mmcblk0p1
mount /boot
If it's not the ALSA config or the corrupted /boot partition, then I'd suggest to try a clean kernel. Since you didn't mention in any of your posts the method you had used to install Slackware ARM, I cannot track back what kernel you are running and I'd suggest to give the official kernel a try and check if your sound card is working (it should).
Follow the manual installation method, focus only on the commands to extract the kernel&stuff image raspbian_boot_stuff.tgz from the Raspbian image:
https://docs.slackware.com/howtos:ha...rm:raspberrypi
Get the latest image from here (unzip it afterwards):
http://director.downloads.raspberryp...retch-lite.zip
Prepare the raspbian_boot_stuff.tgz - you can do it directly on your Raspberry Pi3 box -, backup your actual kernel&boot&stuff(modules,firmware,/opt/vc), put the official kernel from raspbian_boot_stuff.tgz in place and restart your system.
Here are some excerpts from my kernel update script that you can use for switching the kernel&stuff:
Code:
cd /
#backup these file separately
cp /boot/config.txt /boot/cmdline.txt .
tar -czpf backup-kernel.tgz /boot/ /lib/modules/ /lib/firmware/ /opt/vc/
rm -rf /lib/modules/ /lib/firmware/ /opt/vc/ /boot/*
# move the raspbian_boot_stuff.tgz in / and extract it
mv /your_folder/raspbian_boot_stuff.tgz /
tar -xzpf raspbian_boot_stuff.tgz
cp -f config.txt cmdline.txt /boot/
# for the libs in /opt/vc, in case they're added in /etc/ld.so.conf
ldconfig
shutdown -r now
# if you want to return to your previous kernel
cd /
rm -rf /lib/modules/ /lib/firmware/ /opt/vc/ /boot/*
tar -xzpf backup-kernel.tgz
# for the libs in /opt/vc, in case they're added in /etc/ld.so.conf
ldconfig
shutdown -r now
 
1 members found this post helpful.
Old 06-03-2018, 02:16 PM   #11
robmckennon68
LQ Newbie
 
Registered: Mar 2018
Location: Jacksonville, FL
Distribution: Slackware and CentOS
Posts: 14

Original Poster
Rep: Reputation: Disabled
Well, I have those files (not quite sure what's supposed to go in them though):

root@slack14pi3:/lib/udev/rules.d# more 90-alsa-restore.rules

Code:
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*", TEST=="/usr/sbin
", TEST=="/usr/share/alsa", GOTO="alsa_restore_go"
GOTO="alsa_restore_end"

LABEL="alsa_restore_go"
TEST!="/etc/alsa/state-daemon.conf", RUN+="/usr/sbin/alsactl restore $attr{device/number}"
TEST=="/etc/alsa/state-daemon.conf", RUN+="/usr/sbin/alsactl nrestore $attr{device/number}
"

LABEL="alsa_restore_end"
root@slack14pi3:/lib/udev/rules.d# more 60-persistent-alsa.rules

Code:
# do not edit this file, it will be overwritten on update

ACTION=="remove", GOTO="persistent_alsa_end"
SUBSYSTEM!="sound", GOTO="persistent_alsa_end"
KERNEL!="controlC[0-9]*", GOTO="persistent_alsa_end"

SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id"
ENV{ID_SERIAL}=="?*", ENV{ID_USB_INTERFACE_NUM}=="?*", SYMLINK+="snd/by-id/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_USB_INTERFACE_NUM}"
ENV{ID_SERIAL}=="?*", ENV{ID_USB_INTERFACE_NUM}=="", SYMLINK+="snd/by-id/$env{ID_BUS}-$env{ID_SERIAL}"

IMPORT{builtin}="path_id"
ENV{ID_PATH}=="?*", SYMLINK+="snd/by-path/$env{ID_PATH}"

LABEL="persistent_alsa_end"
root@slack14pi3:/lib/udev/rules.d# more /etc/asound.conf

Code:
# ALSA system-wide config file
# By default, redirect to PulseAudio:
pcm.default pulse
ctl.default pulse

root@slack14pi3:/lib/udev/rules.d# more /usr/share/alsa/alsa.conf

Code:
#
#  ALSA library configuration file
#

# pre-load the configuration files

@hooks [
	{
		func load
		files [
			{
				@func concat
				strings [
					{ @func datadir }
					"/alsa.conf.d/"
				]
			}
			"/etc/asound.conf"
			"~/.asoundrc"
		]
		errors false
	}
]

# load card-specific configuration files (on request)

cards.@hooks [
	{
		func load
		files [
			{
				@func concat
				strings [
					{ @func datadir }
					"/cards/aliases.conf"
				]
			}
		]
	}
	{
		func load_for_all_cards
		files [
			{
				@func concat
				strings [
					{ @func datadir }
					"/cards/"
					{ @func private_string }
					".conf"
				]
			}
		]
		errors false
	}
]

#
# defaults
#

# show all name hints also for definitions without hint {} section
defaults.namehint.showall off
# show just basic name hints
defaults.namehint.basic on
# show extended name hints
defaults.namehint.extended off
#
defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.compat 0
defaults.pcm.minperiodtime 5000		# in us
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format "unchanged"
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround21.card defaults.pcm.card
defaults.pcm.surround21.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
# truncate files via file or tee PCM
defaults.pcm.file_format	"raw"
defaults.pcm.file_truncate	true
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0

#
#  PCM interface
#

# redirect to load-on-demand extended pcm definitions
pcm.cards cards.pcm

pcm.default cards.pcm.default
pcm.sysdefault cards.pcm.default
pcm.front cards.pcm.front
pcm.rear cards.pcm.rear
pcm.center_lfe cards.pcm.center_lfe
pcm.side cards.pcm.side
pcm.surround21 cards.pcm.surround21
pcm.surround40 cards.pcm.surround40
pcm.surround41 cards.pcm.surround41
pcm.surround50 cards.pcm.surround50
pcm.surround51 cards.pcm.surround51
pcm.surround71 cards.pcm.surround71
pcm.iec958 cards.pcm.iec958
pcm.spdif iec958
pcm.hdmi cards.pcm.hdmi
pcm.dmix cards.pcm.dmix
pcm.dsnoop cards.pcm.dsnoop
pcm.modem cards.pcm.modem
pcm.phoneline cards.pcm.phoneline

pcm.hw {
	@args [ CARD DEV SUBDEV ]
	@args.CARD {
		type string
		default {
			@func getenv
			vars [
				ALSA_PCM_CARD
				ALSA_CARD
			]
			default {
				@func refer
				name defaults.pcm.card
			}
		}
	}
	@args.DEV {
		type integer
		default {
			@func igetenv
			vars [
				ALSA_PCM_DEVICE
			]
			default {
				@func refer
				name defaults.pcm.device
			}
		}
	}
	@args.SUBDEV {
		type integer
		default {
			@func refer
			name defaults.pcm.subdevice
		}
	}		
	type hw
	card $CARD
	device $DEV
	subdevice $SUBDEV
	hint {
		show {
			@func refer
			name defaults.namehint.extended
		}
		description "Direct hardware device without any conversions"
	}
}

pcm.plughw {
	@args [ CARD DEV SUBDEV ]
	@args.CARD {
		type string
		default {
			@func getenv
			vars [
				ALSA_PCM_CARD
				ALSA_CARD
			]
			default {
				@func refer
				name defaults.pcm.card
			}
		}
	}
	@args.DEV {
		type integer
		default {
			@func igetenv
			vars [
				ALSA_PCM_DEVICE
			]
			default {
				@func refer
				name defaults.pcm.device
			}
		}
	}
	@args.SUBDEV {
		type integer
		default {
			@func refer
			name defaults.pcm.subdevice
		}
	}		
	type plug
	slave.pcm {
		type hw
		card $CARD
		device $DEV
		subdevice $SUBDEV
	}
	hint {
		show {
			@func refer
			name defaults.namehint.extended
		}
		description "Hardware device with all software conversions"
	}
}

pcm.plug {
	@args [ SLAVE ]
	@args.SLAVE {
		type string
	}
	type plug
	slave.pcm $SLAVE
}

pcm.shm {
	@args [ SOCKET PCM ]
	@args.SOCKET {
		type string
	}
	@args.PCM {
		type string
	}
	type shm
	server $SOCKET
	pcm $PCM
}

pcm.tee {
	@args [ SLAVE FILE FORMAT ]
	@args.SLAVE {
		type string
	}
	@args.FILE {
		type string
	}
	@args.FORMAT {
		type string
		default {
			@func refer
			name defaults.pcm.file_format
		}
	}
	type file
	slave.pcm $SLAVE
	file $FILE
	format $FORMAT
	truncate {
		@func refer
		name defaults.pcm.file_truncate
	}
}

pcm.file {
	@args [ FILE FORMAT ]
	@args.FILE {
		type string
	}
	@args.FORMAT {
		type string
		default {
			@func refer
			name defaults.pcm.file_format
		}
	}
	type file
	slave.pcm null
	file $FILE
	format $FORMAT
	truncate {
		@func refer
		name defaults.pcm.file_truncate
	}
}

pcm.null {
	type null
	hint {
		show {
			@func refer
			name defaults.namehint.basic
		}
		description "Discard all samples (playback) or generate zero samples (capt
ure)"
	}
}

#
#  Control interface
#
	
ctl.sysdefault {
	type hw
	card {
		@func getenv
		vars [
			ALSA_CTL_CARD
			ALSA_CARD
		]
		default {
			@func refer
			name defaults.ctl.card
		}
	}
	hint.description "Default control device"
}
ctl.default ctl.sysdefault

ctl.hw {
	@args [ CARD ]
	@args.CARD {
		type string
		default {
			@func getenv
			vars [
				ALSA_CTL_CARD
				ALSA_CARD
			]
			default {
				@func refer
				name defaults.ctl.card
			}
		}
	}
	type hw
	card $CARD
	hint.description "Direct control device"
}

ctl.shm {
	@args [ SOCKET CTL ]
	@args.SOCKET {
		type string
	}
	@args.CTL {
		type string
	}
	type shm
	server $SOCKET
	ctl $CTL
}

#
#  RawMidi interface
#

rawmidi.default {
	type hw
	card {
		@func getenv
		vars [
			ALSA_RAWMIDI_CARD
			ALSA_CARD
		]
		default {
			@func refer
			name defaults.rawmidi.card
		}
	}
	device {
		@func igetenv
		vars [
			ALSA_RAWMIDI_DEVICE
		]
		default {
			@func refer
			name defaults.rawmidi.device
		}
	}
	hint.description "Default raw MIDI device"
}

rawmidi.hw {
	@args [ CARD DEV SUBDEV ]
	@args.CARD {
		type string
		default {
			@func getenv
			vars [
				ALSA_RAWMIDI_CARD
				ALSA_CARD
			]
			default {
				@func refer
				name defaults.rawmidi.card
			}
		}
	}
	@args.DEV {
		type integer
		default {
			@func igetenv
			vars [
				ALSA_RAWMIDI_DEVICE
			]
			default {
				@func refer
				name defaults.rawmidi.device
			}
		}
	}
	@args.SUBDEV {
		type integer
		default -1
	}
	type hw
	card $CARD
	device $DEV
	subdevice $SUBDEV
	hint {
		description "Direct rawmidi driver device"
		device $DEV
	}
}

rawmidi.virtual {
	@args [ MERGE ]
	@args.MERGE {
		type string
		default 1
	}
	type virtual
	merge $MERGE
}

#
#  Sequencer interface
#

seq.default {
	type hw
	hint.description "Default sequencer device"
}

seq.hw {
	type hw
}

#
#  HwDep interface
#

hwdep.default {
	type hw
	card {
		@func getenv
		vars [
			ALSA_HWDEP_CARD
			ALSA_CARD
		]
		default {
			@func refer
			name defaults.hwdep.card
		}
	}
	device {
		@func igetenv
		vars [
			ALSA_HWDEP_DEVICE
		]
		default {
			@func refer
			name defaults.hwdep.device
		}
	}
	hint.description "Default hardware dependent device"
}

hwdep.hw {
	@args [ CARD DEV ]
	@args.CARD {
		type string
		default {
			@func getenv
			vars [
				ALSA_HWDEP_CARD
				ALSA_CARD
			]
			default {
				@func refer
				name defaults.hwdep.card
			}
		}
	}
	@args.DEV {
		type integer
		default {
			@func igetenv
			vars [
				ALSA_HWDEP_DEVICE
			]
			default {
				@func refer
				name defaults.hwdep.device
			}
		}
	}
	type hw
	card $CARD
	device $DEV
	hint {
		description "Direct hardware dependent device"
		device $DEV
	}
}

#
#  Timer interface
#

timer_query.default {
	type hw
}

timer_query.hw {
	type hw
}

timer.default {
	type hw
	class {
		@func refer
		name defaults.timer.class
	}
	sclass {
		@func refer
		name defaults.timer.sclass
	}
	card {
		@func refer
		name defaults.timer.card
	}
	device {
		@func refer
		name defaults.timer.device
	}
	subdevice {
		@func refer
		name defaults.timer.subdevice
	}
	hint.description "Default timer device"
}

timer.hw {
	@args [ CLASS SCLASS CARD DEV SUBDEV ]
	@args.CLASS {
		type integer
		default {
			@func refer
			name defaults.timer.class
		}
	}
	@args.SCLASS {
		type integer
		default {
			@func refer
			name defaults.timer.sclass
		}
	}
	@args.CARD {
		type string
		default {
			@func refer
			name defaults.timer.card
		}
	}
	@args.DEV {
		type integer
		default {
			@func refer
			name defaults.timer.device
		}
	}
	@args.SUBDEV {
		type integer
		default {
			@func refer
			name defaults.timer.subdevice
		}
	}
	type hw
	class $CLASS
	sclass $SCLASS
	card $CARD
	device $DEV
	subdevice $SUBDEV
	hint {
		description "Direct timer device"
		device $DEV
	}
}
As for the install type / kernel version, I used the the Slack ARM-current for the pi 3 I had downloaded from the SARPi website.

root@slack14pi3:~# uname -r
Code:
4.14.37-v7-arm

I haven't tried tweaking any kernel stuff yet. Might try that later on if I'm feeling better.


Thank you for the suggestions.


Rob.
 
Old 06-03-2018, 02:54 PM   #12
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 450

Rep: Reputation: 226Reputation: 226Reputation: 226
Your ALSA conf files are OK. Try the official kernel+libs+firmware as suggested. You can revert the changes if it still doesn't work.

Get well soon!
A.
 
Old 06-04-2018, 04:44 PM   #13
robmckennon68
LQ Newbie
 
Registered: Mar 2018
Location: Jacksonville, FL
Distribution: Slackware and CentOS
Posts: 14

Original Poster
Rep: Reputation: Disabled
ok, so I think I have found part of the problem. From your previous instructions, I double-checked my /boot partition, and it WASN'T mounted to /dev/mmcblk0p1. It wasn't mounted at all. I'm pretty sure that I followed the instructions carefully when I installed it before.

So, I got the latest installer, and tried it again.


fdisk
Code:
root@slackware:~# fdisk /dev/mmcblk0

Welcome to fdisk (util-linux 2.32).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/mmcblk0: 29 GiB, 31104958464 bytes, 60751872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1fe3570f

Device         Boot   Start      End  Sectors   Size Id Type
/dev/mmcblk0p1 *         32   205055   205024 100.1M  c W95 FAT32 (LBA)
/dev/mmcblk0p2       206848  2160639  1953792   954M 82 Linux swap
/dev/mmcblk0p3      2160640 60751871 58591232    28G 83 Linux


As I went through the install again, this time paying close attention to the /boot partition stuff, I got to the "If you want to skip FSCK checks" screen, and I said "yes", and it just kind of 'hangs' until I hit enter again. I've tried this several times!

After I hit "enter" a second time, it takes me to the "source media selection" screen, BYPASSING the fat/boot-partition/fstab screens!

I believe this is why my boot partition wasn't mounted correctly the first time, and possibly why I was having the HDMI sound issues to begin with. Can anyone else verify if this is a bug in the installer?


Rob.
 
Old 06-04-2018, 05:20 PM   #14
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 450

Rep: Reputation: 226Reputation: 226Reputation: 226
Quote:
Originally Posted by robmckennon68 View Post
ok, so I think I have found part of the problem. From your previous instructions, I double-checked my /boot partition, and it WASN'T mounted to /dev/mmcblk0p1. It wasn't mounted at all. I'm pretty sure that I followed the instructions carefully when I installed it before.

I believe this is why my boot partition wasn't mounted correctly the first time, and possibly why I was having the HDMI sound issues to begin with. Can anyone else verify if this is a bug in the installer?

Rob.
Is your sound card working now / does ALSA recognize it?
On the installer issue, I'm afraid I can't be of any help since I have zero experience with the SARPi project, never used it (actually unsuccessfully tried it once as I got my first Pi board and dropped the whole idea), instead I'm always doing the manual installation method.
The SARPi maintainer might be able to help you if he's around and willing to.
 
Old 06-04-2018, 07:36 PM   #15
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 583

Rep: Reputation: 114Reputation: 114
Quote:
Originally Posted by robmckennon68 View Post
and it just kind of 'hangs' until I hit enter again. I've tried this several times!
Are you waiting long enough for the rpi to respond?

I ran through the sarpi install instructions a few times successfully, cannot confirm any bug.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Some issues with managing headphone jack on current Linux (SUSE, FEDORA, UBUNTU?) Lsatenstein Linux - Desktop 5 05-20-2015 02:21 PM
No sound from headphone jack Nemesissparadise Linux - Hardware 5 10-25-2009 12:04 AM
Low sound from speakers/ No sound from headphone jack with Intel ICH8 Family Audio troydclayton Linux - Hardware 2 03-28-2008 10:18 PM
No sound on headphone jack kiaraho Linux - Hardware 3 02-16-2007 05:04 PM
No sound from headphone jack jefferai Linux - Laptop and Netbook 0 08-21-2004 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 01:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration