LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   SoundBlaster Live! 24bit (https://www.linuxquestions.org/questions/debian-26/soundblaster-live-24bit-285928/)

vbguru12000 02-03-2005 04:56 PM

SoundBlaster Live! 24bit
 
I'm sorry to cross post like this, but I'm getting desperate. Seeing as to how I'm not getting much of a response in the Hardware section, I thought it's worth a shot here.

Anyway, can someone help my with my problem ---> HERE

towjamb 02-03-2005 06:49 PM

In Sarge, my SBLive Value uses OSS driver located in
/lib/modules/2.6.8-1-k7/kernel/sound/oss/emu10k1
because it works and its what comes with the stock kernel. It appears Sarge still uses OSS drivers and is transitioning SID to ALSA and Jack, which probably isn't good for you with your more advanced SBLive. You may have to apt-get install alsa-sources and module-assistant to help you compile and install the needed ALSA drivers. A quick Google search brought up this page:
http://xtronics.com/reference/Debian-sound.html

I hope this works as I plan, at some time in the near future, to drop in an MAudio card myself.

vbguru12000 02-04-2005 08:57 AM

Nope, didn't work. After doing all that, alsaconf still didn't detect my SB card. Is there anyone that can give me a step-by-step on how to compile and install the emu10k1 module? Please?

vbguru12000 02-04-2005 11:12 AM

Ok, I went through and followed everything --> Here

However, when I get to the step:
Quote:

./configure --with-cards=emu10k1 --with-sequencer=yes;make;make install
I get the following error:
Code:

make -C /lib/modules/2.6.8-1-386/source SUBDIRS=/usr/src/alsa/alsa-driver-1.0.8rc2 O=/lib/modules/2.6.8-1-386/build modules
make: *** /lib/modules/2.6.8-1-386/source: No such file or directory.  Stop.
make: *** [compile] Error 2


vbguru12000 02-05-2005 02:23 PM

Anyone?

ssfrstlstnm 02-06-2005 10:40 AM

I have the same card. I think you are using the wrong driver. If you have SB Live 24bit, that is not the same as SB Live. The sound card SB Live 24 bit needs the CA0106 driver.

I have also been struggling with getting sound out of this card for almost a month now. I would suggest searching for CA0106, and you should get more info. But here is what I think need to be done:

In your kernel, you need to select support for sound and nothing else to do with sound. Recompile if this isn't the case. Then you should download the alsa source package and install it as per directions. I was told to use CVS to download, but I don't know if it matters.

Hope you have more luck than I have had.

vbguru12000 02-06-2005 12:31 PM

Quote:

In your kernel, you need to select support for sound and nothing else to do with sound. Recompile if this isn't the case.
I have absolutely no clue how to do this. Can someone help me with this?

ssfrstlstnm 02-06-2005 05:26 PM

Very carefully.

First make sure that you have the kernel source. Go to /usr/src and look for kernel-source-2.6.8 or something like that. Go to the kernel-source-2.6.8 directory and type "make menuconfig" as root. You should get a menu. Go down to load alternative configuration file and select it. Enter your current config file. Mine is /boot/config-2.6.8. Then press enter. Look for the Device Drivers and select it. When in device drivers look for sound. Select sound. Here you want to enable ("y") the sound support option. I think you can disable everything else ("n"). If it is already that way then you don't need to make any changes. Then exit - exit -exit, and save config changes. You can then compile the kernel using the following commands:

Code:

make-kpkg --initrd --revision=custom.1 kernel_image
It will ask something about initrd and cramfs. Just say No (not abort the make.)

move the current modules out of the way"

Code:

cd /lib/modules
ls -l
mv 2.6.8 2.6.8.old

and finally install the new kernel:

Code:

cd /usr/src
ls -l
dpkg -i kernel-image-2.6.8_custom.1_i386.deb

when that is finished reboot.

Then istall the alsa with the driver for SBLive 24bit

vbguru12000 02-06-2005 10:44 PM

I guess I really am a newb at this. Could you explain this step in better detail:
Quote:

Go down to load alternative configuration file and select it. Enter your current config file. Mine is /boot/config-2.6.8.
I have no clue as to which configuration file I'm supposed to use. Or if I need to make it, I have no clue how to do that. Thanks for the help and sorry for the trouble.

towjamb 02-06-2005 11:27 PM

I've since learned that your card is model number SB0410 and that there is currently no direct support in ALSA for it. But
since it uses the same P17 chipset as the Audigy LS card, you may have luck using the snd-audigyls module.

http://www.alsa-project.org/alsa-doc...odule=audigyls

ssfrstlstnm 02-07-2005 10:47 AM

According to the alsa web page, the CA0106 driver provides experimental support for this card.

If you are going to try to recompile the kernel, I would suggest that you do a little reading first. If you don't do it right, bad things could happen. Get a good tutorial about compiling kernel, and do some searching in the LQ debian forum about how to compile a kernel the debian way.

To answer your question:

first try to find the config file, mine is under /boot
so go to /boot and look for a file named something like: config-2.6.8

Then when you run make menuconfig, go to load an alternative config file, backspace until the .config goes away, then type in the name of your config file. Mine is /boot/config-2.6.8

vbguru12000 02-07-2005 11:27 AM

Now I have another problem. When I try to compile the kernel using:
Code:

make-kpkg --initrd --revision=custom.1 kernel_image
I get:
Code:

/usr/bin/make -f /usr/share/kernel-package/rules real_stamp_image
make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
rm -f -r ./debian/tmp-image ./debian/tmp-image.deb
test -f stamp-configure    || /usr/bin/make -f /usr/share/kernel-package/rules configure
test -f stamp-build        || /usr/bin/make -f /usr/share/kernel-package/rules build
install -p -d -o root -g root -m 755 debian/tmp-image/DEBIAN
install -p -d -o root -g root -m 755 debian/tmp-image//boot
install -p -d -o root -g root -m 755 debian/tmp-image/usr/share/doc/kernel-image-2.6.8
sed -e 's/=V/2.6.8/g'    -e 's/=B//g'  \
            -e 's/=S//g' -e 's/=R//g' \
            -e 's/=K/bzImage/g'    -e 's/=L/lilo/g'          \
            -e 's/=I/YES/g'    -e 's,=D,/boot,g'        \
            -e 's@=M@@g'    -e 's/=OF//g'    \
            -e 's@=A@i386@g'                            \
            -e 's/=ST/kernel/g'                                \
            /usr/share/kernel-package/image.postinst > debian/tmp-image/DEBIAN/postinst
chmod 755 debian/tmp-image/DEBIAN/postinst
sed -e 's/=V/2.6.8/g'    -e 's/=B//g'  \
            -e 's/=S//g' -e 's/=R//g' \
            -e 's/=K/bzImage/g'    -e 's/=L/lilo/g'          \
            -e 's/=I/YES/g'    -e 's,=D,/boot,g'        \
            -e 's@=M@@g'    -e 's/=OF//g'    \
            /usr/share/kernel-package/image.postrm > debian/tmp-image/DEBIAN/postrm
chmod 755 debian/tmp-image/DEBIAN/postrm
sed -e 's/=V/2.6.8/g'    -e 's/=L/lilo/g'          \
            -e 's/=I/YES/g'    -e 's/=OF//g'    \
            -e 's@=M@@g'    -e 's@=A@i386@g'  \
            -e 's/=ST/kernel/g'                                \
            /usr/share/kernel-package/image.preinst > debian/tmp-image/DEBIAN/preinst
chmod 755 debian/tmp-image/DEBIAN/preinst
sed -e 's/=V/2.6.8/g'    -e 's/=L/lilo/g'          \
            -e 's@=M@@g'    -e 's/=OF//g'    \
            -e 's/=ST/kernel/g'                                \
            /usr/share/kernel-package/image.prerm > debian/tmp-image/DEBIAN/prerm
chmod 755 debian/tmp-image/DEBIAN/prerm
install -p    -o root -g root -m 644 Documentation/Changes debian/tmp-image/usr/share/doc/kernel-image-2.6.8/
gzip -9qf debian/tmp-image/usr/share/doc/kernel-image-2.6.8/Changes
install -p    -o root -g root -m 644 debian/changelog        debian/tmp-image/usr/share/doc/kernel-image-2.6.8/changelog.Debian
install: cannot stat `debian/changelog': No such file or directory
make[1]: *** [real_stamp_image] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
make: *** [kernel-image-deb] Error 2

I'm starting to think Linux is more trouble than it's worth.

ssfrstlstnm 02-07-2005 02:05 PM

Did you get the kernel using apt-get? In order to compile it the Debian way your kernel needs to have some special patches in it. If you got it from Debian (apt-get), then it already has the patches. You also need to have support for cramfs file system to use the --initrd option. I only know of one way to check to see if you have support for this. There is probably an easier way to check for it (anyone???), but here's my way. When you do ake menuconfig, look for cramfs support or something like that. I think it should be under filesystems. If it is checked (*) then you already have support and you can go ahead and compile. If you got the kernel using apt-get, I think it should already have everything you need. If it still doesn't work, try to make sure that you have all of the libraries, compilers, etc. that you need to compile a kernel. You can find out more in some tutorial.

I know it seems like a lot of work, but will be worth it in the end. My linux box is so much faster than my Windows, and a lot less prone to crashes. Good Luck.

vbguru12000 02-08-2005 10:45 AM

I did get it using apt-get however, I cannot find cramfs support.

ssfrstlstnm 02-08-2005 10:54 AM

If you got it using apt-get, then I think already have cramfs enabled so you shouldn't have to worry about it. Not sure why it isn't working. I'm kind of a newbie too, but have compiled the kernel many times without any problem.


Anyone else...


All times are GMT -5. The time now is 12:05 AM.