Re: soundcard probs/alsa probs/

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jared Anderson
Date:  
To: plug-discuss
Subject: Re: soundcard probs/alsa probs/
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
>> alias snd-card-0 snd-atiixp #?
>> alias sound-slot-0 snd-atiixp #?
>>
>================================================================
>>
>> #change if needed
>> $ modules-update
>> $ /etc/init.d/alsasound restart
>> $ alsamixer #any luck?
>>
>>
>> Someone Said:
>> >jared,
>> >
>> >sorry it's a long lisst, wasn't sure what you
>> needed
>> >so here it is:
>> >output from shell as root:
>> >
>> >--begin--
>> >
>> >root@slackware:~# uname -r
>> >2.4.26
>> >root@slackware:~# lsmod
>> >Module                  Size  Used by    Not
>> tainted
>> >snd-pcm-oss            37736   0
>> >snd-mixer-oss          12504   3  [snd-pcm-oss]
>> >usbmouse                2040   0  (unused)
>> >keybdev                 2052   0  (unused)
>> >mousedev                4212   1
>> >hid                    21220   0  (unused)
>> >usbkbd                  3448   0  (unused)
>> >input                   3200   0  [usbmouse keybdev
>> >mousedev hid usbkbd]
>> >usb-storage            66176   0  (unused)
>> >snd-atiixp              8584   2
>> >snd-atiixp-modem        6760   3
>> >snd-pcm                56072   0  [snd-pcm-oss
>> >snd-atiixp snd-atiixp-modem]
>> >snd-timer              13604   0  [snd-pcm]
>> >snd-page-alloc          6328   0  [snd-atiixp
>> >snd-atiixp-modem snd-pcm]
>> >snd-ac97-codec         49500   0  [snd-atiixp
>> >snd-atiixp-modem]
>> >snd                    30852   2  [snd-pcm-oss
>> >snd-mixer-oss snd-atiixp snd-atiixp-modem snd-pcm
>> >snd-timer snd-ac97-codec]
>> >soundcore               3396   6  [snd]
>> >8139too                14376   1
>> >mii                     2272   0  [8139too]
>> >crc32                   2880   0  [8139too]
>> >usb-ohci               19240   0  (unused)
>> >ehci-hcd               17580   0  (unused)
>> >usbcore                59308   1  [usbmouse hid
>> usbkbd
>> >usb-storage usb-ohci ehci-hcd]
>> >ds                      6548   2
>> >yenta_socket           10336   2
>> >pcmcia_core            39972   0  [ds yenta_socket]
>> >ide-scsi                9328   0
>> >agpgart                43940   0  (unused)

>> >
>> >root@slackware:~# alsamixer
>> >No mixer elems found
>> >
>> >CONFIG_SOUND_MSNDCLAS=m
>> ># CONFIG_MSNDCLAS_HAVE_BOOT is not set
>> >CONFIG_MSNDCLAS_INIT_FILE="/etc/sound/msndinit.bin"
>> >CONFIG_MSNDCLAS_PERM_FILE="/etc/sound/msndperm.bin"
>> >CONFIG_SOUND_MSNDPIN=m
>> ># CONFIG_MSNDPIN_HAVE_BOOT is not set
>> >CONFIG_MSNDPIN_INIT_FILE="/etc/sound/pndspini.bin"
>> >CONFIG_MSNDPIN_PERM_FILE="/etc/sound/pndsperm.bin"
>> >root@slackware:~#
>> >
>> >--end---
>> >
>> >mike h
>> >
>> >--- Jared Anderson <> wrote:
>> >
>> >> $ lsmod | grep snd
>> >>
>> >> ...should list all sound modules. Which kernel
>> are
>> >> you running? ($ uname -r) Which sound modules do
>> >> you have configured? ($ grep SND
>> >> /usr/src/linux/.config)
>> >>
>> >> I think you want the snd_atiixp module, but not
>> >> sure.
>> >>
>> >> Which mixer are you using? Try alsamixer, then
>> turn
>> >> up volume on all and ensure all are not muted.
>> >>
>> >>
>> >>
>> >> Somebody once said:
>> >> >jared,
>> >> >
>> >> >yes can open mixer, but nothing happens.
>> >> >it finds "ati technologies inc Soundmax
>> Integrated
>> >> >Digital Audio"
>> >> >
>> >> >how do i find out which module is loaded?
>> >> >
>> >> >mike h
>> >> >--- Jared Anderson <>
>> wrote:
>> >> >
>> >> >> Which driver / card did it find? Can you open
>> a
>> >> >> mixer after it's finished? Which module is
>> >> loaded?
>> >> >>
>> >> >> Somebody once said:
>> >> >> >ok tried to run alsaconf
>> >> >> >
>> >> >> >and it seemed to do just fine, it found my
>> card
>> >> and
>> >> >> >asked me if i wanted to configure it. it even
>> >> gave
>> >> >> a
>> >> >> >nice ending that said:
>> >> >> >
>> >> >> > Now ALSA is ready to use.
>> >> >> > For adjustment of volumes, use your favorite
>> >> >> mixer.
>> >> >> >
>> >> >> > Have a lot of fun!
>> >> >> >
>> >> >> >root@slackware:~#
>> >> >> >
>> >> >> >----------
>> >> >> >
>> >> >> >then i tried to open an mp3 w/ totem and it
>> >> 'quit
>> >> >> >unexpectadly' and then the same thing with a
>> >> movie
>> >> >> and
>> >> >> >same error
>> >> >> >
>> >> >> >so for the heck of it i swithced over to kde
>> >> >> >
>> >> >> >crash handler advised me about :
>> >> >> >
>> >> >> >"Soundserver KDE crash handler"
>> >> >> >Short Description:
>> >> >> >the application soundserver artsd caused the
>> >> signal
>> >> >> 6
>> >> >> >(SIGABRT) and so on
>> >> >> >
>> >> >> >then for the fun of it i ran artsd from a
>> >> >> commandline
>> >> >> >and got:
>> >> >> >
>> >> >> >ALSA lib pcm_hw.c:549:(snd_pcm_hw_start)
>> >> >> >SNDRV_PCM_IOCTL_START failed: Broken pipe
>> >> >> >ALSA lib pcm_hw.c:549:(snd_pcm_hw_start)
>> >> >> >SNDRV_PCM_IOCTL_START failed: Broken pipe
>> >> >> >ALSA lib pcm_hw.c:549:(snd_pcm_hw_start)
>>
>=== message truncated ===
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.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



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