Hi,

I got the alsa source files from http://www.alsa-project.org/. I am using an 
Intel P-II chip with a Yamaha sound card. After configuring and installing as 
per instructions given at 
http://www.alsa-project.org/~valentyn/Alsa-sound-mini-HOWTO-4.html.

after configuting and installing the driver, lib and ytils I ran the 
.snddevices and modified my /etc/modules.conf which is now as follows.

alias parport_lowlevel parport_pc
alias eth0 eepro100
alias usb-controller usb-uhci

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-opl3sa2

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
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

after this I ran a modprobe 
/sbin/modprobe snd-opl3sa2;/sbin/modprobe snd-pcm-oss;/sbin/modprobe 
snd-mixer-oss;/sbin/modprobe snd-seq-oss

I ran the amixer to unmute the channels and then installed the alsaplayer.

While running the alsaplayer I see that the cursor is moving but I am not 
hearing any sound.

below is the output of  /proc/modules
[EMAIL PROTECTED] raks]# cat /proc/modules
nls_iso8859-1           3516   1 (autoclean)
snd-seq-midi            5312   0 (autoclean) (unused)
snd-opl3-synth         12900   0 (autoclean) (unused)
snd-seq-instr           7996   0 (autoclean) [snd-opl3-synth]
snd-seq-midi-emul       7212   0 (autoclean) [snd-opl3-synth]
snd-ainstr-fm           3088   0 (autoclean) [snd-opl3-synth]
snd-seq-oss            34720   0 (unused)
snd-seq-midi-event      5640   0 [snd-seq-midi snd-seq-oss]
snd-seq                47216   2 [snd-seq-midi snd-opl3-synth snd-seq-instr 
snd-seq-midi-emul snd-seq-oss snd-seq-midi-event]
snd-pcm-oss            45700   1
snd-mixer-oss          16504   0 [snd-pcm-oss]
snd-opl3sa2             9836   1
snd-cs4231-lib         21288   0 [snd-opl3sa2]
snd-mpu401-uart         5168   0 [snd-opl3sa2]
snd-rawmidi            18656   0 [snd-seq-midi snd-mpu401-uart]
snd-opl3-lib            8836   0 [snd-opl3-synth snd-opl3sa2]
snd-seq-device          6316   0 [snd-seq-midi snd-opl3-synth snd-seq-oss 
snd-seq snd-rawmidi snd-opl3-lib]
snd-hwdep               7008   0 [snd-opl3-lib]
snd-pcm                83328   0 [snd-pcm-oss snd-opl3sa2 snd-cs4231-lib]
snd-timer              19560   0 [snd-seq snd-cs4231-lib snd-opl3-lib snd-pcm]
snd                    43140   0 [snd-seq-midi snd-opl3-synth snd-seq-instr 
snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-opl3sa2 
snd-cs4231-lib snd-mpu401-uart snd-rawmidi snd-opl3-lib snd-seq-device 
snd-hwdep snd-pcm snd-timer]
snd-page-alloc          8504   0 [snd-cs4231-lib snd-pcm]
ide-cd                 33608   1 (autoclean)
cdrom                  33696   0 (autoclean) [ide-cd]
soundcore               6532   8 (autoclean) [snd]
autofs                 13348   0 (autoclean) (unused)
eepro100               22264   1
iptable_filter          2412   0 (autoclean) (unused)
ip_tables              14936   1 [iptable_filter]
mousedev                5524   1
keybdev                 2976   0 (unused)
hid                    22244   0 (unused)
input                   5888   0 [mousedev keybdev hid]
usb-uhci               26188   0 (unused)
usbcore                77024   1 [hid usb-uhci]

Please let me know what should be done 

regards
rakhin



I used the source rpms
On Saturday 29 March 2003 00:02, Frans Ketelaars wrote:
> Using the source rpm seems easier then a kernel recomplile. I just know
> what was said on http://freshrpms.net/docs/alsa/ :) Or compile alsa from
> source (there are good instructions on
> http://www.alsa-project.org/alsa-doc/ ).
>
> And with the change of ad1848 to opl3sa2 to get the
> _right_ OSS driver you you should get sound using the OSS instead of the
> ALSA drivers. RedHat, Mandrake and Knoppix just add an inadequate
> line to /etc/modules.conf for this old ISA card :(
>
> I Cc to the list, there are other users that may know more...
>
> Good luck,
>
>     -Frans
>
> On Friday 28 March 2003 05:32, you wrote:
> > Hi,
> >
> > [EMAIL PROTECTED] etc]# uname -r
> > 2.4.18-14
> >
> > So looks as if there is a kernel mismatch. What should be done in this
> > case ? Should I go for a kernel rebuild or should I use the source
> > rpm.(obtained from the same site) ?
> >
> > Regards
> > Rakhin
> >
> > On Thursday 27 March 2003 18:03, Frans Ketelaars wrote:
> > > On Thursday 27 March 2003 11:11, Rakhin wrote:
> > > > Hi All,
> > > >
> > > > I am relatively new to Linux and am facing problems while trying to
> > > > install the alsa drivers for my sound card
> > > >
> > > > The computer  is a P- II processor with Yamaha OPL3-SA3 sound card.
> > > >
> > > > I used the following rpms
> > > > alsa-driver-0.9.2-fr1.i386.rpm
> > > > alsa-utils-0.9.2-fr1.i386.rpm
> > > > alsa-kernel-0.9.2-fr1_2.4.18_27.8.0.i686.rpm
> > >
> > > <quote>
> > > Note about the kernel drivers : You will need an "alsa-kernel" package
> > > that was compiled for your kernel (same version and architecture). You
> > > can easily recognize a matching "alsa-kernel" package from its name,
> > > e.g. "alsa-kernel-smp-0.9.0-fr0.rc7.1_2.4.18_24.8.0.athlon.rpm" will
> > > work for the SMP 2.4.18-24.8.0 athlon kernel. If you do not find a
> > > matching package, recompile the source "alsa-driver" rpm while running
> > > the kernel you intend to use ALSA with, having the corresponding
> > > "kernel-source" package installed and using "--target <arch>" to choose
> > > the correct architecture. Once this is done, simply install the
> > > resulting
> > > "alsa-kernel" binary rpm. Note that if you do not specify the --target
> > > option, the default on x86 will be to recompile for the i386 kernel,
> > > which is probably not what you want. For more advanced rebuild options,
> > > see below.
> > > </quote>
> > >
> > > What kernel are you runnung ('uname -r') ?
> > >
> > > > alsa-lib-0.9.2-fr1.i386.rpm
> > > > alsa-lib-devel-0.9.2-fr1.i386.rpm
> > > >
> > > > I followed the instructions given at http://freshrpms.net/docs/alsa/
> > > > to istall the driver , kernel , lib and lib-devel  and finally the
> > > > utils packages
> > > >
> > > > Then I edited the modules.conf file  as given below
> > > >
> > > > alias parport_lowlevel parport_pc
> > > > alias eth0 eepro100
> > > > alias usb-controller usb-uhci
> > > > alias sound-slot-0 ad1848
> > >
> > > That should be commented out. Or change ad1848 to opl3sa2 to get the
> > > _right_ OSS driver :)
> > >
> > > > # ALSA portion
> > > > alias char-major-116 snd
> > > > alias snd-card-0 snd-opl3sa2
> > > > # module options should go here
> > > >
> > > > # OSS/Free portion
> > > > alias char-major-14 soundcore
> > > > alias sound-slot-0 snd-card-0
> > > >
> > > > # card #1
> > > > 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
> > > >
> > > > After this when I try running the modprobe command i am getting the
> > > > following error
> > > > [EMAIL PROTECTED] sbin]# /sbin/modprobe snd-opl3sa2;/sbin/modprobe
> > > > snd-pcm-oss;/sbin/modprobe snd-mixer-oss;/sbin/modprobe snd-seq-oss
> > > > modprobe: Can't locate module snd-opl3sa2
> > > > modprobe: Can't locate module snd-pcm-oss
> > > > modprobe: Can't locate module snd-mixer-oss
> > > > modprobe: Can't locate module snd-seq-oss
> > >
> > > Try 'locate snd-opl3sa2' . Somewhere in the path should be your kernel
> > > version.
> > >
> > > > Could anyone help me out.
> > > >
> > > > Thanks
> > > > Rakhin
> > >
> > > HTH,
> > >
> > >     -Frans



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to