: snd-mpu401 don't load
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2219>
======================================================================
Reported By: El Santo
Assigned To:
======================================================================
Project: ALSA - driver Issue ID: 2219 Category: GENERIC - mpu401 Reproducibility: always Severity: major Priority: normal Status: new Distribution: Debian etch (2006-06-18) Kernel Version: 2.6.15-1-686 ====================================================================== Date Submitted: 06-18-2006 17:41 CEST Last Modified: 06-21-2006 00:36 CEST
======================================================================
Summary: snd-mpu401 don't load
Description:
I have a Aopen MX63LE board with onboard sound managed by snd-via82xx driver. It loads all necesary modules, includind snd-mpu401-uart, but no snd-mpu401
The audio part of the driver works perfectly, but the midi port doesn't work.
In BIOS i can set (and see) the mpu401 port (0x300 or 0x330) but there is not a MPU401 IRQ setting in bios. When i tried to manually load snd-mpu401 (setting the port accordingly to BIOS) it doesnt work. I don't know the mpu401 irq setting but i tryed them all. None of them worked. The driver says "device not found".
Under windows xp the port works perfectly, so the hardware is ok. Anyway under windows xp, i use a "system inspector" to monitor ioports and irq usage, and i didnt see any irq assigned for mpu401 port, and the port (0x330) wasn't occupied neither.
any idea?
======================================================================
----------------------------------------------------------------------
rlrevell - 06-21-06 00:18
----------------------------------------------------------------------
It must be a kernel bug if the port does not appear in /proc/ioports.
Please attach dmesg output (do not paste it inline)
----------------------------------------------------------------------
El Santo - 06-21-06 00:36
----------------------------------------------------------------------
i attached the dmesg output... i thing that the entries in ioports are addresses managed by kernel modules... if the module is not loaded i think that the port will not be in ioports.
Issue History
Date Modified Username Field Change
======================================================================
06-18-06 17:41 El Santo New Issue
06-18-06 17:41 El Santo Distribution => Debian etch
(2006-06-18)
06-18-06 17:41 El Santo Kernel Version => 2.6.15-1-686 06-19-06 03:45 Raymond Note Added: 0010305 06-20-06 19:49 tiwai Note Added: 0010349 06-20-06 23:30 El Santo Note Added: 0010357 06-20-06 23:39 rlrevell Note Added: 0010359 06-20-06 23:54 El Santo Note Added: 0010362 06-21-06 00:00 rlrevell Note Added: 0010363 06-21-06 00:04 rlrevell Note Added: 0010364 06-21-06 00:12 El Santo Note Added: 0010365 06-21-06 00:18 rlrevell Note Added: 0010366 06-21-06 00:33 El Santo File Added: dmesg.log 06-21-06 00:36 El Santo Note Added: 0010367
======================================================================
Quoted 4 lines · [email protected] wrote:
----------------------------------------------------------------------
rlrevell - 06-21-06 00:18
----------------------------------------------------------------------
It must be a kernel bug if the port does not appear in/proc/ioports.
Lee, please note that legacy (ISA/LPC, even PnP/ACPI controlled) hw does not ever appear in /proc/ioports without the driver loaded and having done a request_region().
By the way, the missing IRQ is not necesarily a problem. An MPU401 can output MIDI fine without using an IRQ and if his BIOS does not let him assign an IRQ (and Windows does not use one) I guess no IRQ is available for it.
Rene.
Quoted 7 lines · Rene Herman
Quoted 4 lines · [email protected] wrote:
----------------------------------------------------------------------
rlrevell - 06-21-06 00:18
----------------------------------------------------------------------
It must be a kernel bug if the port does not appear in/proc/ioports.
Quoted 8 lines
Lee, please note that legacy (ISA/LPC, even PnP/ACPI controlled) hw does not ever appear in
/proc/ioportswithout the driver loaded and having done arequest_region().By the way, the missing IRQ is not necesarily a problem. An MPU401 can output MIDI fine without using an IRQ and if his BIOS does not let him assign an IRQ (and Windows does not use one) I guess no IRQ is available for it.
So where's the bug?
Lee
Quoted 9 lines · Lee Revell
Quoted 9 lines
Quoted 4 lines
----------------------------------------------------------------------
rlrevell - 06-21-06 00:18
----------------------------------------------------------------------
It must be a kernel bug if the port does not appear in/proc/ioports.Lee, please note that legacy (ISA/LPC, even PnP/ACPI controlled) hw does not ever appear in
/proc/ioportswithout the driver loaded and having done arequest_region().
Quoted 6 lines
Quoted 4 lines
By the way, the missing IRQ is not necesarily a problem. An MPU401 can output MIDI fine without using an IRQ and if his BIOS does not let him assign an IRQ (and Windows does not use one) I guess no IRQ is available for it.
So where's the bug?
Dunno -- but the snd-mpu401 thing is irrelevant; he said snd-mpu401-uart _was_ being loaded, and it should then just take care of the port. As to why it's not doing so...
Maybe it's under an unknown PnP ID and not being enabled or something like that. Dunno again.
Rene.
Quoted 16 lines · Rene Herman
Quoted 14 lines · Lee Revell
Quoted 13 lines
Quoted 4 lines
----------------------------------------------------------------------
rlrevell - 06-21-06 00:18
----------------------------------------------------------------------
It must be a kernel bug if the port does not appear in/proc/ioports.Lee, please note that legacy (ISA/LPC, even PnP/ACPI controlled) hw does not ever appear in
/proc/ioportswithout the driver loaded and having done arequest_region().By the way, the missing IRQ is not necesarily a problem. An MPU401 can output MIDI fine without using an IRQ and if his BIOS does not let him assign an IRQ (and Windows does not use one) I guess no IRQ is available for it.
Quoted 8 lines
Quoted 1 line
So where's the bug?
Dunno -- but the snd-mpu401 thing is irrelevant; he said snd-mpu401-uart _was_ being loaded, and it should then just take care of the port. As to why it's not doing so...
Maybe it's under an unknown PnP ID and not being enabled or something like that. Dunno again.
OK, I don't know anything about ancient, pre-PCI hardware, so I guess I can't help.
Lee
Quoted 3 lines · Rene Herman
Dunno -- but the snd-mpu401 thing is irrelevant; he said snd-mpu401-uart _was_ being loaded, and it should then just take care of the port. As to why it's not doing so...
Looking at the driver, please make him provide "mpu_port=0x330" as a parameter to snd-via82xx and check if it then works (if it does, there is a "VIA82xx MPU401" at 0x330 in /proc/ioports, and aplaymidi -l will list the MPU401 UART).
Rene.