Skip to contentSkip to conversation

OFFTOPIC atkbd.c: Use 'setkeycodes... (Was: Re: My Codec: IDT 92HD75B3X5 issues)

DISCUSSION Simos Xenitellis 3 participants 4 messages Oct 2, 2009

lore
Share & tools
lore
#0 lore raw
Quoted 51 lines · Munzir Taha (منذر طه)
Quoted 3 lines · Takashi Iwai

At Mon, 28 Sep 2009 06:58:46 +0300,

 Munzir Taha (=?utf-8?q?=D9=85=D9=86=D8=B0=D8=B1?=

Quoted 11 lines · =?utf-8?q?_=D8=B7=D9=87?=) wrote:
Quoted 10 lines

Hi sirs,
These are the issues I have with my Laptop HP Pavilion dv6 1225ee regarding audio support.

1. No sense for headphone jack (jack_present?), when headphone is plugged (present_int_hp?)

2. There headphone mic jack is not working. The one next to the webcam is always recording even when I change the "Mic Jack" control from "Mic In" to "Line In"

Quoted 6 lines

Make sure that you use alsa-driver-snapshot tarball instead of 1.0.21 released version.  There are many fixes since 1.0.21 release.

 ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-sn apshot.tar.gz

Thanks a lot Takashi, things are better now. However, when I tested the internal mic it's very noisy. I played a bit with the capture and digital controls but still compared with Windows, it's lame.

Quoted 6 lines
Quoted 2 lines

3. The mute/unmute LED doesn't change color to RED when its muted like in Windows.

This isn't supported yet as we have no hardware information. Likely one of GPIO pins corresponds to the LED on/off.  You can try hda-verb to change the GPIO data bit.

Ok, I will try it and report back.

Quoted 15 lines
Quoted 14 lines

Touching that LED shows this in /var/log/messages:

Sep 28 06:53:47 dv6 kernel: [ 9197.986789] atkbd.c: Unknown key released
(translated set 2, code 0x94 on isa0060/serio0).
Sep 28 06:53:47 dv6 kernel: [ 9197.986791] atkbd.c: Use 'setkeycodes e014
<keycode>' to make it known.
Sep 28 06:53:47 dv6 kernel: [ 9198.353568] atkbd.c: Unknown key pressed
(translated set 2, code 0x94 on isa0060/serio0).
Sep 28 06:53:47 dv6 kernel: [ 9198.353572] atkbd.c: Use 'setkeycodes e014
<keycode>' to make it known.
Sep 28 06:53:47 dv6 kernel: [ 9198.359205] atkbd.c: Unknown key released
(translated set 2, code 0x94 on isa0060/serio0).
Sep 28 06:53:47 dv6 kernel: [ 9198.359208] atkbd.c: Use 'setkeycodes e014

<keycode>' to make it known.

Quoted 4 lines
Quoted 2 lines

It's not about the sound driver but the input layer, as you can find. You can defien the scan code 0xe014 by yourself.

You are right. What's the best component to report this bug against? kernel?

Those keys are a 'HAL' thing. Until recently there has been a website by the HAL developer
with detailed instructions. Search for 'HAL Quirk Site' on Google to view the site in Google cache.
The website was not updated for some time
(http://www.mail-archive.com/[email protected]/msg01594.html)
and being obsolete, it was probably taken down.
Your changes would need to make it eventually to the hal-info repository,
http://cgit.freedesktop.org/hal-info/
Use the Freedesktop Bugzilla, product 'hal' and component 'hal-info' when reporting,
https://bugs.freedesktop.org/enter_bug.cgi?product=hal

Simos
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw
Quoted 4 lines · Simos Xenitellis

Those keys are a 'HAL' thing. Until recently there has been a website by the HAL developer
with detailed instructions. Search for 'HAL Quirk Site' on Google to view the site in Google cache.

Quoted 8 lines

The website was not updated for some time
(http://www.mail-archive.com/[email protected]/msg01594.html)
and being obsolete, it was probably taken down.
Your changes would need to make it eventually to the hal-info repository,
http://cgit.freedesktop.org/hal-info/
Use the Freedesktop Bugzilla, product 'hal' and component 'hal-info' when reporting,
https://bugs.freedesktop.org/enter_bug.cgi?product=hal

That is actually no true anymore. HAL is dead and the keycode stuff has been moved to udev:

http://git.kernel.org/?p=linux/hotplug/udev.git;a=tree;f=extras/keymap/keymaps

Lennart

Signature · 3 lines
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
#2 lore raw
Quoted 15 lines · Lennart Poettering
Quoted 4 lines · Simos Xenitellis

Those keys are a 'HAL' thing. Until recently there has been a website by the HAL developer
with detailed instructions. Search for 'HAL Quirk Site' on Google to view the site in Google cache.

Quoted 8 lines

The website was not updated for some time
(http://www.mail-archive.com/[email protected]/msg01594.html)
and being obsolete, it was probably taken down.
Your changes would need to make it eventually to the hal-info repository,
http://cgit.freedesktop.org/hal-info/
Use the Freedesktop Bugzilla, product 'hal' and component 'hal-info' when reporting,
https://bugs.freedesktop.org/enter_bug.cgi?product=hal

Quoted 4 lines

That is actually no true anymore. HAL is dead and the keycode stuff has been moved to udev:

http://git.kernel.org/?p=linux/hotplug/udev.git;a=tree;f=extras/keymap/keymaps

Oh, thanks for these.
I'll update my tune.

Cheers,
Simos

#3 lore raw
In reply to Simos Xenitellis

Hi Simons,

As far as I know HAL is deprecated in favor of udev and DeviceKit so may be I should file a bug against udev instead.

Thanks for your care to elaborate

Quoted 18 lines · Simos Xenitellis
Quoted 2 lines

You are right. What's the best component to report this bug against? kernel?

Those keys are a 'HAL' thing. Until recently there has been a website by the HAL developer
with detailed instructions. Search for 'HAL Quirk Site' on Google to view the site in Google cache.
The website was not updated for some time
(http://www.mail-archive.com/[email protected]/msg01594.html)
and being obsolete, it was probably taken down.
Your changes would need to make it eventually to the hal-info repository,
http://cgit.freedesktop.org/hal-info/
Use the Freedesktop Bugzilla, product 'hal' and component 'hal-info' when reporting,
https://bugs.freedesktop.org/enter_bug.cgi?product=hal

Simos

Signature · 8 lines
Munzir Taha
Telecommunications and Electronics Engineer
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
Maintainer of the OpenBugs project page at
http://foss.org.sa/OpenBugs.html
Master CIW Designer, ICDL, MOUS, Linux+, LPI, SCSA
Riyadh, SA