[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No sound on Wheezy



On Vi, 26 oct 12, 13:53:05, Artifex Maximus wrote:
> 
> Thank you. Where those hw numbers come from? 

They are hidden in the output of 'aplay -l' ;)

> I tried the following under Gnome:
> 
> # speaker-test -t wav -c 2 -D hw:0,0
> 
> speaker-test 1.0.25
> 
> Playback device is hw:0,0
> Stream parameters are 48000Hz, S16_LE, 2 channels
> WAV file(s)
> Playback open error: -16,Device or resource busy
> # /etc/init.d/pulseaudio stop
> [warn] PulseAudio configured for per-user sessions ... (warning).
> # speaker-test -t wav -c 2 -D hw:0,0
> 
> speaker-test 1.0.25
> 
> Playback device is hw:0,0
> Stream parameters are 48000Hz, S16_LE, 2 channels
> WAV file(s)
> Playback open error: -16,Device or resource busy

Something else is keeping this output locked. Try 'lsof | grep snd' or 
reboot in recovery mode.

> # speaker-test -t wav -c 2 -D hw:1,0
> 
> speaker-test 1.0.25
> 
> Playback device is hw:1,0
> Stream parameters are 48000Hz, S16_LE, 2 channels
> WAV file(s)
> Playback open error: -2,No such file or directory
> # speaker-test -t wav -c 2 -D hw:2,0
> 
> speaker-test 1.0.25
> 
> Playback device is hw:2,0
> Stream parameters are 48000Hz, S16_LE, 2 channels
> WAV file(s)
> Playback open error: -2,No such file or directory
> 
> Just wondering what change does in second number:
> 
> # speaker-test -t wav -c 2 -D hw:0,1
> 
> speaker-test 1.0.25
> 
> Playback device is hw:0,1
> Stream parameters are 48000Hz, S16_LE, 2 channels
> WAV file(s)
> Rate set to 48000Hz (requested 48000Hz)
> Buffer size range from 64 to 16384
> Period size range from 32 to 8192
> Using max buffer size 16384
> Periods = 4
> was set period_size = 4096
> was set buffer_size = 16384
>  0 - Front Left
>  1 - Front Right
> Time per period = 2,730392
>  0 - Front Left
>  1 - Front Right
> Time per period = 2,986731
>  0 - Front Left
>  1 - Front Right
> 
> Still no sound. So no success.

Yes, since this is a digital output.

> # aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC887-VD Analog [ALC887-VD Analog]
^^^^^^^^^^                  ^^^^^^^^^^^

>   Subdevices: 0/1
>   Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 1: ALC887-VD Digital [ALC887-VD Digital]
^^^^^^^^^^                  ^^^^^^^^^^^

>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
^^^^^^^^^^                           ^^^^^^^^^^^

>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> I think this means that alsa detect my audio device.

Yes. I'd say:

Step 1: stop/get rid of whatever is blocking your analog output
Step 2: if step 1. was not enough play around with the controls in 
alsamixer (or post output of 'amixer' for suggestions). Sometimes a 
harmless looking control is muted or has 0 (or too low) volume.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: