FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 08-07-2008, 05:15 PM
 
Default Bug#485465: reboot(8) messes with Thinkpad brightness

Dear HMH, I have continued my observations. It seems the only time I
have to still hit Fn End to bring the brightness back down is after a
reboot: using reboot(8) brings one to a super bright Lilo screen.

And 'shutdown -h now' also will give a bright Lilo screen upon next
power up. (It is what I usually use, and each time the next day I have
to hit Fn End a few times there at the Lilo prompt before hitting RET
to enter GNU/Linux.)

OK, as an experiment at the above Lilo screens, I did my usual Fn Ends
to bring the brightness down to the minimum, but then instead of
hitting RET to enter GNU/Linux (image=/boot/vmlinuz-2.6.25-2-686), I
hit ALT-CTRL-DEL to reboot without the "help" of the reboot(8)
command. I was back sitting at the Lilo prompt with no brightness
problems this time. At this point I hit the power off button. The next
day powering back on also saw no brightness problem sitting there at
the Lilo prompt.

I conclude that my workaround,
# cat .bash_profile
case $USER@$(hostname) in
root@jidanni2)
j=/tmp/.jidanni_thinkpad_brightness #/tmp gone at boot
! test -f $j && ! pidof xdm > /dev/null &&
/sbin/rmmod thinkpad-acpi &&
/sbin/modprobe thinkpad-acpi brightness_mode=2 &&
touch $j;; #485465@bugs.debian.org
esac
works great except that it does not cover the effects of reboot(8) and
shutdown(8). Therefore I would hope HMH would "neuter" them to not
mess with the brightness seen on the next boot! Thanks.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-07-2008, 06:00 PM
Henrique de Moraes Holschuh
 
Default Bug#485465: reboot(8) messes with Thinkpad brightness

On Fri, 08 Aug 2008, jidanni@jidanni.org wrote:
> Dear HMH, I have continued my observations. It seems the only time I
> have to still hit Fn End to bring the brightness back down is after a
> reboot: using reboot(8) brings one to a super bright Lilo screen.
>
> And 'shutdown -h now' also will give a bright Lilo screen upon next
> power up. (It is what I usually use, and each time the next day I have
> to hit Fn End a few times there at the Lilo prompt before hitting RET
> to enter GNU/Linux.)
>
> OK, as an experiment at the above Lilo screens, I did my usual Fn Ends
> to bring the brightness down to the minimum, but then instead of
> hitting RET to enter GNU/Linux (image=/boot/vmlinuz-2.6.25-2-686), I
> hit ALT-CTRL-DEL to reboot without the "help" of the reboot(8)
> command. I was back sitting at the Lilo prompt with no brightness
> problems this time. At this point I hit the power off button. The next
> day powering back on also saw no brightness problem sitting there at
> the Lilo prompt.
>
> I conclude that my workaround,
> # cat .bash_profile
> case $USER@$(hostname) in
> root@jidanni2)
> j=/tmp/.jidanni_thinkpad_brightness #/tmp gone at boot
> ! test -f $j && ! pidof xdm > /dev/null &&
> /sbin/rmmod thinkpad-acpi &&
> /sbin/modprobe thinkpad-acpi brightness_mode=2 &&
> touch $j;; #485465@bugs.debian.org
> esac
> works great except that it does not cover the effects of reboot(8) and
> shutdown(8). Therefore I would hope HMH would "neuter" them to not
> mess with the brightness seen on the next boot! Thanks.

I would, if I knew WHAT is screwing up with the brightness. I hope to have
some time to hunt it down in Debconf 8.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-08-2008, 12:16 AM
 
Default Bug#485465: reboot(8) messes with Thinkpad brightness

If the previous command was reboot(8), then at the Lilo prompt, one
needs the full seven Fn Ends to restore minimal brightness.

If the previous command was shutdown -h now, then at the Lilo prompt
after next powerup, one needs only three or four Fn Ends to restore
minimal brightness.

H> I hope to have some time to hunt it down in Debconf 8.

I am farthest from Brazil and Argentina, http://jidanni.org/geo/antipodes/

(By the way, not related to this bug, but for careful observers: if
one observes the corners of the screen, during /etc/init.d/xdm start,
one observes some wasteful looking repeated initialization actions,
mainly what seems like momentarily losing power to the screen twice.)




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 06:48 PM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org