Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa and XMMS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
equilian
n00b
n00b


Joined: 27 Apr 2002
Posts: 41
Location: Cambridge,MA

PostPosted: Fri May 10, 2002 6:17 am    Post subject: Alsa and XMMS Reply with quote

I've finally got my Alsa .9 set up and working correctly but XMMS is acting a bit wonky. It won't let me adject my volume using it's slider bar. Does anyone know why this is and what may solve it?

Abraham
_________________
"To announce there must be no criticism of the president, or that we are
to stand by the president, right or wrong, is not only unpatriotic and servile,
but is morally treasonable to the American public."

-Theodore Roosevelt
Back to top
View user's profile Send private message
pablored
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2002
Posts: 96

PostPosted: Fri May 10, 2002 8:12 am    Post subject: Reply with quote

If you are using the oss plugin, then you also need snd-mixer-oss modprobed to0 be able to adjust the volume. I put the line into the /etc/init.d/alsasound file


if [ "$i" != off ]; then
einfon "Starting sound driver: $i "
/sbin/modprobe $i
/sbin/modprobe snd-pcm-oss # mod for oss
/sbin/modprobe snd-mixer-oss # mod for oss
eend 0
fi

Others have put this in /etc/conf.d/local.start. It cannot go in modules.autoload as it stops the new alsa initialising, the old desktop guide needs updating.

If you are using the alsa-xmms plugin (not the old xmms-aalsa one, or the oss) then maybe check you have everything installed ...

alsa-driver
alsa-lib
alsa-utils
alsa-oss
alsa-tools

... and set up correctly. amixer comes with utils and is important.

This is your only trouble with sound?

One note is, that with the new alsa plugin I can't open the config window. Anyone any ideas there?
Back to top
View user's profile Send private message
equilian
n00b
n00b


Joined: 27 Apr 2002
Posts: 41
Location: Cambridge,MA

PostPosted: Fri May 10, 2002 5:41 pm    Post subject: Reply with quote

Where exactly in the alsasound file should I add those lines of code?

Abraham
_________________
"To announce there must be no criticism of the president, or that we are
to stand by the president, right or wrong, is not only unpatriotic and servile,
but is morally treasonable to the American public."

-Theodore Roosevelt
Back to top
View user's profile Send private message
pablored
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2002
Posts: 96

PostPosted: Fri May 10, 2002 6:07 pm    Post subject: Reply with quote

If you scroll down the file you will find

#
# Insert all sound modules
#

After that the if statement is in the next for loop...

if [ "$i" != off ]; then
einfon "Starting sound driver: $i "
/sbin/modprobe $i

Code:
/sbin/modprobe snd-pcm-oss # mod for oss
/sbin/modprobe snd-mixer-oss # mod for oss

eend 0
fi

If you add the two lines, listed in code above, the modules should be loaded when you reboot.
Back to top
View user's profile Send private message
Coogee
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 184
Location: E.U.

PostPosted: Sun May 12, 2002 7:07 pm    Post subject: Reply with quote

There is a more "official" way to enable oss functions:

- open xterm and become root
- add a directoy /etc/alsa.d: "mkdir /etc/alsa.d"
- create a file with the name of your sound driver (in this example: emu10k1): "touch /etc/alsa.d/emu10k1"
- make it executable: "chmod +x /etc/alsa.d/emu10k1"
- edit the file and add following lines:
modprobe snd-pcm-oss
modprobe snd-mixer-oss
modprobe snd-seq-oss
- "rc-update add alsasound default" if not done yet

/etc/alsa.d/emu10k1 will be called by the alsasound init-script during next boot-up. :D
Back to top
View user's profile Send private message
zoe
Guru
Guru


Joined: 10 Jun 2007
Posts: 322
Location: Greece

PostPosted: Fri Aug 31, 2007 9:36 am    Post subject: Reply with quote

newbie,but how exactly can you see your card driver,i mean if you type
lspci | grep -i audio
it will give you info but which is the driver ID and how to write it in touch /etc/alsa.d/???
thannks in advance
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum