Re: Pommed ignores fnmode option in the conf file

2008-07-21 Thread Dominik Meister
Hi Francesco

Francesco Pedrini [Mon, Jul 21, 2008 at 02:53:17PM +0200]:
 i'm having some problems with pommed on an ibook g4 2005,
 it seems that he can't use the fn+functionkey working right.

Can't say anything about pommed, but I'm also having an ibook g4 and I'm
running pbbuttonsd on it. My fn keys work the way you want it.

Maybe you should give pbbuttonsd a try (or can pommed do anything
pbbuttonsd can't?).

Regards,
Dominik

-- 
Dominik Meister
My public GnuPG key is available at http://www.meisternet.ch/gpg.txt


pgpmWxGcqkLoj.pgp
Description: PGP signature


Re: Pommed ignores fnmode option in the conf file

2008-07-21 Thread Børge Holen
On Monday 21 July 2008 14:53:17 Francesco Pedrini wrote:
 Hi list,

 i'm having some problems with pommed on an ibook g4 2005,
 it seems that he can't use the fn+functionkey working right.

 I've to press fn+functionkey in order to get the normal fn values
 (fn+f1 - f1, fn+f2- f2) and it is not the behaviour that i want, i
 want to press the fn key ONLY when i want to trigger the special
 control (brightness, sound and eject keys)

 I've tried both with fnmode = 1 and fnmode = 2 but nothing
 changes...
 Also, and that is really strange, the key are fully functional (with the
 wrong behaviour) even when pommed is stopped, this leads me to think
 that it's not only a bug of pommed, i think that there are other parts
 of the system that are involved in this stuff.

 Does anybody has an hint?

in /etc/pbbuttonsd.conf 
look for the line KBDmode   just change to fkeyslast.


 Thanks a lot,

 Francesco
 --

 :wq



-- 
---
Børge Holen
http://www.arivene.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Pommed ignores fnmode option in the conf file

2008-07-21 Thread Julien BLACHE
Francesco Pedrini [EMAIL PROTECTED] wrote:

Hi,

 i'm having some problems with pommed on an ibook g4 2005,
 it seems that he can't use the fn+functionkey working right.

Hmmm, if this machine still has an ADB keyboard (vs. USB), then you
cannot change the Fn behaviour. It's only possible on USB keyboards.

Check your logs or stop pommed and run pommed -f and you should see an
error message.

 Also, and that is really strange, the key are fully functional (with the 
 wrong behaviour) even when pommed is stopped, this leads me to think 
 that it's not only a bug of pommed, i think that there are other parts 
 of the system that are involved in this stuff.

If only the backlight keys work, then they're handled by the kernel on
its own. If other keys work too, then something else is running,
either pbbuttonsd or some GNOME stuff via HAL.

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - [EMAIL PROTECTED] 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Pommed ignores fnmode option in the conf file

2008-07-21 Thread Francesco Pedrini
On Monday 21 July 2008, Julien BLACHE wrote:
 Francesco Pedrini [EMAIL PROTECTED] wrote:

 Hi,

  i'm having some problems with pommed on an ibook g4 2005,
  it seems that he can't use the fn+functionkey working right.

 Hmmm, if this machine still has an ADB keyboard (vs. USB), then you
 cannot change the Fn behaviour. It's only possible on USB keyboards.

 Check your logs or stop pommed and run pommed -f and you should see
 an error message.

Ok, i've an ADB keboard... but i don't get any error from pommed (except 
the stuff about LMU, but is it related only to the cdrom, right?), the 
full log is attached.

There is anything that i can try without switching back to pbbuttonsd?
Some sort of experimental patch or things like that, it should not be 
impossible since pbbuttonsd does that... i'll offer cputime and 
tests :D

  Also, and that is really strange, the key are fully functional
  (with the wrong behaviour) even when pommed is stopped, this leads
  me to think that it's not only a bug of pommed, i think that there
  are other parts of the system that are involved in this stuff.

 If only the backlight keys work, then they're handled by the kernel
 on its own. If other keys work too, then something else is running,
 either pbbuttonsd or some GNOME stuff via HAL.

ok, they're handled by the kernel :)

Thanks a lot,
Francesco

---
[EMAIL PROTECTED]:~$ sudo pommed -f
I: pommed v1.21 ($Rev: 494 $) Apple laptops hotkeys handler
I: Copyright (C) 2006-2008 Julien BLACHE [EMAIL PROTECTED]
pommed configuration:
 + General settings:
fnmode: 1
 + sysfs backlight control:
initial level: -1
step: 8
on_batt: 40
 + Audio volume control:
card: default
initial volume: -1
step: 10%
beep: yes
volume element: Master
speaker element: Master
headphones element: Headphone
 + Keyboard backlight control:
default level: 100
step: 16
auto on threshold: 20
auto off threshold: 40
auto enable: yes
idle timer: 60s
 + CD eject:
enabled: yes
device: /dev/cdrom
 + Beep:
enabled: no
beepfile: /usr/share/pommed/click.wav
I: PMU machine check: running on a PowerBook6,7
E: Error: no lmu-controller found in device-tree
---


-- 
:wq


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Pommed ignores fnmode option in the conf file OT

2008-07-21 Thread Børge Holen
top posting, talk about NOT RTFA ;D sry guys

On Monday 21 July 2008 21:17:16 Julien BLACHE wrote:
 Francesco Pedrini [EMAIL PROTECTED] wrote:

 Hi,

  i'm having some problems with pommed on an ibook g4 2005,
  it seems that he can't use the fn+functionkey working right.

 Hmmm, if this machine still has an ADB keyboard (vs. USB), then you
 cannot change the Fn behaviour. It's only possible on USB keyboards.

 Check your logs or stop pommed and run pommed -f and you should see an
 error message.

  Also, and that is really strange, the key are fully functional (with the
  wrong behaviour) even when pommed is stopped, this leads me to think
  that it's not only a bug of pommed, i think that there are other parts
  of the system that are involved in this stuff.

 If only the backlight keys work, then they're handled by the kernel on
 its own. If other keys work too, then something else is running,
 either pbbuttonsd or some GNOME stuff via HAL.

 JB.

 --
  Julien BLACHE - Debian  GNU/Linux Developer - [EMAIL PROTECTED]

  Public key available on http://www.jblache.org - KeyID: F5D6 5169
  GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169



-- 
---
Børge Holen
http://www.arivene.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Pommed ignores fnmode option in the conf file

2008-07-21 Thread Julien BLACHE
Francesco Pedrini [EMAIL PROTECTED] wrote:

Hi,

 Ok, i've an ADB keboard... but i don't get any error from pommed (except 
 the stuff about LMU, but is it related only to the cdrom, right?), the 
 full log is attached.

The LMU error is expected on this machine and harmless. It's related
to the keyboard backlight (which you don't have).

Also there's no error message because the USB HID module is loaded on
your machine, so the path exists. I used to run a kernel with ADB only
on my PowerBook :-)

 There is anything that i can try without switching back to pbbuttonsd?
 Some sort of experimental patch or things like that, it should not be 
 impossible since pbbuttonsd does that... i'll offer cputime and 
 tests :D

Indeed I've overlooked a chunk of code in pbbuttonsd at the time the
pmac support was added to pommed :)

I'll prepare a patch and I'll send it to you for testing. Should be
tomorrow or sometime this week.

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - [EMAIL PROTECTED] 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]