Ubuntu, ASUS Xonar U7, headphones
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trusty $ i3 -v i3 version 4.7.2 (2014-01-23, branch "tags/4.7.2") © 2009-2013 Michael Stapelberg and contributors
- delete pulseaudio
apt-get purge pulseaudio
- connect ASUS Xonar
- Connect headphones to Xonar
List your audio devices
This one is Asus Xonar
$ aplay -L | grep :CARD ... dmix:CARD=Device,DEV=0 dmix:CARD=Device,DEV=1 dmix:CARD=Device,DEV=2 dsnoop:CARD=Device,DEV=0 dsnoop:CARD=Device,DEV=1 dsnoop:CARD=Device,DEV=2 hw:CARD=Device,DEV=0 hw:CARD=Device,DEV=1 hw:CARD=Device,DEV=2 plughw:CARD=Device,DEV=0 plughw:CARD=Device,DEV=1 plughw:CARD=Device,DEV=2 ...
plughw:CARD=Device,DEV=2 is headphones on Xonar
Check sound via headphones with speaker-test (hear noise in headphones)
$ speaker-test -d plughw:CARD=Device,DEV=2 speaker-test 1.0.27.2 Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 2048 to 16384 Period size range from 1024 to 1024 Using max buffer size 16384 Periods = 4 was set period_size = 1024 was set buffer_size = 16384 Plug PCM: Route conversion PCM (sformat=S16_LE) Transformation table: 0 <- 0 1 <- 0 Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 1 rate : 48000 exact rate : 48000 (48000/1) msbits : 16 buffer_size : 16384 period_size : 1024 period_time : 21333 tstamp_mode : NONE period_step : 1 avail_min : 1024 period_event : 0 start_threshold : 16384 stop_threshold : 16384 silence_threshold: 0 silence_size : 0
Create /etc/asound.conf
1 - is my card number, your card number may be different
defaults.pcm.card 1 defaults.pcm.device 2 defaults.ctl.card 1
You can volume up or down with alsamixer
REBOOT
Asus Xonar U7 now is default audio device
PROFIT













