You are not logged in.
Pages: 1
I have an installation on USB flash drive with KDE. After installing I was not able to play sound in Amarok & Chrome (didn't try other apps) but speaker-test worked ok. I booted this Arch installation[ from other laptop out of curiosity where the sound worked without problems. After returning back to original laptop where the installation was done, now alsospeaker-test and aplay produce no sound.
Here is output of alsa-info.sh https://www.scribd.com/doc/251043152/al … 3IYvAeZWVw
lspci shows for audio: 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Can you please help me troubleshoot this?
Offline
To have a USB installation, your setup should be mostly generic. So, no autodetect in mkinicpio.conf and non special module setting in /etc/modprobe.d/
You should try to boot the initramfs-fallback.img at first. Give short detailed outputs and already tried some fixes.
On the originting PC what is
aplay -l
do it good first, it will be faster than do it twice the saint
Offline
I am not aware of any special settings. I created RAM disk using default way by mkinitcpio -p linux.
The result of aplay -l is
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD1984A Analog [AD1984A Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: AD1984A Alt Analog [AD1984A Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
and for aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
HDA Intel, AD1984A Analog
Default Audio Device
sysdefault:CARD=Intel
HDA Intel, AD1984A Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, AD1984A Analog
Front speakers
surround21:CARD=Intel,DEV=0
HDA Intel, AD1984A Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Intel,DEV=0
HDA Intel, AD1984A Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, AD1984A Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, AD1984A Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, AD1984A Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, AD1984A Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
HDA Intel, HDMI 0
HDMI Audio Output
The aplay -D command worked only on first two PCMs and reported no error. But I was not able to hear any sound neither from speakers no from headphones.
Can you please give mo more details how to boot with initramfs-fallback.img? As this is an unknown topic for me. EDIT: From Grub menu I chose to boot with fallback image and tried the sound: still not change.
Last edited by rsupremo (2014-12-26 17:53:05)
Offline
Device: name="AD1984A Analog", type="Audio", device=0
Device: name="AD1984A Alt Analog", type="Audio", device=2
Choose the right sub-device
The aplay -D command worked only
Show the *full* command that you used - if you write so vaguely, we don't know what trivial mistakes you're making.
Offline
I tried
aplay -vv -D default
and
aplay -vv -D sysdefault
. What do you mean by choosing the right subdevices? I am not sure if I understand what you are implying. Can you show me an example of what neeeds to be done in my case?
Last edited by rsupremo (2014-12-26 20:02:03)
Offline
See ALSA wiki for subdevices.
Try e.g. "hw:0,2", just so that you can find the correct subdevice.
Offline
Here is the output of various attempts:
aplay -D "hw:0,0" test.wav
Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
aplay: set_params:1233: Sample format non available
Available formats:
- S16_LE
- S32_LE
aplay -D "hw:0,2" test.wav
aplay: main:722: audio open error: Device or resource busy
aplay -D "hw:0,3" test.wav
Playing WAVE 'test.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
aplay: set_params:1233: Sample format non available
Available formats:
- S16_LE
- S32_LE
- IEC958_SUBFRAME_LE
I dont' understand why on devices default and sysdefault this works. Are they different devices than hw 0,0 and hw 0,2?
Offline
aplay: main:722: audio open error: Device or resource busy
Argh, you probably have pulseaudio and KDE's nuttiness, opening the audio and preventing this little test from working.
Take a look:
fuser -fv /dev/snd/*
Offline
I had pulse audio installed but then uninstalled it.
Here is output of fuser:
fuser -fv /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: dbf 2811 F.... kded4
dbf 2909 F.... kmix
EDIT: After shutting down xserver & KDE I ran the same user command and there was no result.
Last edited by rsupremo (2014-12-26 20:57:29)
Offline
Try e.g. "hw:0,2", just so that you can find the correct subdevice.
To continuously change device is troublesome with a portable installation. Mine is not, I don't bother for any audio device
do it good first, it will be faster than do it twice the saint
Offline
Pages: 1