LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-11-2023, 08:32 PM   #1
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 816
Blog Entries: 1

Rep: Reputation: 439Reputation: 439Reputation: 439Reputation: 439Reputation: 439
bluetooth hijacks audio


Hello. On two pinebook pros, both with fresh installations of slackwareaarch64-15+ then updated to -current, I experienced same phenomenon:

sound was working out of both internal speakers and via headphone jack (uart switch is set to audio), and on the first laptop I paired some bluetooth speakers, and sound switched to playing through these speakers just fine. However, when I disconnect the bluetooth speakers, sound is not returned to built-in system. The levels are dancing on the mixers, but no sound comes out.

I tried to manually enable with
Code:
amixer -q -c0 cset numid=28 on &> /dev/null
but to no avail.

If I reconnect the bluetooth speakers, audio is still there.

Likewise, on the second laptop, the same phenomenon, though with some bluetooth headphones, through which I'm listening to some tunes now, but should I turn them off to use the aux cord... no audio... levels yes... sound no.

I disabled executable permission on /etc/rc.d/rc.bluetooth, rebooted, started x11, and played an audio stream. No sound. Here is syslog:

Code:
Mar 12 01:32:15 papaz pulseaudio[3244]: [pulseaudio] core-util.c: Failed to create secure directory (/run/user/1111/pulse): No such file or directory
Mar 12 03:11:05 papaz pulseaudio[1721]: [pulseaudio] module-x11-xsmp.c: ICE I/O error handler called
Mar 12 03:11:05 papaz pulseaudio[1721]: [pulseaudio] x11wrap.c: X11 I/O error handler called
Mar 12 03:11:05 papaz pulseaudio[1721]: [pulseaudio] x11wrap.c: X11 I/O error exit handler called, preparing to tear down X11 modules
Mar 12 03:11:05 papaz pulseaudio[1721]: [pulseaudio] stdin-util.c: Lost I/O connection in module "module-gsettings"
Mar 12 03:11:05 papaz pulseaudio[1721]: [pulseaudio] core-util.c: Failed to create secure directory (/run/user/1111/pulse): No such file or directory
Mar 12 03:14:35 papaz pulseaudio[1731]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
I looked and /run/user/1111/pulse did exist, so that's a weird error.

I also tried enabling pipewire, and got the same results of levels showing without sound. I've since reverted to default pulse-audio state.

I don't think it is hardware since sound worked originally. Any ideas on how to proceed? Is there a way to fire up alsa in debug mode?
 
Old 03-11-2023, 10:09 PM   #2
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I don't know if it's related but I have no snap,crackle,pop(audio anything) on my pbp after last updates.

alsamixer, all levels up, everything on

Quote:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: hdmisound [hdmi-sound], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 [ff8a0000.i2s-i2s-hifi i2s-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Analog [Analog], device 0: ff890000.i2s-ES8316 HiFi ES8316 HiFi-0 [ff890000.i2s-ES8316 HiFi ES8316 HiFi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Code:
aplay /usr/share/sounds/alsa/Front_Center.wav
completes, doesn't indicate any error but there is no audio

rockpro64 audio working fine

Last edited by glorsplitz; 03-11-2023 at 10:17 PM.
 
1 members found this post helpful.
Old 03-12-2023, 05:38 PM   #3
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 816

Original Poster
Blog Entries: 1

Rep: Reputation: 439Reputation: 439Reputation: 439Reputation: 439Reputation: 439
Interesting. I may have been premature at blaming bluetooth, as both pbs went through both bluetooth pairings, as well as updating to -current. Could have been the updates.

My eldest boy also has a pbp (I trained him in the ways of slac), and he is visiting today, and reports that his audio works right after he installs slackware from the microsd; but his stops working after the first reboot, even before updating...

Well, I've rebooted both pbps as well, so I'm not ruling that out either.

The fact that slackwarearrch64-current runs the rockpro64 audio without issues may point to something hardwarish in the pbp.

This thread goes as far as suggesting removing the audio out port and suggests some replacements of known quality with an older style mechanical switching mechanism.

Also, when I ffplay an audio stream, but get no audio, I see this in the output:
Code:
[aac @ 0xffff5c31c0c0] No quantized data read for sbr_dequant.0/0

Last edited by slac-in-the-box; 03-12-2023 at 06:40 PM. Reason: added ffplay output
 
Old 03-12-2023, 06:52 PM   #4
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
don't ask me, I've gone about diagnosing audio issues before, what I tried yesterday works today, weird

so I don't have pbp audio issues it would seem at this time

slac-in-the-box you're on your own
 
Old 03-15-2023, 08:40 PM   #5
slacro
LQ Newbie
 
Registered: Mar 2023
Posts: 1

Rep: Reputation: 1
Hi. I installed Slackware aarch64 15.0+ on a Pinebook Pro, and initially the sound worked fine. However, the first time the machine was powered off and back on, the internal speakers no longer seemed functional.

The program alsamixer found the rockchip es8316-codec sound card, and the volume levels could be adjusted in the Headphones categories, but not in the Speakers category.

A solution, in my case, was to run the command:
Code:
alsactl restore

Last edited by slacro; 03-15-2023 at 08:46 PM.
 
1 members found this post helpful.
Old 03-16-2023, 03:46 PM   #6
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 816

Original Poster
Blog Entries: 1

Rep: Reputation: 439Reputation: 439Reputation: 439Reputation: 439Reputation: 439
Nice first post, Slacro: It worked!

I copied /etc/asound.state to /var/lib/alsa/asound.state and added "alsactl restore" to /etc/rc.d/rc.local, rebooted, and I have sound again.

Thanks.
 
  


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
LXer: Phoenix hijacks Windows boot with instant-on LXer Syndicated Linux News 0 11-07-2007 05:20 AM
update-menus hijacks my own menu entries paledread Debian 4 01-09-2006 06:53 PM
Windows Hijacks MBR kevygee Linux - General 1 01-03-2006 12:06 AM
Windows hijacks my computer. Boot flags. necromantik Linux - General 2 12-30-2004 12:48 AM
KDE hijacks my XFCE ppuru Slackware 12 07-26-2004 10:20 AM

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

All times are GMT -5. The time now is 01:10 AM.

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
Open Source Consulting | Domain Registration