Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Asus Xonar Essence ST/STX
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
isolationism
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2004
Posts: 127

PostPosted: Sat Feb 11, 2012 6:47 pm    Post subject: Reply with quote

Just wanted to drop a note in here to say that I installed kernel 3.2.5 a couple days ago and the patch is now part of the kernel source code (e.g. does not need to be applied anymore).
Back to top
View user's profile Send private message
alegioit
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2007
Posts: 78

PostPosted: Fri Jul 26, 2013 12:25 pm    Post subject: Reply with quote

Hi guys, i'm sorry to revive this thread, but i've got a really annoying problem with my new soundcard ( ASUS Xonar STX ) on my new gentoo installation...
I use this card only with headphones and in windows works flawlessly.
The system boot up correctly with the headphone selected, but every first time i try to use mpd through ncmpc ( after the reboot ) the card switch back from headphone to speaker ( and i can hear the "click" from the relay ).
So i need to switch to "headphones" through alsamixer before i can hear something from my headphones...
I've compiled the driver into the kernel and as module, but the problem still persists...
Have someone got this problem???

Here are some of my configurations files:

/etc/asound.conf
Code:

pcm.!default {
    type hw
    card 0
    device 0
}


/etc/mpd.conf
Code:

audio_output {
        type                    "alsa"
        name                    "MPD"
        device                  "hw:0,0"
        mixer_type              "software"

}


aplay -l
Code:


**** List of PLAYBACK Hardware Devices ****
card 0: STX [Xonar STX], device 0: Multichannel [Multichannel]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: STX [Xonar STX], device 1: Digital [Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0



aplay -L

Code:


null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=STX
    Xonar STX, Multichannel
    Default Audio Device
front:CARD=STX,DEV=0
    Xonar STX, Multichannel
    Front speakers
surround40:CARD=STX,DEV=0
    Xonar STX, Multichannel
    4.0 Surround output to Front and Rear speakers
surround41:CARD=STX,DEV=0
    Xonar STX, Multichannel
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=STX,DEV=0
    Xonar STX, Multichannel
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=STX,DEV=0
    Xonar STX, Multichannel
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=STX,DEV=0
    Xonar STX, Multichannel
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=STX,DEV=0
    Xonar STX, Multichannel
    IEC958 (S/PDIF) Digital Audio Output



Thanks!
Back to top
View user's profile Send private message
isolationism
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2004
Posts: 127

PostPosted: Fri Jul 26, 2013 12:31 pm    Post subject: Reply with quote

I can't say that I think my device is constantly switching between the two, but managing this problem is trivial with alsamixer installed. Here's what I do to manage headphone vs. speaker output: Create two files:

headphones.sh
Code:
#!/bin/bash
amixer -c 0 set 'Analog Output' 'Headphones'
amixer -c 0 set Master 60%


speakers.sh
Code:
#!/bin/bash
amixer -c 0 set 'Analog Output' 'Speakers'
amixer -c 0 set Master 95%


Now just run your headphones.sh file sometime during boot or as an Autostart script and voilà, output will always be redirected to your headphones at the prescribed volume. You can also add both commands to your path and "run" them quickly from a run prompt in X to switch the output back and forth between them when necessary.
Back to top
View user's profile Send private message
alegioit
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2007
Posts: 78

PostPosted: Mon Jul 29, 2013 6:44 am    Post subject: Reply with quote

Hi, thanks for the scripts, they work very well.

I think this is a very weird problem... it seems to happen only with mpd... and i don't know why...
Back to top
View user's profile Send private message
muni
n00b
n00b


Joined: 30 Apr 2009
Posts: 11

PostPosted: Sun May 11, 2014 9:36 pm    Post subject: Reply with quote

Hello and sorry for another revival but I've encountered another issue. I've been a happy Xonar XTS user for about two months, but yesterday for some reason I started hearing mild crackling in left headphone during playback at higher volume levels. I tested it with different headphones and the problem persisted, however playback in windows is as good as before. On gentoo it occurs in every application I've tested so far, namely aplay, mpd, mplayer, firefox and steam.
I'm not sure if it has anything to do with this, but I noticed a silent noise when no sound is played, also when I do play some music I can hear it even when the Master control level is at 0%. The headphones impedance in alsamixer is set to < 64 ohms. Could it be that there is some detrimental gain being applied?
Back to top
View user's profile Send private message
muni
n00b
n00b


Joined: 30 Apr 2009
Posts: 11

PostPosted: Tue May 13, 2014 7:40 pm    Post subject: Reply with quote

It seems that the issue disappears when I set resampling to either 32 or 64 kHz.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum