I've recently changed my hardware from an Epox mobo (with VIA V82C686 
chip)to an Asrock K7VT4A Pro (with VIA V8237 chip) and have run into 
problems with getting MIDI data in through the 15-way D-type connector. 
Alsa is compiled with via82xx and mpu401 (and alsi virmidi and 
serialmidi, for other reasons) enabled. The old mobo running Alsa 1.0.9b 
loaded snd-mpu401 and all was fine; the new mobo refuses to load 
snd-mpu401 - modprobe fails, saying that there's no such device. I've 
tried upgrading to Alsa 1.0.11 but to no avail. Kernel is 2.4.31 and I'm 
running a slightly modified Slackware 10.2.

Looking in /proc/ioports, I can't see any port listed at 0x330, which is 
where the Asrock's BIOS says the MIDI port is located and using IRQ5.

To check the hardware, I've booted the new mobo to DOS (yes - DOS!!) and 
have run a small Turbo Basic program to prove that I can read MIDI 
coming through the 15-way D-type, so I'm confident that the new mobo 
does actually have the necessary hardware and that it's working.

Please could anyone offer any help to get the MIDI input working with 
the Asrock mobo and Alsa? I'm no longer able to go back to the old mobo, 
so this is rather important to get working. I've run out of ideas to try!

The relevant section of /etc/modules.conf I've listed at the end of this 
msg, in case it's of any interest.

Thanks for any clues,

Gerald.

##############################################################################
# (Part of /etc/modules.conf)
#
# ALSA native device support:

alias char-major-116 snd
options snd major=116 cards_limit=3

### With old Epox m/b - this worked:
### alias snd-card-0 snd-via82xx
### options snd-via82xx mpu_port=0x330

### With new Asrock m/b - no MIDI input working:
alias snd-card-0 snd-via82xx
options snd-via82xx dxs_support=4
options snd-mpu401 enable=1 port=0x330 irq=5

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# First card (card 0)
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

# Second card (card 1) - virtual MIDI card
alias sound-slot-1 snd-card-1
alias snd-card-1 snd-virmidi

# 3rd card (card 2) - serial MIDI
alias sound-slot-2 snd-card-2
alias snd-card-2 snd-serialmidi
options snd-serialmidi sdev="/dev/ttyS1" speed=57600

##############################################################################


_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to