| View previous topic :: View next topic |
| Author |
Message |
equilian n00b

Joined: 27 Apr 2002 Posts: 41 Location: Cambridge,MA
|
Posted: Fri May 10, 2002 6:17 am Post subject: Alsa and XMMS |
|
|
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 |
|
 |
pablored Tux's lil' helper


Joined: 01 May 2002 Posts: 96
|
Posted: Fri May 10, 2002 8:12 am Post subject: |
|
|
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 |
|
 |
equilian n00b

Joined: 27 Apr 2002 Posts: 41 Location: Cambridge,MA
|
Posted: Fri May 10, 2002 5:41 pm Post subject: |
|
|
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 |
|
 |
pablored Tux's lil' helper


Joined: 01 May 2002 Posts: 96
|
Posted: Fri May 10, 2002 6:07 pm Post subject: |
|
|
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 |
|
 |
Coogee Apprentice


Joined: 23 Apr 2002 Posts: 184 Location: E.U.
|
Posted: Sun May 12, 2002 7:07 pm Post subject: |
|
|
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.  |
|
| Back to top |
|
 |
zoe Guru


Joined: 10 Jun 2007 Posts: 322 Location: Greece
|
Posted: Fri Aug 31, 2007 9:36 am Post subject: |
|
|
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 |
|
 |
|