I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / WebSurfer Areas / WebSurfer Technical Stuff
Linux Alsa Drivers Config Files and Info
how to use the alsa drivers for sound under linux

New MessageLinux Alsa Drivers Config Files and Info (modified 0 times) Corporal Clegg
Please excuse the long post.

For anyone interested in the best possible sound under Linux, you will want to be using the Alsa sound drivers. First you'll need to download the source for the alsa drivers (run a search on freshmeat).

Follow the directions in the INSTALL file. You'll only need to compile the for "card-sb16". After running "make install" you have to edit your modules config file (either /etc/conf.modules or /etc/modules.conf). Add this entry to the bottom the file:

alias char-major-116 snd
alias snd-card-0 snd-card-sb16
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29 snd_device_uid=0
options snd-card-sb16 snd_index=1 snd_id=CARD_1 snd_port=0x220 snd_mpu_port=0x330 snd_irq=10 snd_dma8=1 snd_dma8_size=64 snd_dma16=5 snd_dma16_size=128 snd_mic_agc=0

(I aplogize for any line wraps. All lines should either begin with "alias" or "options")

You may have to run "depmod" to update kernel to be aware of the new drivers.

Simply type "modprobe snd-card-sb16" to enable the drivers.

Please don't forget that Alsa sound modules start muted by default. Download "aumix" to turn the sound on/up.

If you have any problems, review the alsa configure above, make sure that it matches the setting in your Bios for the sound card. You also may need to reboot in some instances just to be sure that everything is kosher.

--Corporal Clegg

PS: Any who is interested, I may be willing to post a compilied Linux 2.2.14 kernel, which includes the USB backport (from 2.3.99-pre6) and the DoC driver, with compilied alsa modules. I'd prefer it if someone willing to host for me however. We're only talking about 1.1 megs for the whole thing.

05-01-2000 23:14:11

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) hackaway
If you could send me the kernel I can host it. Also while you are at it, can you compile in the frame buffer support per Gern's instructions? I think that would help out a lot of people.
Thanks!
05-01-2000 23:32:17

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) greasedweasel
I too would be willing to host. Send me the file when you want...

websurfer (at) greasedweasel (dot) com

05-01-2000 23:39:33

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) Corporal+Clegg
I just emailed the current kernel that I'm using to greasedweasel, since he provided his email address. Hopefully he'll receive it, and will post a link to it soon. If anyone else would like to host it (especially if you're online right now - at 3:30am EST) I can send it to you. Email me at SteveC (at) innocent (dot) com.

This kernel is based off the current stable linux kernel (2.2.14)
- It is patched with the USB backport (from 2.3.99-pre6)
- It is patches with the DoC driver
- It contains the Alsa modules already compiled
- It has the framebuffer support as per germ's instructions
- has has the ne2000(isa), tulip, 3com 59x, and intel 100e network drivers
- It also has parallel port network drivers, and usb network drivers included also

The setup is fairly generic, with stuff that I figured most people might want to have. If anyone would like to trim it down or add stuff to it, I also included the .config file, so you'll have a place to start from. I hope this helps!

--Corporal Clegg

Wanna create your own online video games? Check out the COG Engine:
http://cogengine.linuxave.net/

05-02-2000 00:38:22

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) hackaway
The kernel is now available for download:
http://members.xoom.com/hakaway/Linux-2.2.14-WebSurferPro-Kernel-with_USB_and_Alsa.tar.bz2
05-02-2000 02:08:51

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) greasedweasel
The image is also available here:

http://www.greasedweasel.com/~websurfer/Linux-2.2.14-WebSurferPro-Kernel-with_USB_and_Alsa.tar.bz2

05-02-2000 05:43:13

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) bump
.
05-02-2000 10:00:51

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) bump
.
05-02-2000 21:30:49

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) newbie to linux
New to linux but willing to learn. Once I get this file to my WS, then what? Please be simple, step by step thanks. I don't get what bz2 is? Tar I read in my linux book. Have Linux running now on WS but can't get X working with screen size, tried everything. I am having fun anyway, thanks for info! Can I save my old kernel and restore it if things go wrong?
05-02-2000 23:14:30

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) Zonyl
Corporal Clegg,
I know its asking for a lot but can you post the source tree diff file or maybe ball up the source tree? I would be more than happy to host that as well for you. I would like to use this configuration on my IO as well with nfsroot.

zonyl@hotmail.com

05-03-2000 15:16:43

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) jackie_chan
what a crock trying to loadlin the image in comand loadlin.exe vmlinuzw root=/dev/hda1 rw
and i get diskonchip driver saying fla:unknown parition
hda:hda1
kernel panic:VFS: unable to mount root fs on 03:01

did you compile the kernel with umsdos and qnx turned on? it is needed for accessing the virgin doc so i can back up the doc image before i replace it with new partition
:)

05-03-2000 16:44:54

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) captaingoodnight
You can't mount the DoC directly... Or for that matter an image. The image onboard is compressed. I'm working on getting around that right now. SO - it wouldn't matter if you DID have QNX4 fs support. You'll just get an error message anyways. What needs to happen is the image needs to be de-m-sys'd and then mounted w/ loopback. You know:

mount -t qnx4 -o ro,loop=/dev/loop0 <image> /mnt

If you bust out your hex editor and look around an image (I made my own with "cp /dev/fla1 image") and it was exactly the same as the one on their site) you'll find a header that says something like "ZIP 1.0 (c) M-Sys.." or something like that. If anyone any info on the compression/storage format used for the DoC image or wants to work on this with me, let me know.

captaingoodnight@hotmail.com

05-04-2000 08:41:51

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) captaingoodnight
newbie -

to decompress that .bz2 file use this command:

bzip2 -dc <filename> | tar xvf -

That's considering you have bzip2 installed...

captaingoodnight@hotmail.com

05-04-2000 08:45:48

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) tkreagan
Profile
Can someone who has this working go into some more detail on their distrib and the tools that they are using?

I am running a 2.2.12 kernel off the DOC and when I try to insmod the drivers, they tell me that they cannot find the sound card. I am trying to get the isapnp tools working, but anyone with more specs/info/ideas on how to get this working is welcome to give me some help.

05-04-2000 14:19:32

New MessageRE:Linux Alsa Drivers Config Files and Info (modified 0 times) tkreagan
Profile
Okay, better question.

Does ALSA need to be compiled using isapnp support? I am thinking that it may not, and that is why my drivers aren't working. I will recompile and try again.

tom

05-04-2000 14:30:15

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3