Talk:ASUS Zenbook Prime UX31A
I removed a lot of unnecessary information that only complicates things. For installation instructions simply look at the official Installation Guide. It is not needed to duplicate those information here. Legacy information are not needed. Who would run a new laptop with an old kernel? Since the newest kernels fix many problems we can remove these from this wiki page. Drenninghoff (talk)
Other function keys
I am writing from an UX31A with kernel 3.5.3-1-ARCH, and my function keys are not working out-of-the-box (except volume and display out). Is there any kernel module which is not mentioned in the text or is this information simply wrong?
Additionally the following info box says that since a newer kernel version a patch is no longer needed. A version that I don't need anyhow, because everything is supposed to work out-of-the-box. Seems a little bit contradictious...
- "Working" means that you can see keycodes with xev when function keys are pressed. It does not means that — for example — when you press fn+f3 it will diminish keyboard luminosity : for that you must link the keycode to the functionality. I have the same kernel version than you and I can confirm you no longer needs the fix : All the keys except screen backlight are working. Bzhb (talk) 21:26, 31 August 2012 (UTC)
The additional information about encrypted partition is nice, but I think installation instructions should be more modular and better accomodate the different installation scenarios : standalone arch without encryption, arch with encryption, dual boot install keeping the original windows install...
HDMI Audio Sandbox
This is a sandbox for an HDMI Pulseaudio from the commandline module I'll move into the article once I have it right
The UX31A contains the following PCI souncard:
$ lspci -nnn -k | grep -i audio 00:1b.0 Audio device : Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
This device is capable of outputting both analog stereo (used to power the speaker and headphones) which uses the snd-audio-code-realtek module, and digital audio through the mini-hdmi port on the right side of the machine.
You will need the snd-hda-hdmi module:
$ lsmod | grep hda snd_hda_codec_hdmi 21095 1 snd_hda_codec_realtek 49734 1 snd_hda_intel 22373 2 snd_hda_codec 71565 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel snd_pcm 60543 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel snd_page_alloc 5921 2 snd_pcm,snd_hda_intel snd_hwdep 5061 1 snd_hda_codec snd 48443 11 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
Here is how udev sees plugging in the HDMI cable:
$ udevadm monitor monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[96692.710767] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm) UDEV [96692.712940] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
To flip from analog (speakers/headphones) to digital (HDMI output), it is necessary to set the card's Pulseaudio profile.
Pulseaudio sees the soundcard as follows:
$ pacmd list-cards Welcome to PulseAudio! Use "help" for usage information. >>> 1 card(s) available. index: 0 name: <alsa_card.pci-0000_00_1b.0> driver: <module-alsa-card.c> owner module: 4 properties: alsa.card = "0" alsa.card_name = "HDA Intel PCH" alsa.long_card_name = "HDA Intel PCH at 0xf7d18000 irq 47" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.name = "7 Series/C210 Series Chipset Family High Definition Audio Controller" device.form_factor = "internal" device.string = "0" device.description = "Built-in Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" profiles: output:analog-stereo: Analog Stereo Output (priority 6000) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060) output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400) output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460) output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300) output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360) input:analog-stereo: Analog Stereo Input (priority 60) off: Off (priority 0) active profile: <output:hdmi-stereo> sinks:To flip from analog (speakers/headphones) to digital (HDMI output), it is necessary to set the card's Pulseaudio profile. alsa_output.pci-0000_00_1b.0.hdmi-stereo/#18: Built-in Audio Digital Stereo (HDMI) sources: alsa_output.pci-0000_00_1b.0.hdmi-stereo.monitor/#19: Monitor of Built-in Audio Digital Stereo (HDMI) ports: analog-output-speaker: Speakers (priority 10000, available: unknown) properties: analog-output-headphones: Headphones (priority 9000, available: no) properties: analog-input: Analog Input (priority 10000, available: unknown) properties: analog-input-microphone: Microphone (priority 8700, available: unknown) properties: hdmi-output-0: HDMI / DisplayPort (priority 5900, available: no) properties:
The two important pieces of information here are the card's number ("index: 0") and the profiles for analog and HDMI digital stereo (output:analog-stereo and output:hdmi-stereo).
To change the profile, one can use the pactl command:
$ pacmd list-cards | grep "active profile" active profile: <output:analog-stereo> $ pactl set-card-profile 0 output:hdmi-stereo $ pacmd list-cards | grep "active profile" active profile: <output:hdmi-stereo>