[Bug 222324] Re: Support for panasonic hotkeys missing
As this is confirmed fixed in Karmic and later I am closing out the development task as Fix Released. ** Changed in: linux (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/222324 Title: Support for panasonic hotkeys missing -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
here is some code I wrote (I own a CF-51) first try this: # modprobe panasonic_laptop save the below as: /etc/acpi/events/hotkey event=HKEY\ 0080\ 00(8[1-689]|0[37a]) action=/etc/acpi/hotkey.pl %e save the below as: /etc/acpi/hotkeys.pl then chmod +x /etc/acpi/hotkeys.pl #!/usr/bin/perl =begin comment Copyright (C) 2010 Mitchell Lafferty (coolspee...@gmail.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see Lhttp://www.gnu.org/licenses/;. =end comment =cut use feature :5.10; use strict; use warnings; # 0081 dn b # 0082 up b # 0084 mute # 0085 v dn # 0086 v up # 0007 ram sleep # 0089 batt # 000a hdd sleep #use YAML qw(DumpFile); #$hash = {'BRIGHT_DN_STEPS' = 10,'BRIGHT_UP_STEPS' = 10}; #print DumpFile('/home/mitch/.acpi_config', $hash); use constant { ACPI_BRIGHT_DN = '0081', ACPI_BRIGHT_UP = '0082', ACPI_SND_MUTE = '0084', ACPI_SND_DN = '0085', ACPI_SND_UP = '0086', ACPI_CRT_OUT= '0088', ACPI_BATT_KEY = '0089', ACPI_SLEEP_RAM = '0007', ACPI_SLEEP_HDD = '000a', ACPI_PCC_BRIGHT = '/sys/devices/virtual/backlight/panasonic' }; my $BRIGHT_UP_STEPS = 10; my $BRIGHT_DN_STEPS = $BRIGHT_UP_STEPS; my $SND_UP_STEPS = 1; my $SND_DN_STEPS = $SND_UP_STEPS; my ( $max_bright, $new_bright, $now_bright ); given ( $ARGV[3] ) { when (undef) { exit 0; } when (ACPI_BRIGHT_DN) { $max_bright = QuickOpen( ACPI_PCC_BRIGHT . '/max_brightness' ); $now_bright = QuickOpen( ACPI_PCC_BRIGHT . '/brightness' ); chomp($max_bright); chomp($now_bright); $new_bright = $now_bright - $BRIGHT_UP_STEPS; $new_bright = 0 if ( $new_bright 0 ); #~ print $max_bright, , $now_bright, , $new_bright, \n; QuickWrite( ACPI_PCC_BRIGHT . '/brightness', $new_bright\n ); } when (ACPI_BRIGHT_UP) { $max_bright = QuickOpen( ACPI_PCC_BRIGHT . '/max_brightness' ); $now_bright = QuickOpen( ACPI_PCC_BRIGHT . '/brightness' ); chomp($max_bright); chomp($now_bright); $new_bright = $now_bright + $BRIGHT_UP_STEPS; $new_bright = $max_bright if ( $new_bright $max_bright ); #~ print $max_bright, , $now_bright, , $new_bright, \n; QuickWrite( ACPI_PCC_BRIGHT . '/brightness', $new_bright\n ); } when (ACPI_SND_MUTE) { # don't care ...; } when (ACPI_SND_DN) { # don't care #~ system(amixer -q sset PCM,0 $SND_DN_STEPS-); ...; } when (ACPI_SND_UP) { # don't care #~ system(amixer -q sset PCM,0 $SND_UP_STEPS+); ...; } when (ACPI_CRT_OUT) { # don't care ...; } when (ACPI_BATT_KEY) { # don't care ...; } when (ACPI_SLEEP_RAM) { system('pm-suspend '); } when (ACPI_SLEEP_HDD) { system('pm-hibernate '); } default { die What?: $ARGV[3]\n; } } sub QuickOpen { my $data; open( DAT, , shift ) || die Err: read: $!\n; while (DAT) { $data .= $_; } close(DAT); return $data; } sub QuickWrite { open( DAT, , shift ) || die Err: write: $!\n; print DAT shift; close(DAT); } -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
** Changed in: linux (Ubuntu) Assignee: Andy Whitcroft (apw) = (unassigned) -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
Thank you for advice. I have installed Kubuntu 9.10 recently released. Hotkeys (Brightness and sound) are working from a box. Questions are: What package is responsible for Panasonic hotkeys? I cannot find panasonic-laptop. What about another hotkeys (video out switch, hibernate, harddisk)? -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
agreed, brightness, volume keys work out of box in karmic (Let's Note CF-T2) -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
Could the developers include PCC_ACPI package into release Kubuntu 9.10 coming? I'm emplyee of Panasonic Russia an would like to help our customers use Kubuntu on Panasonic's laptops. I have found the original sources from http://www.da-cha.jp/files/pcc-acpi-0.9.tar.bz2 can be compile on Hardy Heron (I did it on 8.04.1 LTS), but I cannot compile them neither on Kubuntu 9.04 nor Kubuntu 9.10alpha6. This module is really needed and, I think, it's great when it can be installed by apt-get command. -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 222324] Re: Support for panasonic hotkeys missing
I have no problem in the Karmic Koala beta with PCC_ACPI so far. I Have a Let's not PANASONIC CF-Y4. Are you sure that PCC_ACPI is not working on your note? Quoting Vassili Yu. Titov vti...@ros.panasonic.ru: Could the developers include PCC_ACPI package into release Kubuntu 9.10 coming? I'm emplyee of Panasonic Russia an would like to help our customers use Kubuntu on Panasonic's laptops. I have found the original sources from http://www.da-cha.jp/files/pcc-acpi-0.9.tar.bz2 can be compile on Hardy Heron (I did it on 8.04.1 LTS), but I cannot compile them neither on Kubuntu 9.04 nor Kubuntu 9.10alpha6. This module is really needed and, I think, it's great when it can be installed by apt-get command. -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a direct subscriber of a duplicate bug. This message was sent using IMP, the Internet Messaging Program. -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
Karmic includes panasonic-laptop instead of pcc_acpi. A userspace program is required to receive input events (shortcut keys) and control the backlight In gnome this is gnome-power-manager, KDE will have something similar. Bar the suspend keys, karmic works out of the box for me (let's note CF-T2). -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
Confirming that panasonic_laptop module in Jaunty fails to support brightness keys, since it does not create the /proc/acpi/pcc/* interfaces which the panasonic brightness scripts in acpi-support expect. I've been using the pcc_acpi module with the suse patches (http://software.opensuse.org/search?baseproject=openSUSE%3AFactoryp=1q =pcc-acpi) module up until 2.6.28, when a compile error showed up due to this (http://kerneltrap.org/mailarchive/linux-kernel/2008/9/11/3261284) kernel acpi change. This was simple to patch, and the module works. Patch attached, meant to be applied after all patches in http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/src /pcc-acpi-0.9-4.15.src.rpm ** Attachment added: fix build on 2.6.28 http://launchpadlibrarian.net/30290691/pcc-acpi-0.9-2.6.28-nolvalue.diff -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
not fixed ** Changed in: linux (Ubuntu) Status: Fix Released = Confirmed -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
not fixed -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
oops, bad whitespace in patch ** Attachment added: fix build on 2.6.28 http://launchpadlibrarian.net/30291219/pcc-acpi-0.9-2.6.28-nolvalue.diff -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
Confirming that panasonic_laptop module in Jaunty fails to support brightness keys, since it does not create the /proc/acpi/pcc/* interfaces which the panasonic brightness scripts in acpi-support expect. I've been using the pcc_acpi module with the suse patches (http://software.opensuse.org/search?baseproject=openSUSE%3AFactoryp=1q =pcc-acpi) module up until 2.6.28, when a compile error showed up due to this (http://kerneltrap.org/mailarchive/linux-kernel/2008/9/11/3261284) kernel acpi change. This was simple to patch, and the module works. Patch attached, meant to be applied after all patches in http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/src /pcc-acpi-0.9-4.15.src.rpm ** Attachment added: fix build on 2.6.28 http://launchpadlibrarian.net/30291205/pcc-acpi-0.9-2.6.28-nolvalue.diff -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
Confirming that panasonic_laptop module in Jaunty fails to support brightness keys, since it does not create the /proc/acpi/pcc/* interfaces which the panasonic brightness scripts in acpi-support expect. I've been using the pcc_acpi module with the suse patches (http://software.opensuse.org/search?baseproject=openSUSE%3AFactoryp=1q =pcc-acpi) module up until 2.6.28, when a compile error showed up due to this (http://kerneltrap.org/mailarchive/linux-kernel/2008/9/11/3261284) kernel acpi change. This was simple to patch, and the module works. Patch attached, meant to be applied after all patches in http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/src /pcc-acpi-0.9-4.15.src.rpm ** Attachment added: fix build on 2.6.28 http://launchpadlibrarian.net/30291206/pcc-acpi-0.9-2.6.28-nolvalue.diff -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
for those like me who just need working brightness control for now, here is a quick script to patch and build the old module. insmod /tmp/pcc_acpi_build/pcc-acpi-0.9/pcc_acpi.ko or make install from there and modprobe pcc_acpi (making sure panasonic_laptop module isn't loaded) ** Attachment added: build_pcc-acpi.jaunty.sh http://launchpadlibrarian.net/30291345/build_pcc-acpi.jaunty.sh -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
I think http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524838 is the relevant upstream bug for getting brightness key events working with the new driver. rebooting to test (note: not sure why my comment shows up multiple times, maybe wanky browser, sorry) ** Bug watch added: Debian Bug tracker #524838 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524838 -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
Success! Installing acpi-support and acpi-support-base 0.123-1 from Debian Sid enables brightness up/down keys to work with the in-kernel driver. NOTE: acpi-support 0.125 from Karmic DOES NOT support the brightness keys. gnome-power-manager still can't send or receive brightness events. -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
As the module now does load and some keys are working I will mark this bug as Fix Released. As there are some keys which do not still work could we get those tested on the latest Jaunty live CD and if they are not working there can we get a new bug filed for those. Thanks for your help with this bug. ** Changed in: linux (Ubuntu) Status: Incomplete = Fix Released -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
I am uptodate on Jaunty as of today... Linux tough 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux and the brightness keys still do not work. -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
modprobe no longer hangs in 2.6.28-8-generic, and the volume keys now work with the module loaded. Brightness adjustment doesn't though... -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
the old independently maintained pcc-acpi kernel module I had been using with 8.10 no longer builds (lvalue) So I found a module which appears to be a close cousin included in Jaunty's 2.6.28. however when I do modprobe panasonic-laptop it just hangs (modprobe never completes, cannot add any more kernel modules...) This is a three year old Panasonic CF-51. worked fine with pcc-acpi on 8.10 -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
@Nil, @Dan -- any chance you could test these newer kernels for me. -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
** Changed in: linux (Ubuntu) Status: In Progress = Incomplete -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
@Andy I just rebooted with your kernel (2.6.27-11lb222324apw2). The kernel just works, no problem. But I see no support for the hotkeys. No pcc-acpi module, no response to any hotkey pressed, and $ cat /proc/acpi/video/GFX0/LCD1/brightness not supported Am I missing something? -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
In order to support the case for merging these patches into the intrepid kernel I have rebased these changes to the latest Intrepid kernel and build new kernel test images. If you could test those and report back here that would be helpful supporting data for the request. The new kernels can be found at the URL below: http://people.ubuntu.com/~apw/lp222324/ NOTE: that these are updated kernels in the same location. -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
FYI, Andy's test kernels work for me (Panasonic Toughbook CF-19), but I have this other problem where at times the screen just starts getting dimmer and dimmer, and the bright/dim keys (or direct writes to /sys/class/backlight/panasonic/... files), but then suddenly after a minute or so it will suddenly start working again and recognize that the backlight is dim or off and allow me to turn it back up. I didn't see this under hardy at all (where I used pcc_acpi), it showed up when I moved to intrepid, even before moving to these test kernels (when I couldn't adjust brightness at all -- it would just get dimmer and brighter on its own, very frustrating). At least now I can fix it some of the time. There are also issues where the UI (GNOME) doesn't seem to recognize the full range of the backlight, which goes from 0 to 21; using the bright/dim keys, I can only get it up to 9 or so. Writing directly to the files I can up it to the full 21 (in its full outdoor-readable battery-draining glory). -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
Thanks for the efforts, Andy. A backport from Intrepid would be very nice, indeed. I tried the proposed kernel images on my Panasonic Y5. It seems to fail, X can't start. I didn't try the hotkeys from console mode. Previously, everything was working with gutsy kernel + pcc-acpi-0.9 + SUSE patches + make/install/modprobe. Currrently, with the default Intrepid kernel, sound and brightness hotkeys don't work, but brightness is automatically adjusted (moved down/up) whether I am on battery or plugged. For further tests, could you provide the bare module sources for simple make/install/modprobe tests? -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
Mistake - A backport from Intrepid would be very nice, indeed. + A backport from Jaunty would be very nice, indeed. -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
@Nil -- if you have an out of tree graphics driver that would happen. I have uploaded the header files too now which should allow dkms to install your graphics in that case against this kernel. The ones at the URL above are Intrepid ports BTW. -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
I have had a look at the module and it appears to be pretty small and self contained and therefore it may be possible to be possible to back port it to Intrepid. If it is possible then we would need to get some test kernels built and those tested by those of you with the hardware to confirm that (1) it fixes the problem, and (2) there are no obvious regressions. I have pulled the driver as it appears in mainline and applied it to the intrepid kernel. It seems to apply and build cleanly. I have built some test kernels with this modules enabled (based on the current -proposed kernel) and pushed them up to the URL below. If those of you with Panasonic laptops could test these kernels and report back, we can then consider whether this can be applied as an SRU to Intrepid. Note that these are binary only kernels and will not work if you are using out of tree graphics drivers via DKMS. -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
Those test kernels can be found here: http://people.ubuntu.com/~apw/lp222324/ -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
Is there a way to have this new panasonic module available in Intrepid? Thanks. -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
Can confirm that this driver was be included in v2.6.28-rc3, so it should be in the Jaunty kernels. -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing
We are expecting this to be fixed by the new panasonic module which should come with the upstream kernel update in Jaunty. ** Summary changed: - Support for panasonic hotkeys missing in Hardy + Support for panasonic hotkeys missing ** Changed in: linux (Ubuntu) Assignee: Ubuntu Kernel Team (ubuntu-kernel-team) = Andy Whitcroft (apw) Status: Triaged = In Progress -- Support for panasonic hotkeys missing https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
** Changed in: linux (Ubuntu) Importance: Undecided = Medium -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
Moving this bug forward to target the actively developed linux kernel package. Beginning with the Intrepid development cycle the linux- ubuntu-modules was merged with the linux kernel package. I don't see the panasonic driver to be in the Intrepid kernel source so it's likely this will be resolved for Jaunty. Thanks. ** Changed in: linux (Ubuntu) Sourcepackagename: linux-ubuntu-modules-2.6.24 = linux Assignee: (unassigned) = Ubuntu Kernel Team (ubuntu-kernel-team) Status: Confirmed = Triaged -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
Great news, James, thanks! Did you apply the patch to Hardy's kernel source to build? I'm not used to working with kernel tree patches since I stopped building my own kernels many years ago. Should I just install linux-source, patch, build the module, copy into place, depmod -a ? -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
There is currently a updated panasonic driver that is about to be accepted for inclusion in the kernel tree which is based upon the lately ill maintained pcc-acpi. This driver uses the same core code but exposes backlight and input interfaces allowing it to interface better with hal and gnome-power-manager. http://marc.info/?l=linux-acpim=14264520623w=2 I'm currently using this driver on Hardy but perhaps some could try it on intrepid and see whether it's a better candidate for inclusion. Since it now utilises backlight and input interfaces the panasonic specific event descriptors and scripts should be removed from acpi-support to prevent acpi events being processed twice. -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
I guess opensuse has had a patch since July to support 2.6.26 and 27: http://download.opensuse.org/repositories/home:/seife:/Factory/openSUSE_11.0/repodata/repoview/pcc-acpi-0-0.9-5.1.html I'm testing the patches with 0.9 tarball and kernel 2.6.27 in Intrepid currently, will report results. Possible to get this into Intrepid for us toughbook users? -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
captive: I think we should use the original patches from the suse src.rpm. I found 3 patches in the opensuse 11.1 src.rpm. I can confirm that they applied without error and allow the module to build and load, and that all module functionality seems to be working properly (brightness, volume, suspend). They do not allow building with kernel 2.6.26 in Intrepid, but are a step in the right direction. What options do we have for getting this in a .deb for Hardy? Certainly not main, backports doesn't seem appropriate. Maybe the original author just needs to get these patches upstream. I sent him a message a few days ago, but haven't gotten a reply yet. -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
googling around I found this page: http://rclermont.blogspot.com/2007/10/panasonic-fn-keys-in-ubuntu.html In the comments someone says that is possible to patch the module to make it work with 2.6.24 kernels. I've been able to build a working pcc_acpi.ko from the source for my CF-74 and gutsy w/2.6.24 kernel (this should work for hardy 8.04) found here: http://www.da-cha.jp/files/pcc-acpi-0.9.tar.bz2 and applying the following patch. The patch is the sum of two patches from the source rpm used in opensuse 10.3 basically the make things compatible with the 2.6.23 kernel. (it also works with .24 kernels) *** pcc_acpi.c 2006-11-21 00:38:41.0 -0700 --- pcc_acpi.c.new 2008-05-10 12:58:14.0 -0600 *** *** 168,174 #define METHOD_HKEY_SQTY SQTY #define METHOD_HKEY_SINF SINF #define METHOD_HKEY_SSET SSET - #define HKEY_HID MAT0012,MAT0013,MAT0018,MAT0019 #define HKEY_NOTIFY 0x80 /* for brightness control */ --- 168,173 *** *** 212,224 static int acpi_pcc_hotkey_add(struct acpi_device *device); static int acpi_pcc_hotkey_remove(struct acpi_device *device, int type); ! static int acpi_pcc_hotkey_resume(struct acpi_device *device, int state); static struct acpi_driver acpi_pcc_driver = { .name = ACPI_PCC_DRIVER_NAME, .class = ACPI_PCC_CLASS, ! .ids = HKEY_HID, .ops = { .add = acpi_pcc_hotkey_add, .remove = acpi_pcc_hotkey_remove, --- 211,231 static int acpi_pcc_hotkey_add(struct acpi_device *device); static int acpi_pcc_hotkey_remove(struct acpi_device *device, int type); ! static int acpi_pcc_hotkey_resume(struct acpi_device *device); + static const struct acpi_device_id pcc_device_ids[] = { + {MAT0012, 0}, + {MAT0013, 0}, + {MAT0018, 0}, + {MAT0019, 0}, + {, 0}, + }; + MODULE_DEVICE_TABLE(acpi, pcc_device_ids); static struct acpi_driver acpi_pcc_driver = { .name = ACPI_PCC_DRIVER_NAME, .class = ACPI_PCC_CLASS, ! .ids = pcc_device_ids, .ops = { .add = acpi_pcc_hotkey_add, .remove = acpi_pcc_hotkey_remove, *** *** 622,628 case HKEY_NOTIFY: if (acpi_pcc_hotkey_get_key(hotkey)) { /* generate event like 'pcc HKEY 0080 0084' when Fn+F4 pressed */ ! acpi_bus_generate_event(hotkey-device, event, hotkey-status); } acpi_pcc_generete_keyinput(hotkey); break; --- 629,635 case HKEY_NOTIFY: if (acpi_pcc_hotkey_get_key(hotkey)) { /* generate event like 'pcc HKEY 0080 0084' when Fn+F4 pressed */ ! acpi_bus_generate_proc_event(hotkey-device, event, hotkey-status); } acpi_pcc_generete_keyinput(hotkey); break; *** *** 834,840 module init -- */ ! static int acpi_pcc_hotkey_resume(struct acpi_device *device, int state) { struct acpi_hotkey *hotkey = acpi_driver_data(device); acpi_status status = AE_OK; --- 841,847 module init -- */ ! static int acpi_pcc_hotkey_resume(struct acpi_device *device) { struct acpi_hotkey *hotkey = acpi_driver_data(device); acpi_status status = AE_OK; -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
Same here on CF-W2, very annoying.. -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
It seems that support for pcc_acpi has been dropped since kernel 2.6.23 due to acpi changes. A patch version of pcc_acpi needs to be built from latest sources and shipped with linux-ubuntu-modules. If someone wants to help then he's welcomed. -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
Confirming--hotkeys on a Panasonic CF-50 are inoperative, screen brightness cannot be changed, and cat /proc/acpi/video/VGA0/LCD/brightness yields not supported. Of course, all of this worked on the same laptop in Gutsy prior to upgrading to Hardy. -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
confirmed.. pity, instead of offering better support its dropping compatibilities... -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
** Changed in: linux-ubuntu-modules-2.6.24 (Ubuntu) Sourcepackagename: None = linux-ubuntu-modules-2.6.24 -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
Confirming. pcc_acpi.ko is not shipped with linux-ubuntu-modules as it was in Gutsy. Does anyone know why it's not in Hardy anymore ? ** Changed in: linux-ubuntu-modules-2.6.24 (Ubuntu) Status: New = Confirmed -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 222324] Re: Support for panasonic hotkeys missing in Hardy
** Tags added: acpi hardy panasonic -- Support for panasonic hotkeys missing in Hardy https://bugs.launchpad.net/bugs/222324 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs