* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2005-05-28 20:22 bugtrack
2005-06-06 2:09 ` Raymond
0 siblings, 1 reply; 28+ messages in thread
From: bugtrack @ 2005-05-28 20:22 UTC (permalink / raw)
To: alsa-devel
The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 05-28-2005 22:22 CEST
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-05-28 20:22 bugtrack
@ 2005-06-06 2:09 ` Raymond
2005-06-06 15:49 ` Takashi Iwai
0 siblings, 1 reply; 28+ messages in thread
From: Raymond @ 2005-06-06 2:09 UTC (permalink / raw)
To: alsa-devel
The au88x0 driver need patch to run on 64-bits platform.
http://savannah.nongnu.org/patch/?func=detailitem&item_id=3948
bugtrack@alsa-project.org wrote:
> The following issue has been SUBMITTED.
> ======================================================================
> <https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
> ======================================================================
> Reported By: penguinparty
> Assigned To: mjander
> ======================================================================
> Project: ALSA - driver
> Issue ID: 1138
> Category: PCI - au88x0
> Reproducibility: always
> Severity: crash
> Priority: normal
> Status: assigned
> Distribution: ubuntu 5.04
> Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
> ======================================================================
> Date Submitted: 05-28-2005 22:22 CEST
> Last Modified: 05-28-2005 22:22 CEST
> ======================================================================
> Summary: errors when installing au8820 modules
> Description:
> Please see the section additional information for a dump of my dmesg output
> regarding the au8820 module.
>
> I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
> kernels. The shipping alsa support under each of these kerenls provies me
> with the same result. I have also tried installing each of these kernels
> without alsa support only CONFIG_SOUND and then installing the
> alsa-drivers 1.0.9rc4a
>
> I get the same result every time I do the modprobe snd-au8820
>
> Using older versions of debian as well as the ubuntu live cd's I am able
> to get this sound card working.
> ======================================================================
>
> Issue History
> Date Modified Username Field Change
> ======================================================================
> 05-28-05 22:22 penguinparty New Issue
> 05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
> 05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
> and 2.6.10
> ======================================================================
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-06-06 15:49 ` Takashi Iwai
@ 2005-06-07 15:05 ` Raymond
2005-06-07 15:16 ` Alien
0 siblings, 1 reply; 28+ messages in thread
From: Raymond @ 2005-06-07 15:05 UTC (permalink / raw)
To: alsa-devel; +Cc: openvortex-dev
The patch (diff11.diff) cause segmenation fault on my 32bit machine
during /etc/init.d/alsasound start
http://savannah.nongnu.org/patch/?func=detailitem&item_id=3948
Do anyone know why readl() and writel() behave different in i386
(32bits) and AMD64 (64bits) ?
http://sourceforge.net/mailarchive/message.php?msg_id=10773530
#ifndef CONFIG_X86_64
#define hwread(x,y) readl((x)+((y)>>2))
#define hwwrite(x,y,z) writel((z),(x)+((y)>>2))
#else
#define hwread(x,y) readl((x)+(y))
#define hwwrite(x,y,z) writel((z),(x)+(y))
#endif
Takashi Iwai wrote:
> At Mon, 06 Jun 2005 10:09:26 +0800,
> Raymond wrote:
>
>>The au88x0 driver need patch to run on 64-bits platform.
>>
>>http://savannah.nongnu.org/patch/?func=detailitem&item_id=3948
>
>
> Could you feed the patch to alsa-devel ML for review?
> (The addition of Signed-off-by would be preferred, too)
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2005-06-08 2:43 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2005-06-08 2:43 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 06-08-2005 04:43 CEST
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
penguinparty - 06-08-05 04:43
----------------------------------------------------------------------
See attached typescript for information on my system
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-06-07 16:29 ` Takashi Iwai
@ 2005-06-08 9:06 ` Raymond
2005-06-08 10:22 ` Takashi Iwai
2005-06-08 10:23 ` Alien
0 siblings, 2 replies; 28+ messages in thread
From: Raymond @ 2005-06-08 9:06 UTC (permalink / raw)
To: alsa-devel; +Cc: openvortex-dev
au8830 can be loaded after I change "unsigned long __iomem *mmio" to
"void __iomem *mmio" on my 32 bits machine.
How can I obtain the disassembly of snd-au8830.o to prove that it run
faster than before ( without bitshift ) ?
alsa-kernel/pci/au88x0/au88x0.h
@@ -41,8 +41,8 @@
#define VORTEX_DMA_MASK 0xffffffff
-#define hwread(x,y) readl((x)+((y)>>2))
-#define hwwrite(x,y,z) writel((z),(x)+((y)>>2))
+#define hwread(x,y) readl((x)+(y))
+#define hwwrite(x,y,z) writel((z),(x)+(y))
@@ -172,7 +172,7 @@
/* PCI hardware resources */
unsigned long io;
- unsigned long __iomem *mmio;
+ void __iomem *mmio;
unsigned int irq;
spinlock_t lock;
I don't have any MPU401 device to test this change.
alsa-kernel/pci/au88x0/au88x0_mpu401.c
@@ -95,7 +95,7 @@
return temp;
}
#else
- port = (unsigned long)(vortex->mmio + (VORTEX_MIDI_DATA >> 2));
+ port = (unsigned long)(vortex->mmio + VORTEX_MIDI_DATA);
if ((temp =
snd_mpu401_uart_new(vortex->card, 0, MPU401_HW_AUREAL, port,
1, 0, 0, &rmidi)) != 0) {
@@ -105,7 +105,7 @@
return temp;
}
mpu = rmidi->private_data;
- mpu->cport = (unsigned long)(vortex->mmio + (VORTEX_MIDI_CMD >> 2));
+ mpu->cport = (unsigned long)(vortex->mmio + VORTEX_MIDI_CMD);
#endif
vortex->rmidi = rmidi;
return 0;
Is there any reason to make this change ?
alsa-kernel/pci/au88x0/au88x0.c
@@ -144,15 +144,18 @@
// check PCI availability (DMA).
if ((err = pci_enable_device(pci)) < 0)
return err;
- if (!pci_dma_supported(pci, VORTEX_DMA_MASK)) {
+ if (pci_set_dma_mask(pci, VORTEX_DMA_MASK) < 0 ||
+ pci_set_consistent_dma_mask(pci, VORTEX_DMA_MASK) < 0) {
printk(KERN_ERR "error to set DMA mask\n");
+ pci_disable_device(pci);
return -ENXIO;
}
- pci_set_dma_mask(pci, VORTEX_DMA_MASK);
chip = kcalloc(1, sizeof(*chip), GFP_KERNEL);
- if (chip == NULL)
+ if (chip == NULL) {
+ pci_disable_device(pci);
return -ENOMEM;
+ }
chip->card = card;
@@ -202,6 +205,8 @@
goto alloc_out;
}
+ snd_card_set_dev(card, &pci->dev);
+
*rchip = chip;
return 0;
Those changes in au88x0_eq.h and au88x0_eqdata.c seem WRONG.
- unsigned int *this00; /*CAsp4HwIO */
+ u32 ptr_this00; /*CAsp4HwIO */
2 * 10 seem related to the 10-bands stereo EQ.
- u16 this14[32]; /* SetLeftGainsTarget: Left (and right?)
+ u16 this14_array[32]; /* SetLeftGainsTarget: Left (and right?)
/* Set gains. */
- memset(eq->this14, 0, 2 * 10);
+ memset(eq->this14_array, 0, sizeof(eq->this14_array));
-static long eq_levels[32] = {
+static u16 eq_levels[64] = {
+ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
+ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
+ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
+ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
http://lists.nongnu.org/archive/html/openvortex-dev/2003-12/msg00007.html
There is no kcontrol to change vortex->xt_mode for speaker wide, speaker
narrow, speaker Diamond , headphones to test the Crosstalk canceler
long -> s32
short -> s16
alsa-kernel/pci/au88x0/au88x0_xtalk.h
@@ -39,11 +39,11 @@
#define XT_SPEAKER1 3
#define XT_DIAMOND 4
-typedef long xtalk_dline_t[XTDLINE_SZ];
-typedef short xtalk_gains_t[XTGAINS_SZ];
-typedef short xtalk_instate_t[XTINST_SZ];
-typedef short xtalk_coefs_t[5][5];
-typedef short xtalk_state_t[5][4];
+typedef u32 xtalk_dline_t[XTDLINE_SZ];
+typedef u16 xtalk_gains_t[XTGAINS_SZ];
+typedef u16 xtalk_instate_t[XTINST_SZ];
+typedef u16 xtalk_coefs_t[5][5];
+typedef u16 xtalk_state_t[5][4];
Takashi Iwai wrote:
> At Tue, 7 Jun 2005 17:16:02 +0200,
> Alien wrote:
>
>>[1 <text/plain; iso-8859-1 (quoted-printable)>]
>>Op dinsdag 7 juni 2005 17:05, schreef Raymond:
>>
>>>The patch (diff11.diff) cause segmenation fault on my 32bit machine
>>>during /etc/init.d/alsasound start
>>>
>>>http://savannah.nongnu.org/patch/?func=detailitem&item_id=3948
>>>
>>>Do anyone know why readl() and writel() behave different in i386
>>>(32bits) and AMD64 (64bits) ?
>>>
>>>http://sourceforge.net/mailarchive/message.php?msg_id=10773530
>>>
>>>
>>>#ifndef CONFIG_X86_64
>>>
>>>#define hwread(x,y) readl((x)+((y)>>2))
>>>#define hwwrite(x,y,z) writel((z),(x)+((y)>>2))
>>>
>>>#else
>>>
>>>#define hwread(x,y) readl((x)+(y))
>>>#define hwwrite(x,y,z) writel((z),(x)+(y))
>>>
>>>#endif
>>
>>that doesn't look good, unless the mmio is void* in 32bit and unsigned long*
>>in x86_64...
>>
>>'unsigned long* mmio' should be preferred and together with '#define
>>hwread(x,y) readl((x)+(y))' , this works for both platforms
>
>
> I guess using "unsigned long" for both architectures is broken, too.
> Should be "u32" to be arch-independent.
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-06-08 10:22 ` Takashi Iwai
@ 2005-06-09 8:34 ` Raymond
2005-06-10 7:35 ` Raymond
2005-07-29 14:43 ` Raymond
2 siblings, 0 replies; 28+ messages in thread
From: Raymond @ 2005-06-09 8:34 UTC (permalink / raw)
To: alsa-devel; +Cc: openvortex-dev
Takashi Iwai wrote:
> At Wed, 08 Jun 2005 17:06:39 +0800,
> Raymond wrote:
>
>
>>Is there any reason to make this change ?
>>
>>alsa-kernel/pci/au88x0/au88x0.c
>>@@ -144,15 +144,18 @@
>> // check PCI availability (DMA).
>> if ((err = pci_enable_device(pci)) < 0)
>> return err;
>>- if (!pci_dma_supported(pci, VORTEX_DMA_MASK)) {
>>+ if (pci_set_dma_mask(pci, VORTEX_DMA_MASK) < 0 ||
>>+ pci_set_consistent_dma_mask(pci, VORTEX_DMA_MASK) < 0) {
>> printk(KERN_ERR "error to set DMA mask\n");
>>+ pci_disable_device(pci);
>> return -ENXIO;
>> }
>>- pci_set_dma_mask(pci, VORTEX_DMA_MASK);
>
>
> This is clean up.
>
>
>> chip = kcalloc(1, sizeof(*chip), GFP_KERNEL);
>>- if (chip == NULL)
>>+ if (chip == NULL) {
>>+ pci_disable_device(pci);
>> return -ENOMEM;
>>+ }
>
>
> This fixes the PCI state in the error path.
>
>
>> chip->card = card;
>>
>>@@ -202,6 +205,8 @@
>> goto alloc_out;
>> }
>>
>>+ snd_card_set_dev(card, &pci->dev);
>>+
>> *rchip = chip;
>
>
> And this sets up the missing sysfs stuff.
>
>
So these changes are not neccesary(critical) for
au88x0_64_bits_compatible.patch (AMD64 and X86_64 ) , just normal ALSA
cleanup.
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-06-08 10:23 ` Alien
@ 2005-06-09 8:49 ` Raymond
0 siblings, 0 replies; 28+ messages in thread
From: Raymond @ 2005-06-09 8:49 UTC (permalink / raw)
To: alsa-devel; +Cc: openvortex-dev
It seem that no one has informed the bug reporter about the patch and he
is using Intel X86_64 instead of your AMD 64
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138
Alien wrote:
> I don't think it'll be faster, gcc -O2 will have changed it accordingly
> anyway, without optimization it might be faster, but the thing is that it
> just looks cleaner...
>
> Op woensdag 8 juni 2005 11:06, schreef Raymond:
>
>>au8830 can be loaded after I change "unsigned long __iomem *mmio" to
>>"void __iomem *mmio" on my 32 bits machine.
>>
>>How can I obtain the disassembly of snd-au8830.o to prove that it run
>>faster than before ( without bitshift ) ?
>>
>>alsa-kernel/pci/au88x0/au88x0.h
>>
>>@@ -41,8 +41,8 @@
>>
>> #define VORTEX_DMA_MASK 0xffffffff
>>
>>
>>-#define hwread(x,y) readl((x)+((y)>>2))
>>-#define hwwrite(x,y,z) writel((z),(x)+((y)>>2))
>>+#define hwread(x,y) readl((x)+(y))
>>+#define hwwrite(x,y,z) writel((z),(x)+(y))
>>
>>@@ -172,7 +172,7 @@
>>
>> /* PCI hardware resources */
>> unsigned long io;
>>- unsigned long __iomem *mmio;
>>+ void __iomem *mmio;
>> unsigned int irq;
>> spinlock_t lock;
>>
>>
>>
>>I don't have any MPU401 device to test this change.
>>
>>
>>alsa-kernel/pci/au88x0/au88x0_mpu401.c
>>@@ -95,7 +95,7 @@
>> return temp;
>> }
>> #else
>>- port = (unsigned long)(vortex->mmio + (VORTEX_MIDI_DATA >> 2));
>>+ port = (unsigned long)(vortex->mmio + VORTEX_MIDI_DATA);
>> if ((temp =
>> snd_mpu401_uart_new(vortex->card, 0, MPU401_HW_AUREAL, port,
>> 1, 0, 0, &rmidi)) != 0) {
>>@@ -105,7 +105,7 @@
>> return temp;
>> }
>> mpu = rmidi->private_data;
>>- mpu->cport = (unsigned long)(vortex->mmio + (VORTEX_MIDI_CMD >>
>>2)); + mpu->cport = (unsigned long)(vortex->mmio + VORTEX_MIDI_CMD);
>>#endif
>> vortex->rmidi = rmidi;
>> return 0;
>>
>>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-06-08 10:22 ` Takashi Iwai
2005-06-09 8:34 ` Raymond
@ 2005-06-10 7:35 ` Raymond
2005-06-10 10:33 ` Takashi Iwai
2005-07-29 14:43 ` Raymond
2 siblings, 1 reply; 28+ messages in thread
From: Raymond @ 2005-06-10 7:35 UTC (permalink / raw)
To: alsa-devel
Do the au88x0 driver need to free those kcontrols for EQ peak and
10-bands EQ gain kcontrol ?
Any method to detect memory leak ? ( THere are other kcontrol such as
HRTF,ITD,ILD,...)
/* ALSA driver entry points. Init and exit. */
static int vortex_eq_init(vortex_t * vortex)
{
snd_kcontrol_t *kcontrol;
int err, i;
vortex_Eqlzr_init(vortex);
if ((kcontrol =
snd_ctl_new1(&vortex_eqtoggle_kcontrol, vortex)) == NULL)
return -ENOMEM;
kcontrol->private_value = 0;
if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0)
return err;
/* EQ gain controls */
for (i = 0; i < 10; i++) {
if ((kcontrol =
snd_ctl_new1(&vortex_eq_kcontrol, vortex)) == NULL)
return -ENOMEM;
strcpy(kcontrol->id.name, EqBandLabels[i]);
kcontrol->private_value = i;
if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0)
return err;
//vortex->eqctrl[i] = kcontrol;
}
/* EQ band levels */
if ((kcontrol = snd_ctl_new1(&vortex_levels_kcontrol, vortex)) == NULL)
return -ENOMEM;
if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0)
return err;
return 0;
}
static int vortex_eq_free(vortex_t * vortex)
{
/*
//FIXME: segfault because vortex->eqctrl[i] == 4
int i;
for (i=0; i<10; i++) {
if (vortex->eqctrl[i])
snd_ctl_remove(vortex->card, vortex->eqctrl[i]);
}
*/
vortex_Eqlzr_shutdown(vortex);
return 0;
}
Takashi Iwai wrote:
> At Wed, 08 Jun 2005 17:06:39 +0800,
> Raymond wrote:
>
>>au8830 can be loaded after I change "unsigned long __iomem *mmio" to
>>"void __iomem *mmio" on my 32 bits machine.
>>
>>How can I obtain the disassembly of snd-au8830.o to prove that it run
>>faster than before ( without bitshift ) ?
>
>
> Faster? Not measurable at all :)
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-06-10 10:33 ` Takashi Iwai
@ 2005-06-10 11:28 ` Raymond
0 siblings, 0 replies; 28+ messages in thread
From: Raymond @ 2005-06-10 11:28 UTC (permalink / raw)
To: alsa-devel; +Cc: openvortex-dev
The amixer display 10-bands EQ stereo controls as mono controls.
The function of the equalizer is similar to bass, treble but equalizer
has 10-bands instead of 2-bands ( bass & treble )
Why do snd_mixer_selem_has_capture_channel(elem, SND_MIXER_SCHN_MONO) =
1 for those equalizer gain control ?
amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
pmono = 0, cmono = 0 (0, 0, 0, 0)
Front Left: Playback 22 [71%] [on]
Front Right: Playback 22 [71%] [on]
Simple mixer control 'EQ0 31Hz',0
Capabilities: volume
Playback channels: Front Left - Front Right
Limits: 0 - 32767
pmono = 0, cmono = 1 (1, 0, 0, 0)
Mono: 32767 [100%]
Front Left:
Front Right:
...
Simple mixer control 'EQ9 16KHz',0
Capabilities: volume
Playback channels: Front Left - Front Right
Limits: 0 - 32767
pmono = 0, cmono = 1 (1, 0, 0, 0)
Mono: 16022 [49%]
Front Left:
Front Right:
amixer contents
numid=16,iface=MIXER,name='Master Playback Volume'
; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
: values=22,22
numid=2,iface=MIXER,name='EQ0 31Hz'
; type=INTEGER,access=rw---,values=2,min=0,max=32767,step=0
: values=32767,16022
...
numid=11,iface=MIXER,name='EQ9 16KHz'
; type=INTEGER,access=rw---,values=2,min=0,max=32767,step=0
: values=16022,32767
Takashi Iwai wrote:
> At Fri, 10 Jun 2005 15:35:41 +0800,
> Raymond wrote:
>
>>
>>Do the au88x0 driver need to free those kcontrols for EQ peak and
>>10-bands EQ gain kcontrol ?
>
>
> No. The added controls are released automatically.
>
>
>>Any method to detect memory leak ? ( THere are other kcontrol such as
>>HRTF,ITD,ILD,...)
>
>
> Compild alsa-driver with debug option (--with-debug=full).
> Then bookkeeping of the kmalloc/vmalloc chunks is enabled.
> You'll be warned if any of them are not released after removing ALSA
> modules.
>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-06-08 10:22 ` Takashi Iwai
2005-06-09 8:34 ` Raymond
2005-06-10 7:35 ` Raymond
@ 2005-07-29 14:43 ` Raymond
2005-07-29 15:09 ` Takashi Iwai
2 siblings, 1 reply; 28+ messages in thread
From: Raymond @ 2005-07-29 14:43 UTC (permalink / raw)
To: alsa-devel; +Cc: openvortex-dev
Takashi Iwai wrote:
> At Wed, 08 Jun 2005 17:06:39 +0800,
> Raymond wrote:
>
>
>>Is there any reason to make this change ?
>>
>>alsa-kernel/pci/au88x0/au88x0.c
>>@@ -144,15 +144,18 @@
>> // check PCI availability (DMA).
>> if ((err = pci_enable_device(pci)) < 0)
>> return err;
>>- if (!pci_dma_supported(pci, VORTEX_DMA_MASK)) {
>>+ if (pci_set_dma_mask(pci, VORTEX_DMA_MASK) < 0 ||
>>+ pci_set_consistent_dma_mask(pci, VORTEX_DMA_MASK) < 0) {
>> printk(KERN_ERR "error to set DMA mask\n");
>>+ pci_disable_device(pci);
>> return -ENXIO;
>> }
>>- pci_set_dma_mask(pci, VORTEX_DMA_MASK);
>
>
> This is clean up.
>
>
>> chip = kcalloc(1, sizeof(*chip), GFP_KERNEL);
>>- if (chip == NULL)
>>+ if (chip == NULL) {
>>+ pci_disable_device(pci);
>> return -ENOMEM;
>>+ }
>
>
> This fixes the PCI state in the error path.
>
>
>> chip->card = card;
>>
>>@@ -202,6 +205,8 @@
>> goto alloc_out;
>> }
>>
>>+ snd_card_set_dev(card, &pci->dev);
>>+
>> *rchip = chip;
>
>
> And this sets up the missing sysfs stuff.
>
>
It seem that these two patches for Kernel 2.6 were lost when au88x0
migrate from alsa-driver to alsa-kernel.
http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-driver/pci/au88x0/au88x0.c?r1=1.6&r2=1.7
* fixed the DMA allocation.
pci_set_dma_mask() is called together with pci_set_consistent_dma_mask().
also clean up the double check of mask.
http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-driver/pci/au88x0/au88x0.c?r1=1.8&r2=1.9
* added snd_card_set_dev() macro.
* sysfsfied more pci, isapnp and usb drivers.
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-07-29 15:09 ` Takashi Iwai
@ 2005-08-05 12:46 ` Raymond
2005-08-05 14:32 ` Takashi Iwai
0 siblings, 1 reply; 28+ messages in thread
From: Raymond @ 2005-08-05 12:46 UTC (permalink / raw)
To: alsa-devel; +Cc: openvortex-dev
Takashi Iwai wrote:
> At Fri, 29 Jul 2005 22:43:18 +0800,
> Raymond wrote:
>
>>Takashi Iwai wrote:
>>
>>>At Wed, 08 Jun 2005 17:06:39 +0800,
>>>Raymond wrote:
>>>
>>>
>>>
>>>>Is there any reason to make this change ?
>>>>
>>>>alsa-kernel/pci/au88x0/au88x0.c
>>>>@@ -144,15 +144,18 @@
>>>> // check PCI availability (DMA).
>>>> if ((err = pci_enable_device(pci)) < 0)
>>>> return err;
>>>>- if (!pci_dma_supported(pci, VORTEX_DMA_MASK)) {
>>>>+ if (pci_set_dma_mask(pci, VORTEX_DMA_MASK) < 0 ||
>>>>+ pci_set_consistent_dma_mask(pci, VORTEX_DMA_MASK) < 0) {
>>>> printk(KERN_ERR "error to set DMA mask\n");
>>>>+ pci_disable_device(pci);
>>>> return -ENXIO;
>>>> }
>>>>- pci_set_dma_mask(pci, VORTEX_DMA_MASK);
>>>
>>>
>>>This is clean up.
>>>
>>>
>>>
>>>> chip = kcalloc(1, sizeof(*chip), GFP_KERNEL);
>>>>- if (chip == NULL)
>>>>+ if (chip == NULL) {
>>>>+ pci_disable_device(pci);
>>>> return -ENOMEM;
>>>>+ }
>>>
>>>
>>>This fixes the PCI state in the error path.
>>>
>>>
>>>
>>>> chip->card = card;
>>>>
>>>>@@ -202,6 +205,8 @@
>>>> goto alloc_out;
>>>> }
>>>>
>>>>+ snd_card_set_dev(card, &pci->dev);
>>>>+
>>>> *rchip = chip;
>>>
>>>
>>>And this sets up the missing sysfs stuff.
>>>
>>>
>>
>>It seem that these two patches for Kernel 2.6 were lost when au88x0
>>migrate from alsa-driver to alsa-kernel.
>
>
> You're right. It seems dropped at that time accidentally.
>
> Could you care to post a patch to fix them?
>
>
au88x0_fix_fc4.patch (file# 4739)
http://savannah.nongnu.org/patch/?func=detailitem&item_id=4107
posted in the open vortex project patch manager (item id #4107) add back
the two patches lost during au88x0 migrate from alsa-driver to alsa-kernel.
http://savannah.nongnu.org/patch/download.php?item_id=4107&item_file_id=4739
These are the two patches lost during au88x0 migrate from alsa-driver to
alsa-kernel.
http://www.mail-archive.com/alsa-cvslog@lists.sourceforge.net/msg03580.html
* fixed the DMA allocation.
pci_set_dma_mask() is called together with pci_set_consistent_dma_mask().
also clean up the double check of mask.
http://www.mail-archive.com/alsa-cvslog@lists.sourceforge.net/msg03642.html
* added snd_card_set_dev() macro.
* sysfsfied more pci, isapnp and usb drivers.
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
[not found] ` <43067D3B.5040601@netvigator.com>
@ 2005-08-21 12:41 ` Takashi Iwai
2005-08-23 15:20 ` Raymond
0 siblings, 1 reply; 28+ messages in thread
From: Takashi Iwai @ 2005-08-21 12:41 UTC (permalink / raw)
To: Raymond; +Cc: Manuel Jander, alsa-devel
At Sat, 20 Aug 2005 08:45:47 +0800,
Raymond wrote:
>
> Takashi Iwai wrote:
> > At Fri, 05 Aug 2005 20:46:07 +0800,
> > Raymond wrote:
> >
> >>Takashi Iwai wrote:
> >>
> >>>At Fri, 29 Jul 2005 22:43:18 +0800,
> >>>Raymond wrote:
> >>>
> >>>
> >>>>Takashi Iwai wrote:
> >>>>
> >>>>
> >>>>>At Wed, 08 Jun 2005 17:06:39 +0800,
> >>>>>Raymond wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Is there any reason to make this change ?
> >>>>>>
> >>>>>>alsa-kernel/pci/au88x0/au88x0.c
> >>>>>>@@ -144,15 +144,18 @@
> >>>>>> // check PCI availability (DMA).
> >>>>>> if ((err = pci_enable_device(pci)) < 0)
> >>>>>> return err;
> >>>>>>- if (!pci_dma_supported(pci, VORTEX_DMA_MASK)) {
> >>>>>>+ if (pci_set_dma_mask(pci, VORTEX_DMA_MASK) < 0 ||
> >>>>>>+ pci_set_consistent_dma_mask(pci, VORTEX_DMA_MASK) < 0) {
> >>>>>> printk(KERN_ERR "error to set DMA mask\n");
> >>>>>>+ pci_disable_device(pci);
> >>>>>> return -ENXIO;
> >>>>>> }
> >>>>>>- pci_set_dma_mask(pci, VORTEX_DMA_MASK);
> >>>>>
> >>>>>
> >>>>>This is clean up.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> chip = kcalloc(1, sizeof(*chip), GFP_KERNEL);
> >>>>>>- if (chip == NULL)
> >>>>>>+ if (chip == NULL) {
> >>>>>>+ pci_disable_device(pci);
> >>>>>> return -ENOMEM;
> >>>>>>+ }
> >>>>>
> >>>>>
> >>>>>This fixes the PCI state in the error path.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> chip->card = card;
> >>>>>>
> >>>>>>@@ -202,6 +205,8 @@
> >>>>>> goto alloc_out;
> >>>>>> }
> >>>>>>
> >>>>>>+ snd_card_set_dev(card, &pci->dev);
> >>>>>>+
> >>>>>> *rchip = chip;
> >>>>>
> >>>>>
> >>>>>And this sets up the missing sysfs stuff.
> >>>>>
> >>>>>
> >>>>
> >>>>It seem that these two patches for Kernel 2.6 were lost when au88x0
> >>>>migrate from alsa-driver to alsa-kernel.
> >>>
> >>>
> >>>You're right. It seems dropped at that time accidentally.
> >>>
> >>>Could you care to post a patch to fix them?
> >>>
> >>>
> >>
> >>
> >>au88x0_fix_fc4.patch (file# 4739)
> >>
> >>http://savannah.nongnu.org/patch/?func=detailitem&item_id=4107
> >>
> >>posted in the open vortex project patch manager (item id #4107) add back
> >>the two patches lost during au88x0 migrate from alsa-driver to alsa-kernel.
> >>
> >>http://savannah.nongnu.org/patch/download.php?item_id=4107&item_file_id=4739
> >>
> >>
> >>
> >>These are the two patches lost during au88x0 migrate from alsa-driver to
> >>alsa-kernel.
> >>
> >>http://www.mail-archive.com/alsa-cvslog@lists.sourceforge.net/msg03580.html
> >>
> >>* fixed the DMA allocation.
> >> pci_set_dma_mask() is called together with pci_set_consistent_dma_mask().
> >> also clean up the double check of mask.
> >>
> >>http://www.mail-archive.com/alsa-cvslog@lists.sourceforge.net/msg03642.html
> >>
> >>* added snd_card_set_dev() macro.
> >>* sysfsfied more pci, isapnp and usb drivers.
> >
> >
> > Fine, then could you make patches applicable to alsa-kernel tree and
> > post them to the list?
> > Also, please give signed-off-by for each patch.
> >
> >
> > thanks,
> >
> > Takashi
> >
>
> I am still using Kernel 2.4 which is not affected by the missing of
> these two patches.
>
> Is the missing of "snd_card_set_dev(card, &pci->dev);" affected only
> some distrubtion of Kernel 2.6 (32-bits platform) ?
>
> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=299
Sure, it's only for 2.6, and it can't be critical.
It just adds the sysfs entry for udev/hal. It must work fine without
it.
> The reporter of bug 216 using Kernel 2.4 and the reporter of bug 299
> using Kernel 2.6
Then this will fix that bug very unlikely.
Takashi
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-08-21 12:41 ` Takashi Iwai
@ 2005-08-23 15:20 ` Raymond
2005-08-23 17:18 ` Takashi Iwai
0 siblings, 1 reply; 28+ messages in thread
From: Raymond @ 2005-08-23 15:20 UTC (permalink / raw)
To: alsa-devel; +Cc: Manuel Jander
Takashi Iwai wrote:
> At Sat, 20 Aug 2005 08:45:47 +0800,
> Raymond wrote:
>
>>
>>I am still using Kernel 2.4 which is not affected by the missing of
>>these two patches.
>>
>>Is the missing of "snd_card_set_dev(card, &pci->dev);" affected only
>>some distrubtion of Kernel 2.6 (32-bits platform) ?
>>
>>https://bugtrack.alsa-project.org/alsa-bug/view.php?id=299
>
>
> Sure, it's only for 2.6, and it can't be critical.
> It just adds the sysfs entry for udev/hal. It must work fine without
> it.
>
>
>>The reporter of bug 216 using Kernel 2.4 and the reporter of bug 299
>>using Kernel 2.6
>
>
> Then this will fix that bug very unlikely.
>
>
> Takashi
>
For au88x0 on AMD64
One of the au8810 user still experience hangs when using GAIM.
Igor V. Kovalenko reported his patch is OK for his au8820
http://savannah.nongnu.org/patch/?func=detailitem&item_id=3948#comment43
There are no feed back from the reporters of ALSA BTS and another au8830
user in the alsa.user mailing list.
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1047 au8810
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138 au8820
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1025 au8830
Would you related this three bugs report ?
They can try Igor V. Kovalenko's patch at the openvortex project.
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2005-08-24 8:55 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2005-08-24 8:55 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 08-24-2005 10:55 CEST
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
penguinparty - 06-08-05 04:43
----------------------------------------------------------------------
See attached typescript for information on my system
----------------------------------------------------------------------
Raymond - 08-24-05 10:55
----------------------------------------------------------------------
void __iomem *mmio;
should be used instead of
unsigned long __iomem *mmio;
in snd_vortex_t for architecture independent (32-bits and 64-bits)
Would you please try the patch diff11.diff (against alsa-driver-1.0.9b)
at
http://savannah.nongnu.org/patch/?func=detailitem&item_id=3948
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
08-24-05 10:55 Raymond Note Added: 0005925
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2005-08-24 8:58 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2005-08-24 8:58 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 08-24-2005 10:58 CEST
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
Raymond - 08-24-05 10:55
----------------------------------------------------------------------
void __iomem *mmio;
should be used instead of
unsigned long __iomem *mmio;
in snd_vortex_t for architecture independent (32-bits and 64-bits)
Would you please try the patch diff11.diff (against alsa-driver-1.0.9b)
at
http://savannah.nongnu.org/patch/?func=detailitem&item_id=3948
----------------------------------------------------------------------
Raymond - 08-24-05 10:58
----------------------------------------------------------------------
void __iomem *mmio;
should be used instead of
unsigned long __iomem *mmio;
in snd_vortex_t for architecture independent (32-bits and 64-bits)
Would you please try the patch diff11.diff (against alsa-driver-1.0.9b)
at
http://savannah.nongnu.org/patch/?func=detailitem&item_id=3948
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
08-24-05 10:55 Raymond Note Added: 0005925
08-24-05 10:58 Raymond Note Added: 0005926
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-08-23 21:40 ` Alien
@ 2005-08-25 17:12 ` Raymond
2005-08-25 17:43 ` Alien
2005-08-25 18:58 ` Manuel Jander
0 siblings, 2 replies; 28+ messages in thread
From: Raymond @ 2005-08-25 17:12 UTC (permalink / raw)
To: Alien; +Cc: Manuel Jander, alsa-devel
Alien wrote:
>
> anyway, i really need to do the latest tests, i have way too many adb failures
> lately.
What do you means when you say "adb failures" ? ( any message in system
log )
>
> it mostly happens, when watching a movie and gaim starts a little sound.
>
> i've determined that it's not likely to be the max available sounds, but more
> likely to be the weird scheduling of sounds at the same time
>
> i urge you people to chat more using some program that starts little sounds
> so, you have lots of short start and stops at the same time, maybe use gaim
> for ICQ and IRCing, that always gives me plenty of sounds...
>
> PS: i forgot the latest patch i had to try out.
Don't forget the latest patch "Fixed missing spin_unlock" on CVS .
>
> I'll do one patch to try out, and hope it doesn't require me to reboot this
> machine...
>
> i'm using alsa CVS from some weeks ago, i think
Although I can play multiple mono sound streams on device 2 on my au8830.
I don't know why the connection routine of device 2 is disabled only on
au8810 driver.
If you have any application using device 2 to playback (e.g. 3D demo in
vortexcontrol), wierd things may happen on au8810 since some of the
route and mixer of device 2 playback stream has not been assigned.
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-08-25 17:12 ` Raymond
@ 2005-08-25 17:43 ` Alien
2005-08-26 9:01 ` Raymond
2005-08-25 18:58 ` Manuel Jander
1 sibling, 1 reply; 28+ messages in thread
From: Alien @ 2005-08-25 17:43 UTC (permalink / raw)
To: Raymond; +Cc: Manuel Jander, alsa-devel
[-- Attachment #1: Type: text/plain, Size: 2187 bytes --]
Op donderdag 25 augustus 2005 19:12, schreef Raymond:
> Alien wrote:
> > anyway, i really need to do the latest tests, i have way too many adb
> > failures lately.
>
> What do you means when you say "adb failures" ? ( any message in system
> log )
found one:
Aug 22 21:55:45 queen kernel: Vortex: vortex_fifo_setadbctrl fail
after that, i have to restart alsa
but this is only partly the problem, it's only lately that i see that error
when there are problems, before i never saw anything in logs and it still had
the same problem
there is one thing though, i haven't gotten the error where snd-au8810 has 210
dependencies anymore.
if i now have an error with sound, i only have to kill all appl using alsa,
and restart alsa (when that dep error was there, i had to reboot to have
sound + ps aux crashed the console and lotsa other things, applications using
alsa had weird statusses etc...)
> > it mostly happens, when watching a movie and gaim starts a little sound.
> >
> > i've determined that it's not likely to be the max available sounds, but
> > more likely to be the weird scheduling of sounds at the same time
> >
> > i urge you people to chat more using some program that starts little
> > sounds so, you have lots of short start and stops at the same time, maybe
> > use gaim for ICQ and IRCing, that always gives me plenty of sounds...
> >
> > PS: i forgot the latest patch i had to try out.
>
> Don't forget the latest patch "Fixed missing spin_unlock" on CVS .
i'll definately try that one sometime later tonight, it seems it might fit the
problem
> > I'll do one patch to try out, and hope it doesn't require me to reboot
> > this machine...
> >
> > i'm using alsa CVS from some weeks ago, i think
>
> Although I can play multiple mono sound streams on device 2 on my au8830.
>
> I don't know why the connection routine of device 2 is disabled only on
> au8810 driver.
>
> If you have any application using device 2 to playback (e.g. 3D demo in
> vortexcontrol), wierd things may happen on au8810 since some of the
> route and mixer of device 2 playback stream has not been assigned.
that's odd ...
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-08-25 17:12 ` Raymond
2005-08-25 17:43 ` Alien
@ 2005-08-25 18:58 ` Manuel Jander
1 sibling, 0 replies; 28+ messages in thread
From: Manuel Jander @ 2005-08-25 18:58 UTC (permalink / raw)
To: alsa-devel
Hi,
On Fri, 2005-08-26 at 01:12 +0800, Raymond wrote:
> Alien wrote:
> >
> > PS: i forgot the latest patch i had to try out.
>
> Don't forget the latest patch "Fixed missing spin_unlock" on CVS .
>
> >
> > I'll do one patch to try out, and hope it doesn't require me to reboot this
> > machine...
> >
> > i'm using alsa CVS from some weeks ago, i think
>
> Although I can play multiple mono sound streams on device 2 on my au8830.
>
> I don't know why the connection routine of device 2 is disabled only on
> au8810 driver.
>
> If you have any application using device 2 to playback (e.g. 3D demo in
> vortexcontrol), wierd things may happen on au8810 since some of the
> route and mixer of device 2 playback stream has not been assigned.
The WT and A3D subsystems for AU8810 are disabled, because:
- The AU8810 does not has any WT engine.
- The AU8810 A3D slices/sources register addresses have not been
confirmed and seem to be wrong. It looks like the AU8810 has 8 3D
sources instead of the 16 that the AU8830 has, but further work is
required, starting with the disassemble of a AU8810 WDM driver, in order
to find out/conform the 3D slices/sources register addresses.
Best Regards
Manuel
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [ALSA - driver 0001138]: errors when installing au8820 modules
2005-08-25 17:43 ` Alien
@ 2005-08-26 9:01 ` Raymond
0 siblings, 0 replies; 28+ messages in thread
From: Raymond @ 2005-08-26 9:01 UTC (permalink / raw)
To: Alien; +Cc: alsa-devel, Manuel Jander
Alien wrote:
> Op donderdag 25 augustus 2005 19:12, schreef Raymond:
>
>>Alien wrote:
>>
>>>anyway, i really need to do the latest tests, i have way too many adb
>>>failures lately.
>>
>>What do you means when you say "adb failures" ? ( any message in system
>>log )
>
>
> found one:
> Aug 22 21:55:45 queen kernel: Vortex: vortex_fifo_setadbctrl fail
>
> after that, i have to restart alsa
>
> but this is only partly the problem, it's only lately that i see that error
> when there are problems, before i never saw anything in logs and it still had
> the same problem
>
> there is one thing though, i haven't gotten the error where snd-au8810 has 210
> dependencies anymore.
>
> if i now have an error with sound, i only have to kill all appl using alsa,
> and restart alsa (when that dep error was there, i had to reboot to have
> sound + ps aux crashed the console and lotsa other things, applications using
> alsa had weird statusses etc...)
>
>
We cannot change NR_ADB of au8810 from 16 to 32 or change NR_ADB of
au8830 from 32 to 16.
http://savannah.nongnu.org/support/?func=detailitem&item_id=102951
This means hw:0,0 of au8810, au8820, au8830 behave differently even they
have 16 SRC
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2005-09-01 2:25 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2005-09-01 2:25 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 09-01-2005 04:25 CEST
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
Raymond - 08-24-05 10:55
----------------------------------------------------------------------
void __iomem *mmio;
should be used instead of
unsigned long __iomem *mmio;
in snd_vortex_t for architecture independent (32-bits and 64-bits)
Would you please try the patch diff11.diff (against alsa-driver-1.0.9b)
at
http://savannah.nongnu.org/patch/?func=detailitem&item_id=3948
----------------------------------------------------------------------
penguinparty - 09-01-05 04:25
----------------------------------------------------------------------
Compile fails . . . see makefile-typescript
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
08-24-05 10:55 Raymond Note Added: 0005925
08-24-05 10:58 Raymond Note Added: 0005926
08-24-05 10:59 Raymond Note Deleted: 0005926
09-01-05 04:24 penguinparty File Added: make-typescript
09-01-05 04:25 penguinparty Note Added: 0005993
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2005-09-01 3:58 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2005-09-01 3:58 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 09-01-2005 05:58 CEST
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
penguinparty - 09-01-05 04:25
----------------------------------------------------------------------
Compile fails . . . see makefile-typescript
----------------------------------------------------------------------
Raymond - 09-01-05 05:58
----------------------------------------------------------------------
There is a thread related to the AMD64 problems for au88x0 in openvortex
developer mailing list mailto:openvortex-dev@nongnu.org
http://lists.nongnu.org/archive/html/openvortex-dev/2005-06/msg00002.html
The error in you make-typescript is related to au8810
You should use ./configure --with-cards=au8820
You can ask Maarten Vanraes for his au8810 patch in
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0001047
or
Igor V. Kovalenko au8820 patch in #3948 overview: patch to fix oopses on
amd64
http://savannah.nongnu.org/patch/?group=openvortex
Do you have left/right channels problem on your au8820 ?
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0000059
lspci -vvn
cat /proc/asound/au8820/codec97#0/ac97#0-0+regs
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
08-24-05 10:55 Raymond Note Added: 0005925
08-24-05 10:58 Raymond Note Added: 0005926
08-24-05 10:59 Raymond Note Deleted: 0005926
09-01-05 04:24 penguinparty File Added: make-typescript
09-01-05 04:25 penguinparty Note Added: 0005993
09-01-05 05:58 Raymond Note Added: 0005994
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2005-09-02 0:49 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2005-09-02 0:49 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 09-02-2005 02:49 CEST
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
Raymond - 09-01-05 05:58
----------------------------------------------------------------------
There is a thread related to the AMD64 problems for au88x0 in openvortex
developer mailing list mailto:openvortex-dev@nongnu.org
http://lists.nongnu.org/archive/html/openvortex-dev/2005-06/msg00002.html
The error in you make-typescript is related to au8810
You should use ./configure --with-cards=au8820
You can ask Maarten Vanraes for his au8810 patch in
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0001047
or
Igor V. Kovalenko au8820 patch in #3948 overview: patch to fix oopses on
amd64
http://savannah.nongnu.org/patch/?group=openvortex
Do you have left/right channels problem on your au8820 ?
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=0000059
lspci -vvn
cat /proc/asound/au8820/codec97#0/ac97#0-0+regs
----------------------------------------------------------------------
penguinparty - 09-02-05 02:49
----------------------------------------------------------------------
the patch diff11.diff did the trick.
I can finally hear again!!! :)
Thanks
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
08-24-05 10:55 Raymond Note Added: 0005925
08-24-05 10:58 Raymond Note Added: 0005926
08-24-05 10:59 Raymond Note Deleted: 0005926
09-01-05 04:24 penguinparty File Added: make-typescript
09-01-05 04:25 penguinparty Note Added: 0005993
09-01-05 05:58 Raymond Note Added: 0005994
09-02-05 02:49 penguinparty Note Added: 0006002
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2005-09-02 3:49 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2005-09-02 3:49 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 09-02-2005 05:49 CEST
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
penguinparty - 09-02-05 02:49
----------------------------------------------------------------------
the patch diff11.diff did the trick.
I can finally hear again!!! :)
Thanks
----------------------------------------------------------------------
Raymond - 09-02-05 05:49
----------------------------------------------------------------------
Please post the result
lspci -vvn (for your au8820)
cat /proc/asound/au8820/codec97#0/ac97#0-0+regs
This may help us to find out the left/right channels swap problem for
other au8820 user
Need more feedback from testers with au8810/au8830 on AMD64 and
au8810/au8820/au8830 on 32 bits machines to test this patch.
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
08-24-05 10:55 Raymond Note Added: 0005925
08-24-05 10:58 Raymond Note Added: 0005926
08-24-05 10:59 Raymond Note Deleted: 0005926
09-01-05 04:24 penguinparty File Added: make-typescript
09-01-05 04:25 penguinparty Note Added: 0005993
09-01-05 05:58 Raymond Note Added: 0005994
09-02-05 02:49 penguinparty Note Added: 0006002
09-02-05 05:49 Raymond Note Added: 0006003
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2005-11-16 5:29 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2005-11-16 5:29 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://85.132.177.35/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 11-16-2005 06:29 CET
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
Raymond - 09-02-05 05:49
----------------------------------------------------------------------
Please post the result
lspci -vvn (for your au8820)
cat /proc/asound/au8820/codec97#0/ac97#0-0+regs
This may help us to find out the left/right channels swap problem for
other au8820 user
Need more feedback from testers with au8810/au8830 on AMD64 and
au8810/au8820/au8830 on 32 bits machines to test this patch.
----------------------------------------------------------------------
Raymond - 11-16-05 06:29
----------------------------------------------------------------------
au8820.h
#define VORTEX_MIDI_DATA 0x11000
#define VORTEX_MIDI_CMD 0x11004 /* Write command / Read status */
au8810.h/au8830.h
#define VORTEX_MIDI_DATA 0x28800
#define VORTEX_MIDI_CMD 0x28804 /* Write command / Read status */
port = VORTEX_MIDI_DATA
cport = VORTEX_MIDI_CMD
Need to fix mpu401_uart.c too !!!
mpu401_uart.c
int snd_mpu401_uart_new(snd_card_t * card, int device,
unsigned short hardware,
unsigned long port, int integrated,
int irq, int irq_flags,
snd_rawmidi_t ** rrawmidi)
{
...
switch (hardware) {
case MPU401_HW_AUREAL:
mpu->write = mpu401_write_mmio;
mpu->read = mpu401_read_mmio;
break;
default:
mpu->write = mpu401_write_port;
mpu->read = mpu401_read_port;
break;
}
mpu->port = port;
if (hardware == MPU401_HW_PC98II)
mpu->cport = port + 2;
else
mpu->cport = port + 1;
...
}
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
08-24-05 10:55 Raymond Note Added: 0005925
08-24-05 10:58 Raymond Note Added: 0005926
08-24-05 10:59 Raymond Note Deleted: 0005926
09-01-05 04:24 penguinparty File Added: make-typescript
09-01-05 04:25 penguinparty Note Added: 0005993
09-01-05 05:58 Raymond Note Added: 0005994
09-02-05 02:49 penguinparty Note Added: 0006002
09-02-05 05:49 Raymond Note Added: 0006003
11-16-05 06:29 Raymond Note Added: 0006736
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2005-11-23 12:50 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2005-11-23 12:50 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 11-23-2005 13:50 CET
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
Raymond - 11-16-05 06:29
----------------------------------------------------------------------
au8820.h
#define VORTEX_MIDI_DATA 0x11000
#define VORTEX_MIDI_CMD 0x11004 /* Write command / Read status */
au8810.h/au8830.h
#define VORTEX_MIDI_DATA 0x28800
#define VORTEX_MIDI_CMD 0x28804 /* Write command / Read status */
port = VORTEX_MIDI_DATA
cport = VORTEX_MIDI_CMD
Need to fix mpu401_uart.c too !!!
mpu401_uart.c
int snd_mpu401_uart_new(snd_card_t * card, int device,
unsigned short hardware,
unsigned long port, int integrated,
int irq, int irq_flags,
snd_rawmidi_t ** rrawmidi)
{
...
switch (hardware) {
case MPU401_HW_AUREAL:
mpu->write = mpu401_write_mmio;
mpu->read = mpu401_read_mmio;
break;
default:
mpu->write = mpu401_write_port;
mpu->read = mpu401_read_port;
break;
}
mpu->port = port;
if (hardware == MPU401_HW_PC98II)
mpu->cport = port + 2;
else
mpu->cport = port + 1;
...
}
----------------------------------------------------------------------
Raymond - 11-23-05 13:50
----------------------------------------------------------------------
Why do the driver use chip->io instead of chip->mmio in card->longname?
au88x0.c
chip->io = pci_resource_start(pci, 0);
sprintf(card->longname, "%s at 0x%lx irq %i",
card->shortname, chip->io, chip->irq);
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
08-24-05 10:55 Raymond Note Added: 0005925
08-24-05 10:58 Raymond Note Added: 0005926
08-24-05 10:59 Raymond Note Deleted: 0005926
09-01-05 04:24 penguinparty File Added: make-typescript
09-01-05 04:25 penguinparty Note Added: 0005993
09-01-05 05:58 Raymond Note Added: 0005994
09-02-05 02:49 penguinparty Note Added: 0006002
09-02-05 05:49 Raymond Note Added: 0006003
11-16-05 06:29 Raymond Note Added: 0006736
11-23-05 13:50 Raymond Note Added: 0006810
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2006-01-05 9:01 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2006-01-05 9:01 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 01-05-2006 10:01 CET
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
Raymond - 09-02-05 05:49
----------------------------------------------------------------------
Please post the result
lspci -vvn (for your au8820)
cat /proc/asound/au8820/codec97#0/ac97#0-0+regs
This may help us to find out the left/right channels swap problem for
other au8820 user
Need more feedback from testers with au8810/au8830 on AMD64 and
au8810/au8820/au8830 on 32 bits machines to test this patch.
----------------------------------------------------------------------
Raymond - 01-05-06 10:01
----------------------------------------------------------------------
Do your hear any sound when playing mono pcm wav through hw:0,3(WT) of your
au8820 after applying this patch ?
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1593
> - (dma->dma_ctrl & FMT_MASK) | ((fmt << FMT_SHIFT) & FMT_MASK);
> + (dma->dma_ctrl & ~FMT_MASK) | ((fmt << FMT_SHIFT) & FMT_MASK);
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
08-24-05 10:55 Raymond Note Added: 0005925
08-24-05 10:58 Raymond Note Added: 0005926
08-24-05 10:59 Raymond Note Deleted: 0005926
09-01-05 04:24 penguinparty File Added: make-typescript
09-01-05 04:25 penguinparty Note Added: 0005993
09-01-05 05:58 Raymond Note Added: 0005994
09-02-05 02:49 penguinparty Note Added: 0006002
09-02-05 05:49 Raymond Note Added: 0006003
11-16-05 06:29 Raymond Note Added: 0006736
11-23-05 13:50 Raymond Note Added: 0006810
01-02-06 10:07 Raymond Note Deleted: 0006810
01-05-06 09:51 Raymond Note Deleted: 0006736
01-05-06 10:01 Raymond Note Added: 0007465
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2006-03-01 7:14 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2006-03-01 7:14 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 03-01-2006 08:14 CET
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
Raymond - 01-05-06 10:01
----------------------------------------------------------------------
Do your hear any sound when playing mono pcm wav through hw:0,3(WT) of your
au8820 after applying this patch ?
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1593
> - (dma->dma_ctrl & FMT_MASK) | ((fmt << FMT_SHIFT) & FMT_MASK);
> + (dma->dma_ctrl & ~FMT_MASK) | ((fmt << FMT_SHIFT) & FMT_MASK);
----------------------------------------------------------------------
Raymond - 03-01-06 08:14
----------------------------------------------------------------------
Would any of you try the au88x0_surround40.patch (alsa-driver-1.0.11rc3) to
see if there is any side effect on au8820 ?
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1726
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
08-24-05 10:55 Raymond Note Added: 0005925
08-24-05 10:58 Raymond Note Added: 0005926
08-24-05 10:59 Raymond Note Deleted: 0005926
09-01-05 04:24 penguinparty File Added: make-typescript
09-01-05 04:25 penguinparty Note Added: 0005993
09-01-05 05:58 Raymond Note Added: 0005994
09-02-05 02:49 penguinparty Note Added: 0006002
09-02-05 05:49 Raymond Note Added: 0006003
11-16-05 06:29 Raymond Note Added: 0006736
11-23-05 13:50 Raymond Note Added: 0006810
01-02-06 10:07 Raymond Note Deleted: 0006810
01-05-06 09:51 Raymond Note Deleted: 0006736
01-05-06 10:01 Raymond Note Added: 0007465
03-01-06 08:14 Raymond Note Added: 0008276
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 28+ messages in thread
* [ALSA - driver 0001138]: errors when installing au8820 modules
@ 2006-04-11 2:41 bugtrack
0 siblings, 0 replies; 28+ messages in thread
From: bugtrack @ 2006-04-11 2:41 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1138>
======================================================================
Reported By: penguinparty
Assigned To: mjander
======================================================================
Project: ALSA - driver
Issue ID: 1138
Category: PCI - au88x0
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Distribution: ubuntu 5.04
Kernel Version: 2.6.11.11 2.6.11.8 and 2.6.10
======================================================================
Date Submitted: 05-28-2005 22:22 CEST
Last Modified: 04-11-2006 04:41 CEST
======================================================================
Summary: errors when installing au8820 modules
Description:
Please see the section additional information for a dump of my dmesg output
regarding the au8820 module.
I have tried installing this module using 2.6.11.11 2.6.11.8 and 2.6.10
kernels. The shipping alsa support under each of these kerenls provies me
with the same result. I have also tried installing each of these kernels
without alsa support only CONFIG_SOUND and then installing the
alsa-drivers 1.0.9rc4a
I get the same result every time I do the modprobe snd-au8820
Using older versions of debian as well as the ubuntu live cd's I am able
to get this sound card working.
======================================================================
----------------------------------------------------------------------
Raymond - 03-01-06 08:14
----------------------------------------------------------------------
Would any of you try the au88x0_surround40.patch (alsa-driver-1.0.11rc3) to
see if there is any side effect on au8820 ?
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1726
----------------------------------------------------------------------
Raymond - 04-11-06 04:41
----------------------------------------------------------------------
Do you get oops when using aplaymidi on your 64-bits machines with
alsa-1.0.11rc4 ?
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1833
Do that bug only occur on EM64T ?
Issue History
Date Modified Username Field Change
======================================================================
05-28-05 22:22 penguinparty New Issue
05-28-05 22:22 penguinparty Distribution => ubuntu 5.04
05-28-05 22:22 penguinparty Kernel Version => 2.6.11.11 2.6.11.8
and 2.6.10
05-28-05 22:22 penguinparty Issue Monitored: penguinparty
06-08-05 04:41 penguinparty File Added: typescript
06-08-05 04:43 penguinparty Note Added: 0004914
08-24-05 10:55 Raymond Note Added: 0005925
08-24-05 10:58 Raymond Note Added: 0005926
08-24-05 10:59 Raymond Note Deleted: 0005926
09-01-05 04:24 penguinparty File Added: make-typescript
09-01-05 04:25 penguinparty Note Added: 0005993
09-01-05 05:58 Raymond Note Added: 0005994
09-02-05 02:49 penguinparty Note Added: 0006002
09-02-05 05:49 Raymond Note Added: 0006003
11-16-05 06:29 Raymond Note Added: 0006736
11-23-05 13:50 Raymond Note Added: 0006810
01-02-06 10:07 Raymond Note Deleted: 0006810
01-05-06 09:51 Raymond Note Deleted: 0006736
01-05-06 10:01 Raymond Note Added: 0007465
03-01-06 08:14 Raymond Note Added: 0008276
04-11-06 04:41 Raymond Note Added: 0009225
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
^ permalink raw reply [flat|nested] 28+ messages in thread
end of thread, other threads:[~2006-04-11 2:41 UTC | newest]
Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-01 2:25 [ALSA - driver 0001138]: errors when installing au8820 modules bugtrack
-- strict thread matches above, loose matches on Subject: below --
2006-04-11 2:41 bugtrack
2006-03-01 7:14 bugtrack
2006-01-05 9:01 bugtrack
2005-11-23 12:50 bugtrack
2005-11-16 5:29 bugtrack
2005-09-02 3:49 bugtrack
2005-09-02 0:49 bugtrack
2005-09-01 3:58 bugtrack
2005-08-24 8:58 bugtrack
2005-08-24 8:55 bugtrack
2005-06-08 2:43 bugtrack
2005-05-28 20:22 bugtrack
2005-06-06 2:09 ` Raymond
2005-06-06 15:49 ` Takashi Iwai
2005-06-07 15:05 ` Raymond
2005-06-07 15:16 ` Alien
2005-06-07 16:29 ` Takashi Iwai
2005-06-08 9:06 ` Raymond
2005-06-08 10:22 ` Takashi Iwai
2005-06-09 8:34 ` Raymond
2005-06-10 7:35 ` Raymond
2005-06-10 10:33 ` Takashi Iwai
2005-06-10 11:28 ` Raymond
2005-07-29 14:43 ` Raymond
2005-07-29 15:09 ` Takashi Iwai
2005-08-05 12:46 ` Raymond
2005-08-05 14:32 ` Takashi Iwai
[not found] ` <43067D3B.5040601@netvigator.com>
2005-08-21 12:41 ` Takashi Iwai
2005-08-23 15:20 ` Raymond
2005-08-23 17:18 ` Takashi Iwai
2005-08-23 21:40 ` Alien
2005-08-25 17:12 ` Raymond
2005-08-25 17:43 ` Alien
2005-08-26 9:01 ` Raymond
2005-08-25 18:58 ` Manuel Jander
2005-06-08 10:23 ` Alien
2005-06-09 8:49 ` Raymond
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox