Sound Not Working (Quirky Xerus 8.0 final)

Please post any bugs you have found
Message
Author
jlst

#16 Post by jlst »

I'd like to see the output of

Code: Select all

cat /proc/asound/pcm
cat /proc/asound/modules

jlst

#17 Post by jlst »

removed misleading message
Last edited by jlst on Fri 29 Apr 2016, 13:29, edited 1 time in total.

BuddhaDog
Posts: 69
Joined: Sun 26 Oct 2008, 13:18

#18 Post by BuddhaDog »

jlst wrote: It looks like there is no suitable audio output, i'd like to see the associated drivers

Code: Select all

cat /proc/asound/modules 
Right, here is the output:

Code: Select all

# cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_usb_audio

jlst

#19 Post by jlst »

i'd like to see the output of

Code: Select all

lspci | grep -i audio
Last edited by jlst on Fri 29 Apr 2016, 13:30, edited 1 time in total.

BuddhaDog
Posts: 69
Joined: Sun 26 Oct 2008, 13:18

#20 Post by BuddhaDog »

jlst wrote:Well, from what I can see, there is something wrong, there should be a 'PCH' or 'Analog' somewhere... all the laptops with a working sound output i tested had of one those strings

i'd like to see the output of

Code: Select all

lspci | grep -i audio
Yeah, something wonky is going on here. I'm not too heavily invested in this install so I can try re-installing it if need be. Here is the output:

Code: Select all

# lspci | grep -i audio
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01

jlst

#21 Post by jlst »

.
Last edited by jlst on Fri 29 Apr 2016, 13:22, edited 1 time in total.

BuddhaDog
Posts: 69
Joined: Sun 26 Oct 2008, 13:18

#22 Post by BuddhaDog »

jlst wrote:BuddhaDog, reading the first page, there is a discrepancy in the output of the same command.

This
BuddhaDog wrote:Thanks for the tip Scabz. I will take a look at that.
0 snd_hda_intel
1 snd_usb_audio
2 snd_hda_intel
and this:
BuddhaDog wrote:

Code: Select all

# cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_usb_audio
In the 1st example there are 3 loaded, which means 3 soundcards, probably:
1. hda hdmi
2. usb audio
3. hda analog <-- this is the right one i assume

In the 2nd example there are 2 loaded drivers, which means 2 soundcards, probably:
1. hda hdmi
2. usb audio

---

Was that done under the same system???
Yep, same system. Puppy Quirky Xerus 8.0 final

Update: Just did a fresh re-install so now I am back to the original output with the same problem. Have to go to work now so I won't be able to play with it anymore until tomorrow. : (

jlst

#23 Post by jlst »

This is so mysterious, I'm editing Multiple Sound Card Wizard... I'll post a pet later.

jlst

#24 Post by jlst »

BuddahDog, download and install MSCW from heret:
http://murga-linux.com/puppy/viewtopic. ... 343#901343

Launch the gui and click on the Report button
then attach what you see in a file...

jlst

#25 Post by jlst »

hi BuddhaDog

well, now that i remember, /proc/asound/cards has useful info

Code: Select all

cat /proc/asound/cards
---

MSCW: this tool will provide information that might help
solve your issue

install the pet, then run

Code: Select all

Multiple-Sound-Card-Wizard
click on the report button, it will open your default text editor
with the report, copy and paste here the report
(you can also attach the file to your message)
or you can send me a private message with the text,
whatever you think is best.

if anyone is having the same problem, do the steps described above
Attachments
mscw-20160428-noarch.pet
(8.45 KiB) Downloaded 142 times

BuddhaDog
Posts: 69
Joined: Sun 26 Oct 2008, 13:18

#26 Post by BuddhaDog »

@Jlst Thanks a lot for all the help! Here is the output from MSCW:

Code: Select all

	Manufacturer: ASUSTeK COMPUTER INC.
	Product Name: F2A85-V PRO

==========================================
            Sound Card Wizard             
==========================================

---------- /etc/asound.conf ---------
defaults.pcm.card 0
defaults.pcm.device 0
defaults.ctl.card 0
-------------------------------------

------------ .retrovolrc ------------
#card=hw:0
card=hw:0
-------------------------------------

Advanced Linux Sound Architecture Driver Version k4.4.7.

 0 snd_hda_intel
 1 snd_usb_audio
 2 snd_hda_intel

################################################### cards
 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeb44000 irq 42
 1 [U0x46d0x9a4    ]: USB-Audio - USB Device 0x46d:0x9a4
                      USB Device 0x46d:0x9a4 at usb-0000:00:10.1-2, high speed
 2 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfeb40000 irq 16
###################################################

################################################### aplay -l
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
card 2: Generic [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog]
card 2: Generic [HD-Audio Generic], device 1: ALC892 Digital [ALC892 Digital]
###################################################

################################################### pcm
00-03: HDMI 0 : HDMI 0 : playback 1
00-07: HDMI 1 : HDMI 1 : playback 1
01-00: USB Audio : USB Audio : capture 1
02-00: ALC892 Analog : ALC892 Analog : playback 1 : capture 1
02-01: ALC892 Digital : ALC892 Digital : playback 1
02-02: ALC892 Alt Analog : ALC892 Alt Analog : capture 1
###################################################

################################################### devices
  1:        : sequencer
  2: [ 0]   : control
  3: [ 0- 3]: digital audio playback
  4: [ 0- 7]: digital audio playback
  5: [ 0- 0]: hardware dependent
  6: [ 2]   : control
  7: [ 2- 0]: digital audio playback
  8: [ 2- 0]: digital audio capture
  9: [ 2- 1]: digital audio playback
 10: [ 2- 2]: digital audio capture
 11: [ 2- 0]: hardware dependent
 12: [ 1]   : control
 13: [ 1- 0]: digital audio capture
 33:        : timer
###################################################



==========================================
          lspci | grep -i audio           
==========================================
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)

==========================================
     /etc/modprobe.d/alsa-base.conf       
==========================================
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

jlst

#27 Post by jlst »

with MSCW you can select the correct audio pcm device
and the selection will be persistent

but in puppy everything should work out of the box,
we're trying to fix the default audio output device

so i hope you haven't toyed with MSCW yet.

download and install this pet, it contains the alsa-base.conf
already present in woof ce git.

then reboot.. then test sound, adjust sound levels
with retrovol, and let me know if sound is working

PS: removed the pet, don't install it if you have it
Last edited by jlst on Fri 29 Apr 2016, 17:14, edited 1 time in total.

BuddhaDog
Posts: 69
Joined: Sun 26 Oct 2008, 13:18

#28 Post by BuddhaDog »

jlst wrote:with MSCW you can select the correct audio pcm device
and the selection will be persistent

but in puppy everything should work out of the box,
we're trying to fix the default audio output device

so i hope you haven't toyed with MSCW yet.

download and install this pet, it contains the alsa-base.conf
already present in woof ce git.

then reboot.. then test sound, adjust sound levels
with retrovol, and let me know if sound is working
I downloaded the alsa-base.conf pet, installed it, and rebooted. Unfortunately, I am now back to the 2 non working sound cards.

jlst

#29 Post by jlst »

Ok, in retrovol, make sure most sliders have been enabled and raise the volume of every slider.

now run MSCW again.

Code: Select all

Multiple-Sound-Card-Wizard
And paste the report here, in order to know if anything has changed, then i'll try to come up with something..

BuddhaDog
Posts: 69
Joined: Sun 26 Oct 2008, 13:18

#30 Post by BuddhaDog »

jlst wrote:Ok, in retrovol, make sure most sliders have been enabled and raise the volume of every slider.

now run MSCW again.

Code: Select all

Multiple-Sound-Card-Wizard
And paste the report here, in order to know if anything has changed, then i'll try to come up with something..
Ran MSCW and here is the output:

Code: Select all

	Manufacturer: ASUSTeK COMPUTER INC.
	Product Name: F2A85-V PRO

==========================================
     /tmp/services/10alsa.start.log       
==========================================
Quirky Xerus64 8.0
Linux puppypc15945 4.4.7 #1 SMP Wed Apr 20 17:09:25 GMT-8 2016 x86_64 x86_64 x86_64 GNU/Linux

 0 snd_hda_intel
 1 snd_usb_audio

###################################################
 0 [PCH            ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeb44000 irq 42
 1 [U0x46d0x9a4    ]: USB-Audio - USB Device 0x46d:0x9a4
                      USB Device 0x46d:0x9a4 at usb-0000:00:10.1-2, high speed
###################################################

###################################################
snd_hda_codec_hdmi     32174  1
snd_usb_audio         117018  0
snd_usbmidi_lib        17012  1 snd_usb_audio
snd_seq_dummy           1339  0
snd_seq_oss            22439  0
snd_hda_intel          20102  0
snd_seq_midi            4390  0
snd_seq_midi_event      4868  2 snd_seq_oss,snd_seq_midi
snd_hda_codec          70321  2 snd_hda_codec_hdmi,snd_hda_intel
snd_hda_core           28200  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_rawmidi            15711  2 snd_usbmidi_lib,snd_seq_midi
snd_hwdep               5203  2 snd_usb_audio,snd_hda_codec
snd_pcm_oss            30906  0
snd_seq                40690  6 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy,snd_seq_midi
snd_mixer_oss          12184  1 snd_pcm_oss
snd_pcm                69360  6 snd_pcm_oss,snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_seq_device          3095  4 snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_midi
snd_timer              16895  2 snd_pcm,snd_seq
snd                    49605  14 snd_pcm_oss,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_oss,snd_seq_device,snd_mixer_oss
soundcore               4431  1 snd
###################################################

# alsactl -d -f /etc/asound.state restore
alsactl: set_controls:1479: device='hw:0', doit=0
alsactl: set_controls:1491: card-info-id: 'PCH'
alsactl: set_controls:1517: maxnumid=15
alsactl: set_controls:1535: result code: 0
alsactl: set_controls:1479: device='hw:0', doit=1
alsactl: set_controls:1491: card-info-id: 'PCH'
alsactl: set_controls:1517: maxnumid=15
alsactl: set_controls:1535: result code: 0
alsactl: set_controls:1479: device='hw:1', doit=0
alsactl: set_controls:1491: card-info-id: 'U0x46d0x9a4'
alsactl: set_controls:1517: maxnumid=3
alsactl: set_controls:1535: result code: 0
alsactl: set_controls:1479: device='hw:1', doit=1
alsactl: set_controls:1491: card-info-id: 'U0x46d0x9a4'
alsactl: set_controls:1517: maxnumid=3
alsactl: set_controls:1535: result code: 0
alsactl: exit code 0



==========================================
            Sound Card Wizard             
==========================================

---------- /etc/asound.conf ---------
defaults.pcm.card 0
defaults.pcm.device 3
-------------------------------------

------------ .retrovolrc ------------
#card=hw:0
-------------------------------------

Advanced Linux Sound Architecture Driver Version k4.4.7.

 0 snd_hda_intel
 1 snd_usb_audio

################################################### cards
 0 [PCH            ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeb44000 irq 42
 1 [U0x46d0x9a4    ]: USB-Audio - USB Device 0x46d:0x9a4
                      USB Device 0x46d:0x9a4 at usb-0000:00:10.1-2, high speed
###################################################

################################################### aplay -l
card 0: PCH [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
card 0: PCH [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
###################################################

################################################### pcm
00-03: HDMI 0 : HDMI 0 : playback 1
00-07: HDMI 1 : HDMI 1 : playback 1
01-00: USB Audio : USB Audio : capture 1
###################################################

################################################### devices
  1:        : sequencer
  2: [ 0]   : control
  3: [ 0- 3]: digital audio playback
  4: [ 0- 7]: digital audio playback
  5: [ 0- 0]: hardware dependent
  6: [ 1]   : control
  7: [ 1- 0]: digital audio capture
 33:        : timer
###################################################



==========================================
          lspci | grep -i audio           
==========================================
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)

==========================================
     /etc/modprobe.d/alsa-base.conf       
==========================================
# BK got this file from Ubuntu, May 2011.
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
# Keep HDA HDMI from being loaded as first soundcard
options snd-hda-intel id=PCH,HDMI index=0,1
options snd-hda-intel-hdmi index=-2
options snd-hda-codec-hdmi index=-2

jlst

#31 Post by jlst »

Thank you BuddhaDog, this is revealing. The alsa-base.conf with the new entries seems to have worsen the situation.

I get the whole picture now, and I have something in mind to address this issue.

Meanwhile, please revert the changes in /etc/modprobe.d/alsa-base.conf... remove the last 4 lines starting from "# Keep HDA HDMI from being loaded as first soundcard"

jlst

#32 Post by jlst »

Ok, BDD:

Try this MSCW experiment. Download and install the pet file.
Reboot... play a media file (check retrovol)

Is sound working?
Attachments
mscw-20160429-noarch.pet
(9.65 KiB) Downloaded 116 times

BuddhaDog
Posts: 69
Joined: Sun 26 Oct 2008, 13:18

#33 Post by BuddhaDog »

jlst wrote:Ok, BDD:

Try this MSCW experiment. Download and install the pet file.
Reboot... play a media file (check retrovol)

Is sound working?
Jlst: I downloaded and installed the pet file. After I rebooted, I went into Retrovol Config (by right clicking on the volume icon in the panel and selecting Config Window) and on the hardware tab I changed Sound Card to hw:2.

After I hit Apply and opened it up again, I found the usual sliders you would expect to see such as Master, PCM, Headphone, Mic, etc.

I added PCM and Master to the active sliders. Then I opened up Retrovol (from the menu) and made sure that they were selected.

After this I opened Radio Streamer and was able to set it to use PCM. The volume control and sound seems to be working this way. I was able to play Youtube videos as well as audio files on my computer. The lingering problem is that the volume controls work in the individual applications but the main volume control doesn't work. It seems like progress though so YAY!

jlst

#34 Post by jlst »

Good. I guess my experiment didn't work,
so you're doing it manually.

I think you can do the same with MSCW:

Code: Select all

Multiple-Sound-Card-Wizard
From the list, select this:
card 2: Generic [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog]

Then click on the "Select card/device" button

By doing that you'll create a global alsa config
that will be used by all your programs,
that's why it's called Multiple Sound Card Wizard.

BuddhaDog
Posts: 69
Joined: Sun 26 Oct 2008, 13:18

#35 Post by BuddhaDog »

I ran MCSW and it makes no difference. The only thing the volume control in the panel will do is mute the sound when I scroll it to 0.

I did however get my dual monitors working properly so that's a win!

I don't know what else to try at this point. At least I have sound and can adjust each application's sound.

Thanks again for all your help. If you come up with any more ideas, i will be happy to give them a shot.

I am having the same issue with Tahr Pup so it's not just Quirky.

Post Reply