On 09/01/10 14:48, Henrique de Moraes Holschuh wrote: > On Thu, 07 Jan 2010, Robert de Rooy wrote: > >> thinkpad_acpi: Console audio control enabled, mode: monitor (read only) >> >> But I am not seeing anything regarding a new ALSA device, either in >> dmesg or in the Gnome sound applet. And when I run 'lshal --monitor' >> and press the volume or brightness keys I do not see any events >> either. >> > It will be in one of the last alsa card slots by default. Use > /proc/asound/* to locate it, or ask the ALSA lib about the installed > cards... > > You can use the index= parameter to tell it at which slot you want it to try > to install the card. index=3 would place it in the third slot, for example. > > Maybe a HAL .fdi file would also help gnome find it? I can't help you > there, but someone in the freedesktop.org or in the linux-thinkpad ML might. > > Thanks Henrique, Your right, I checked /proc/asound and indeed I have a ThinkPadEC directory. $ cat /proc/asound/cards 0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4 Intel 82801DB-ICH4 with AD1981B at irq 11 1 [Modem ]: ICH-MODEM - Intel 82801DB-ICH4 Modem Intel 82801DB-ICH4 Modem at irq 11 29 [ThinkPadEC ]: ThinkPad EC - ThinkPad Console Audio Control ThinkPad Console Audio Control at EC reg 0x30, fw 1RHT71WW-3.04 When I run alsamixer, I can change to ThinkPadEC device and see the button presses change the volume and mute, so that all seems to work. But the question now is, how are you supposed to make use of this new volume/mute device under a modern distribution like Fedora 12? The gnome-volume-control-applet does not show any change when pressing the buttons, and indeed gnome-volume-control does not even show the device (or the modem for that matter) under the Hardware tab. Changing the alsa index from the default 29 to 3 does not change anything in this regard. Revent versions of gnome-volume-control use PulseAudio, so it is probably filtering the devices. But running 'pactl list' does not show any other devices either. I put some RedHat people on cc: that where involved with the volume-control makeover in F11 as I am hoping that Fedora 13 will have all of this working out of the box (assuming it gets the 2.6.33 kernel). When I have a bit of time, I might try it on my T60 also. $ gnome-volume-control --debug ** (gnome-volume-control:3474): DEBUG: Enabling debugging ** (gnome-volume-control:3474): DEBUG: Updating client: index=15 name='ConsoleKit Session /org/freedesktop/ConsoleKit/Session4' ** (gnome-volume-control:3474): DEBUG: Updating client: index=16 name='GNOME Volume Control Media Keys' ** (gnome-volume-control:3474): DEBUG: Updating client: index=21 name='XSMP Session on gnome-session as 1031493bc4bfda5092126319662081946500000029240029' ** (gnome-volume-control:3474): DEBUG: Updating client: index=22 name='GNOME Volume Control Applet' ** (gnome-volume-control:3474): DEBUG: Updating client: index=26 name='libcanberra' ** (gnome-volume-control:3474): DEBUG: Updating client: index=27 name='GNOME Volume Control Dialog' ** (gnome-volume-control:3474): DEBUG: Updating sink: index=0 name='alsa_output.pci-0000_00_1f.5.analog-stereo' description='Internal Audio Analog Stereo' map='front-left,front-right' ** (gnome-volume-control:3474): DEBUG: Updating source: index=0 name='alsa_output.pci-0000_00_1f.5.analog-stereo.monitor' description='Monitor of Internal Audio Analog Stereo' ** (gnome-volume-control:3474): DEBUG: Updating source: index=1 name='alsa_input.pci-0000_00_1f.5.analog-stereo' description='Internal Audio Analog Stereo' ** (gnome-volume-control:3474): DEBUG: Udpating card alsa_card.pci-0000_00_1f.5 (index: 0 driver: module-alsa-card.c): ** (gnome-volume-control:3474): DEBUG: Profile 'output:analog-stereo': 0 sources 1 sinks ** (gnome-volume-control:3474): DEBUG: Profile 'output:analog-stereo+input:analog-stereo': 1 sources 1 sinks (Current) ** (gnome-volume-control:3474): DEBUG: Profile 'input:analog-stereo': 1 sources 0 sinks ** (gnome-volume-control:3474): DEBUG: Profile 'off': 0 sources 0 sinks ** (gnome-volume-control:3474): DEBUG: Property: 'alsa.card' = '0' ** (gnome-volume-control:3474): DEBUG: Property: 'alsa.card_name' = 'Intel 82801DB-ICH4' ** (gnome-volume-control:3474): DEBUG: Property: 'alsa.long_card_name' = 'Intel 82801DB-ICH4 with AD1981B at irq 11' ** (gnome-volume-control:3474): DEBUG: Property: 'alsa.driver_name' = 'snd_intel8x0' ** (gnome-volume-control:3474): DEBUG: Property: 'device.bus_path' = 'pci-0000:00:1f.5' ** (gnome-volume-control:3474): DEBUG: Property: 'sysfs.path' = '/devices/pci0000:00/0000:00:1f.5/sound/card0' ** (gnome-volume-control:3474): DEBUG: Property: 'device.bus' = 'pci' ** (gnome-volume-control:3474): DEBUG: Property: 'device.vendor.id' = '8086' ** (gnome-volume-control:3474): DEBUG: Property: 'device.vendor.name' = 'Intel Corporation' ** (gnome-volume-control:3474): DEBUG: Property: 'device.product.id' = '24c5' ** (gnome-volume-control:3474): DEBUG: Property: 'device.product.name' = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller' ** (gnome-volume-control:3474): DEBUG: Property: 'device.form_factor' = 'internal' ** (gnome-volume-control:3474): DEBUG: Property: 'device.string' = '0' ** (gnome-volume-control:3474): DEBUG: Property: 'device.description' = 'Internal Audio' ** (gnome-volume-control:3474): DEBUG: Property: 'module-udev-detect.discovered' = '1' ** (gnome-volume-control:3474): DEBUG: Property: 'device.icon_name' = 'audio-card-pci' ** (gnome-volume-control:3474): DEBUG: deleted the custom theme dir ** (gnome-volume-control:3474): DEBUG: Card selection changed ** (gnome-volume-control:3474): DEBUG: Updating input settings ** (gnome-volume-control:3474): DEBUG: Create monitor for 1 ** (gnome-volume-control:3474): DEBUG: Updating output settings ** (gnome-volume-control:3474): DEBUG: Volume changed (for Balance bar) ** (gnome-volume-control:3474): DEBUG: Card selection changed ** (gnome-volume-control:3474): DEBUG: Adding effects stream ** (gnome-volume-control:3474): DEBUG: Updating source: index=1 name='alsa_input.pci-0000_00_1f.5.analog-stereo' description='Internal Audio Analog Stereo' ** (gnome-volume-control:3474): DEBUG: Updating source output: index=5 name='Peak detect' client=27 source=1 ** (gnome-volume-control:3474): DEBUG: deleted the custom theme dir ** (gnome-volume-control:3474): DEBUG: deleted the custom theme dir $ pactl list Module #0 Name: module-device-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute state of devices" module.version = "0.9.21" Module #1 Name: module-stream-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute/device state of streams" module.version = "0.9.21" Module #2 Name: module-card-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore profile of cards" module.version = "0.9.21" Module #3 Name: module-augment-properties Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Augment the property sets of streams with additional static information" module.version = "0.9.21" Module #4 Name: module-alsa-card Argument: device_id="0" name="pci-0000_00_1f.5" card_name="alsa_card.pci-0000_00_1f.5" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1" Usage counter: 0 Properties: module.author = "Lennart Poettering" module.description = "ALSA Card" module.version = "0.9.21" Module #5 Name: module-udev-detect Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Detect available audio hardware and load matching drivers" module.version = "0.9.21" Module #6 Name: module-bluetooth-discover Argument: Usage counter: n/a Properties: module.author = "Joao Paulo Rechi Vita" module.description = "Detect available bluetooth audio devices and load bluetooth audio drivers" module.version = "0.9.21" Module #7 Name: module-esound-protocol-unix Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "ESOUND protocol (UNIX sockets)" module.version = "0.9.21" Module #8 Name: module-native-protocol-unix Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Native protocol (UNIX sockets)" module.version = "0.9.21" Module #9 Name: module-gconf Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "GConf Adapter" module.version = "0.9.21" Module #10 Name: module-default-device-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the default sink and source" module.version = "0.9.21" Module #11 Name: module-rescue-streams Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "When a sink/source is removed, try to move their streams to the default sink/source" module.version = "0.9.21" Module #12 Name: module-always-sink Argument: Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Always keeps at least one sink loaded even if it's a null one" module.version = "0.9.21" Module #13 Name: module-intended-roles Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically set device of streams based of intended roles of devices" module.version = "0.9.21" Module #14 Name: module-suspend-on-idle Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "When a sink/source is idle for too long, suspend it" module.version = "0.9.21" Module #15 Name: module-console-kit Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Create a client for each ConsoleKit session of this user" module.version = "0.9.21" Module #16 Name: module-position-event-sounds Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them." module.version = "0.9.21" Module #17 Name: module-cork-music-on-phone Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Mute or cork music while a phone stream exists" module.version = "0.9.21" Module #21 Name: module-x11-publish Argument: display=:0.0 Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "X11 credential publisher" module.version = "0.9.21" Module #22 Name: module-x11-cork-request Argument: display=:0.0 Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Synthesize X11 media key events when cork/uncork is requested" module.version = "0.9.21" Module #23 Name: module-x11-xsmp Argument: display=:0.0 session_manager=local/unix:@/tmp/.ICE-unix/2924,unix/unix:/tmp/.ICE-unix/2924 Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "X11 session management" module.version = "0.9.21" Sink #0 State: SUSPENDED Name: alsa_output.pci-0000_00_1f.5.analog-stereo Description: Internal Audio Analog Stereo Driver: module-alsa-card.c Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 4 Mute: no Volume: 0: 60% 1: 60% 0: -13.31 dB 1: -13.31 dB balance 0.00 Base Volume: 63% -12.00 dB Monitor Source: alsa_output.pci-0000_00_1f.5.analog-stereo.monitor Latency: 0 usec, configured 0 usec Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY Properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "Intel 82801DB-ICH4" alsa.id = "Intel ICH" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "Intel 82801DB-ICH4" alsa.long_card_name = "Intel 82801DB-ICH4 with AD1981B at irq 11" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:1f.5" sysfs.path = "/devices/pci0000:00/0000:00:1f.5/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "24c5" device.product.name = "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "65536" device.access_mode = "mmap+timer" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Internal Audio Analog Stereo" alsa.mixer_name = "Analog Devices AD1981B" alsa.components = "AC97a:41445374" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Ports: analog-output;output-amplifier-on: Analog Output / Amplifier (priority. 9910) analog-output;output-amplifier-off: Analog Output / No Amplifier (priority. 9900) analog-output-headphones;output-amplifier-on: Analog Headphones / Amplifier (priority. 9010) analog-output-headphones;output-amplifier-off: Analog Headphones / No Amplifier (priority. 9000) analog-output-mono;output-amplifier-on: Analog Mono Output / Amplifier (priority. 5010) analog-output-mono;output-amplifier-off: Analog Mono Output / No Amplifier (priority. 5000) analog-output-lfe-on-mono;output-amplifier-on: Analog Output (LFE) / Amplifier (priority. 4010) analog-output-lfe-on-mono;output-amplifier-off: Analog Output (LFE) / No Amplifier (priority. 4000) Active Port: analog-output;output-amplifier-on Source #0 State: SUSPENDED Name: alsa_output.pci-0000_00_1f.5.analog-stereo.monitor Description: Monitor of Internal Audio Analog Stereo Driver: module-alsa-card.c Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 4 Mute: no Volume: 0: 100% 1: 100% 0: 0.00 dB 1: 0.00 dB balance 0.00 Base Volume: 100% 0.00 dB Monitor of Sink: alsa_output.pci-0000_00_1f.5.analog-stereo Latency: 0 usec, configured 0 usec Flags: DECIBEL_VOLUME LATENCY Properties: device.description = "Monitor of Internal Audio Analog Stereo" device.class = "monitor" alsa.card = "0" alsa.card_name = "Intel 82801DB-ICH4" alsa.long_card_name = "Intel 82801DB-ICH4 with AD1981B at irq 11" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:1f.5" sysfs.path = "/devices/pci0000:00/0000:00:1f.5/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "24c5" device.product.name = "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller" device.form_factor = "internal" device.string = "0" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Source #1 State: SUSPENDED Name: alsa_input.pci-0000_00_1f.5.analog-stereo Description: Internal Audio Analog Stereo Driver: module-alsa-card.c Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 4 Mute: yes Volume: 0: 42% 1: 42% 0: -22.50 dB 1: -22.50 dB balance 0.00 Base Volume: 42% -22.50 dB Monitor of Sink: n/a Latency: 0 usec, configured 0 usec Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY Properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "Intel 82801DB-ICH4" alsa.id = "Intel ICH" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "Intel 82801DB-ICH4" alsa.long_card_name = "Intel 82801DB-ICH4 with AD1981B at irq 11" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:1f.5" sysfs.path = "/devices/pci0000:00/0000:00:1f.5/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "24c5" device.product.name = "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "65536" device.access_mode = "mmap+timer" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Internal Audio Analog Stereo" alsa.mixer_name = "Analog Devices AD1981B" alsa.components = "AC97a:41445374" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Ports: analog-input-microphone;input-microphone-1: Analog Microphone / Microphone 1 (priority. 10020) analog-input-microphone;input-microphone-2: Analog Microphone / Microphone 2 (priority. 10019) analog-input-linein: Analog Line-In (priority. 9000) analog-input: Analog Input (priority. 9000) analog-input-video: Analog Video (priority. 7000) Active Port: analog-input-microphone;input-microphone-1 Client #15 Driver: module-console-kit.c Owner Module: 15 Properties: application.name = "ConsoleKit Session /org/freedesktop/ConsoleKit/Session4" console-kit.session = "/org/freedesktop/ConsoleKit/Session4" Client #16 Driver: protocol-native.c Owner Module: 8 Properties: application.name = "GNOME Volume Control Media Keys" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.id = "org.gnome.VolumeControl" application.icon_name = "multimedia-volume-control" application.version = "2.28.1" application.process.id = "3018" application.process.user = "robert" application.process.host = "t41 " application.process.binary = "gnome-settings-daemon" window.x11.display = ":0.0" application.language = "en_GB.UTF-8" application.process.machine_id = "5446cbf968d638829e4dac2149ec7fca" application.process.session_id = "5446cbf968d638829e4dac2149ec7fca-1263196617.656982-243625306" Client #21 Driver: module-x11-xsmp.c Owner Module: 23 Properties: application.name = "XSMP Session on gnome-session as 1031493bc4bfda5092126319662081946500000029240029" xsmp.vendor = "gnome-session" xsmp.client.id = "1031493bc4bfda5092126319662081946500000029240029" Client #22 Driver: protocol-native.c Owner Module: 8 Properties: application.name = "GNOME Volume Control Applet" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.id = "org.gnome.VolumeControl" application.icon_name = "multimedia-volume-control" application.version = "2.28.1" application.process.id = "3057" application.process.user = "robert" application.process.host = "t41 " application.process.binary = "gnome-volume-control-applet" window.x11.display = ":0.0" application.language = "en_GB.UTF-8" application.process.machine_id = "5446cbf968d638829e4dac2149ec7fca" application.process.session_id = "5446cbf968d638829e4dac2149ec7fca-1263196617.656982-243625306" Client #26 Driver: protocol-native.c Owner Module: 8 Properties: application.name = "libcanberra" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" window.x11.display = ":0.0" window.x11.screen = "0" application.process.id = "3028" application.process.user = "robert" application.process.host = "t41 " application.process.binary = "metacity" application.language = "en_GB.UTF-8" application.process.machine_id = "5446cbf968d638829e4dac2149ec7fca" application.process.session_id = "5446cbf968d638829e4dac2149ec7fca-1263196617.656982-243625306" Client #28 Driver: protocol-native.c Owner Module: 8 Properties: application.name = "pactl" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.process.id = "6605" application.process.user = "robert" application.process.host = "t41 " application.process.binary = "pactl" application.language = "en_GB.UTF-8" application.process.machine_id = "5446cbf968d638829e4dac2149ec7fca" Sample #0 Name: bell-window-system Sample Specification: s16le 2ch 44100Hz Channel Map: front-left,front-right Volume: (invalid) (invalid) balance 0.00 Duration: 0.8s Size: 138.3 KiB Lazy: no Filename: n/a Properties: media.role = "event" application.process.id = "2091" application.name = "gnome-terminal" event.description = "Bell event" event.id = "bell-window-system" media.name = "bell-window-system" media.filename = "/usr/share/sounds/freedesktop/stereo/bell.oga" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" window.x11.display = ":0.0" window.x11.screen = "0" application.process.user = "robert" application.process.host = "t41 " application.process.binary = "metacity" application.language = "en_GB.UTF-8" application.process.machine_id = "5446cbf968d638829e4dac2149ec7fca" application.process.session_id = "5446cbf968d638829e4dac2149ec7fca-1263194707.718669-191475101" Card #0 Name: alsa_card.pci-0000_00_1f.5 Driver: module-alsa-card.c Owner Module: 4 Properties: alsa.card = "0" alsa.card_name = "Intel 82801DB-ICH4" alsa.long_card_name = "Intel 82801DB-ICH4 with AD1981B at irq 11" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:1f.5" sysfs.path = "/devices/pci0000:00/0000:00:1f.5/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "24c5" device.product.name = "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller" device.form_factor = "internal" device.string = "0" device.description = "Internal Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Profiles: output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority. 6000) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority. 6060) input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority. 60) off: Off (sinks: 0, sources: 0, priority. 0) Active Profile: output:analog-stereo+input:analog-stereo ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel