Subject: pbbuttonsd: pbbuttons assumes there is a /dev/mixer
Package: pbbuttonsd
Version: 0.7.1-1
Severity: important

Hello,

I have been playing with my kernel because of some problems with
automounting (dbus,hal,gnome-volume-manager). Accidentaly I have removed
the sound support from the kernel, thus depriving myself from having a
/dev/mixer device at the next reboot, after the installation of the new
kernel.

As I wanted to recompile my kernel with sound support and being in a
hurry I decided to disable suspend-to-ram when closing the lid of my
laptop. I have changed the configuration of pbbuttonsd conf file, then
tried to restart.

# /etc/init.d/pbbuttonsd restart
Restarting pbbuttonsd: No /usr/bin/pbbuttonsd found running; none killed.
ERROR: Can't open mixer device [/dev/mixer]. No such file or directory

Well, that is odd; anyway, I could set the device to dev/null.

Been there done that, but the result was this:
# /etc/init.d/pbbuttonsd start
Starting pbbuttonsd: ERROR: Can't open mixer device [/dev/mixer]. No
such file or directory

I changed the "default" ALSA mixer device, too, to /dev/null, but the
error is the same.

I tried to force, but the result was the same:
# pbbuttonsd -c /etc/pbbuttonsd.conf
ERROR: Can't open mixer device [/dev/mixer]. No such file or directory
INFO: Soundsystem requested: OSS and at least activated: none.




pbbuttons _assumes_ I am using /dev/mixer, without reading the
configuration file, which is wrong. Even if the reading was correct,
ppbbuttons should not fail to load, if there is no sound system present.

Pbbuttonsd should start even if there are errors; loosing data due to a
battery drainage and no suspend/sleep/hibernation is more severe than
not being able to control the sound volume.



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-rc4-merci
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)

Versions of packages pbbuttonsd depends on:
ii  hdparm                        6.1-5      tune hard disk parameters for high
ii  libasound2                    1.0.9-3    ALSA library
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  makedev                       2.3.1-78   creates device files in /dev

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

-- no debconf information

-- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein

Reply via email to