Bug#345314: pbbuttonsd: lcd brightness can't go under 1 with autoadjust enabled

2006-05-14 Thread Yves-Alexis Perez
On Sat, 2006-05-13 at 15:30 -0500, Filippo Giunchedi wrote:
 On Fri, Dec 30, 2005 at 02:29:18PM +0100, Yves-Alexis Perez wrote:
  Package: pbbuttonsd
  Version: 0.7.2-1
  Severity: normal
  
  Hi,
  
  I'm using a powerbook 15 (5,6) with LCD brightness autoadjust. If in
  pbbuttonsd.conf I set LCD_AutoAdjust = no, I can switch off lcd using
  LCD_IllumDownKey until brightness is 0. But if I set LCD_IllumDownKey =
  yes, i can't go below 1, even if I set LCD_AutoAdjMin_(Bat|AC) = 0.
 
 I'm not sure what you mean here, LCD_IllumDownKey expects an integer, not 
 yes
 anyway I can confirm this, setting TAG_LCDAUTOADJMINBAT to 0 does not turn the
 screen off, but to 2 or 1. Though I'm not sure if this is a feature or a bug,
 Matthias?


Yes, I meantLCD_AutoAdjust = yes
It's a bug, fixed in pbbuttonsd 0.7.4-2 (see
http://pbbuttons.berlios.de/ )

Btw there is a 0.7.5 available too.

Regards,
-- 
Yves-Alexis Perez



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#345314: pbbuttonsd: lcd brightness can't go under 1 with autoadjust enabled

2006-05-14 Thread Matthias Grimm
On Sat, 13 May 2006 15:30:27 -0500
Filippo Giunchedi [EMAIL PROTECTED] wrote:

  I'm using a powerbook 15 (5,6) with LCD brightness autoadjust. If in
  pbbuttonsd.conf I set LCD_AutoAdjust = no, I can switch off lcd using
  LCD_IllumDownKey until brightness is 0. But if I set LCD_IllumDownKey =
  yes, i can't go below 1, even if I set LCD_AutoAdjMin_(Bat|AC) = 0.
 
 I'm not sure what you mean here, LCD_IllumDownKey expects an integer, not 
 yes
 anyway I can confirm this, setting TAG_LCDAUTOADJMINBAT to 0 does not turn the
 screen off, but to 2 or 1. Though I'm not sure if this is a feature or a bug,
 Matthias?

First, Filippo is right. LCD_IllumDownKey expects a keycode as integer. It isn't
an Boolean option.

The behaviour you described is not a bug, more a nuisance. After activating
automatic brightness control the ambient light sensor controls the LCD 
brightness
and the minimum brightness level was limited to 1 to prevent the controller to
switch off the display under certain environmental conditions.

That the user even can't switch off the display by hand wasn't obvious and
bothered nobody so far because the automatic controller would switch it back on
anyway.

On the other hand there was no good reason to limit the users action and so I
fixed this behaviour in 0.7.5. See also the Changelog entry:

2006-03-23  0.7.4-2
* SIMUABIENT code was broken - fixed
* added sync() before calling any suspend mode. (debian bug #357595)
* allow the user to dim the display until it's dark (brightness
  level zero) even if autoadjusting is active. The former minimum
  level was one. (debian bug #345314)

I hope this makes thinks more clear.

  Best Regards
   Matthias


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#345314: pbbuttonsd: lcd brightness can't go under 1 with autoadjust enabled

2006-05-13 Thread Filippo Giunchedi
On Fri, Dec 30, 2005 at 02:29:18PM +0100, Yves-Alexis Perez wrote:
 Package: pbbuttonsd
 Version: 0.7.2-1
 Severity: normal
 
 Hi,
 
 I'm using a powerbook 15 (5,6) with LCD brightness autoadjust. If in
 pbbuttonsd.conf I set LCD_AutoAdjust = no, I can switch off lcd using
 LCD_IllumDownKey until brightness is 0. But if I set LCD_IllumDownKey =
 yes, i can't go below 1, even if I set LCD_AutoAdjMin_(Bat|AC) = 0.

I'm not sure what you mean here, LCD_IllumDownKey expects an integer, not yes
anyway I can confirm this, setting TAG_LCDAUTOADJMINBAT to 0 does not turn the
screen off, but to 2 or 1. Though I'm not sure if this is a feature or a bug,
Matthias?

thanks,
filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

UNIX is simple, but it just takes a genius to understand the simplicity.
-- Dennis Ritchie


signature.asc
Description: Digital signature


Bug#345314: pbbuttonsd: lcd brightness can't go under 1 with autoadjust enabled

2005-12-30 Thread Yves-Alexis Perez
Package: pbbuttonsd
Version: 0.7.2-1
Severity: normal

Hi,

I'm using a powerbook 15 (5,6) with LCD brightness autoadjust. If in
pbbuttonsd.conf I set LCD_AutoAdjust = no, I can switch off lcd using
LCD_IllumDownKey until brightness is 0. But if I set LCD_IllumDownKey =
yes, i can't go below 1, even if I set LCD_AutoAdjMin_(Bat|AC) = 0.

I've tried to look at the source but couldn't find why it's like that.

It would be convenient to can switch off lcd event with autoadjust on
(like in OSx)

Regards.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-rc7
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages pbbuttonsd depends on:
ii  hdparm6.3-3  tune hard disk parameters for high
ii  libasound21.0.10-2   ALSA library
ii  libc6 2.3.5-9GNU C Library: Shared libraries an
ii  lsb-base  3.0-13 Linux Standard Base 3.0 init scrip
ii  makedev   2.3.1-79   creates device files in /dev

Versions of packages pbbuttonsd recommends:
pn  laptop-mode-tools none (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]