Package: pbbuttonsd
Version: 0.7.9-2
Severity: important

Dear Maintainer,

pbbuttonsd is not rewritten for kernel 3.2:


# /etc/power/pmcs-pbbuttonsd powersave battery
Unhandled kernel version: 3.2 ('uname -r' = '3.2.0-4-powerpc')
run-parts: event.d/bdflush exited with return code 1
/dev/hda: No such file or directory
run-parts: event.d/hdsetup exited with return code 2


Apparently, bdflush is not rewritten for kernel 3.2.

The dev/hda part is easily rewritten to /dev/sda. This then triggers further
issues

# /etc/power/pmcs-pbbuttonsd powersave battery
Unhandled kernel version: 3.2 ('uname -r' = '3.2.0-4-powerpc')
run-parts: event.d/bdflush exited with return code 1

/dev/sda:
 attempting to set PIO mode to 0
 HDIO_SET_PIO_MODE failed: Inappropriate ioctl for device
 setting standby to 12 (1 minutes)
run-parts: event.d/hdsetup exited with return code 25



-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 3.2.0-4-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbbuttonsd depends on:
ii  hdparm        9.39-1+b1
ii  libasound2    1.0.25-4
ii  libc6         2.13-38
ii  libgcc1       1:4.7.2-5
ii  libglib2.0-0  2.33.12+really2.32.4-5
ii  libstdc++6    4.7.2-5
ii  lsb-base      4.1+Debian8
ii  udev          175-7.2

Versions of packages pbbuttonsd recommends:
pn  laptop-mode-tools  <none>

pbbuttonsd suggests no packages.

-- Configuration Files:
/etc/pbbuttonsd.conf changed:
autorescan            = yes             ; automatic rescan of event devices
CmdTimeout            = 8
onAC_policy           = performance     ; nochange, performance, custom or 
powersave
onAC_TimerAction      = none            ; none, suspend-to-ram, 
suspend-to-disk, blankscreen
onAC_CoverAction      = suspend-to-ram
onAC_KeyAction        = suspend-to-ram  ; SleepKey
onAC_SuspendTime      = 0               ; time in 1/10 seconds
onAC_DimTime          = 0               ; time in 1/10 seconds
onBattery_policy      = powersave
onBattery_TimerAction = suspend-to-ram  ; none, suspend-to-ram, 
suspend-to-disk, blankscreen
onBattery_CoverAction = suspend-to-ram
onBattery_KeyAction   = suspend-to-ram  ; SleepKey
onBattery_SuspendTime = 18000           ; time in 1/10 seconds
onBattery_DimTime     = 3000            ; time in 1/10 seconds
SleepKey              = 116
SleepKeyDelay         = 0               ; values > 0 may be dangerous, if the 
power key is used to trigger sleep
BWL_first             = 22              ; first battery warnlevel, time in 
minutes
BWL_second            = 10              ; second battery warnlevel, time in 
minutes
BWL_last              = 3               ; last battery warnlevel, time in 
minutes
Script_PMCS           = "/etc/power/pmcs-pbbuttonsd %s %s %s"
EmergencyAction       = sleep           ; action, if battery is critically low
HeartbeatBeep         = no              ; beep, if nothing else showed that the 
computer lives
CPULoad_sleeplock     = yes
CPULoad_min           = 20              ; value in percent
CPULoad_period        = 20              ; time in seconds
NETLoad_sleeplock     = yes
NETLoad_min           = 4096            ; traffic in Bytes/s
NETLoad_period        = 20              ; time in seconds
NETLoad_device        = "eth0"
LCD_FadingSpeed       = 0               ; 0 = no smooth fading
LCD_AutoAdjust        = yes             ; only on Aluminum PowerBooks
LCD_IllumUpKey        = 225
LCD_IllumDownKey      = 224
LCD_Threshold         = 94
LCD_AutoAdjMin_Bat    = 2               ; autoadjust parameter
LCD_AutoAdjMax_Bat    = 7
LCD_AutoAdjMin_AC     = 1
LCD_AutoAdjMax_AC     = 15
KBD_OnBrightness      = 35              ; initial level in percent if KBD 
on/off key is pressed
KBD_FadingSpeed       = 0               ; 0 = no smooth fading
KBD_AutoAdjust        = yes             ; only on Aluminum PowerBooks
KBD_IllumUpKey        = 230
KBD_IllumDownKey      = 229
KBD_IllumOnKey        = 228
KBD_Threshold         = 28              ; only on Aluminum PowerBooks
dev_FrameBuffer       = "/dev/fb0"
UseFBBlank            = no
DimFullyDark          = no
CRT_MirrorKey         = 65 + ctrl
SoundSystem           = auto            ; none, auto, OSS or ALSA
Speakers_muted        = no              ; mute after startup?
VolumeUpKey           = 115
VolumeDownKey         = 114
MuteKey               = 113
OSS_Mixer             = "/dev/mixer"    ; settings for OSS
OSS_Channels          = "volume, speaker"
ALSA_Card             = "default"       ; settings for ALSA
ALSA_Elements         = "Master, 'PC Speaker'"
MixerInitDelay        = no
dev_CDROM             = "/dev/cdrom"
EjectCDKey            = 161
EjectCDKeyDelay       = 0
dev_PMU               = "/dev/pmu"
dev_ADB               = "/dev/adb"
TPModeUpKey           = 225 + alt
TPModeDownKey         = 224 + alt
TPMode                = drag
KBDMode               = fkeysfirst
Batlog                = none
NoTapTyping           = no

/etc/power/pmcs-config changed:
general_HDDevice="/dev/sda"      # hdsetup
general_PCMCIAShutdown="suspend" # pcmcia
general_LMScript=scripts.d/laptopmode.sh
performance_HDTimeOff=0         # hdsetup - timeout in seconds
performance_HDOptions="-p"      # hdsetup
performance_LaptopMode="stop"   # bdflush
custom_HDTimeOff=60             # hdsetup - timeout in seconds
custom_HDOptions="-p"           # hdsetup
custom_LaptopMode="start"       # bdflush
powersave_HDTimeOff=60          # hdsetup - timeout in seconds
powersave_HDOptions="-p"        # hdsetup
powersave_LaptopMode="start"    # bdflush


-- no debconf information


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

Reply via email to