Re: Asus Xonar Phoebus support

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

 



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)

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


Regards,
Clemens

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
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