Overclockers Australia Forums
OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Software Topics > Other Operating Systems

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 23rd September 2002, 9:07 PM   #1
Grim-Reaper Thread Starter
Member
 
Grim-Reaper's Avatar
 
Join Date: Dec 2001
Location: Melbourne
Posts: 1,132
Default Sound troubles...

I've posted this on several forums now, linuxnewbie.org linuxquestions.org and now here, and i haven't gotten many replies from those two so im hoping here will be some help.

Ok well im trying to install ALSA for my fortissimo II.

Just so I can get some idea's on how other people have gotten the Hercules Fortissimo 2 to work under Linux (Slackware 8.1) could you please post on how you did. Loading the modprobe cs46xx module worked, but the sound was fairly crackly, and XMMS had cracked em and said something about Can't play sound, 1: Make sure the right plugin is selected, 2: Make sure theres nothing blocking your sound device and there was a 3 but i can't remember wat it was, hehe.

So i've decided to give ALSA a go to see if their modules and drivers can help at all.

I _think_ ive installed them using this guide:

http://www.alsa-project.org/~valenty...ini-HOWTO.html

Im up to this step: 5.3 modprobe for drivers without auto-probing (As it said for any of the CS modules See below which is this step.)

But when i try to load any of those modules, it throws back errors like:

bash-2.05a# modprobe snd-card-cs4232 snd_port=0x534 snd_cport=0x120 snd_mpu_port=-1 snd_fm_port=0x388 snd_jport=-1 snd_irq=5 snd_dma1=0 snd_dma1_size=60 snd_dma2=1 snd_dma2_size=60
Note: /etc/modules.conf is more recent than /lib/modules/2.4.18/modules.dep
/lib/modules/2.4.18/misc/snd-card-cs4232.o: invalid parameter parm_snd_jport
/lib/modules/2.4.18/misc/snd-card-cs4232.o: insmod /lib/modules/2.4.18/misc/snd-card-cs4232.o failed
/lib/modules/2.4.18/misc/snd-card-cs4232.o: insmod snd-card-cs4232 failed


hrmmmmm...and when i did a lspci -vv i get this for my sound card:

00:0b.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
Subsystem: Unknown device 1681:a010
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (1000ns min, 6000ns max)
Interrupt: pin A routed to IRQ 9
Region 0: Memory at df120000 (32-bit, non-prefetchable) [size=4K]
Region 1: Memory at df000000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)



please tell me somebody has some ideas on how to get this going!



then a reply to this:

First do "depmod -ae" to fix the "Note: /etc/modules.conf is more recent than /lib/modules/2.4.18/modules.dep" message, then try changing the "snd_jport=-1" parameter thats throwing the error.


My Reply:


Well ive tried getting rid of the snd_jport parameter and i gave that command a go which got rid of that other error, tah but now im presented with more, lol

bash-2.05a# modprobe snd-card-cs4232 snd_port=0x534 snd_cport=0x120 snd_mpu_port=-1 snd_fm_port=0x388 snd_irq=9 snd_dma1=0 snd_dma1_size=60 snd_dma2=1 snd_dma2_size=60
/lib/modules/2.4.18/misc/snd-card-cs4232.o: init_module: No such device
/lib/modules/2.4.18/misc/snd-card-cs4232.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.18/misc/snd-card-cs4232.o: insmod /lib/modules/2.4.18/misc/snd-card-cs4232.o failed
/lib/modules/2.4.18/misc/snd-card-cs4232.o: insmod snd-card-cs4232 failed


I noticed that in that info i got from lspci -vv it says: Interrupt: pin A routed to IRQ 9 so i tried changing the snd_irq to 9, but still no go.




ok, well....any idea's???
__________________
Desktop Specs: Intel i7 860 | Gigabyte P55A-UD3R | 4GB G. Skill DDR3 1600MHz | Corsair HX-650 PSU | Antec P183
Fileserver Specs: Intel Q9550| Gigabyte GA-EP45-UD3 | 8GB G. Skill NT DDR800 5-5-5-15 | 1x 500GB, 4x 500GB RAID0 | 2x 1Gb Intel CT NIC's

Last edited by Grim-Reaper; 23rd September 2002 at 9:29 PM.
Grim-Reaper is offline   Reply With Quote

Join OCAU to remove this ad!
Old 23rd September 2002, 9:17 PM   #2
Bern
Off the rails
 
Bern's Avatar
 
Join Date: Jun 2001
Location: Brighton, QLD
Posts: 5,000
Default

Try loading the module with no parameters, if that goes ok then try adding one at a time untill you either have then all or discover the one causing the problem, I'd be ditching the irq param completely for a start.
__________________
Bern is offline   Reply With Quote
Old 23rd September 2002, 9:28 PM   #3
Grim-Reaper Thread Starter
Member
 
Grim-Reaper's Avatar
 
Join Date: Dec 2001
Location: Melbourne
Posts: 1,132
Default

does ALSA chuck all of the modules in /lib/modules/2.4.18/misc? which must mean its installed alright then


but one main question is:

Cirrus Logic CS 4614/22/24

look @ the chipset numbers. and in the article it explains how to load modules for: CS4231 chips, CS4232/CS4232A chips and CS4235/CS4236/CS4236B/CS4237B/CS4238B/CS4239 chips


i have no idea which to load...or even if any of them will work and ive just wasted some time...
__________________
Desktop Specs: Intel i7 860 | Gigabyte P55A-UD3R | 4GB G. Skill DDR3 1600MHz | Corsair HX-650 PSU | Antec P183
Fileserver Specs: Intel Q9550| Gigabyte GA-EP45-UD3 | 8GB G. Skill NT DDR800 5-5-5-15 | 1x 500GB, 4x 500GB RAID0 | 2x 1Gb Intel CT NIC's
Grim-Reaper is offline   Reply With Quote
Old 23rd September 2002, 9:34 PM   #4
Bern
Off the rails
 
Bern's Avatar
 
Join Date: Jun 2001
Location: Brighton, QLD
Posts: 5,000
Default

Well I know that the oss module that comes with the kernel that supports your card is the cs46xx, I've never used alsa so I'm just throwing ideas your way when it comes to getting it working.
__________________
Bern is offline   Reply With Quote
Old 23rd September 2002, 9:37 PM   #5
Quadbox
Member
 
Quadbox's Avatar
 
Join Date: Jun 2001
Location: Brisbane 4065
Posts: 5,088
Default

Quote:
Originally posted by Grim-Reaper
does ALSA chuck all of the modules in /lib/modules/2.4.18/misc? which must mean its installed alright then


but one main question is:

Cirrus Logic CS 4614/22/24

look @ the chipset numbers. and in the article it explains how to load modules for: CS4231 chips, CS4232/CS4232A chips and CS4235/CS4236/CS4236B/CS4237B/CS4238B/CS4239 chips


i have no idea which to load...or even if any of them will work and ive just wasted some time...
The ALSA soundcard matrix here says the fort II uses the snd-cs46xx module. Modprobe snd-cs46xx should do the trick.
Quadbox is online now   Reply With Quote
Old 23rd September 2002, 10:15 PM   #6
Sm00thY
Member
 
Sm00thY's Avatar
 
Join Date: Feb 2002
Location: hills.perth.wa.au
Posts: 451
Default

I'm soon to try the same thing with my Herc GF II (on debian woody) and plan to follow the instructions here

There is a more up to date and detailed link to the matrix here
(Last update 17 Sept 2002 vs Last update 6 Jun 2002.)

More later .....
Sm00thY is offline   Reply With Quote
Old 23rd September 2002, 10:25 PM   #7
Grim-Reaper Thread Starter
Member
 
Grim-Reaper's Avatar
 
Join Date: Dec 2001
Location: Melbourne
Posts: 1,132
Default

sweet thanks for the info ppl!! ill follow that guide step by step


but one problem is...im already half way thru doing it following the ALSA-HOWTO install guide, but im not entirely sure if it'll work or not so i just want to switch over to this other guide...the problem is, ive already done ./configure, make, make install, ./snddevices and i think their installed straight after that make install cmd...how can i get rid of all files made? i read somewhere about something like make uninstall, but that didn't work...
__________________
Desktop Specs: Intel i7 860 | Gigabyte P55A-UD3R | 4GB G. Skill DDR3 1600MHz | Corsair HX-650 PSU | Antec P183
Fileserver Specs: Intel Q9550| Gigabyte GA-EP45-UD3 | 8GB G. Skill NT DDR800 5-5-5-15 | 1x 500GB, 4x 500GB RAID0 | 2x 1Gb Intel CT NIC's
Grim-Reaper is offline   Reply With Quote
Old 23rd September 2002, 11:12 PM   #8
Grim-Reaper Thread Starter
Member
 
Grim-Reaper's Avatar
 
Join Date: Dec 2001
Location: Melbourne
Posts: 1,132
Default

/me sobs...gotta do a search and delete


anway, i did a ./configure --help to find out the default install dir (tah bern ) but im not sure wether im meant to do this in alsa-drivers that was extracted from the tar, or the alsa-libs that was extracted from a tar (there was 3 tars that the install HOWTO said to download, alsa-drivers, alsa-libs, alsa-utils) and im not sure which dir to do the ./configure --help in...well i did them in both, the alsa-drivers and alsa-libs and here are the outputs:

ALSA-DRIVERS:

Code:
bash-2.05a# ./configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print `checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
--enable and --with options recognized:
  --with-kernel=dir       give the directory with kernel sources
                          [/usr/src/linux]
  --with-moddir=/path     give the path for the alsa driver kernel modules
                          [/lib/modules/<KVER>/misc]
  --with-debug=level      give the debug level (none,basic,memory,full)
  --with-isapnp=yes,no,auto  driver will (not) be compiled with ISA PnP support
  --with-sequencer=yes,no  driver will (not) be compiled with sequencer support
  --with-oss=no,yes       driver will (not) be compiled with OSS/Free emulation
  --with-cards=<list>     compile driver for cards in <list>;
                          cards may be separated with commas;
                          'all' compiles all drivers;
                          Possible cards are:
                          share, dummy, virmidi, interwave, interwave-stb,
                          gusmax, gusextreme, gusclassic, es1688, es18xx,
                          sb8, sb16, sbawe, emu10k1, opl3sa2, mozart,
                          sonicvibes, ens1370, ens1371, ad1816a, ad1848,
                          als100, als4000, azt2320, cs4231, cs4232, cs4236,
                          cs4281, cs461x, cs4281, es968, dt0197h, fm801,
                          es1938, es1968, opti92x-ad1848, opti92x-cs4231,
                          opti93x, serial, trident, sgalaxy, wavefront,
                          hal2, cmi8330, mtpav, rme96, rme9652, ice1712,
                          intel8x0, via686a, via8233, cmipci, ymfpci,
                          awacs, maestro3, nm256, ali5451



ALSA-LIBS:
Code:

bash-2.05a# ./configure --help
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print `checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
--enable and --with options recognized:
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-static[=PKGS]  build static libraries [default=yes]
  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --disable-libtool-lock  avoid locking (might break parallel builds)
 --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)

i can't see any default install dir or anything to start searching in...argh, once ive got sound going, ill be able to listen to music and research all of this stuff...until then its asking questions..
__________________
Desktop Specs: Intel i7 860 | Gigabyte P55A-UD3R | 4GB G. Skill DDR3 1600MHz | Corsair HX-650 PSU | Antec P183
Fileserver Specs: Intel Q9550| Gigabyte GA-EP45-UD3 | 8GB G. Skill NT DDR800 5-5-5-15 | 1x 500GB, 4x 500GB RAID0 | 2x 1Gb Intel CT NIC's
Grim-Reaper is offline   Reply With Quote
Old 23rd September 2002, 11:33 PM   #9
Bern
Off the rails
 
Bern's Avatar
 
Join Date: Jun 2001
Location: Brighton, QLD
Posts: 5,000
Default

The default install directory is the --prefix=PREFIX, in the case of alsa-drivers and alsa-libs the default is /usr. The entries below "Directory and file names:" tell you where the various compoments install to in the sub directories of /usr.
__________________
Bern is offline   Reply With Quote
Old 24th September 2002, 8:24 AM   #10
Grim-Reaper Thread Starter
Member
 
Grim-Reaper's Avatar
 
Join Date: Dec 2001
Location: Melbourne
Posts: 1,132
Default

there is a make clean cmd...wat would that do?
__________________
Desktop Specs: Intel i7 860 | Gigabyte P55A-UD3R | 4GB G. Skill DDR3 1600MHz | Corsair HX-650 PSU | Antec P183
Fileserver Specs: Intel Q9550| Gigabyte GA-EP45-UD3 | 8GB G. Skill NT DDR800 5-5-5-15 | 1x 500GB, 4x 500GB RAID0 | 2x 1Gb Intel CT NIC's
Grim-Reaper is offline   Reply With Quote
Old 24th September 2002, 9:22 AM   #11
Quadbox
Member
 
Quadbox's Avatar
 
Join Date: Jun 2001
Location: Brisbane 4065
Posts: 5,088
Default

It gets rid of any temporary files from the source tree.
Quadbox is online now   Reply With Quote
Old 25th September 2002, 6:21 PM   #12
Grim-Reaper Thread Starter
Member
 
Grim-Reaper's Avatar
 
Join Date: Dec 2001
Location: Melbourne
Posts: 1,132
Default

ok this is strange...it seems for some reason the alsa-driver-xxx tarball doesn't have the cs46xx module.

i do:

./configure --with-cards=cs46xx --with-sequencer=yes;make;make install


and it presents me with:
checking for which soundcards to compile driver for... Unknown soundcard cs46xx, exiting!


ummmmm, shouldn't it already be in the tarball (we'll, where i extracted the tarball!)
__________________
Desktop Specs: Intel i7 860 | Gigabyte P55A-UD3R | 4GB G. Skill DDR3 1600MHz | Corsair HX-650 PSU | Antec P183
Fileserver Specs: Intel Q9550| Gigabyte GA-EP45-UD3 | 8GB G. Skill NT DDR800 5-5-5-15 | 1x 500GB, 4x 500GB RAID0 | 2x 1Gb Intel CT NIC's
Grim-Reaper is offline   Reply With Quote
Old 27th September 2002, 9:16 AM   #13
Grim-Reaper Thread Starter
Member
 
Grim-Reaper's Avatar
 
Join Date: Dec 2001
Location: Melbourne
Posts: 1,132
Default

bern? anybody?
obviously theres no module there for cs46xx, but the guide seems to think there is..
__________________
Desktop Specs: Intel i7 860 | Gigabyte P55A-UD3R | 4GB G. Skill DDR3 1600MHz | Corsair HX-650 PSU | Antec P183
Fileserver Specs: Intel Q9550| Gigabyte GA-EP45-UD3 | 8GB G. Skill NT DDR800 5-5-5-15 | 1x 500GB, 4x 500GB RAID0 | 2x 1Gb Intel CT NIC's
Grim-Reaper is offline   Reply With Quote
Old 27th September 2002, 9:43 AM   #14
Bern
Off the rails
 
Bern's Avatar
 
Join Date: Jun 2001
Location: Brighton, QLD
Posts: 5,000
Default

Do "./configure --with-cards=cs46xx --with-sequencer=yes" and then after configure has finished do "make" then su "make install"
And check your alsa-driver version, I just downloaded 0.9.0rc3 and it found the cs46xx parts ok.
__________________
Bern is offline   Reply With Quote
Old 27th September 2002, 10:16 AM   #15
Grim-Reaper Thread Starter
Member
 
Grim-Reaper's Avatar
 
Join Date: Dec 2001
Location: Melbourne
Posts: 1,132
Default

hrmmm, strange!

Ok, I'll download that one...even though its the development one isn't it?

/me hopes i don't run into even more troubles with it
__________________
Desktop Specs: Intel i7 860 | Gigabyte P55A-UD3R | 4GB G. Skill DDR3 1600MHz | Corsair HX-650 PSU | Antec P183
Fileserver Specs: Intel Q9550| Gigabyte GA-EP45-UD3 | 8GB G. Skill NT DDR800 5-5-5-15 | 1x 500GB, 4x 500GB RAID0 | 2x 1Gb Intel CT NIC's
Grim-Reaper is offline   Reply With Quote
Reply

Bookmarks

Sign up for a free OCAU account and this ad will go away!

Thread Tools

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 On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 3:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!