Re: [Alsa-user] cs4232
On Fri, 13 Jun 2003, lasse wrote: > Hey! > > I've got huge problems compiling alsa on debian 2.2.19 > And i'm not finding anything in the archives (search broken) yadayada... sorry for replying my own mail. Just figured it out. i need the kernel HEADERS. to compile. check! it worked like a charm.. not on to the rest ;) -- -BEGIN GEEK CODE BLOCK- Version: 3.1 (2002 update) GCM/GCS/GMU/ d+ s++:++ a-- C++() UBLAIS+() P+ L+(-) E--- W+++ N+ o-- K w O- M- V- PS(+++) PE++ Y PGP- t 5+ X++ R- tv+ b+ DI+++ D- G e h++ r% y++ --END GEEK CODE BLOCK-- --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] cs4232
Hey! I've got huge problems compiling alsa on debian 2.2.19 And i'm not finding anything in the archives (search broken) ./configure --with-isapnp=no --with-oss=no --with-cards=cs4232 --with-sequencer=yes is not a problem (it was until i downloaded the kernelsources and copied version.h to /usr/src/linux/include/linux/ from /usr/include/linux) the make goes like this (cut, if anone sees anything and need more info, let me now) /usr/include/asm/apic.h:83: parse error before `unsigned' In file included from /usr/include/asm/hardirq.h:42, from /usr/src/linux/include/linux/interrupt.h:52, from /install/alsa-driver-0.9.4/include/adriver.h:191, from /install/alsa-driver-0.9.4/include/sound/driver.h:42, from hwdep.c:22: /usr/include/asm/smp.h:57: parse error before `1' /usr/include/asm/smp.h:75: parse error before `0' /usr/include/asm/smp.h:109: parse error before `0' In file included from hwdep.c:27: /install/alsa-driver-0.9.4/include/sound/core.h:146: field `controls_rwsem' has incomplete type hwdep.c:39: warning: implicit declaration of function `__WAIT_QUEUE_HEAD_INITIALIZER' hwdep.c:39: initializer element is not constant hwdep.c:39: (near initialization for `register_mutex.wait') hwdep.c: In function `snd_hwdep_open': /usr/src/linux/include/linux/sched.h:755: warning: `flags' might be used uninitialized in this function /usr/src/linux/include/linux/sched.h:776: warning: `flags' might be used uninitialized in this function hwdep.c: At top level: hwdep.c:296: unknown field `owner' specified in initializer hwdep.c:296: warning: initialization from incompatible pointer type hwdep.c:298: field `llseek' already initialized hwdep.c:298: warning: initialization from incompatible pointer type hwdep.c:299: field `read' already initialized hwdep.c:299: warning: initialization from incompatible pointer type hwdep.c:300: field `write' already initialized hwdep.c:300: warning: initialization from incompatible pointer type hwdep.c:489: parse error before `alsa_hwdep_exit' hwdep.c:490: warning: return-type defaults to `int' hwdep.c: In function `alsa_hwdep_exit': hwdep.c:496: warning: control reaches end of non-void function hwdep.c: In function `__cleanup_module_inline': hwdep.c:499: warning: return from incompatible pointer type {standard input}: Assembler messages: {standard input}:9: Warning: ignoring changed section attributes for .modinfo make[1]: *** [hwdep.o] Error 1 make[1]: Leaving directory `/install/alsa-driver-0.9.4/acore' make: *** [compile] Error 1 (i'm a bit annoyed, a friend of mine uses suse, and he's got sound :) ofcourse i COULD do as he did, but his install is so bloated... :/ i prefer debian... Please, do you have any ideas? -- -BEGIN GEEK CODE BLOCK- Version: 3.1 (2002 update) GCM/GCS/GMU/ d+ s++:++ a-- C++() UBLAIS+() P+ L+(-) E--- W+++ N+ o-- K w O- M- V- PS(+++) PE++ Y PGP- t 5+ X++ R- tv+ b+ DI+++ D- G e h++ r% y++ --END GEEK CODE BLOCK-- --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] cs4232, isapnp
thanks! :) yes, my bios config seems to set some unusual ports, which might be part of the problem - i have irq=9... i might try the alsaconf script - never used it before, always worked by hand... best m~ Takashi Iwai wrote: At Wed, 05 Feb 2003 10:06:46 +, iriXx wrote: err... are you running a thinkpad 600e by any chance? im still trying to get mine working you need to set up the module options correctly. you can try the below. options snd-cs4236 port=0x530 cport=0x538 irq=5 dma1=1 dma2=0 \ isapnp=0 sb_port=-1 mpu_port=-1 fm_port=-1 the port, irq and dmas are depending on the bios configuration, though. you can try alsaconf script included in alsa-driver/utils, too. Takashi -- iriXx www.iriXx.org copyleft: creativity, technology and freedom? [EMAIL PROTECTED] www.copyleftmedia.org.uk _ ( ) ascii ribbon against html email X / \cat /dev/sda1 > /dev/dsp *** stopping make sense *** --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] cs4232, isapnp
At Wed, 05 Feb 2003 10:06:46 +, iriXx wrote: > > err... are you running a thinkpad 600e by any chance? > im still trying to get mine working you need to set up the module options correctly. you can try the below. options snd-cs4236 port=0x530 cport=0x538 irq=5 dma1=1 dma2=0 \ isapnp=0 sb_port=-1 mpu_port=-1 fm_port=-1 the port, irq and dmas are depending on the bios configuration, though. you can try alsaconf script included in alsa-driver/utils, too. Takashi --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] cs4232, isapnp
err... are you running a thinkpad 600e by any chance? im still trying to get mine working m~ Dennis Björklund wrote: On Wed, 5 Feb 2003, Jaroslav Kysela wrote: It's cs4236 based card. Try the snd-cs4236 module. Hoho.. This is great! I've been using OSS cs4232 for maybe 3 years on this old machine. I never suspected it was something else :-) snd-cs4236 does load as it should. I get one error message though: CS4236+ isapnp configure failed for MPU (out of resources?) but all i've done so for is a modprobe and nothing more. I have not even tried it to see if it can play sound (I'll install some applications for that now, or load oss emulation or something). Thanks a lot. I'll be back later if I can't get it to work now.. -- iriXx www.iriXx.org copyleft: creativity, technology and freedom? [EMAIL PROTECTED] www.copyleftmedia.org.uk _ ( ) ascii ribbon against html email X / \cat /dev/sda1 > /dev/dsp *** stopping make sense *** --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] cs4232, isapnp
On Wed, 5 Feb 2003, Jaroslav Kysela wrote: > It's cs4236 based card. Try the snd-cs4236 module. Hoho.. This is great! I've been using OSS cs4232 for maybe 3 years on this old machine. I never suspected it was something else :-) snd-cs4236 does load as it should. I get one error message though: CS4236+ isapnp configure failed for MPU (out of resources?) but all i've done so for is a modprobe and nothing more. I have not even tried it to see if it can play sound (I'll install some applications for that now, or load oss emulation or something). Thanks a lot. I'll be back later if I can't get it to work now.. -- /Dennis --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] cs4232, isapnp
On Wed, 5 Feb 2003, [ISO-8859-1] Dennis Björklund wrote: > I just tried alsa for the first time but ran into a problem: > > I use rh80 (kernel 2.4.18) and alsa 0.9.0 rc7 that I got from > freshrpms.net. When I try to load snd-cs4232 get: > Card 2 'CSC8025:Onboard PnP Audio' PnP version 1.0 Product version 0.4 It's cs4236 based card. Try the snd-cs4236 module. Jaroslav - Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] cs4232, isapnp
I just tried alsa for the first time but ran into a problem: I use rh80 (kernel 2.4.18) and alsa 0.9.0 rc7 that I got from freshrpms.net. When I try to load snd-cs4232 get: >modprobe snd-cs4232 /lib/modules/2.4.18-19.8.0/kernel/sound/isa/cs423x/snd-cs4232.o: init_module: No such device 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-19.8.0/kernel/sound/isa/cs423x/snd-cs4232.o: insmod /lib/modules/2.4.18-19.8.0/kernel/sound/isa/cs423x/snd-cs4232.o failed /lib/modules/2.4.18-19.8.0/kernel/sound/isa/cs423x/snd-cs4232.o: insmod snd-cs4232 failed In /var/log/messages I see: Feb 5 10:04:29 merlin kernel: CS4232 soundcard not found or device busy I've tried to set the irq (and the rest) myslef. But all I managed to do was to crash the kernel. This is an example of what I tried to add to modules.conf that gave me an ops. There are no unresolved symobols. options snd-cs4232 isapnp=0 port=0x534 cport=0x120 irq=5 dma1=1 dma2=3 mpu_port=0x330 fm_port=-1 I can load the OSS driver cs4232 without any parameters. This is the /proc/isapnp, maybe it is of help for you (I only include the sound card, Card 1 is a Modem): Card 2 'CSC8025:Onboard PnP Audio' PnP version 1.0 Product version 0.4 Logical device 0 'CSC0100:WSS/SB' Device is not active Resources 0 Priority preferred Port 0x534-0x534, align 0x3, size 0x4, 16-bit address decoding Port 0x388-0x388, align 0x7, size 0x4, 16-bit address decoding Port 0x220-0x220, align 0x1f, size 0x10, 16-bit address decoding IRQ 5 High-Edge DMA 1 8-bit byte-count compatible DMA 0,3 8-bit byte-count compatible Alternate resources 0:1 Priority acceptable Port 0x534-0xffc, align 0x3, size 0x4, 16-bit address decoding Port 0x388-0x388, align 0x7, size 0x4, 16-bit address decoding Port 0x220-0x260, align 0x1f, size 0x10, 16-bit address decoding IRQ 5,7,2/9,10,11,12,15 High-Edge DMA 1,3 8-bit byte-count compatible DMA 0,1,3 8-bit byte-count compatible Alternate resources 0:2 Priority functional Port 0x534-0xffc, align 0x3, size 0x4, 16-bit address decoding Port 0x388-0x3c8, align 0x7, size 0x4, 16-bit address decoding Port 0x220-0x300, align 0x1f, size 0x10, 16-bit address decoding IRQ 5,7,2/9,10,11,12,15 High-Edge DMA 0,1,3 8-bit byte-count compatible Logical device 1 'CSC0101:GAME' Device is not active Resources 0 Priority preferred Port 0x200-0x200, align 0x7, size 0x8, 16-bit address decoding Alternate resources 0:1 Priority acceptable Port 0x208-0x208, align 0x7, size 0x8, 16-bit address decoding Logical device 2 'CSC0110:CTRL' Device is not active Resources 0 Priority preferred Port 0x120-0x3a8, align 0x7, size 0x8, 16-bit address decoding Logical device 3 'CSC0103:MPU' Device is not active Resources 0 Priority preferred Port 0x330-0x330, align 0x7, size 0x2, 16-bit address decoding IRQ 2/9 High-Edge Alternate resources 0:1 Priority acceptable Port 0x330-0x360, align 0x7, size 0x2, 16-bit address decoding IRQ 2/9,10,11,12,15 High-Edge Alternate resources 0:2 Priority functional Port 0x330-0x3e0, align 0x7, size 0x2, 16-bit address decoding -- /Dennis --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user