LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2004, 01:28 PM   #1
steefje
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: debian
Posts: 46

Rep: Reputation: 15
debian 3 linux-2.4.27 alsa drivers 1.0.6a audigyls ...


hi , i just installed debian sarge yesterday for the first time ever after trying redhat 8 and suse 9.1

everything works fine except for my creative audigyls offcourse,
i haven't been able to get it working in linux yet, ever (never tried very hard)

when having latest stable alsa drivers unpacked (1.0.6a) and cd in folder
doing ./configure returned that i have to redirect to kernel source

so i install kernel source 2.4.27 (my kernel)
i do "make" there and "make install" ...

then again in folder from alsa drivers :
./configure => works this time
make
make install
all work except for a small error at the end of each 'step' (eg make; make install) EDIT : ( did --with-cards=audigyls --with-sequencer=yes;make;make install ) (didn't get errors on second attempt -with above methode- )

i reboot system ...
afterwards i do modprobe snd-audigyls : doesn't work
modprobe audigyls doesn't work also ...
...

when installed drivers in suse 9.1 modprobe snd-audigyls worked though
but then i had a problem with the configuration of an onboard card, which i have now disabled in bios

strange huh ???

i you want me to be more specific, just ask, because i'm still quite a noob at linux and don't kwow what to post to be complete ...

thx !!!

Last edited by steefje; 11-01-2004 at 02:41 PM.
 
Old 11-01-2004, 02:17 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Re: debian 3 linux-2.4.27 alsa drivers 1.0.6a audigyls ...

Quote:
Originally posted by steefje

all work except for a small error at the end of each 'step' (eg make; make install)
afterwards i do modprobe snd-audigyls : doesn't work
modprobe audigyls doesn't work also ...
????????????????? need details ie exact error messages and output from modprobe
 
Old 11-01-2004, 02:50 PM   #3
steefje
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: debian
Posts: 46

Original Poster
Rep: Reputation: 15
see EDIT above don't have errors anymore ...

followed this guide :

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

Quote:
steven:/home/steven# modprobe snd-audigyls
modprobe: Can't locate module snd-audigyls
steven:/home/steven# modprobe audigyls
modprobe: Can't locate module audigyls
steven:/home/steven# modprobe snd-card-audigyls
modprobe: Can't locate module snd-card-audigyls
steven:/home/steven# su
steven:/home/steven# modprobe snd-pcm-oss
modprobe: Can't locate module snd-pcm-oss
steven:/home/steven# modprobe snd-mixer-oss
modprobe: Can't locate module snd-mixer-oss
steven:/home/steven# modprobe snd-seq-oss
modprobe: Can't locate module snd-seq-oss
Quote:
steven:/home/steven# lsmod
Module Size Used by Not tainted
apm 8364 1 (autoclean)
ipt_ttl 568 1 (autoclean)
ipt_limit 824 34 (autoclean)
ipt_state 504 9 (autoclean)
iptable_filter 1644 1 (autoclean)
iptable_mangle 2040 0 (unused)
ipt_LOG 3032 1
ipt_MASQUERADE 1304 0 (unused)
ipt_TOS 920 0 (unused)
ipt_REDIRECT 728 0 (unused)
iptable_nat 14766 0 [ipt_MASQUERADE ipt_REDIRECT]
ipt_REJECT 3160 1
ip_tables 10400 13 [ipt_ttl ipt_limit ipt_state iptable_filter ip table_mangle ipt_LOG ipt_MASQUERADE ipt_TOS ipt_REDIRECT iptable_nat ipt_REJECT]
ip_conntrack_irc 2640 0 (unused)
ip_conntrack_ftp 3440 0 (unused)
ip_conntrack 16900 2 [ipt_state ipt_MASQUERADE ipt_REDIRECT iptable _nat ip_conntrack_irc ip_conntrack_ftp]
af_packet 11048 1 (autoclean)
mousedev 3604 1
hid 19076 0 (unused)
input 3040 0 [mousedev hid]
jedec_probe 8640 0 (autoclean)
gen_probe 1552 0 (autoclean) [jedec_probe]
chipreg 697 0 [jedec_probe]
usb-uhci 19504 0 (unused)
usbcore 52268 1 [hid usb-uhci]
ide-scsi 8272 0
scsi_mod 86020 1 [ide-scsi]
ne2k-pci 4192 1
8390 5280 0 [ne2k-pci]
crc32 2848 0 [8390]
agpgart 39108 0 (unused)
ide-cd 27040 0
cdrom 26212 0 [ide-cd]
rtc 5768 0 (autoclean)
ext3 65388 2 (autoclean)
jbd 34628 2 (autoclean) [ext3]
ide-detect 288 0 (autoclean) (unused)
ide-disk 12416 3 (autoclean)
piix 7784 1 (autoclean)
ide-core 91800 3 (autoclean) [ide-scsi ide-cd ide-detect ide-di sk piix]
unix 12720 29 (autoclean)



"You must turn on the sound support soundcore module. This is in the kernel. Look in the sound drivers directory and it should be the first option"

where can i see this ????


Last edited by steefje; 11-01-2004 at 02:54 PM.
 
Old 11-01-2004, 03:11 PM   #4
steefje
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: debian
Posts: 46

Original Poster
Rep: Reputation: 15
wait ...

i'll post everything from the first step to the last step , following the manual i gave
so you shouldn't be quessing what the problem is, cause all the info is here ...

downloaded :
alsa-driver-1.0.6a.tar.bz2
alsa-lib-1.0.6.tar.bz2
alsa-utils-1.0.6
kernel-source-2.4.27_2.4.27.orig.tar.gz

first i extract the kernel tar to ~/kernel-source-2.4.27-2.4.27

next i cd to that folder and "make" (said 'y' to all choices given)
after that "install make"
i'm sure there is an easier way, like installing a .deb package of the source, but for some reason, that didn't work

as said in manual, created alsa map untarred etc ...

see first 20 lines ...

when you see "ablablabalbalablabalabalbalba" , that means i cut out a huge part of printed messenges that made this post too long .....

Code:
steven@steven:~/kernel-source-2.4.27-2.4.27$ cd /usr/src
steven@steven:/usr/src$ mkdir alsa
mkdir: cannot create directory `alsa': Permission denied
steven@steven:/usr/src$ su
Password:
steven:/usr/src# mkdir alsa
steven:/usr/src# cd alsa
steven:/usr/src/alsa# cp /downloads/alsa-* .
cp: cannot stat `/downloads/alsa-*': No such file or directory
steven:/usr/src/alsa#  cp /home/steven/alsa-* .
steven:/usr/src/alsa# bunzip2 alsa-driver*
steven:/usr/src/alsa# tar -xf alsa-driver*
steven:/usr/src/alsa# cd alsa-driver*
steven:/usr/src/alsa/alsa-driver-1.0.6a# ./configure --with-kernel=/home/steven/kernel-source-2.4.27-2.4.27 --with-cards=audigyls --with-sequencer=yes;make;make install
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-1.0.6a
checking cross compile...
checking for directory with kernel source... /home/steven/kernel-source-2.4.27-2.4.27
checking for kernel version... 2.4.27
checking for GCC version... Kernel compiler: gcc 3.3.4 (Debian 1:3.3.4-13) Used compiler: gcc (GCC) 3.3.4 (Debian 1:3.3.4-13)
checking for built-in ALSA... "no"
checking for existing ALSA module... "no"
checking for Red Hat kernel... "auto"
checking for Red Hat kernel... "no"
checking for SUSE kernel... "auto"
checking for SUSE kernel... "no"
checking to modify of kernel linux/kmod.h... "no"
checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "no"
checking for kernel linux/dma-mapping.h... "no"
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/device.h... "no"
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel linux/moduleparam.h... "yes"
Removing a dummy linux/moduleparam.h.
checking for kernel linux/syscalls.h... "no"
checking for exported symbol dump_stack... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for I2C driver in kernel... yes
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.27/misc
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for SMP... "yes"
checking for Video device support in kernel... "yes"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "yes"
checking for ISA PnP support... yes
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for scnprintf... "no"
checking for sscanf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
checking for PDE... "yes"
checking for pci_set_consistent_dma_mask... "no"
checking for tty->count is the atomic type... "no"
checking for video_get_drvdata... "yes"
checking for new remap_page_range... "no"
checking for kcalloc... "no"
checking for saved_config_space in pci_dev... "no"
checking for driver version... 1.0.6a
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... audigyls
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
make dep

make[2]: Entering directory `/usr/src/alsa/alsa-driver-1.0.6a/pcmcia/vx'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.6a/pcmcia/vx'
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.6a/pcmcia'
..  -balbalblablablabla-
.....  blablablabalbla
blalabalbalbala
.....

ALSA modules were successfully compiled.

rm -f /lib/modules/2.4.27/misc/snd*.*o /lib/modules/2.4.27/misc/persist.o /lib/modules/2.4.27/misc/isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.6a/acore'
mkdir -p /lib/modules/2.4.27/misc
ent.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27/misc/snd-seq-oss.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27/misc/snd-seq.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27/misc/snd-timer.o
depmod: *** Unresolved symbols in /lib/modules/2.4.27/misc/snd.o
if [ -L /usr/include/sound ]; then \
        rm -f /usr/include/sound; \
        ln -sf /usr/src/alsa/alsa-driver-1.0.6a/include/sound /usr/include/sound; \
else \
        rm -rf /usr/include/sound; \
        install -d -m 755 -g root -o root /usr/include/sound; \
        for f in include/sound/*.h; do \
                install -m 644 -g root -o root $f /usr/include/sound; \
        done \
fi
cat WARNING
blalbablablabla
.!!blablablabla!!!
!!!!blablablablabla !!!!!!

WARNING!!! The mixer channels for the ALSA driver are muted by default!!!
**************************************************************************
You would use some ALSA or OSS mixer to set the appropriate volume.

steven:/usr/src/alsa/alsa-driver-1.0.6a#
did "chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi"

did cd ..
bunzip2 alsa-lib-xxx
tar -xf alsa-lib-xxx
cd alsa-lib-xxx
./configure;make;make install







Code:
steven:/usr/src/alsa/alsa-driver-1.0.6a# chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
steven:/usr/src/alsa/alsa-driver-1.0.6a# cd ..
steven:/usr/src/alsa# tar -xf alsa-lib*
steven:/usr/src/alsa# ./configure;make;make install
bash: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
steven:/usr/src/alsa# cd alsa-lib*
steven:/usr/src/alsa/alsa-lib-1.0.6# ./configure;make;make install
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/install -c

blabalalbalbalabalbalabalabalbalaa
balbakakbaabaablabalbalabalbalabalabal

(cd /usr/lib && rm -f libasound.so.2 && ln -s libasound.so.2.0.0 libasound.so.2)
(cd /usr/lib && rm -f libasound.so && ln -s libasound.so.2.0.0 libasound.so)
/usr/bin/install -c .libs/libasound.lai /usr/lib/libasound.la
PATH="$PATH:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/src/alsa/alsa-lib-1.0.6/src'
make[2]: Leaving directory `/usr/src/alsa/alsa-lib-1.0.6/src'
make[1]: Leaving directory `/usr/src/alsa/alsa-lib-1.0.6/src'

balabalabalbaalbalba
abalbalababaalababakbakab


make[1]: Entering directory `/usr/src/alsa/alsa-lib-1.0.6'
make[2]: Entering directory `/usr/src/alsa/alsa-lib-1.0.6'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/src/alsa/alsa-lib-1.0.6'
make[1]: Leaving directory `/usr/src/alsa/alsa-lib-1.0.6'
steven:/usr/src/alsa/alsa-lib-1.0.6#
something went wrong with alsa-lib but upgrades these with apt-get ...





now after all these steps : i can't modprobe the modules .. see earlier post : exact same result ... (2nd attempt though)

weird thing is : can't even use alsamixer


Code:
steven:~# alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
...

Last edited by steefje; 11-01-2004 at 04:41 PM.
 
Old 11-25-2004, 04:17 PM   #5
otchie1
Registered User
 
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
use alsa 1.06rc :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia Drivers or Alsa drivers? kryptobs2000 Linux - Hardware 2 09-17-2005 06:46 PM
ALSA driver not functional on a VIA8233A chip, Debian Linux exit3219 Linux - Hardware 0 05-30-2005 07:58 AM
AudigyLS loads but not in /proc/asound/cards helix0 Linux - Hardware 0 11-28-2004 07:43 PM
ALSA on Debian, Kernel Source is There Alsa dosent see it? pfizur Linux - Software 3 12-27-2003 09:46 AM
2.6.0 minus built-in ALSA drivers + ALSA 1.0.0rc2 Tino27 Slackware 3 12-19-2003 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration