You are not logged in.

#1 2011-09-25 00:49:49

licha
Member
From: Costa Rica
Registered: 2011-09-25
Posts: 4

no sound in USB Sound Speakers, but everything is fine in my ALC883 An

hello!

I have a little problem with my audio in Parabola GNU/Linux-Libre (is Arch but without nonfree software), i follow the guide to configure ALSA, but i didn't work.

the problem is, there is sound and everything is fine, in the analog card, BUT, I dont use that card because I have USB Sound Speakers.I have output in VLC if I force it to use ALSA instead the default output.

there is some data:

[andres@arayapc ~]$ cat /var/lib/alsa/asound.state
state.Intel {
	control.1 {
		iface MIXER
		name 'Channel Mode'
		value '6ch'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 '2ch'
			item.1 '4ch'
			item.2 '6ch'
		}
	}
	control.2 {
		iface MIXER
		name 'Front Playback Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.3 {
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.4 {
		iface MIXER
		name 'Surround Playback Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.5 {
		iface MIXER
		name 'Surround Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.6 {
		iface MIXER
		name 'Center Playback Volume'
		value 31
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
		}
	}
	control.7 {
		iface MIXER
		name 'LFE Playback Volume'
		value 31
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
		}
	}
	control.8 {
		iface MIXER
		name 'Center Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'LFE Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Rear Mic Playback Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 1200
			dbvalue.1 1200
		}
	}
	control.12 {
		iface MIXER
		name 'Rear Mic Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Front Mic Playback Volume'
		value.0 9
		value.1 9
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -2100
			dbvalue.1 -2100
		}
	}
	control.14 {
		iface MIXER
		name 'Front Mic Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.15 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 1200
			dbvalue.1 1200
		}
	}
	control.16 {
		iface MIXER
		name 'Line Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.17 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.18 {
		iface MIXER
		name 'Rear Mic Boost Volume'
		value.0 3
		value.1 3
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.19 {
		iface MIXER
		name 'Front Mic Boost Volume'
		value.0 3
		value.1 3
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 3000
			dbvalue.1 3000
		}
	}
	control.20 {
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.21 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.22 {
		iface MIXER
		name 'Capture Volume'
		value.0 31
		value.1 31
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -1200
			dbmax 3450
			dbvalue.0 3450
			dbvalue.1 3450
		}
	}
	control.23 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 30
		value.1 30
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -1200
			dbmax 3450
			dbvalue.0 3300
			dbvalue.1 3300
		}
	}
	control.24 {
		iface MIXER
		name 'Input Source'
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Rear Mic'
			item.1 'Front Mic'
			item.2 Line
		}
	}
	control.25 {
		iface MIXER
		name 'Input Source'
		index 1
		value 'Rear Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Rear Mic'
			item.1 'Front Mic'
			item.2 Line
		}
	}
	control.26 {
		iface MIXER
		name 'Beep Playback Volume'
		value.0 30
		value.1 30
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 1050
			dbvalue.1 1050
		}
	}
	control.27 {
		iface MIXER
		name 'Beep Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.28 {
		iface MIXER
		name 'Master Playback Volume'
		value 31
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 31'
			dbmin -4650
			dbmax 0
			dbvalue.0 0
		}
	}
	control.29 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.30 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 252
		value.1 252
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -60
			dbvalue.1 -60
		}
	}
}
state.Device {
	control.1 {
		iface MIXER
		name 'PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 8548
		value.1 8548
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 9472'
			dbmin -3700
			dbmax 0
			dbvalue.0 -361
			dbvalue.1 -361
		}
	}
	control.3 {
		iface MIXER
		name Loudness
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
}
[andres@arayapc ~]$ 
[andres@arayapc ~]$ cat /proc/asound/modules
 1 snd_hda_intel
 2 snd_usb_audio
[andres@arayapc ~]$ cat /etc/modprobe.d/alsa.conf
options snd slots=snd_usb_audiox0
options snd slots=snd-intelx1
[andres@arayapc ~]$ 
[andres@arayapc ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Device [USB Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[andres@arayapc ~]$ 
[andres@arayapc ~]$ lsmod|grep '^snd' | column -t
snd_usb_audio          74314   1
snd_usbmidi_lib        15445   1   snd_usb_audio
snd_rawmidi            15196   1   snd_usbmidi_lib
snd_seq_device         4252    1   snd_rawmidi
snd_hda_codec_realtek  222124  1
snd_hda_intel          19101   2
snd_hda_codec          66954   2   snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              4942    2   snd_usb_audio,snd_hda_codec
snd_pcm                60015   3   snd_usb_audio,snd_hda_intel,snd_hda_codec
snd_timer              15374   1   snd_pcm
snd                    43561   16  snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc         5773    2   snd_hda_intel,snd_pcm
[andres@arayapc ~]$ 
[andres@arayapc ~]$ ls -l /dev/snd
total 0
drwxr-xr-x  2 root root       60 sep 24 18:04 by-id
drwxr-xr-x  2 root root       80 sep 24 18:04 by-path
crw-rw----+ 1 root audio 116,  6 sep 24 16:53 controlC1
crw-rw----+ 1 root audio 116,  8 sep 24 18:04 controlC2
crw-rw----+ 1 root audio 116,  5 sep 24 16:53 hwC1D2
crw-rw----+ 1 root audio 116,  4 sep 24 16:54 pcmC1D0c
crw-rw----+ 1 root audio 116,  3 sep 24 16:54 pcmC1D0p
crw-rw----+ 1 root audio 116,  2 sep 24 16:53 pcmC1D2c
crw-rw----+ 1 root audio 116,  7 sep 24 18:04 pcmC2D0p
crw-rw----  1 root audio 116,  1 sep 24 16:53 seq
crw-rw----+ 1 root audio 116, 33 sep 24 16:53 timer
[andres@arayapc ~]$

so, thats all, :).

thanks!!

Offline

Board footer

Powered by FluxBB