PDA

View Full Version : ubuntu problem :(


wormthingy
22 Sep 2006, 16:42
ok, here's my problem:
my volume control gets stuck* after i get back from hibernate mode

* the master volume is stuck on mute and the other sliders cant be moved.

to make my soundcard usually work i type in "sudo modprobe snd-es18xx" in the terminal but it does not work after hibernate :(

if needed, here is the stuff i got back from the 'lsmod' command (i only copied the snd part)
snd_es18xx 31944 1
snd_pcm_oss 53664 0
snd_mixer_oss 18688 1 snd_pcm_oss
snd_pcm 89864 2 snd_es18xx,snd_pcm_oss
snd_page_alloc 10632 1 snd_pcm
snd_opl3_lib 10624 1 snd_es18xx
snd_timer 25220 2 snd_pcm,snd_opl3_lib
snd_hwdep 9376 1 snd_opl3_lib
snd_mpu401_uart 7808 1 snd_es18xx
snd_rawmidi 25504 1 snd_mpu401_uart
snd_seq_device 8716 2 snd_opl3_lib,snd_rawmidi
snd 55268 12 snd_es18xx,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_o pl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_ra wmidi,snd_seq_device



other info : after the sudo modprobe snd-es18xx command i get two devices,
- ESS AudioDrive ES1896 (Alsa mixer)
- ESS AudioDrive ES1896 (OSS mixer) (this one lags alot)


my volume control settings: ( "-" means "same as above" )
under tab 'playback'

3D control level (both) 100%
PCM (both) -
PCM2 -
fm (both) -
line in -
CD -
microphone -
PC Speaker -
Aux (both) -
Mono (both) -
Mono Input -
Hardware Master -

under tab 'capture'

Master - (stuck on mute, unless when volume is down to 0, but as soon as i pull it up it goes back to mute)
Line-in -
CD -
Microphone -
Capture left is at 95% right is at 70%

under tab 'Switches'

3D Control - Switch [on]
Mic Boost (+26dB) -
Hardware Master Volume Split -
Record monitor -

i'd say thats all info needed :)


EDIT:
ilia@ilia-desktop:~$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: ES1869 [ESS AudioDrive ES1869], device 0: ES1869 [ESS AudioDrive ES1869]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1


and


found this :
http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=ESS+Technology&card=.&chip=ES18xx&module=es18xx
i think the solution lies somewhere in there, the problem is that i dont really know what i should do :(

robowurmz
22 Sep 2006, 18:16
Just don't use hibernate. Use shut down.

wormthingy
22 Sep 2006, 18:32
Just don't use hibernate. Use shut down.

just like when a game doesnt work you dont go look for an solution but throw it away?
hibernate is imo much better than a shutdown, it boots up way faster and i still got all my stuff open.
and besides, using shut down still wont solve my second problem: having to type in sudo modprobe snd-es18xx every time i boot...

Xinos
22 Sep 2006, 20:36
Can't you just put "sudo modprobe snd-es18xx" into the startup script?

robowurmz
22 Sep 2006, 21:24
Yeah.....

I understand that Hibernation takes up valuable CPU power if you use it all of the time....

wormthingy
22 Sep 2006, 21:45
Can't you just put "sudo modprobe snd-es18xx" into the startup script?

i could, but "sudo modprobe snd-es18xx" is a sort of "test" command my dad found :/ its just for checking if the driver works, and if it does, install it using another command

robowurmz
22 Sep 2006, 21:49
Why bother typing it in all of the time? Just check the drivers once every month or something, not every BOOT!

wormthingy
22 Sep 2006, 22:44
Why bother typing it in all of the time? Just check the drivers once every month or something, not every BOOT!

....its not checking the drivers... its loading a test driver. now would you please be so kind to post your questions on ubuntu in your own thread :)

evilworm2
23 Sep 2006, 00:13
... my second problem: having to type in sudo modprobe snd-es18xx every time i boot...

Noooo. Just add this module in:
/etc/modules

Now this module (and any other module in this text file) will be loaded at startup.
Do this either by hand or install the godly tool 'modconf', which started as root, can do magic to your modules. ;)

To the hibernation problem:
Just unload the module in a script, which is executed every time you hibernate. Some modules are known to make troubles on hibernation.
Use a second script to load the module again if your computer wakes up from hibernation. Google is your friend.

Pieboy337
23 Sep 2006, 04:26
I know this is a little off topic, but since when did team 17's forum suddenly get so filled with linux questions. I personally like it, so keep the questions running. I am learning allot in the process from all you experienced linux users out there.

wormthingy
23 Sep 2006, 11:54
Noooo. Just add this module in:
/etc/modules

Now this module (and any other module in this text file) will be loaded at startup.
Do this either by hand or install the godly tool 'modconf', which started as root, can do magic to your modules. ;)

To the hibernation problem:
Just unload the module in a script, which is executed every time you hibernate. Some modules are known to make troubles on hibernation.
Use a second script to load the module again if your computer wakes up from hibernation. Google is your friend.

/etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
psmouse

so i guess i should add snd-es18xx to that list to make it work?
makeing it
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
psmouse
snd-es18xx



edit: YAY it worked :) kudo's to evilworm2