Skip to contentSkip to conversation

bug in intel8x0 joystick/midi ?

DISCUSSION [email protected] 3 participants 3 messages Jun 7, 2003 – Jun 18, 2003

lore
Share & tools
lore
#0 lore raw

I have intel8x0 on my mother board. There are headers for a joystick/midi port I'd like to use. I look in BIOS and find joystick io=201, midi io=330, and midi irq=10. I put this in modules.conf:

options -k snd-intel8x0 index=0 mpu_port=330 joystick_port=201

snd-mpu401-uart gets loaded, but no midi ports appear. I notice in the source code to the driver three things.

1) There is no support for joystick_port=201, only 200?

2) There is no way to tell the driver what irq is the mpu401.

3) The setup routine doesn't seem to look for joystick and midi. I don't see the word "joystick" or "midi" in dmesg.

I'm using the bleeding edge apt index from Planet CCRMA. ALSA 0.9.4. dmesg is pretty boring, but I'll send it along if you want.

(jfm3)

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.

#1 lore raw
Quoted 11 lines · [email protected] wrote:

I have intel8x0 on my mother board. There are headers for a joystick/midi port I'd like to use. I look in BIOS and find joystick io=201, midi io=330, and midi irq=10. I put this in modules.conf:

options -k snd-intel8x0 index=0 mpu_port=330 joystick_port=201

snd-mpu401-uart gets loaded, but no midi ports appear. I notice in the source code to the driver three things.

3) The setup routine doesn't seem to look for joystick and midi. I don't see the word "joystick" or "midi" in dmesg.

The joystick/midi part is handled by a separate logical PCI device (see the snd_intel8x0_joystick_ids array). Your chipset may not be listed in there.

Quoted 1 line

2) There is no way to tell the driver what irq is the mpu401.

Yes. Currently, the snd-intel8x0 module instructs the mpu401 driver to use polling, which would actually work. Theoretically. If you'd disregard some dropped MIDI bytes here and there.

When the MIDI port has already been enabled by the BIOS, you can simply ignore the buggy stuff in snd-intel8x0 and use the snd-mpu401 driver instead.

HTH
Clemens

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.

#2 lore raw

At Tue, 10 Jun 2003 11:29:16 +0200 (METDST),

Quoted 11 lines · Clemens Ladisch
Quoted 9 lines · [email protected] wrote:

I have intel8x0 on my mother board. There are headers for a joystick/midi port I'd like to use. I look in BIOS and find joystick io=201, midi io=330, and midi irq=10. I put this in modules.conf:

options -k snd-intel8x0 index=0 mpu_port=330 joystick_port=201

snd-mpu401-uart gets loaded, but no midi ports appear. I notice in the source code to the driver three things.

Quoted 6 lines
Quoted 2 lines

3) The setup routine doesn't seem to look for joystick and midi. I don't see the word "joystick" or "midi" in dmesg.

The joystick/midi part is handled by a separate logical PCI device (see the snd_intel8x0_joystick_ids array). Your chipset may not be listed in there.

in addition, you need "0x" prefix for the hex numbers above.

ciao,

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php