You are not logged in.
Ok, here is the complete output from `cat /proc/asound/card0/codec#0
Codec: Realtek ID 660
Address: 0
Vendor Id: 0x10ec0660
Subsystem Id: 0x10430000
Revision Id: 0x100001
Default PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
PCM:
rates [0x160]: 44100 48000 96000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x16 0x16]
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 6
0x18 0x19 0x1a 0x1b 0x1c 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x05 0x0b
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x081003c: IN OUT HP EAPD Detect
Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0xc0: OUT HP
Connection: 1
0x0c
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0810034: IN OUT EAPD Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 1
0x0d
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0834: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 1
0x0e
Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0834: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 1
0x0f
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x03 0x03]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x081734: IN OUT Detect
Pin Default 0x01a1183f: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x24: IN
Connection: 1
0x0e
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x08173c: IN OUT HP Detect
Pin Default 0x99a30130: [Fixed] Mic at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0x20: IN
Connection: 2
0x0c* 0x0f
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0834: IN OUT Detect
Pin Default 0x01811031: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0x20: IN
Connection: 1
0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x03 0x03] [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x08173c: IN OUT HP Detect
Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
Conn = 1/8, Color = Black
Pin-ctls: 0xc0: OUT HP
Connection: 2
0x0c* 0x0f
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x593301f0: [N/A] CD at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x0820: IN
Pin Default 0x598301f0: [N/A] Line In at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x0810: OUT
Pin Default 0x99430120: [Fixed] SPDIF Out at Int ATAPI
Conn = ATAPI, Color = Unknown
Pin-ctls: 0x40: OUT
Connection: 1
0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 11
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono
And the Version: Advanced Linux Sound Architecture Driver Version 1.0.14rc1 (Tue Jan 09 09:56:17 2007 UTC).
I may install ArchLinux later over the top of my windows partition as soon as I grab a few files off it since I dotn use it any more.
Offline
"Realtek ID 660" means that this codec is not properly supported . You really want it to be "Realtek ALC660-VD"
So, install ALSA 1.0.14rc3 version either as separate module, or the one which comes with 2.6.21 kernel.
Offline
If anyone is interested in getting the OLED display working, there is a driver: http://lapsus.berlios.de/asus_oled.html . Enjoy
Actually it is based on 'asusoled' (https://launchpad.net/asusoled) program which is available for some time already,
but it doesn't need patched usbhid, and works fine with asus-laptop.
Last edited by tanis (2007-09-23 17:55:04)
Offline
WOW, tnx
I'll try
Offline
And now Asus_OLED has small utility for converting graphic files into the format recognized by the driver, or can control it directly - so it behaves just like asusoled, but also has some additional features - like automatic image rescalling, or flashing&rolling of OLED pictures.
Offline
How did you get the Realtek ALC660-VD working?
It is driving me mad, that it just doesn't give out a single loud. However this is in every distro the same thing.
Was there a trick?
Offline
With 2.6.23? There is no trick. It just works.
Run alsamixer and check if it reports 'Chip: Realtek ALC660-VD'.
If so, check volume of PCM and Front channels, and see if they are muted or not...
Offline
I'm a bit confused about enabling hotkeys on my Asus A6JC, since brightness up/dn and lcd on/off just work out-of-the-box.
I have
- downloaded acpi4asus-cvs from aur
- blacklisted asus_acpi and added asus-laptop to MODULES and added in asus_acpid in DAEMONS in /etc/rc.cont
- made ~/.acpi4asus/ and ~/.acpi4asus/events subfolder
- pressed these hotkeys and
tail -f log
to see the output
- made some scripts such as
vol_up:
#increase volume
event=hotkey.*30[[:space:]].*
action=/usr/bin/amixer set PCM "5%+";
vol_down:
#decrease volume
event=hotkey.*31[[:space:]].*
action=/usr/bin/amixer set PCM "5%-";
vol_mute:
#mute volume
event=hotkey.*32[[:space:]].*
action=/usr/bin/amixer set PCM 0;
but they don't seem to work. I'm wondering what's wrong but I don't know... :|
Last edited by uastasi (2007-11-30 16:41:25)
Offline
I'm not an expert of asus_acpid, but you can try lapsus, it's also in aur.
Offline
I'm not an expert of asus_acpid, but you can try lapsus, it's also in aur.
I'd prefer a script-based solution, since i use Gnome and lapsus is designed for KDE...
Last edited by uastasi (2007-11-30 17:49:24)
Offline
Still in trouble with asus_acpid. When arch boots it displays this warning:
asus_acpid: can't open unix domain socket on /var/run/acpid.socket: Connection refused
:(
Last edited by uastasi (2007-12-04 11:21:32)
Offline
Ok, this procedure works for me:
1) download acpi4asus-cvs from aur
2) add asus-laptop to MODULES in /etc/rc.conf
3) let /usr/sbin/asus_acpid start automatically. I've done it using gnome-session-properties; old method (adding asus_acpid to DAEMONS in /etc/rc.conf) doesn't work for me.
4)
mkdir ~/.acpi4asus/
mkdir ~/.acpi4asus/events
5) press the hotkeys you want to setup (i.e. Fn + F12 - Volume Up) and
tail -f log
to see the output:
[Tue Dec 4 15:13:33 2007] starting up
[Tue Dec 4 15:13:33 2007] 0 rules loaded
[Tue Dec 4 15:13:33 2007] received event "hotkey ATKD 00000030 000000e5"
[Tue Dec 4 15:13:33 2007] completed event "hotkey ATKD 00000030 000000e5"
Focus your attention on last two numbers in the first numeric string (30) that identify every function keys.
6) place in ~/.acpi4asus/events/ a textfile made up of two relevant rows event and action, and a script in ~/.acpi4asus/ for each key.
Let's see Volume Up files:
~/.acpi4asus/volup
#increase volume
event=hotkey.*30[[:space:]].*
action=~/.asus_acpi/hotk_volup.sh
(where 30 identify this function key as seen before).
~/.asus_acpi/hotk_volup.sh
#!/bin/sh
/usr/bin/amixer set PCM "5%+"
7) make this script executable
chmod +x ~/.asus_acpi/hotk_volup.sh
8) restart asus_acpid
# /etc/rc.d/asus_acpid restart
I've setup Volume Down and Volume Mute as well, these are the files:
~/.acpi4asus/voldn
#decrease volume
event=hotkey.*31[[:space:]].*
action=~/.asus_acpi/hotk_voldn.sh
~/.asus_acpi/hotk_voldn.sh
#!/bin/sh
/usr/bin/amixer set PCM "5%-"
~/.acpi4asus/volmute
#mute volume
event=hotkey.*32[[:space:]].*
action=~/.asus_acpi/hotk_volmute.sh
~/.asus_acpi/hotk_volmute.sh
#!/bin/sh
o=`amixer sget PCM Playback Volume | grep "Left:" | cut -d "[" -f 3 | cut -d "]" -f 1`
if [ -z $o ]; then
amixer set PCM 100%
else
amixer set PCM 0%
fi
That's all, hope it helps you.
Giorgio
Last edited by uastasi (2008-01-15 10:38:32)
Offline