Skip to contentSkip to conversation

Midiator MS-124w w/ALSA0.9.0beta12

DISCUSSION Darwin Marcus Johnson 2 participants 3 messages Mar 4, 2002

lore
Share & tools
lore
#0 lore raw

Subject: Midiator MS-124w w/ALSA0.9.0beta12
Date: Sat, 2 Mar 2002 10:33:30 -0500
From: Darwin Marcus Johnson <[email protected]>
To: [email protected]
Cc: [email protected]

Hi All,

I am trying to get my Midiator Midi interface working with ALSA0.9.0beta 12.
I am trying to insert the snd-serial-u16550 module. My /etc/modules.conf seems to have the right options for this card.

Does anyone have a Midiator Midi interface working with the ALSA support?

Does anyone have another serial interface working with the snd-serial-u16550 module?

Can anyone point me to any documentation on setting up the modules beside the 1 page in the ALSA-HOWTO that contain this info below?

Does any of this info below have some obvious over sights, mistakes, omissions?

-Thanks
Darwin

From the ALSA-HOWTO:
----snip------------------------
snd_port - port # for UART16550A chip
snd_irq - IRQ # for UART16550A chip, -1 = poll mode
snd_divisor - divisor to calculate bit rate

			115200bps / # - 3 = 38.4kbpsdefault

snd_ports - number of MIDI ports 1,2,3,4 - 1 = default
----snip-----------------------

# modprobe snd-serial-u16550

I get these error messages:
----snip-----------------------
Note: /etc/modules.conf is more recent than /lib/modules/2.4.18-rc1/modules.dep /lib/modules/2.4.18-rc1/kernel/driver/sound/snd-serial-u16550.o: init_module:
No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.18-rc1/kernel/driver/sound/snd-serial-u16550.o: insmod /lib/modules/2.4.18-rc1/kernel/driver/sound/snd-serial-u16550.o failed /lib/modules/2.4.18-rc1/kernel/driver/sound/snd-serial-u16550.o: insmod snd-serial-u16550 failed
----snip-------------------------

# setserial -a /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
        Baud_base: 57600, close_delay: 50, divisor: 1
        closing_wait: 3000
        Flags: spd_normal skip_test
# cat /etc/modules.conf
----snip-------------------------
# ALSA native device support
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=2
alias snd-card-0 snd-cs46xx
alias snd-card-1 snd-serial-u16550
# snd-cs46xx Options
options snd-card cs46xx snd_index=0 snd_id="CS46XX" \
        snd_dac_frame_size=128 snd_adc_frame_size=128
# snd-serial-u16550 Options
options snd-serial-u16550 snd_index=1 snd_id="MidiatorMS124w" \
        snd_port=0x03f8 snd_irq=4 #snd_divisor=1 snd_ports=1
----snip-------------------------------

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#1 lore raw
Quoted 45 lines · Darwin Marcus Johnson

Hi All,

I am trying to get my Midiator Midi interface working with ALSA0.9.0beta 12.
I am trying to insert the snd-serial-u16550 module. My /etc/modules.conf seems to have the right options for this card.

Does anyone have a Midiator Midi interface working with the ALSA support?

Does anyone have another serial interface working with the snd-serial-u16550 module?

Can anyone point me to any documentation on setting up the modules beside the 1 page in the ALSA-HOWTO that contain this info below?

Does any of this info below have some obvious over sights, mistakes, omissions?

-Thanks
Darwin

Quoted 1 line

From the ALSA-HOWTO:

----snip------------------------
snd_port - port # for UART16550A chip
snd_irq - IRQ # for UART16550A chip, -1 = poll mode
snd_divisor - divisor to calculate bit rate

			115200bps / # - 3 = 38.4kbpsdefault

snd_ports - number of MIDI ports 1,2,3,4 - 1 = default
----snip-----------------------

# modprobe snd-serial-u16550

I get these error messages:
----snip-----------------------
Note: /etc/modules.conf is more recent than /lib/modules/2.4.18-rc1/modules.dep /lib/modules/2.4.18-rc1/kernel/driver/sound/snd-serial-u16550.o: init_module:
No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.18-rc1/kernel/driver/sound/snd-serial-u16550.o: insmod /lib/modules/2.4.18-rc1/kernel/driver/sound/snd-serial-u16550.o failed /lib/modules/2.4.18-rc1/kernel/driver/sound/snd-serial-u16550.o: insmod snd-serial-u16550 failed
----snip-------------------------

Quoted 5 lines
# setserial -a /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
        Baud_base: 57600, close_delay: 50, divisor: 1
        closing_wait: 3000
        Flags: spd_normal skip_test

You must turn the default Linux serial driver off before trying the ALSA driver:

setserial /dev/ttyS0 uart none

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#2 lore raw

That did it thanks!

Quoted 12 lines · Jaroslav Kysela
Quoted 5 lines · Darwin Marcus Johnson

Hi All,

I am trying to get my Midiator Midi interface working with ALSA0.9.0beta
12. I am trying to insert the snd-serial-u16550 module. My /etc/modules.conf seems to have the right options for this card.

You must turn the default Linux serial driver off before trying the ALSA driver:

setserial /dev/ttyS0 uart none

Quoted 7 lines

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel