I can confirm the bug for a R51
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Will the 'hal' bug #372874 see any love?
Fixing bug #372874 and enabling thinkpad_acpi hotkeys for brightness-keys DOES
fix the brightness issue.
Brightness-notification will then be handled correctly by g-p-m!
Modprobe option to enable brightness hotkeys:
options thinkpad_acpi
bwalex's code along with PhilippeDePass's patch works great over here.
Is there any chance that someone can package this so that more people
can benefit from the fix?
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
For the volume you can change the line that reads volume3 to volume*7.
notify_notification_set_hint_int32(not, value, volume3);
I normally use shifts wherever possible, but obviously LSL by 3 multiplies by
8, and given a maximum raw volume of 14, that goes a bit above the maximum.
Nonetheless
Crispin:
the brightness bug with g-p-m notifications, IS actually a hald bug. bug #372874
the 'get_backlight' function should read 'actual_brightness' not 'brightness':
http://cgit.freedesktop.org/hal/tree/hald/linux/addons/addon-generic-backlight.c
'brightness' is only used to set backlight!
bwalex's script (https://bugs.launchpad.net/ubuntu/+source/hotkey-
setup/+bug/357673/comments/63) works well on my ThinkPad X31. Both
volume and brightness notifications appear.
Thank you very much!
However, when running from the terminal, I get an endless stream of
brightness new crap occured.
I've packaged bwalex's solution (along with my patch) here (hope he
doesn't mind).
** Attachment added: notify.tar.gz
http://launchpadlibrarian.net/26340655/notify.tar.gz
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
No deb package available for this? The compilation requires me to
install 34MB of -dev packages on the laptop.
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received this bug
bwalex's little notify program works fine on my R50e. Plus, it's simpler
than merging all those acpi scripts (which didn't work on my R50e
anyways).
Only one problem. The volume gauge seems to go over the limit, near the
edge of the popup window. Also, the brightness gauge stops a hair before
Try enabling hotkey event in the thinkpad-acpi module!
This way hal gets the events, or you could control the events from the
acpi interface in /etc/acpi.
echo 0x00ff /proc/acpi/ibm/hotkey
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32,
I suspect there are quite a few different types of hardware which have
the problem of buttons that are hardwired to generate the result. If
this code can be the basis of a general solution, we should aim to get
it packaged and included in Karmic.
Matt - this is about a solution for laptop keys
I've updated the program to be able to deal with the new kind of
brightness /proc node in acpi/video/VID...
You can find it under http://bwalexh.wordpress.com/2009/05/03/new-
ubuntu-thinkpad-notification-program/
If for some reason you don't have /proc/acpi/video/VID but rather
I dont know how to fix for the sound volume.
But for brightness, the I think the right solution is to enable the hotkeys,
and let g-p-m handle it.
g-p-m only does notification and no actions. Unfortunately the notification
does not reflect the real brightness level on my box.
Brightness should
As I have said before on this bug, g-p-m does handle brightness
correctly assuming that hal is setup to know that your panel handles
things in hardware. you need the following property on the panel:
laptop_panel.brightness_in_hardware = true
g-p-m has handled this properly for around 3 years.
@bwalex: you are right. I removed the workaround
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received this bug notification because you are a member of Ubuntu
Bugs, which is
No... I was trying to remove it. Forgot the previous mask! Anyone knows?
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received this bug notification because you are a member of
Fabio,
the solution of adding the hotkey event has the exact problem Ubuntu was trying
to avoid: controlling the sound or brightness twice per click: one in hardware
and one in software. You'll notice that the sound control will jump twice as
much. At half the slider you'll have no sound
fabio:
cat /sys/devices/platform/thinkpad_acpi/hotkey_recommended_mask
for the brightness:
sysfs has to files in /sys/devices/virtual/backlight/thinkpad_screen.
brightness and actual_brightness.
brightness always says '6', actual_brightness correctly gives the actual level.
--
No notification
Johannes,
yes, I'm a C programmer but the reason why I wrote the workaround was to avoid
having to spend a whole afternoon fixing GNU/Linux bugs. Plus, I'm a *BSD
developer and hence don't know my way round linux' weird ways of doing things
(e.g. hal).
I might take a look at it, but in my
Enabling hotkey event in the thinkpad-acpi module (as suggested by
Johannes) has fixed htis issue on my Thinkpad X31. I have back my
notification for audio sliders!
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
Hmm, Johannes, you seem correct, g-p-m does seem broken, it gets the
notification and then queries hal to find the current brightness, which
just seems to call back to g-p-m which just returns the last level. I'll
see what upstream says.
--
No notification when sliding audio volume, muting
Crispin:
Hmm... actually I get a notification, but it does not reflect the real level of
brightness.
Yes hal correctly set laptop_panel.brightness_in_hardware = true on my hardware
(T42).
It seems g-p-m does not read the actual brightness level before notifying!?
The notification always shows
hotkey mask:
To enable brightness events use: 0x8d
To enable volume control user: 0xfc7fff
To enable both use: 0xfd
Anyone know how to disable HAL handling/mapping these keys ?
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e,
I did a simple setup which is working for me.
All collected in attached tar.gz
Basicly:
* enable thinkpad_acpi hotkeys
* disable volume up, down, mute in HAL - I just deleted the lines
* Add event to /etc/acpi/events
* Simplyfied Zoltans script to use with acpi.
* Letting g-p-m handle brightness
Found a better way to disable hal's handling of the events
Instead of editing /usr/share/hal/fdi/information/10freedesktop/30
-keymap-module-thinkpad-acpi.fdi
Simply add attached hal file to /etc/hal/fdi/information.
The file overrides the keymapping of thinkpad extra button.
I have deleted the
Unpack tar to your /etc
This setup notifications using acpi for both brightness and sound.
Still brightness should be handled by g-p-m, as soon as it is fixed.
** Attachment added: acpi setup, handles both brightness and sound
http://launchpadlibrarian.net/26324127/notification.tar.gz
--
Your scripts work very well on my T42.
The buttons for volume and mute make no problems.
Thanks Karl
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received this bug notification
The reason why the brightness notifications work on T60 and newer is that they
have a better ACPI implementation. I'm not really a programmer, but using
bwalex's script as a guide i guess i'll be able to add brightness to the
notification watchlist, so we can have a more lightweight solution
Zoltan;
if I get the information on the exact output of a cat on that /proc/ node I can
change my program to also take into account brightness changes (on a non T60
thinkpad).
But as I said, for me to do that, I need some real info on how that info looks,
or is it the same as on T60?
--
No
well, /proc/acpi/ibm/brightness definitely does NOT exist on a T60, so
if someone please can show me a FULL cat /proc/acpi/ibm/brightness I can
change my program.
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
Even on new laptops (I'm using an X301) there is no
/proc/acpi/ibm/brightness
The brightness is outside of the ibm-specific ACPI stuff and under each
monitor, e.g. /proc/acpi/video/VID/LCD0/brightness
There is a folder in 'VID' for each possible monitor output, including
the built in LCD.
Hi,
Now I've changed the program to be able to use /proc/acpi/ibm/brightness. If it
doesn't exist, it just won't notify of brightness changes.
This will obviously not take take of brightness on the X301 or similar laptops
but I'll probably add the relevant code for the X301 and others that have
** Attachment added: Full cat of /proc/acpi/ibm/ on a Lenovo X301
http://launchpadlibrarian.net/26293867/x301-proc-acpi-ibm-dump.txt
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
** Attachment added: Full cat of /proc/acpi/video/ on a Lenovo X301
http://launchpadlibrarian.net/26293880/x301-proc-acpi-video-dump.txt
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
I think brightness events should be handled by gnome-power-manager.
Maybe it is just a bug in there!??
My T42 handles brightness and sound in hardware.
Gnome-power-manager should accept the event, show a notification, and
remember the current state of brightness.
I am not sure which app
'just another confirmation for the volume/brightness hotkey OSD
regression, this time on an X32.
How does GNOME intercept the suspend button's key-press event? Could
that same method be used to intercept hardware volume and brightness
events?
--
No notification when sliding audio volume,
Just want to confirm that the volume notification doesn't work on my
T60, the notification for brightness DOES however work!
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received
Hi!
I've written a small C program which pops up notifications about changes in the
sound. It has two major advantages over the script here:
1) much less CPU intensive as it doesn't require executing external
applications and so on.
2) it detaches itself automatically from the controlling
I forgot to say that I've only tried this script on my own ThinkPad,
which is a T60. For some reason brightness control works fine for me, so
my C program will only take care of the sound notification.
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31,
I just upgraded a Lenovo X301. After upgrade only the volume up/down
generate X events and and OSD. The mute button no longer generates an X
event (nor OSD).
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
Thanks everybody for the contributions, it really was a morning surprise
:) I'll try to combine Kees' cycle with dmandell's level checking in the
evening, as i don't have my T42 with me currently. I've been also
thinking how this could be developed to look like an official fix, do
you have any
Zlotan, I just tried Kees's suggestion but it looks like the files in
/proc don't generate any event that can be captured with inotifywait. It
works on standard files but not on the ones we're interested in. I
suspect it's because /proc is pseudo-filesystem rather than a real one.
In the
In case someone might wonder... you need to have 'libnotify-bin'
installed in order to get the script running.
sudo aptitude install libnotify-bin
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
Bruno, I just noticed something, is there a reason why you use
notification-keyboard-brightness-*
instead of
notification-display-brightness-*
as icon. It might confuse the user if he also has adjustable keyboard
brightness. :)
--
No notification when sliding audio volume, muting volume,
Dietmar, no reason whatsoever, that's a mistake. I thought the icon
looked weird but didn't investigate. I know why now :-) Here's a
corrected script attached.
** Attachment added: thinkpad-notification.sh
http://launchpadlibrarian.net/26176269/thinkpad-notification.sh
--
No notification
On Thu, 30 Apr 2009, Bruno Girin wrote:
Zlotan, I just tried Kees's suggestion but it looks like the files in
/proc don't generate any event that can be captured with inotifywait. It
works on standard files but not on the ones we're interested in. I
Only a few sysfs attributes have poll/select
Henrique, thanks for the hint. If someone wants to have a go at
reproducing this script in perl, python or C with poll/select support,
go ahead. Otherwise, I'll have a go when I come back from holidays in 2
weeks (and no, I'm not taking the laptop with me).
In the meantime, Zlotan's script is a
the same for kubuntu, but still not very satisfying but at least I get
some visual feedback
** Attachment added: thinkpad-notification-kde.sh
http://launchpadlibrarian.net/26179447/thinkpad-notification-kde.sh
--
No notification when sliding audio volume, muting volume, sliding LCD
have you tried tpb? it works very nice too :)
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received this bug notification because you are a member of Ubuntu
Bugs, which is
This workaround does the trick, but is unfortunately not the prettiest. The
keys on the Thinkpads are controlling the hardware mixer (as Henrique the
others explained above) and with the old hotkey-setup, your volume buttons will
control the hardware mixer and the software mixer together.
The
I've created a small script to handle hardware mixer and brightness changes on
Thinkpads. If you start it (perhaps fork it to the background) and change
hardware mixer or brightness levels, you should see a notification pop up with
the appropriate value within 1 sec (yes, i know it's not
@Zoltan,
Nice little script: it works great on my T42, thanks! Just a small
comment on it: it would be easier to read if you indented what's inside
the 'while' loop.
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
Sorry, last line should read:
done (inotifywait -qm -e modify /proc/acpi/ibm/volume
/proc/acpi/ibm/brightness)
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received this bug
instead of the sleep 1 loop (which may drain battery a bit from all the
polling), maybe use:
while read file event
do
case $file in
*/volume)
# take volume actions here
;;
*/brightness)
# take brightness actions here
;;
esac
done inotifywait -qm -e modify
I altered Zoltan's script so that it could handle muting and unmuting,
and also change the speaker icon depending on what the volume was set
at. Ubuntu is displaying notifications for brightness changes on my T60
(don't ask me why), so I can't comment on how the brightness
notifications in this
@ Henrique de Moraes Holschuh :
Is there any easy way / tutorial on how to get your quick fix (from
https://bugs.launchpad.net/ubuntu/+source/hotkey-setup/+bug/357673/comments/12)
working?
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60,
I can confirm that all my buttons work on the T42, but no osd for
volume, Fn brightness or Fn keyboard light on/off.
Wireless notifications and other ones using notify-osd (e.g. Pidgin)
work fine.
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32,
here is a workaround for those who are interested:
http://packages.ubuntu.com/intrepid/i386/hotkey-setup/download
downgrade to the version of hotkey-setup in intrepid repository
it fixed my ThinkPad T60
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on
In the meantime you can use tpb instead of hotkey-setup.
It requires its own hacks (see
https://bugs.launchpad.net/ubuntu/+source/tpb/+bug/158262 ), but will give on
screen feedback.
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e,
a.tom made me to think if is posible to hack tpb.deb to use ubuntu OSD
istead of tpb blue OSD??? maybe someone with coding skills
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You
Confirmed bug on ThinkPad T60 -- please note, this did *NOT* happen when
I was running 9.04 Beta and Release Candidates.
I first noticed this problem in the stable release of 9.04 Jaunty
Jackalope
Also, I'd like to confirm this bug on my friend's ThinkPad SL300 same
problem but worst, he cannot
Sorry for mis-information, but it is only the volume OSD that does not work for
X60.
The brightness Fn keys work fine with the new notifcation manager, as does the
wireless notifications.
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60,
Same problem on my thinkpad t42
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Same problem on my thinkpad t42
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Same here on my T42. I started to mess about with notify-osd, thought it
wasn't installed, but I'm glad I now know its a known bug.
Any ideas when we can expect this to be resolved? I miss my OSD. :(
Apart from that Jaunty seems brilliant.
--
No notification when sliding audio volume, muting
Thinkpad X60 Tablet same symptoms
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
** Summary changed:
- No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42
+ No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
--
No notification when sliding audio volume,
Same on T22.
--
No notification when sliding audio volume, muting volume, sliding LCD
brightness on X31, X32, T60, R50e, T42, R52
https://bugs.launchpad.net/bugs/357673
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs
No notification when sliding audio volume, muting volume, +/- brightness not
working on X60s.
Curiously the the battery report key does just what it should and with the new
notification system. Neither xev nor Gnomes Keyboard Shortcuts catches the
mute, volume +/- keys.
--
No notification
69 matches
Mail list logo