Panasonic R4: hotkeys and s3 don't work in jaunty

Bug #62620 reported by cider101
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Medium
Unassigned
linux-source-2.6.17 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

as the subject suggests, the hotkeys (brigthness, volume etc)
don't work.

the pcc_acpi-drvier is loaded at boot time, but there is no entry in /proc/acpi for it.

suspend to ram causes problems as well. after s3, the laptop will not wake-up and has to be reseted.

Revision history for this message
ashikase (ashikase) wrote :

I also have this problem on my R4; the pcc_acpi module is loaded (successfully?), but no /proc/acpi/pcc is created.

Hotkeys worked for me in Dapper.
S3 suspend for this model has not worked since Breezy (as confirmed in other bug reports).

Revision history for this message
John Stowers (nzjrs) wrote :

Confirmed that I am seeing this with an R4

I reported a duplicate bug of this in https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.17/+bug/63866

Suspend seems to work for me, but no hotkeys

Revision history for this message
John Stowers (nzjrs) wrote :

Any movement on this? My laptop is useless without having the ability to turn up the brightness

Its currently stuck on its lowest setting so I can only use the computer inside at night time

Revision history for this message
ashikase (ashikase) wrote :

Possible fix: An updated version of the pcc-acpi module is available at:
http://www.netlab.cs.tsukuba.ac.jp/~yokota/izumi/panasonic_acpi/

Compiling and (manually) installing the above seems to have taken care of the problem on my machine (R4); /proc/acpi/pcc exists, and hotkeys are functional again. Furthermore, my machine properly resumes from sleep - though I hadn't tried sleep in a while and thus do not know if it is related.

Revision history for this message
John Stowers (nzjrs) wrote :

I tracked down sleep brokenness to X, which has now been fixed.

I will try the fix you suggested for the hotkeys.

Is there a probbability > 0 that this will make it into main?

Maintaining your own modules and inserting them yourself is sooo 1999

Revision history for this message
John Stowers (nzjrs) wrote :

Confirming that this module fixes the brightness hotkeys.

Does not fix the volume up and down keys however. Any ideas on that one?

Revision history for this message
ashikase (ashikase) wrote :

My volume keys work.

Try adding the following to .Xmodmap:

!
! Add support for notebook's volume keys
!
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume

Revision history for this message
ashikase (ashikase) wrote :

(continuation of last comment)

You must then map the XF86Audio* keys to commands to adjust your audio properties. How you do this is dependent on you window manager.

For xfce, in ~/.config/xfce4/shortcuts/Custom.xml, I have the following:

 <shortcut command="/usr/bin/amixer -q set PCM 2- unmute" keys="XF86AudioLowerVolume"/>
 <shortcut command="/usr/bin/amixer -q set PCM 2+ unmute" keys="XF86AudioRaiseVolume"/>
 <shortcut command="/usr/bin/amixer -q set PCM toggle" keys="XF86AudioMute"/>

Revision history for this message
John Stowers (nzjrs) wrote :

Fixed.

I got the volume keys to work by installing the handling scripts at

http://librarian.launchpad.net/1916123/acpi-support_panasonic_tsk20060402.tar.gz

From the same bug as this one in dapper

https://launchpad.net/distros/ubuntu/+source/acpi-support/+bug/16424

It seems silly that this fix was present in Dapper and not in edgy

Revision history for this message
cider101 (wel) wrote :

thx... the above linked pcc driver also worked for my R4

this is somewhat off topic:
i can't get amarok, xine or kaffeine to play mp3 even though i
have installed xine-extracodec. The only way to play mp3s is by
using the command line player "madplay". any ideas ?

Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :

i have the same problem:
i am using a panasonic Cf73 but the module doesn't work..
i was trying to compile the module but keep getting error..
i installed kernel headers, kernel source with no luck..
what should i do to install it?

Revision history for this message
John Stowers (nzjrs) wrote :

Im not sure that model is supported, check the webpage.

What errors do you get when compiling. Post them here

Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :

i installed kernel source and symlinked to /usr/src/linux
then issued sudo make
i got an error that some options were missing and that panasonic-acpi.o was missing as well..
on dapper i was running pcc_acpi perfectly working no need to recompile it, worked out of the box..

Revision history for this message
John Stowers (nzjrs) wrote :

OK, firstly, I am pretty sure you dont need the kernel source, the headers will be fine. As of edgy kernel headers are installed by default.

As long as you have build-essential (i.e. compiler) installed then you should not need to do anything.

All i did was type make, and sudo make install

The readme.html is pretty out of date, all the info you need is in the INSTALL file

I literally did nothing special to get this to compile

Revision history for this message
John Stowers (nzjrs) wrote :

p.s. Its easier if you actually post the errors

Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :

hello
here is the error i get

Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :

problem solved
i didn't see that there was a new release of the pcc_acpi
now it works!

Revision history for this message
Kjell Braden (afflux) wrote :

Hardy Heron 8.04 was recently released. It would be helpful if you could test the new release and verify if this is still an issue - http://www.ubuntu.com/testing . Please let us know your results. Thanks.

Changed in linux-source-2.6.17:
status: New → Won't Fix
Changed in linux:
status: New → Incomplete
Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :

pcc_acpi is missing from hardy heron.

Revision history for this message
Kjell Braden (afflux) wrote :

Does that mean that the hotkeys still don't work yet?

Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :

exactly, i was able to compile version 8.X of pcc_acpi easily under hardy.
but version 9 doesn't compile
there is no pcc_acpi in hardy at the moment
so panasonic hotkeys WONT work.

Revision history for this message
ashikase (ashikase) wrote :

The patched version of pcc-acpi that I posted a link to before works fine with my R4 under Hardy.

  http://www.netlab.cs.tsukuba.ac.jp/~yokota/archive/pcc-acpi-0.8.4-hy20071017.tar.gz

Note that even though it is marked as version 0.8.4, it is actually newer than the 0.9 version available elsewhere.

Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :

confirmed, is the same version i am using.
I found it casually trying all the versions.
It could be interesting to know what is going wrong

Revision history for this message
Kjell Braden (afflux) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description didn't include enough information.

Please include the information as separate attachments:
 * Output of uname -a
    * uname -a > uname.txt
 * Output of sudo lspci -vvnn
    * sudo lspci -vvnn > lspci.txt
 * Output of sudo dmidecode
    * sudo dmidecode > dmidecode.txt
 * Try to suspend/hibernate and then restart the system and attach /var/log/kern.log.0
 * Tarball of /proc/acpi directory. You can't just tar all files because their content sometimes changes etc.
    * cp -r /proc/acpi /tmp
    * tar -cvjf ~/acpi.tar.bz /tmp/acpi
    * attach acpi.tar.bz from your home directory

Changed in linux:
status: Incomplete → New
status: New → Incomplete
Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :
Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :
Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :
Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :
Revision history for this message
agostinomaurotto (agostino-maurotto) wrote :
Kjell Braden (afflux)
Changed in linux:
assignee: nobody → ubuntu-kernel-acpi
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
takeda64 (takeda64) wrote :

Not sure how much it is useful.
(My laptop is R7 btw)

http://git.myrix.net/?p=pana_acpi/.git;a=tree

With the above module, I can succesfully use brightness controls (without it, I can either enable or disable the backlight), also the sound controls (volume up, down and mute) appear to work flawlessly.
What doesn't work is the monitor key, and standby to ram (actually ubuntu interpid ibex doesn't even give an option in power menu to do sleep to ram).

Sleep to disk works flawlessly (it was working without the module). The button for sleep seems to start preparing to computer to hibernate, but then at the moment when the actual hibernation supposed to start, it comes back.

So in summary, for me everything seems to work (or works good enough) except the standby to RAM.

Another thing (I should report it separately) is that this laptop supports but Ubuntu doesn't seem to is economy mode (ECO) (keeps battery charged to 80% to extend its life), and disabling power on LAN. Those two options can be modified through windows, and laptop remembers the settings, but going to windows just to switch is a bit painful. Especially the power for LAN port.

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
takeda64 (takeda64) wrote :

I installed latest Ubuntu 9.04 from scratch and the brightness and volume keys seem to work correctly without the need of compiling pana_acpi module. Though buttons for suspend, hibernation and battery level seem to be still not functional.

Actually pana_acpi didn't support them too. I also tried to map suspend key in key shortcuts program, but the progeram isn't able to detect that the key is pressed :(

Revision history for this message
nomnex (nomnex) wrote :

I have installed Ubuntu 9.04 on a Let's note Panasonic CF-W2, none of the FN keys work. I have found some tutorial, but it is out of my league and this is very annoying.

I have opened a support request here https://answers.launchpad.net/ubuntu/+question/80230. Fell free to answer.

Thanks to all.

Rolf Leggewie (r0lf)
summary: - Panasonic R4: hotkeys and s3 don't work in edgy
+ Panasonic R4: hotkeys and s3 don't work in jaunty
Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
Curtis Hovey (sinzui)
Changed in linux (Ubuntu):
assignee: Registry Administrators (registry) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.