View previous topic :: View next topic |
Author |
Message |
corsair Retired Dev
Joined: 06 Oct 2003 Posts: 451 Location: Aachen, Germany
|
Posted: Sat Dec 31, 2005 12:36 pm Post subject: [SOLVED] pbbuttons stopped working when running 2.6.15 |
|
|
Hi,
I've updated to kernel 2.6.15-rc7 to be able to use airport extreme from my 12" powerbook. (airport extreme works great BTW)
The problem is that pbbuttons stopped working: When I press the buttons nothing happens. pbbuttons starts and runs (according to pstree) correctly.
I'm using exactly the same config as with 2.6.14.x. Anybody has seen same issues, or is it my config?
Regards,
Markus
Last edited by corsair on Thu Jan 05, 2006 2:10 pm; edited 1 time in total |
|
Back to top |
|
|
fr3sh n00b
Joined: 25 Jul 2005 Posts: 55
|
Posted: Sun Jan 01, 2006 6:01 pm Post subject: |
|
|
I have the same problem since 2.6.15-rc5
have you solved your problem already?
fr3sh |
|
Back to top |
|
|
corsair Retired Dev
Joined: 06 Oct 2003 Posts: 451 Location: Aachen, Germany
|
Posted: Sun Jan 01, 2006 7:03 pm Post subject: |
|
|
no, I haven't. I also tried pbbuttonsd-0.7.3 (not yet in portage), but this doesn't solve the problem. |
|
Back to top |
|
|
fr3sh n00b
Joined: 25 Jul 2005 Posts: 55
|
Posted: Mon Jan 02, 2006 11:16 am Post subject: |
|
|
At the Debian List there are serveral People talking about this Problem.
They found a fix for the 2.6.14 Kernel, but this doesn't work for the 2.6.15 Version.
seems like the problem is the uinput.c...
the following diff - output shows the lines to edit... but this doesn't work for 2.6.15
From the debian mailinglist:
Code: |
diff --git a/drivers/input/misc/uinput.c b/drivers/input/misc/uinput.c
index 948c1cc..c696ae3 100644
--- a/drivers/input/misc/uinput.c
+++ b/drivers/input/misc/uinput.c
@@ -199,10 +199,9 @@ static int uinput_open(struct inode *ino
spin_lock_init(&newdev->requests_lock);
init_waitqueue_head(&newdev->requests_waitq);
- newinput = kmalloc(sizeof(struct input_dev), GFP_KERNEL);
+ newinput = input_allocate_device();
if (!newinput)
goto cleanup;
- memset(newinput, 0, sizeof(struct input_dev));
newdev->dev = newinput;
@@ -373,7 +372,6 @@ static int uinput_burn_device(struct uin
kfree(udev->dev->name);
kfree(udev->dev->phys);
- kfree(udev->dev);
kfree(udev);
return 0;
|
maybe this could be helpful to solve the present problem |
|
Back to top |
|
|
corsair Retired Dev
Joined: 06 Oct 2003 Posts: 451 Location: Aachen, Germany
|
Posted: Thu Jan 05, 2006 8:08 am Post subject: |
|
|
I have opened a bug report: Bug #117847 |
|
Back to top |
|
|
fr3sh n00b
Joined: 25 Jul 2005 Posts: 55
|
Posted: Thu Jan 05, 2006 12:33 pm Post subject: |
|
|
in the bugreport there is a comment, to update udev...
after a world update, i try to use the version 79 of udev and report it to you!
cya fr3sh |
|
Back to top |
|
|
fr3sh n00b
Joined: 25 Jul 2005 Posts: 55
|
Posted: Thu Jan 05, 2006 1:45 pm Post subject: |
|
|
Problem is solved for me!
I simply used the latest (unstable) version of udev. This was for me 079
Now all pbbutton-commands work without problems!
thanks to the guys from the bugreport!
fr3sh |
|
Back to top |
|
|
corsair Retired Dev
Joined: 06 Oct 2003 Posts: 451 Location: Aachen, Germany
|
Posted: Thu Jan 05, 2006 2:08 pm Post subject: |
|
|
yea, works again. |
|
Back to top |
|
|
milothurston Apprentice
Joined: 01 May 2002 Posts: 231 Location: Oxford, England.
|
Posted: Wed Feb 22, 2006 10:48 pm Post subject: |
|
|
Unfortunately, it doesn't work for me with udev 0.79-r1 on a G3 Wallstreet. Pbbuttonsd has been set up with the codes for the volume and brightness keys (determined with xev), but they have no effect.
Below is my .config's Mac driver section.
Code: |
#
# Macintosh device drivers
#
CONFIG_ADB=y
CONFIG_ADB_CUDA=y
CONFIG_ADB_PMU=y
CONFIG_PMAC_APM_EMU=y
CONFIG_PMAC_MEDIABAY=y
CONFIG_PMAC_BACKLIGHT=y
CONFIG_ADB_MACIO=y
CONFIG_INPUT_ADBHID=y
CONFIG_MAC_EMUMOUSEBTN=y
# CONFIG_THERM_WINDTUNNEL is not set
# CONFIG_THERM_ADT746X is not set
# CONFIG_WINDFARM is not set
# CONFIG_ANSLCD is not set
|
Is this sufficient, or have I missed something out? |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
milothurston Apprentice
Joined: 01 May 2002 Posts: 231 Location: Oxford, England.
|
Posted: Thu Feb 23, 2006 2:23 pm Post subject: |
|
|
JoseJX wrote: | Make sure you have the Event Input Device subsystem in your kernel as well as SYSV IPC. |
I have:
Code: |
CONFIG_INPUT_EVDEV=m
CONFIG_SYSV_IPC=y
|
In the relevant parts of .config, and /dev/event0-5 are present. The evdev module is loaded.
The button info. xev gives me is:
+ brightness: 212
- brightness: 101
+ volume: 176
- volume: 174 |
|
Back to top |
|
|
milothurston Apprentice
Joined: 01 May 2002 Posts: 231 Location: Oxford, England.
|
Posted: Mon Mar 20, 2006 9:02 pm Post subject: |
|
|
Further to this, I can set volume, mute, LCD brightness &c. with pbbcmd, so these functions are actually usable. Gtkpbbuttons also works when the commands are given with pbbcmd. However, whatever I do, the actual buttons on the machine have no effect on pbbuttonsd although they produce values for xev. Can anyone suggest what might fix this? |
|
Back to top |
|
|
|