FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 12-03-2007, 08:35 PM
"Marcelo Magno T. Sales"
 
Default Keys that generate ACPI events

Hi, people

The Fn keys of my notebook do not generate scancodes, but ACPI events
instead. I would like to map these events to X keysyms, so that the Fn
keys are usable in X. How do I do that?
The F8 kernel (2.6.23.1-49.fc8) and acpid get the ACPI events and logs
messages like the following (F7 kernels and F7 acpid did not):
---------------------------------------------------------------------
Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD 00000050
00000000"
Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD 00000050
00000000"
Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD 00000051
00000000"
Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD 00000051
00000000"
---------------------------------------------------------------------


Other Fn keys (the ones to control LCD brightness) produce errors like:
---------------------------------------------------------------------
Dec 3 18:17:34 home-03 kernel: ACPI Error (psargs-0355):
[\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND
Dec 3 18:17:34 home-03 kernel: ACPI Error (psparse-0537): Method
parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0E] (Node f7d07f90),
AE_NOT_FOUND
Dec 3 18:17:35 home-03 kernel: ACPI Error (psargs-0355):
[\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND
Dec 3 18:17:35 home-03 kernel: ACPI Error (psparse-0537): Method
parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0F] (Node f7d07fa8),
AE_NOT_FOUND
---------------------------------------------------------------------

Is it possible to make these work?

Thanks,

Marcelo

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-03-2007, 09:28 PM
Phil Meyer
 
Default Keys that generate ACPI events

Marcelo Magno T. Sales wrote:

Hi, people

The Fn keys of my notebook do not generate scancodes, but ACPI events
instead. I would like to map these events to X keysyms, so that the Fn
keys are usable in X. How do I do that?
The F8 kernel (2.6.23.1-49.fc8) and acpid get the ACPI events and logs
messages like the following (F7 kernels and F7 acpid did not):

---------------------------------------------------------------------
Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD 00000050
00000000"

Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD 00000050
00000000"
Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD 00000051
00000000"

Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD 00000051
00000000"

---------------------------------------------------------------------


Other Fn keys (the ones to control LCD brightness) produce errors like:
---------------------------------------------------------------------
Dec 3 18:17:34 home-03 kernel: ACPI Error (psargs-0355):
[\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND
Dec 3 18:17:34 home-03 kernel: ACPI Error (psparse-0537): Method
parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0E] (Node f7d07f90),
AE_NOT_FOUND
Dec 3 18:17:35 home-03 kernel: ACPI Error (psargs-0355):
[\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND
Dec 3 18:17:35 home-03 kernel: ACPI Error (psparse-0537): Method
parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0F] (Node f7d07fa8),
AE_NOT_FOUND

---------------------------------------------------------------------

Is it possible to make these work?

Thanks,

Marcelo




The <FN>brightness keys work out of the box on all the laptops I have
built. I am no help there.


As for using other keys, in GNOME, you can map keys with:

System/Preferences/Personal/Keyboard Shortcuts

Fedora 8 recognized my laptop volume controls without having to do this.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-03-2007, 10:02 PM
"Marcelo Magno T. Sales"
 
Default Keys that generate ACPI events

Em Seg 03 Dez 2007, Phil Meyer escreveu:
> Marcelo Magno T. Sales wrote:
> > Hi, people
> >
> > The Fn keys of my notebook do not generate scancodes, but ACPI
> > events instead. I would like to map these events to X keysyms, so
> > that the Fn keys are usable in X. How do I do that?
> > The F8 kernel (2.6.23.1-49.fc8) and acpid get the ACPI events and
> > logs messages like the following (F7 kernels and F7 acpid did not):
> > -------------------------------------------------------------------
> >-- Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD
> > 00000050 00000000"
> > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD
> > 00000050 00000000"
> > Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD 00000051
> > 00000000"
> > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD
> > 00000051 00000000"
> > -------------------------------------------------------------------
> >--
> >
> >
> > Other Fn keys (the ones to control LCD brightness) produce errors
> > like:
> > -------------------------------------------------------------------
> >-- Dec 3 18:17:34 home-03 kernel: ACPI Error (psargs-0355):
> > [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND
> > Dec 3 18:17:34 home-03 kernel: ACPI Error (psparse-0537): Method
> > parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0E] (Node f7d07f90),
> > AE_NOT_FOUND
> > Dec 3 18:17:35 home-03 kernel: ACPI Error (psargs-0355):
> > [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND
> > Dec 3 18:17:35 home-03 kernel: ACPI Error (psparse-0537): Method
> > parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0F] (Node f7d07fa8),
> > AE_NOT_FOUND
> > -------------------------------------------------------------------
> >--
> >
> > Is it possible to make these work?
> >
> > Thanks,
> >
> > Marcelo
>
> The <FN>brightness keys work out of the box on all the laptops I have
> built. I am no help there.
>
> As for using other keys, in GNOME, you can map keys with:
>
> System/Preferences/Personal/Keyboard Shortcuts

Thanks for your help, but to do this the keys would have to be
recognized by X already, wouldn't they? In my case, xev shows nothing.
X does not know when the keys are pressed. The only response I get when
I press the Fn keys are these acpi events registered in system log.

>
> Fedora 8 recognized my laptop volume controls without having to do
> this.

Unfortunately, this was not the case here However, at least now
something shows up in the logs, that's a progress. With F7, nothing
happens at all when the Fn keys are pressed at this laptop.

[]'s
Marcelo


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-03-2007, 10:06 PM
wwp
 
Default Keys that generate ACPI events

Hello,


On Mon, 03 Dec 2007 15:28:10 -0700 Phil Meyer <pmeyer@themeyerfarm.com> wrote:

> Marcelo Magno T. Sales wrote:
> > Hi, people
> >
> > The Fn keys of my notebook do not generate scancodes, but ACPI events
> > instead. I would like to map these events to X keysyms, so that the Fn
> > keys are usable in X. How do I do that?
> > The F8 kernel (2.6.23.1-49.fc8) and acpid get the ACPI events and logs
> > messages like the following (F7 kernels and F7 acpid did not):
> > ---------------------------------------------------------------------
> > Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD 00000050
> > 00000000"
> > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD 00000050
> > 00000000"
> > Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD 00000051
> > 00000000"
> > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD 00000051
> > 00000000"
> > ---------------------------------------------------------------------
> >
> >
> > Other Fn keys (the ones to control LCD brightness) produce errors like:
> > ---------------------------------------------------------------------
> > Dec 3 18:17:34 home-03 kernel: ACPI Error (psargs-0355):
> > [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND
> > Dec 3 18:17:34 home-03 kernel: ACPI Error (psparse-0537): Method
> > parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0E] (Node f7d07f90),
> > AE_NOT_FOUND
> > Dec 3 18:17:35 home-03 kernel: ACPI Error (psargs-0355):
> > [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND
> > Dec 3 18:17:35 home-03 kernel: ACPI Error (psparse-0537): Method
> > parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0F] (Node f7d07fa8),
> > AE_NOT_FOUND
> > ---------------------------------------------------------------------
> >
> > Is it possible to make these work?
> >
> > Thanks,
> >
> > Marcelo
> >
> >
>
> The <FN>brightness keys work out of the box on all the laptops I have
> built. I am no help there.
>
> As for using other keys, in GNOME, you can map keys with:
>
> System/Preferences/Personal/Keyboard Shortcuts
>
> Fedora 8 recognized my laptop volume controls without having to do this.

Same here w/ a D810 within GNOME, standby, sound, power key work out of
the box (LID light does too, but directly from the BIOS apparently -
the GNOME applet doesn't do its job here BTW). I think that I've had to
add a `setkeycodes e00a 205` in rc.local to get the fn+hibernate key
working. Nothing done to the acpi events config (but LID closing
detection).


Regards,

--
wwp

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-03-2007, 10:16 PM
wwp
 
Default Keys that generate ACPI events

Hello Marcelo,


On Mon, 3 Dec 2007 20:02:39 -0300 "Marcelo Magno T. Sales" <mmtsales@gmail.com> wrote:

> Em Seg 03 Dez 2007, Phil Meyer escreveu:
> > Marcelo Magno T. Sales wrote:
> > > Hi, people
> > >
> > > The Fn keys of my notebook do not generate scancodes, but ACPI
> > > events instead. I would like to map these events to X keysyms, so
> > > that the Fn keys are usable in X. How do I do that?
> > > The F8 kernel (2.6.23.1-49.fc8) and acpid get the ACPI events and
> > > logs messages like the following (F7 kernels and F7 acpid did not):
> > > -------------------------------------------------------------------
> > >-- Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD
> > > 00000050 00000000"
> > > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD
> > > 00000050 00000000"
> > > Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD 00000051
> > > 00000000"
> > > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD
> > > 00000051 00000000"
> > > -------------------------------------------------------------------
> > >--
> > >
> > >
> > > Other Fn keys (the ones to control LCD brightness) produce errors
> > > like:
> > > -------------------------------------------------------------------
> > >-- Dec 3 18:17:34 home-03 kernel: ACPI Error (psargs-0355):
> > > [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND
> > > Dec 3 18:17:34 home-03 kernel: ACPI Error (psparse-0537): Method
> > > parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0E] (Node f7d07f90),
> > > AE_NOT_FOUND
> > > Dec 3 18:17:35 home-03 kernel: ACPI Error (psargs-0355):
> > > [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND
> > > Dec 3 18:17:35 home-03 kernel: ACPI Error (psparse-0537): Method
> > > parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0F] (Node f7d07fa8),
> > > AE_NOT_FOUND
> > > -------------------------------------------------------------------
> > >--
> > >
> > > Is it possible to make these work?
> > >
> > > Thanks,
> > >
> > > Marcelo
> >
> > The <FN>brightness keys work out of the box on all the laptops I have
> > built. I am no help there.
> >
> > As for using other keys, in GNOME, you can map keys with:
> >
> > System/Preferences/Personal/Keyboard Shortcuts
>
> Thanks for your help, but to do this the keys would have to be
> recognized by X already, wouldn't they? In my case, xev shows nothing.
> X does not know when the keys are pressed. The only response I get when
> I press the Fn keys are these acpi events registered in system log.
[snip]

And nothing in /var/log/messages like the following?

kernel: atkbd.c: Unknown key pressed (translated set 2, code 0x85 on isa0060/serio0).
kernel: atkbd.c: Use 'setkeycodes e005 <keycode>' to make it known.


Regards,

--
wwp

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-03-2007, 10:32 PM
"Marcelo Magno T. Sales"
 
Default Keys that generate ACPI events

Hi, wwp

Em Seg 03 Dez 2007, wwp escreveu:
> Hello Marcelo,
>
> On Mon, 3 Dec 2007 20:02:39 -0300 "Marcelo Magno T. Sales"
<mmtsales@gmail.com> wrote:
> > Em Seg 03 Dez 2007, Phil Meyer escreveu:
> > > Marcelo Magno T. Sales wrote:
> > > > Hi, people
> > > >
> > > > The Fn keys of my notebook do not generate scancodes, but ACPI
> > > > events instead. I would like to map these events to X keysyms,
> > > > so that the Fn keys are usable in X. How do I do that?
> > > > The F8 kernel (2.6.23.1-49.fc8) and acpid get the ACPI events
> > > > and logs messages like the following (F7 kernels and F7 acpid
> > > > did not):
> > > > ---------------------------------------------------------------
> > > >---- -- Dec 3 18:17:23 home-03 acpid: received event "hotkey
> > > > ATKD 00000050 00000000"
> > > > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > > > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > > > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD
> > > > 00000050 00000000"
> > > > Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD
> > > > 00000051 00000000"
> > > > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > > > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > > > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD
> > > > 00000051 00000000"
> > > > ---------------------------------------------------------------
> > > >---- --
> > > >
> > > >
> > > > Other Fn keys (the ones to control LCD brightness) produce
> > > > errors like:
> > > > ---------------------------------------------------------------
> > > >---- -- Dec 3 18:17:34 home-03 kernel: ACPI Error
> > > > (psargs-0355): [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup
> > > > failure, AE_NOT_FOUND Dec 3 18:17:34 home-03 kernel: ACPI
> > > > Error (psparse-0537): Method parse/execution failed
> > > > [\_SB_.PCI0.SBRG.EC0_._Q0E] (Node f7d07f90), AE_NOT_FOUND
> > > > Dec 3 18:17:35 home-03 kernel: ACPI Error (psargs-0355):
> > > > [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure,
> > > > AE_NOT_FOUND Dec 3 18:17:35 home-03 kernel: ACPI Error
> > > > (psparse-0537): Method parse/execution failed
> > > > [\_SB_.PCI0.SBRG.EC0_._Q0F] (Node f7d07fa8), AE_NOT_FOUND
> > > > ---------------------------------------------------------------
> > > >---- --
> > > >
> > > > Is it possible to make these work?
> > > >
> > > > Thanks,
> > > >
> > > > Marcelo
> > >
> > > The <FN>brightness keys work out of the box on all the laptops I
> > > have built. I am no help there.
> > >
> > > As for using other keys, in GNOME, you can map keys with:
> > >
> > > System/Preferences/Personal/Keyboard Shortcuts
> >
> > Thanks for your help, but to do this the keys would have to be
> > recognized by X already, wouldn't they? In my case, xev shows
> > nothing. X does not know when the keys are pressed. The only
> > response I get when I press the Fn keys are these acpi events
> > registered in system log.
>
> [snip]
>
> And nothing in /var/log/messages like the following?
>
> kernel: atkbd.c: Unknown key pressed (translated set 2, code 0x85 on
> isa0060/serio0). kernel: atkbd.c: Use 'setkeycodes e005 <keycode>' to
> make it known.

Unfortunately not. This would happen if the keys generated scancodes
unknown to the kernel, but mine only generate acpi events. My desktop's
keyboard has some extended keys that generate messages like the one you
posted. These were a bit easier to make work in X.

Thanks,

Marcelo

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-04-2007, 06:24 AM
wwp
 
Default Keys that generate ACPI events

Hello Marcelo,


On Mon, 3 Dec 2007 20:32:56 -0300 "Marcelo Magno T. Sales" <mmtsales@gmail.com> wrote:

> Hi, wwp
>
> Em Seg 03 Dez 2007, wwp escreveu:
> > Hello Marcelo,
> >
> > On Mon, 3 Dec 2007 20:02:39 -0300 "Marcelo Magno T. Sales"
> <mmtsales@gmail.com> wrote:
> > > Em Seg 03 Dez 2007, Phil Meyer escreveu:
> > > > Marcelo Magno T. Sales wrote:
> > > > > Hi, people
> > > > >
> > > > > The Fn keys of my notebook do not generate scancodes, but ACPI
> > > > > events instead. I would like to map these events to X keysyms,
> > > > > so that the Fn keys are usable in X. How do I do that?
> > > > > The F8 kernel (2.6.23.1-49.fc8) and acpid get the ACPI events
> > > > > and logs messages like the following (F7 kernels and F7 acpid
> > > > > did not):
> > > > > ---------------------------------------------------------------
> > > > >---- -- Dec 3 18:17:23 home-03 acpid: received event "hotkey
> > > > > ATKD 00000050 00000000"
> > > > > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > > > > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > > > > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD
> > > > > 00000050 00000000"
> > > > > Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD
> > > > > 00000051 00000000"
> > > > > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > > > > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > > > > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD
> > > > > 00000051 00000000"
> > > > > ---------------------------------------------------------------
> > > > >---- --
> > > > >
> > > > >
> > > > > Other Fn keys (the ones to control LCD brightness) produce
> > > > > errors like:
> > > > > ---------------------------------------------------------------
> > > > >---- -- Dec 3 18:17:34 home-03 kernel: ACPI Error
> > > > > (psargs-0355): [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup
> > > > > failure, AE_NOT_FOUND Dec 3 18:17:34 home-03 kernel: ACPI
> > > > > Error (psparse-0537): Method parse/execution failed
> > > > > [\_SB_.PCI0.SBRG.EC0_._Q0E] (Node f7d07f90), AE_NOT_FOUND
> > > > > Dec 3 18:17:35 home-03 kernel: ACPI Error (psargs-0355):
> > > > > [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure,
> > > > > AE_NOT_FOUND Dec 3 18:17:35 home-03 kernel: ACPI Error
> > > > > (psparse-0537): Method parse/execution failed
> > > > > [\_SB_.PCI0.SBRG.EC0_._Q0F] (Node f7d07fa8), AE_NOT_FOUND
> > > > > ---------------------------------------------------------------
> > > > >---- --
> > > > >
> > > > > Is it possible to make these work?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Marcelo
> > > >
> > > > The <FN>brightness keys work out of the box on all the laptops I
> > > > have built. I am no help there.
> > > >
> > > > As for using other keys, in GNOME, you can map keys with:
> > > >
> > > > System/Preferences/Personal/Keyboard Shortcuts
> > >
> > > Thanks for your help, but to do this the keys would have to be
> > > recognized by X already, wouldn't they? In my case, xev shows
> > > nothing. X does not know when the keys are pressed. The only
> > > response I get when I press the Fn keys are these acpi events
> > > registered in system log.
> >
> > [snip]
> >
> > And nothing in /var/log/messages like the following?
> >
> > kernel: atkbd.c: Unknown key pressed (translated set 2, code 0x85 on
> > isa0060/serio0). kernel: atkbd.c: Use 'setkeycodes e005 <keycode>' to
> > make it known.
>
> Unfortunately not. This would happen if the keys generated scancodes
> unknown to the kernel, but mine only generate acpi events. My desktop's
> keyboard has some extended keys that generate messages like the one you
> posted. These were a bit easier to make work in X.

I'd suggest contacting the Linux ACPI guys or at least searching the
archives of their mailing lists if you're not able to create acpi
events/rules easily from "hotkey ATKD 00000051 00000000"-like events.
Some kernel errors might denote broken DSDT in your laptop, also, then
you definitely need to have a look to http://www.lesswatts.org/projects/acpi/.


Regards,

--
wwp

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-04-2007, 07:49 AM
John Summerfield
 
Default Keys that generate ACPI events

Marcelo Magno T. Sales wrote:

Hi, people

The Fn keys of my notebook do not generate scancodes, but ACPI events


the most sensible replies will come from someone with a similar laptop.

Details please.

For more hints, read the documents mentioned in my sig.


--

Cheers
John

-- spambait
1aaaaaaa@coco.merseine.nu Z1aaaaaaa@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-04-2007, 08:11 PM
"Marcelo Magno T. Sales"
 
Default Keys that generate ACPI events

Em Ter 04 Dez 2007, wwp escreveu:
> Hello Marcelo,
>
> On Mon, 3 Dec 2007 20:32:56 -0300 "Marcelo Magno T. Sales"
<mmtsales@gmail.com> wrote:
> > Hi, wwp
> >
> > Em Seg 03 Dez 2007, wwp escreveu:
> > > Hello Marcelo,
> > >
> > > On Mon, 3 Dec 2007 20:02:39 -0300 "Marcelo Magno T. Sales"
> >
> > <mmtsales@gmail.com> wrote:
> > > > Em Seg 03 Dez 2007, Phil Meyer escreveu:
> > > > > Marcelo Magno T. Sales wrote:
> > > > > > Hi, people
> > > > > >
> > > > > > The Fn keys of my notebook do not generate scancodes, but
> > > > > > ACPI events instead. I would like to map these events to X
> > > > > > keysyms, so that the Fn keys are usable in X. How do I do
> > > > > > that? The F8 kernel (2.6.23.1-49.fc8) and acpid get the
> > > > > > ACPI events and logs messages like the following (F7
> > > > > > kernels and F7 acpid did not):
> > > > > > -----------------------------------------------------------
> > > > > >---- ---- -- Dec 3 18:17:23 home-03 acpid: received event
> > > > > > "hotkey ATKD 00000050 00000000"
> > > > > > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > > > > > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > > > > > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD
> > > > > > 00000050 00000000"
> > > > > > Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD
> > > > > > 00000051 00000000"
> > > > > > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68]
> > > > > > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0]
> > > > > > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD
> > > > > > 00000051 00000000"
> > > > > > -----------------------------------------------------------
> > > > > >---- ---- --
> > > > > >
> > > > > >
> > > > > > Other Fn keys (the ones to control LCD brightness) produce
> > > > > > errors like:
> > > > > > -----------------------------------------------------------
> > > > > >---- ---- -- Dec 3 18:17:34 home-03 kernel: ACPI Error
> > > > > > (psargs-0355): [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup
> > > > > > failure, AE_NOT_FOUND Dec 3 18:17:34 home-03 kernel: ACPI
> > > > > > Error (psparse-0537): Method parse/execution failed
> > > > > > [\_SB_.PCI0.SBRG.EC0_._Q0E] (Node f7d07f90), AE_NOT_FOUND
> > > > > > Dec 3 18:17:35 home-03 kernel: ACPI Error (psargs-0355):
> > > > > > [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure,
> > > > > > AE_NOT_FOUND Dec 3 18:17:35 home-03 kernel: ACPI Error
> > > > > > (psparse-0537): Method parse/execution failed
> > > > > > [\_SB_.PCI0.SBRG.EC0_._Q0F] (Node f7d07fa8), AE_NOT_FOUND
> > > > > > -----------------------------------------------------------
> > > > > >---- ---- --
> > > > > >
> > > > > > Is it possible to make these work?
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Marcelo
> > > > >
> > > > > The <FN>brightness keys work out of the box on all the
> > > > > laptops I have built. I am no help there.
> > > > >
> > > > > As for using other keys, in GNOME, you can map keys with:
> > > > >
> > > > > System/Preferences/Personal/Keyboard Shortcuts
> > > >
> > > > Thanks for your help, but to do this the keys would have to be
> > > > recognized by X already, wouldn't they? In my case, xev shows
> > > > nothing. X does not know when the keys are pressed. The only
> > > > response I get when I press the Fn keys are these acpi events
> > > > registered in system log.
> > >
> > > [snip]
> > >
> > > And nothing in /var/log/messages like the following?
> > >
> > > kernel: atkbd.c: Unknown key pressed (translated set 2, code 0x85
> > > on isa0060/serio0). kernel: atkbd.c: Use 'setkeycodes e005
> > > <keycode>' to make it known.
> >
> > Unfortunately not. This would happen if the keys generated
> > scancodes unknown to the kernel, but mine only generate acpi
> > events. My desktop's keyboard has some extended keys that generate
> > messages like the one you posted. These were a bit easier to make
> > work in X.
>
> I'd suggest contacting the Linux ACPI guys or at least searching the
> archives of their mailing lists if you're not able to create acpi
> events/rules easily from "hotkey ATKD 00000051 00000000"-like events.
> Some kernel errors might denote broken DSDT in your laptop, also,
> then you definitely need to have a look to
> http://www.lesswatts.org/projects/acpi/.

Thanks, I will take a look there.

[]'s
Marcelo

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-04-2007, 08:16 PM
"Marcelo Magno T. Sales"
 
Default Keys that generate ACPI events

Hi, John

Em Ter 04 Dez 2007, John Summerfield escreveu:
> Marcelo Magno T. Sales wrote:
> > Hi, people
> >
> > The Fn keys of my notebook do not generate scancodes, but ACPI
> > events
>
> the most sensible replies will come from someone with a similar
> laptop.
>
> Details please.
>
> For more hints, read the documents mentioned in my sig.

It's a Itautec N8310. I didn't mention before because it's from a
brasilian manufacturer, made for the local market, so I do not expect
you guys have one of these. It's a Centrino Duo with the following
hardware:
[root@home-03 ~]# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML
and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface
Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE
Controller (rev 02)
04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
Network Connection (rev 02)
05:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
05:03.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822
SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
05:03.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
05:03.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
Adapter (rev 0a)
05:03.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev
05)
05:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)

Thanks,

Marcelo

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 07:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org