Skip to contentSkip to conversation

problems with snd_au8830 module under mandriva 2005

DISCUSSION Raymond 3 participants 10 messages Sep 2, 2005 – Oct 12, 2005

lore
Share & tools
lore

Raymond

author
#0 lore raw

I am not sure Alien's au8810 patch is as same as Igor Kovalenko 's au8820 patch. They seem to have their own patches.

The EQ part in diff11.diff seem to be not tested since EQ is not present in au8820.

You should cc your reply to [email protected] and [email protected] so that the others can keep track of your problem.

There are 3 bug reports for AMD64 in ALSA BTS.
1047 - au8810
1138 - au8820
1025 - au8830

Need feedback from testers with au8810/au8820/au8830 and 32bits/64bits machines to debug this patch.

1) EQ, SPDIF of au8810/au8830 are not present in au8820,
2) WT of au8820/au8830 are not present in au8810,
3) SoftModem of au8810 are not present in au8820.
4) 3D of au8830 is not present in au8810/au8820.

Please correct me if I am wrong, I think au8810 do not have any 3D effect hardware.

The essential part of the AMD64 patch is

void __iomem *mmio
#define hwread(x,y) readl((x)+(y))
#define hwwrite(x,y,z) writel((z),(x)+(y))

read/write 32bits data from/to memory-mapped I/O with 32bits address on 32bits machines and 64bits address on 64bits machines.

There are other 32bits and 64bits incompatibilites in different part of the driver.

1) DMA, SRC, Hardware Mixer, Equalizer, Capturing
2) MPU401, Gameport, SPDIF
3) 3D, XTALK, WT

Please clearly describe your volume bar problem.

The error is the parameters in functions declared in au88x0_xtalk.c not matched with those in au88x0_xtalk.h.

It's diffcult to say the change of XTALK part in diff1.diff is right or wrong.

Any hint on how to debug the XTALK canceller ?

How about implement a kcontrol to change xt_mode by alsamixer ?

WARNING : Select narrow mode seem to produce a VERY HIGH pitch.

static int
snd_vortex_xtalk_info(snd_kcontrol_t * kcontrol, snd_ctl_elem_info_t * uinfo)

{	
	static char *texts[] = {"Default", "Headphone", "Wide", "Narrow",
"Diamond"};
	uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED;
	uinfo->count = 1;
	uinfo->value.enumerated.items = 5;
	if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items)
		uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1;
	strcpy(uinfo->value.enumerated.name, texts[uinfo->value.enumerated.item]);
	return 0;
}

static int
snd_vortex_xtalk_get(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol)

{
	vortex_t *vortex = snd_kcontrol_chip(kcontrol);
	ucontrol->value.enumerated.item[0]=vortex->xt_mode;
	return 0;
}

static int
snd_vortex_xtalk_put(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol)

{
	int changed;
	vortex_t *vortex = snd_kcontrol_chip(kcontrol);
	if ( vortex->xt_mode == ucontrol->value.enumerated.item[0] )
		changed=0;
	else
		changed=1;
	Vort3DRend_Initialize(vortex, ucontrol->value.enumerated.item[0] );
	return changed;
}

static snd_kcontrol_new_t snd_vortex_xtalk_kcontrol __devinitdata = {
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "XTALK Playback",
.access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
.info = snd_vortex_xtalk_info,
.get = snd_vortex_xtalk_get,
.put = snd_vortex_xtalk_put,

};

Please post the output

lspci -vvn

cat /proc/asound/au8830/codec97#0/ac97#0-0+regs

using the patch manager at openvortex

http://savannah.nongnu.org/patch/download.php?item_id=3948

Quoted 28 lines

this is what i get when compiling the kernel
but maybe i have to delete the kernel source tree
because i can remember that i had allready patched the alsa part before a long time ago
it was in june i posted the error and not long after that alien from nongnu list contacted me and told me about a patch/.diff
i have a working alsa driver with that diff but the only problem still is that the volume bar is acting strange so i think i have allready done this patch
but i was glad i could compile it under 64 bit kernel

do you know if this is the same patch if not i will clean all sources and compile the kernel again.

Erik

CC [M] sound/pci/au88x0/au8830.o
In file included from sound/pci/au88x0/au8830.c:17:
sound/pci/au88x0/au88x0_xtalk.c:645: error: conflicting types for 'vortex_XtalkHw_SetSampleRate' sound/pci/au88x0/au88x0_xtalk.h:51: error: previous declaration of 'vortex_XtalkHw_SetSampleRate' was here sound/pci/au88x0/au88x0_xtalk.c:645: error: conflicting types for 'vortex_XtalkHw_SetSampleRate' sound/pci/au88x0/au88x0_xtalk.h:51: error: previous declaration of 'vortex_XtalkHw_SetSampleRate' was here

Quoted 10 lines

sound/pci/au88x0/au88x0_xtalk.h:51: warning:
'vortex_XtalkHw_SetSampleRate' declared `static' but never defined sound/pci/au88x0/au88x0_xtalk.c:645: warning:
'vortex_XtalkHw_SetSampleRate' defined but not used make[3]: *** [sound/pci/au88x0/au8830.o] Error 1 make[2]: *** [sound/pci/au88x0] Error 2
make[1]: *** [sound/pci] Error 2
make: *** [sound] Error 2

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

#1 lore raw

Op vrijdag 2 september 2005 05:51, schreef Raymond:

Quoted 18 lines

I am not sure Alien's au8810 patch is as same as Igor Kovalenko 's au8820 patch. They seem to have their own patches.

The EQ part in diff11.diff seem to be not tested since EQ is not present in au8820.

You should cc your reply to [email protected] and [email protected] so that the others can keep track of your problem.

There are 3 bug reports for AMD64 in ALSA BTS.
1047 - au8810
1138 - au8820
1025 - au8830

Need feedback from testers with au8810/au8820/au8830 and 32bits/64bits machines to debug this patch.

Quoted 7 lines

1) EQ, SPDIF of au8810/au8830 are not present in au8820,
2) WT of au8820/au8830 are not present in au8810,
3) SoftModem of au8810 are not present in au8820.
4) 3D of au8830 is not present in au8810/au8820.

Please correct me if I am wrong, I think au8810 do not have any 3D effect hardware.

i'm not entirely sure, but i think it has some 3D stuff, since i've always had controls to manage 3D depth, etc...

unless you are speaking of something else...

#2 lore raw

i'm busy with home improving but when i have time i will try the patch again on 2.6.12 kernel. I have not checked if it is the same alsa version as 2.6.11 but i think it is.

b.t.w. the volume bar problem is in XMMS (didn't try other programs because i haven't a lot of time) (just online for mail checking etc. that's it)
but i think alien can tell you about the volume bar problems.

pc information:

mandriva 2005 le
kernel 2.6.11
amd 64 bit 3500+
diamond monster sound mx300 au8830 card

Erik

Quoted 24 lines · Alien

Op vrijdag 2 september 2005 05:51, schreef Raymond:

Quoted 23 lines

I am not sure Alien's au8810 patch is as same as Igor Kovalenko 's au8820 patch. They seem to have their own patches.

The EQ part in diff11.diff seem to be not tested since EQ is not present in au8820.

You should cc your reply to [email protected] and [email protected] so that the others can keep track of your problem.

There are 3 bug reports for AMD64 in ALSA BTS.
1047 - au8810
1138 - au8820
1025 - au8830

Need feedback from testers with au8810/au8820/au8830 and 32bits/64bits machines to debug this patch.

1) EQ, SPDIF of au8810/au8830 are not present in au8820,
2) WT of au8820/au8830 are not present in au8810,
3) SoftModem of au8810 are not present in au8820.
4) 3D of au8830 is not present in au8810/au8820.

Quoted 7 lines
Quoted 2 lines

Please correct me if I am wrong, I think au8810 do not have any 3D effect hardware.

i'm not entirely sure, but i think it has some 3D stuff, since i've always had controls to manage 3D depth, etc...

unless you are speaking of something else...

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

#3 lore raw
Quoted 8 lines

i'm busy with home improving but when i have time i will try the patch again on 2.6.12 kernel. I have not checked if it is the same alsa version as 2.6.11 but i think it is.

b.t.w. the volume bar problem is in XMMS (didn't try other programs because i haven't a lot of time) (just online for mail checking etc. that's it)
but i think alien can tell you about the volume bar problems.

which volume bar problems are you talking about?
1. the ones where if you get 49% it's loud and on 51% quite silently?
2. or irregular sound volume when you are about halfway (without changing volume yourself).

actually after experimenting I think it might be something hardware related (ie with the volume control of my speaker system, not the au8810)...

Quoted 8 lines

pc information:

mandriva 2005 le
kernel 2.6.11
amd 64 bit 3500+
diamond monster sound mx300 au8830 card

Quoted 41 lines

Erik

Quoted 33 lines · Alien

Op vrijdag 2 september 2005 05:51, schreef Raymond:

Quoted 4 lines

I am not sure Alien's au8810 patch is as same as Igor Kovalenko 's au8820 patch. They seem to have their own patches.

The EQ part in diff11.diff seem to be not tested since EQ is not

present

Quoted 14 lines

in au8820.

You should cc your reply to [email protected] and [email protected] so that the others can keep track of your problem.

There are 3 bug reports for AMD64 in ALSA BTS.
1047 - au8810
1138 - au8820
1025 - au8830

Need feedback from testers with au8810/au8820/au8830 and 32bits/64bits machines to debug this patch.

Quoted 7 lines

1) EQ, SPDIF of au8810/au8830 are not present in au8820,
2) WT of au8820/au8830 are not present in au8810,
3) SoftModem of au8810 are not present in au8820.
4) 3D of au8830 is not present in au8810/au8820.

Please correct me if I am wrong, I think au8810 do not have any 3D effect hardware.

i'm not entirely sure, but i think it has some 3D stuff, since i've always had
controls to manage 3D depth, etc...

unless you are speaking of something else...

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

author
#4 lore raw

When watching movie using xine (downmixing 5.1 to Surround40) with my au8830 on 32bits machines, the 4 channels are correct at first movie only. The Human voice (center) come out from rear speakers aftewards.

1) speaker-test -c 4 -D hw:0,0
2) using xine to play 5.1 channel-test audio samples with FFTScope enabled.

the above tests indicate that the front and rear channels are swapped after the first play.

Please let me know if you also have this problem on your MX300.

The hardware equalizer of au8830 sound much better than the software equalizer of XMMS.

There are follow up about how to fix 32/64bits issues related to the equalizer and features not presented in au8820.

http://sourceforge.net/mailarchive/message.php?msg_id=11997399

alien seem have no interest to test the hardware equalizer because of the hang oops.

Quoted 4 lines · Alien
Quoted 4 lines

i'm busy with home improving but when i have time i will try the patch again on 2.6.12 kernel. I have not checked if it is the same alsa version as 2.6.11 but i think it is.

Quoted 8 lines
Quoted 4 lines

b.t.w. the volume bar problem is in XMMS (didn't try other programs because i haven't a lot of time) (just online for mail checking etc. that's it)
but i think alien can tell you about the volume bar problems.

which volume bar problems are you talking about?
1. the ones where if you get 49% it's loud and on 51% quite silently?

This problem on STAC9704 have been fixed.

Quoted 19 lines

2. or irregular sound volume when you are about halfway (without changing volume yourself).

actually after experimenting I think it might be something hardware related (ie with the volume control of my speaker system, not the au8810)...

Quoted 11 lines

pc information:

mandriva 2005 le
kernel 2.6.11
amd 64 bit 3500+
diamond monster sound mx300 au8830 card

Erik

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

#5 lore raw

Op zaterdag 10 september 2005 02:40, schreef Raymond:

Quoted 6 lines

When watching movie using xine (downmixing 5.1 to Surround40) with my au8830 on 32bits machines, the 4 channels are correct at first movie only. The Human voice (center) come out from rear speakers aftewards.

1) speaker-test -c 4 -D hw:0,0
2) using xine to play 5.1 channel-test audio samples with FFTScope enabled.

isn't it possible that xine swaps the channels? this kind of test should be conducted with the same tools...

Quoted 8 lines

the above tests indicate that the front and rear channels are swapped after the first play.

Please let me know if you also have this problem on your MX300.

The hardware equalizer of au8830 sound much better than the software equalizer of XMMS.

Quoted 7 lines

There are follow up about how to fix 32/64bits issues related to the equalizer and features not presented in au8820.

http://sourceforge.net/mailarchive/message.php?msg_id=11997399

alien seem have no interest to test the hardware equalizer because of the hang oops.

I finally recompiled the kernel, cause i had a power failure...

the latest thing is in place and so far i haven't had any weird hangs or crashes (yet),... right now, it's time to play alot of things and see what happens...

I'm not really interested in a hardware equalizer, just like that, it's got nothing to do with the hang problems (which are NOT kernel oopses, btw) (or not anymore, at least)

we'll see if we get that adb failure again, i've let it print in /var/log/messages, so, we'll see if its solved or not...

do you want me to test out the hardware equalizer? i'm not using 4.0 btw...

Quoted 31 lines
Quoted 11 lines · Alien
Quoted 8 lines

i'm busy with home improving but when i have time i will try the patch again on 2.6.12 kernel. I have not checked if it is the same alsa version as 2.6.11 but i think it is.

b.t.w. the volume bar problem is in XMMS (didn't try other programs because i haven't a lot of time) (just online for mail checking etc. that's it)
but i think alien can tell you about the volume bar problems.

which volume bar problems are you talking about?
1. the ones where if you get 49% it's loud and on 51% quite silently?

This problem on STAC9704 have been fixed.

Quoted 16 lines

2. or irregular sound volume when you are about halfway (without changing volume yourself).

actually after experimenting I think it might be something hardware related (ie with the volume control of my speaker system, not the au8810)...

Quoted 9 lines

pc information:

mandriva 2005 le
kernel 2.6.11
amd 64 bit 3500+
diamond monster sound mx300 au8830 card

Erik

#6 lore raw
In reply to Alien

yup i have the first problem
1. the ones where if you get 49% it's loud and on 51% quite silently?

but then from 51 to 100% is again soft to loud .

next week i can find time to recompile the whole kernel

erik

Quoted 9 lines · Alien
Quoted 8 lines

i'm busy with home improving but when i have time i will try the patch again on 2.6.12 kernel. I have not checked if it is the same alsa version as 2.6.11 but i think it is.

b.t.w. the volume bar problem is in XMMS (didn't try other programs because i haven't a lot of time) (just online for mail checking etc. that's it)
but i think alien can tell you about the volume bar problems.

Quoted 60 lines

which volume bar problems are you talking about?
1. the ones where if you get 49% it's loud and on 51% quite silently?
2. or irregular sound volume when you are about halfway (without changing volume yourself).

actually after experimenting I think it might be something hardware related (ie with the volume control of my speaker system, not the au8810)...

Quoted 49 lines

pc information:

mandriva 2005 le
kernel 2.6.11
amd 64 bit 3500+
diamond monster sound mx300 au8830 card

Erik

Quoted 33 lines · Alien

Op vrijdag 2 september 2005 05:51, schreef Raymond:

Quoted 4 lines

I am not sure Alien's au8810 patch is as same as Igor Kovalenko 's au8820 patch. They seem to have their own patches.

The EQ part in diff11.diff seem to be not tested since EQ is not

present

Quoted 14 lines

in au8820.

You should cc your reply to [email protected] and [email protected] so that the others can keep track of your problem.

There are 3 bug reports for AMD64 in ALSA BTS.
1047 - au8810
1138 - au8820
1025 - au8830

Need feedback from testers with au8810/au8820/au8830 and 32bits/64bits machines to debug this patch.

Quoted 7 lines

1) EQ, SPDIF of au8810/au8830 are not present in au8820,
2) WT of au8820/au8830 are not present in au8810,
3) SoftModem of au8810 are not present in au8820.
4) 3D of au8830 is not present in au8810/au8820.

Please correct me if I am wrong, I think au8810 do not have any 3D effect hardware.

i'm not entirely sure, but i think it has some 3D stuff, since i've always had
controls to manage 3D depth, etc...

unless you are speaking of something else...

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

author
#7 lore raw
Quoted 8 lines · Erik

yup i have the first problem
1. the ones where if you get 49% it's loud and on 51% quite silently?

but then from 51 to 100% is again soft to loud .

next week i can find time to recompile the whole kernel

erik

It seem that MX300 has different device id

1092:3000 Monster Sound II
1092:3001 Monster Sound II
1092:3002 Monster Sound II
1092:3003 Monster Sound II
1092:3004 Monster Sound II

http://pci-ids.ucw.cz/iii/?i=12eb0002

Please provide the output of

cat /proc/asound/au8830/codec97#0/ac97#0-0+regs

and

lspci -vvn

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

author
#8 lore raw
In reply to Erik

Erik Wrote:

Quoted 89 lines

ok here it is.

[root@pc-erik assie]# cat /proc/asound/au8830/codec97#0/ac97#0-0+regs 0:00 = 6940
0:02 = 0202
0:04 = 0707
0:06 = 0007
0:08 = 0000
0:0a = 0006
0:0c = 0007
0:0e = 0040
0:10 = 0707
0:12 = 0707
0:14 = 0707
0:16 = 0707
0:18 = 1d1d
0:1a = 0000
0:1c = 0a0a
0:1e = 0000
0:20 = 2000
0:22 = 000f
0:24 = 0000
0:26 = 800f
0:28 = 0080
0:2a = 0080
0:2c = 0000
0:2e = 0000
0:30 = 0000
0:32 = 0000
0:34 = 0000
0:36 = 0000
0:38 = 0404
0:3a = 0000
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 0000
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 000c
0:70 = 0000
0:72 = 0017
0:74 = 0380
0:76 = abba
0:78 = 9380
0:7a = 0000
0:7c = 8384
0:7e = 7608

02:08.0 Class 0401: 12eb:0002 (rev fe)
Subsystem: 1092:3001
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-

        Latency: 32 (1000ns min, 3000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 209
        Region 0: Memory at 00000000fa000000 (32-bit, non-prefetchable)

[size=256K]
Region 1: I/O ports at b000 [size=8] Region 2: I/O ports at b400 [size=8]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Quoted 4 lines
Quoted 3 lines · Raymond
Quoted 2 lines · Erik

yup i have the first problem
1. the ones where if you get 49% it's loud and on 51% quite

silently?

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

but then from 51 to 100% is again soft to loud .

next week i can find time to recompile the whole kernel

Have your try this switch in alsamixer ?

Simple mixer control 'Sigmatel Output Bias',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

Do this patch fix your problem ?

http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/ac97/ac97_codec.c?r1=1.189&r2=1.190

If the above don't work

Quoted 20 lines
Quoted 20 lines
Quoted 20 lines

Try the following patch to log the read/write of ac97 and post the system log using dmesg. (loading au8830 and alsactl restore)

alsa-driver-1.0.9b/alsa-kernel/pci/au88x0/au88x0_core.c

(quoted diff) +2 -0
@@ -2520,6 +2515,7 @@
    vortex_t *card = (vortex_t *) codec->private_data;
    unsigned int lifeboat = 0;
 
+    printk(KERN_INFO "ac97 write %.2x : %.4x\n",addr,data);
    /* wait for transactions to clear */
    while (!(hwread(card->mmio, VORTEX_CODEC_CTRL) & 0x100)) {
        udelay(100);
@@ -2567,6 +2563,7 @@
        }
    } while ((data & VORTEX_CODEC_ADDMASK) !=
         (addr << VORTEX_CODEC_ADDSHIFT));
+    printk(KERN_INFO "ac97 read  %.2x : %.4x\n",addr,data &
 VORTEX_CODEC_DATMASK);
 
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
(quoted diff) +0 -0
    /* return data. */
    return (u16) (data & VORTEX_CODEC_DATMASK);

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

#9 lore raw

i tried the patch on alsa-driver-1.0.9b
kernel 2.6.13.2

and i get this error:

make -C /lib/modules/2.6.13.2/source SUBDIRS=/home/assie/alsa-driver-1.0.9b O=/lib/modules/2.6.13.2/build modules
make[1]: Entering directory `/usr/src/linux-2.6.13.2'
CC [M] /home/assie/alsa-driver-1.0.9b/pci/au88x0/au8830.o
In file included
from /home/assie/alsa-driver-1.0.9b/pci/au88x0/../../alsa-kernel/pci/au88x0/au8830.c:17,

from /home/assie/alsa-driver-1.0.9b/pci/au88x0/au8830.c:2:
/home/assie/alsa-driver-1.0.9b/pci/au88x0/../../alsa-kernel/pci/au88x0/au88x0_xtalk.c:645: error: conflicting types for 'vortex_XtalkHw_SetSampleRate' /home/assie/alsa-driver-1.0.9b/pci/au88x0/../../alsa-kernel/pci/au88x0/au88x0_xtalk.h:51: error: previous declaration of 'vortex_XtalkHw_SetSampleRate' was here /home/assie/alsa-driver-1.0.9b/pci/au88x0/../../alsa-kernel/pci/au88x0/au88x0_xtalk.c:645: error: conflicting types for 'vortex_XtalkHw_SetSampleRate' /home/assie/alsa-driver-1.0.9b/pci/au88x0/../../alsa-kernel/pci/au88x0/au88x0_xtalk.h:51: error: previous declaration of 'vortex_XtalkHw_SetSampleRate' was here /home/assie/alsa-driver-1.0.9b/pci/au88x0/../../alsa-kernel/pci/au88x0/au88x0_xtalk.h:51: warning: 'vortex_XtalkHw_SetSampleRate' declared `static' but never defined /home/assie/alsa-driver-1.0.9b/pci/au88x0/../../alsa-kernel/pci/au88x0/au88x0_xtalk.c:645: warning: 'vortex_XtalkHw_SetSampleRate' defined but not used make[5]: *** [/home/assie/alsa-driver-1.0.9b/pci/au88x0/au8830.o] Error
1
make[4]: *** [/home/assie/alsa-driver-1.0.9b/pci/au88x0] Error 2
make[3]: *** [/home/assie/alsa-driver-1.0.9b/pci] Error 2
make[2]: *** [_module_/home/assie/alsa-driver-1.0.9b] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13.2'
make: *** [compile] Error 2
[root@pc-erik alsa-driver-1.0.9b]#

without the patch i can make and install alsadriver but then it isn't working giving this error :

service alsasound start
Starting sound driver: snd-au8830 WARNING: Error inserting snd (/lib/modules/2.6.13.2/kernel/sound/acore/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd-seq-device (/lib/modules/2.6.13.2/kernel/sound/acore/seq/snd-seq-device.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd-rawmidi (/lib/modules/2.6.13.2/kernel/sound/acore/snd-rawmidi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd-mpu401-uart (/lib/modules/2.6.13.2/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko):
Unknown symbol in module, or unknown parameter(see dmesg)
WARNING: Error inserting snd-timer (/lib/modules/2.6.13.2/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd-pcm (/lib/modules/2.6.13.2/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd-ac97-codec (/lib/modules/2.6.13.2/kernel/sound/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd-au8830 (/lib/modules/2.6.13.2/kernel/sound/pci/au88x0/snd-au8830.ko): Unknown symbol in module, or unknown parameter (see dmesg)
done

I hope you can do something with this information.

Erik

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl