[ALSA - driver 0001138]: errors when installing au8820 modules

bugtrack
2005-11-23T12:50:03Z

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: