Re: Asus Xonar Phoebus support

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

 




Le lundi 01 octobre 2012 à 22:10 +0200, Clemens Ladisch a écrit :
> I wrote:
> > Vincent Lejeune wrote:
> >>> What is the output of "aplay -l" for this device?
> >>
> >> carte 1: Generic [HD-Audio Generic], périphérique 0: HDA Generic [HDA Generic]
> >>   Sous-périphériques: 1/1
> >>   Sous-périphérique #0: subdevice #0
> >
> > In theory, there should at least another subdevice for the S/PDIF input
> > and output.
> 
> That's wrong, it appears all outputs and inputs are to be multiplexed
> through one device.
> 
> Okay, let's try to get the front speakers output working.
> 1) Ensure that the kernel is compiled with CONFIG_SND_HDA_HWDEP and
>    CONFIG_SND_HDA_RECONFIG enabled.
> 2) Download the hda-verb tool from <http://ftp.suse.com/pub/people/tiwai/misc/>
>    and compile it.
> 
> The nodes are connected and labelled like this:
> 0x02 -> 0x0c green (rear)
> 0x03 -> 0x0d orange
> 0x04 -> 0x0e black
> 0x05 -> 0x0f grey
> 0x06 -> 0x10 green (front)
> 0x08 <- 0x12 pink
> 0x09 <- 0x13 internal (aux?)
> 0x0a -> 0x14 RCA
> 0x0b <- 0x15 blue
> 
> On the left are nodes connecting to the PC's bus, on the rights are
> jacks.
> 
> The nodes currently used by the driver for output/input are 0x02 and
> 0x08.
> 
> To configure the rear green jack for line output, run:
>   hda-verb /dev/snd/hwdepC1D0 0x0c set_pin_widget_control 0x40
> To configure the rear green jack for HP output, run:
>   hda-verb /dev/snd/hwdepC1D0 0x0c set_pin_widget_control 0xc0
> To configure the front green jack for line output, run:
>   hda-verb /dev/snd/hwdepC1D0 0x10 set_pin_widget_control 0x40
> To configure the front green jack for HP output, run:
>   hda-verb /dev/snd/hwdepC1D0 0x10 set_pin_widget_control 0xc0
> 
> To output what plays to the speakers also to HP and/or digital:
>   1) start playing something
>   2) find out the stream/channel IDs:
>        hda-verb /dev/snd/hwdepC1D0 0x02 get_conv 0
>   3) configure other outputs for these stream/channel IDs:
>        hda-verb /dev/snd/hwdepC1D0 0x06 set_channel_streamid 0x??
>        hda-verb /dev/snd/hwdepC1D0 0x0a set_channel_streamid 0x??
>      (where ?? is the value returned in step 2)

Thank ! I get sound on the pod (which is considered as front, the Xonar
does not have connector for the case front jack) using :
hda-verb /dev/snd/hwdepC1D0 0x0c set_pin_widget_control 0xc0
and
hda-verb /dev/snd/hwdepC1D0 0x06 set_channel_streamid 0x70
(0x70 is the value returned by get_conv)
However the sound is terrible, lot of crackling, noticeable delay (over
1s) and is very loud.

I use the kernel built with :
{ PCI_DEVICE(0x13f6, 0x5011),
  .driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_NO_MSI |
                 AZX_DCAPS_RIRB_DELAY | AZX_DCAPS_NO_64BIT |
                 AZX_DCAPS_SYNC_WRITE | AZX_DCAPS_POSFIX_LPIB },

Should I remove some clauses to improve the sound ?

Regards,
Vincent

> 
> BTW: Does multichannel output work? (try speaker-test)
>      In theory, the side/surround channels should not need any
>      configuration.
> 
> 
> Regards,
> Clemens

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux