Re: soundcard probs/alsa probs/

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: mike hoy
Date:  
To: plug-discuss
Subject: Re: soundcard probs/alsa probs/
jared,

yep i mistyped in the email. but not in shell.
it is slackware. gentoo is on my other machine. thot
you knew this prob has been in the plug mailing list
for a while so i assumed you knew it was slackware.
not sure about what to do here:
> if /etc/init.d/alsasound is not present, then just
> reload all the snd modules:
> lsmod #then rmmod all the snd-modules - or just
> reboot.


yes /etc/init.d/alsasound is not present.
in fact there is not init.d
i'm guessing this is because it's not gentoo.
anyway it looks like I should type lsmod.

so I do that:
and i get quite a list.
then you say i should rmmod all of the snd-modules. ok
i pick out the snd-**** and type:

rmmod snd-whatever for all of them

root@slackware:/etc# rmmod snd-pcm-oss
root@slackware:/etc# rmmod snd-mixer-oss
snd-mixer-oss: Device or resource busy
root@slackware:/etc# rmmod snd-atiixp
snd-atiixp: Device or resource busy
root@slackware:/etc# rmmod snd-atiixp-modem
snd-atiixp-modem: Device or resource busy
root@slackware:/etc# rmmod snd-pcm
snd-pcm: Device or resource busy
root@slackware:/etc# rmmod snd-timer
snd-timer: Device or resource busy
root@slackware:/etc# rmmod snd-page-alloc
snd-page-alloc: Device or resource busy
root@slackware:/etc# rmmod snd-ac97-codec
snd-ac97-codec: Device or resource busy
root@slackware:/etc# rmmod snd-timer
snd-timer: Device or resource busy
root@slackware:/etc# rmmod snd-ac97-codec
snd-ac97-codec: Device or resource busy
root@slackware:/etc# rmmod soundcore
soundcore: Device or resource busy
root@slackware:/etc#

then i
root@slackware:/etc# alsamixer
No mixer elems found

then since the other option was to 'lsmod' and just
reboot.

so after lsmod and rebooting..

and then run alsamixer and i get:
d
root@slackware:~# alsamixer
No mixer elems found

mike h.

root@slackware:~#


--- Jared Anderson <> wrote:

> okay, is this a gentoo box, or slackware?
>
> Don't know if you mistyped just here, or there, or
> both, but its:
> modules-update
> which is for gentoo (don't know about slackware)
>
> if /etc/init.d/alsasound is not present, then just
> reload all the snd modules:
> lsmod #then rmmod all the snd-modules - or just
> reboot.
>
> Then try alsamixer....
>
> Someone Said:
> >jared,
> >
> >looks like man moduels-update doesn't work
> >
> >but went ahead and added the alias' you mentioned
> to
> >modules.conf anyway and tried to continue with the
> >instructions, no luck really.
> >
> >here's what i typed and the output.
> >
> >root@slackware:/etc# man modules-update
> >No manual entry for modules-update
> >root@slackware:/etc# gedit modules.conf
> >root@slackware:/etc# /etc/init.d/alsasound restart
> >-bash: /etc/init.d/alsasound: No such file or
> >directory
> >root@slackware:/etc# alsamixer
> >No mixer elems found
> >
> >root@slackware:/etc#
> >----
> >
> >here is what modules.conf says now:
> >root@slackware:/etc# cat modules.conf
> >
> ># --- BEGIN: Generated by ALSACONF, do not edit.
> ---
> ># --- ALSACONF verion 1.0.5 ---
> >alias char-major-116 snd
> >alias char-major-14 soundcore
> >alias sound-service-0-0 snd-mixer-oss
> >alias sound-service-0-1 snd-seq-oss
> >alias sound-service-0-3 snd-pcm-oss
> >alias sound-service-0-8 snd-seq-oss
> >alias sound-service-0-12 snd-pcm-oss
> >alias snd-card-0 snd-atiixp
> >alias sound-slot-0 snd-atiixp
> >alias /dev/mixer snd-mixer-oss
> >alias /dev/dsp snd-pcm-oss
> >alias /dev/midi snd-seq-oss
> ># --- END: Generated by ALSACONF, do not edit. ---
> >
> >root@slackware:/etc#
> >
> >
> >thanks,
> >
> >mike h
> >
> >
> >
> >
> >--- Jared Anderson <> wrote:
> >
> >> Try man modules-update
> >>
> >> modules-update is a back(front?)end to manage
> >> modules.conf file.
> >>
> >>
>
>===========================================================
> >> gNotebook ~ # cat /etc/modules.conf
> >> ### This file is automatically generated by
> >> modules-update
> >> #
> >> # Please do not edit this file directly. If you
> want
> >> to change or add
> >> # anything please take a look at the files in
> >> /etc/modules.d and read
> >> # the manpage for modules-update.
> >> #
> >> ### modules-update: start processing
> >> /etc/modules.d/aliases
> >> # Aliases to tell insmod/modprobe which modules
> to
> >> use
> >> blah blah blah
> >>
>
>============================================================
> >>
> >>
> >> You can directly edit the modules.conf file, but
> you
> >> may lose settings later. Grep for or add the
> >> following to your modules.conf file:
> >>
>
>============================================================
> >> alias /dev/mixer snd-mixer-oss
> >> alias /dev/dsp snd-pcm-oss
> >> alias /dev/midi snd-seq-oss
> >>
>
>============================================================
> >> Then:
> >> $ /etc/init.d/alsasound restart ###this basically
> >> will unload/reload the snd modules....
> >> $ alsamixer #anyluck?
> >>
> >>
> >> Someone Said:
> >> >jared,
> >> >
> >> >i can't find a directory in /etc named modules.d
> >> >i have files in /etc with the name module*
> >> >
> >> >for example one called modules.conf here is
> what's
> >> >inside of it
> >> >
> >> ># --- BEGIN: Generated by ALSACONF, do not edit.
> >> ---
> >> ># --- ALSACONF verion 1.0.5 ---
> >> >alias char-major-116 snd
> >> >alias char-major-14 soundcore
> >> >alias sound-service-0-0 snd-mixer-oss
> >> >alias sound-service-0-1 snd-seq-oss
> >> >alias sound-service-0-3 snd-pcm-oss
> >> >alias sound-service-0-8 snd-seq-oss
> >> >alias sound-service-0-12 snd-pcm-oss
> >> >alias snd-card-0 snd-atiixp
> >> >alias sound-slot-0 snd-atiixp
> >> ># --- END: Generated by ALSACONF, do not edit.
> ---
> >> >
> >> >when i run alsamixer i get :
> >> >
> >> >no mixer elems found.
> >> >
> >> >i didn't go past the instructions for modules.d
> >> >because those instructions were dependent on
> there
> >> >being a modules.d directory in /etc/
> >> >
> >> >mike h
> >> >
> >> >--- Jared Anderson <>
> wrote:
> >> >
> >> >> I haven't used the 2.4 kernels for a while, so
> >> I'm
> >> >> rusty.
> >> >>
> >> >> $ cd /etc/modules.d
> >> >> # you should have a file 'alsa' located in
> this
> >> >> directory
> >> >>
> >> >> $ cat alsa
> >> >>
> >> >> Mine:
> >> >>
> >>
>
>>===============================================================
> >> >> #BLAH BLAH BLAH
> >> >> #BLAH BLAH BLAH
> >> >>
> >> >> alias /dev/mixer snd-mixer-oss
> >> >> alias /dev/dsp snd-pcm-oss
> >> >> alias /dev/midi snd-seq-oss
> >> >>
> >> >> # Set this to the correct number of cards.
> >> >> # --- BEGIN: Generated by ALSACONF, do not
> edit.
> >> ---
> >> >> # --- ALSACONF verion 1.0.6 ---
> >> >> options snd device_mode=0666
> >> >> alias snd-card-0 snd-intel8x0
> >> >> alias sound-slot-0 snd-intel8x0
> >> >> # --- END: Generated by ALSACONF, do not edit.
> >> ---
> >> >>
> >>
>
>>================================================================
> >> >>
> >> >> Yours?:
> >> >>
> >>
>
>>================================================================
> >> >> #BLAH BLAH
> >> >>
> >> >> alias /dev/mixer snd-mixer-oss
> >> >> alias /dev/dsp snd-pcm-oss
> >> >> alias /dev/midi snd-seq-oss
> >> >>
> >> >> options snd device_mode=0666
>

=== message truncated ===



        
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss