Bug#255793: /dev/mixer is still opened by gnome-settings-daemon

Kasper Rönning Kasper Rönning , 255793@bugs.debian.org
Thu, 21 Oct 2004 19:10:13 +0300


tis 2004-10-19 klockan 22.53 skrev Arnaud Patard:

> What's you kernel drivers - alsa or oss ?
$ lsmod
Module                  Size  Used by
radeon                132452  2
ds                     18756  4
binfmt_misc            11688  1
thermal                12656  0
fan                     3980  0
ipv6                  264612  12
8139cp                 20672  0
snd_intel8x0m          20264  3
snd_intel8x0           36460  3
snd_ac97_codec         70020  2 snd_intel8x0m,snd_intel8x0
snd_pcm_oss            55048  0
snd_mixer_oss          20096  5 snd_pcm_oss
snd_pcm                98728  3 snd_intel8x0m,snd_intel8x0,snd_pcm_oss
snd_timer              25668  1 snd_pcm
snd_page_alloc         11752  3 snd_intel8x0m,snd_intel8x0,snd_pcm
gameport                4704  1 snd_intel8x0
snd_mpu401_uart         7968  1 snd_intel8x0
snd_rawmidi            25156  1 snd_mpu401_uart
snd_seq_device          8200  1 snd_rawmidi
snd                    57156  14
snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              10336  5 snd
hw_random               5460  0
uhci_hcd               33136  0
usbcore               119012  3 uhci_hcd
shpchp                101996  0
pciehp                 99084  0
pci_hotplug            34640  2 shpchp,pciehp
intel_agp              22816  1
parport_pc             35392  0
parport                41832  1 parport_pc
irtty_sir               9152  0
sir_dev                19244  1 irtty_sir
tsdev                   7392  0
mousedev               10476  1
psmouse                20360  0
pcspkr                  3592  0
rtc                    12760  0
evdev                   9600  0
eth1394                21576  0
orinoco_pci             6912  0
orinoco                44012  1 orinoco_pci
8139too                26112  0
mii                     5120  2 8139cp,8139too
crc32                   4320  2 8139cp,8139too
yenta_socket           21728  0
pcmcia_core            70900  2 ds,yenta_socket
agpgart                34696  2 intel_agp
nls_iso8859_1           4032  1
vfat                   14656  1
fat                    46784  1 vfat
nls_cp437               5696  2
ntfs                  101940  1
capability              4520  0
commoncap               7232  1 capability
hermes                  8640  2 orinoco_pci,orinoco
ircomm_tty             40456  0
ircomm                 23044  1 ircomm_tty
irda                  197120  4 irtty_sir,sir_dev,ircomm_tty,ircomm
crc_ccitt               2144  1 irda
video1394              19020  0
dv1394                 21548  0
ohci1394               35524  2 video1394,dv1394
ieee1394              111512  4 eth1394,video1394,dv1394,ohci1394
button                  6296  0
battery                 9388  0
ac                      4812  0
acpi                    5644  0
freq_table              4228  1 acpi
processor              17264  2 thermal,acpi
ide_cd                 42656  0
cdrom                  40732  1 ide_cd
ext3                  127240  2
jbd                    62616  1 ext3
mbcache                 9348  1 ext3
ide_generic             1408  0
piix                   13440  1
ide_disk               19296  5
ide_core              139940  4 ide_cd,ide_generic,piix,ide_disk
unix                   28692  872
font                    8320  0
vesafb                  6656  0
cfbcopyarea             3840  1 vesafb
cfbimgblt               3040  1 vesafb
cfbfillrect             3776  1 vesafb

When esd is running, I get sound when trying OSS and ESD in gstreamer
sink selector.

> Also, please be sure that your gstreamer is correctly configured
> (alsa-sink for alsa, esd-sink for esd if it's running, oss-sink if you
> have oss). I know that this may  sound stupid but it wouldn't be the
> first time that a misconfigured gstreamer leads to weird problems.
So if I use ESD and choose ESD as my gstreamer sink, /dev/mixer should
not be open by gnome-settings-daemon? My specific problem is that I want
my laptop to sleep, which it can't do if I can't unload the sound
drivers, which I can't do if /dev/mixer is open.

> To test the configuration, you may use the programm call
> 'acme-volume-gstreamer' at http://rtpnet.nerim.net/tmp/. If it doesn't
> complain, could you try the packages in the same directory ?
$ ./acme-volume-gstreamer
Volym

(the output is Swedish for Volume)

I just tried the packages in that directory, and /dev/mixer is not used
by gnome-settings-daemon any more! Hurrah! Now, I should probably
continue with filing against gnome-applets, because the volume control
is using /dev/mixer...

Thank you!

Kasper