Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 03-02-2004, 04:50 AM   #1
LQ Newbie
Registered: Mar 2004
Location: Sofia, Bulgaria
Distribution: Debian
Posts: 1

Rep: Reputation: 0
MIDI with ALSA on ESS1869

Hi everyone.

This is my first post here so I might mess something up despite my careful Reading The Fine Manual. Please let me know and I'll try do things better.

I have installed Debian/Sid on a Siemens Scenic Mobine 750. While a laptop, the question is purely sound-related so I'm not posting to the Mobile forum (getting it to install at all might have been suitable there but I'm past that now).

I'm not a Linux newbie having started five years ago, it's just that I've only tried using it as a desktop system in 1999 and it was a mostly futile attempt back then. Now I'm pretty much in business if it were not for MIDI playback.

I am running kernel 2.4.24 and ALSA is version 1.0.2c-3 compiled and installed the Debian way. Kernel-tree sound is configured as a module and no drivers, OSS or legacy, are configured.

I've had some problems with the snd-es18xx module so I added this to /etc/modutils/alsa

options snd-es18xx isapnp=0 port=0x220 mpu_port=0x330 fm_port=0x388 \
irq=5 dma1=1 dma2=3
probeall snd-es18xx snd-pcm snd-mpu401-uart snd-opl3-lib snd-pnp
probeall snd-mpu401-uart snd-rawmidi
probeall snd-rawmidi snd-seq-device
probeall snd-opl3-lib snd-timed snd-hwdep
probeall snd-pcm snd-page-alloc
probeall snd-pnp isa-pnp

To see which modules ALSA installs, I use the following (all on one line and it won't work if esd or artsd are working with a device different from /dev/null):

% for a in `lsmod | egrep 's(ou)?nd' | cut -f 1 -d ' '`; do rmmod -r $a > /dev/null; done; /etc/init.d/alsa restart && lsmod | egrep 's(ou)?nd'

snd-es18xx             19464   2  (autoclean)
snd-pnp                 3136   0  (autoclean) [snd-es18xx]
snd-pcm                61476   1  (autoclean) [snd-es18xx]
snd-opl3-lib            6372   0  (autoclean) [snd-es18xx]
snd-timer              14532   0  (autoclean) [snd-pcm snd-opl3-lib]
snd-mpu401-uart         3360   0  (autoclean) [snd-es18xx]
snd-rawmidi            13472   0  (autoclean) [snd-mpu401-uart]
snd-hwdep               5280   0  [snd-opl3-lib]
snd-seq-device          4192   0  [snd-opl3-lib snd-rawmidi]
snd-page-alloc          6388   0  [snd-pcm]
snd                    32292   1  [snd-es18xx snd-pcm snd-opl3-lib snd-timer snd-mpu401-uart snd-rawmidi snd-hwdep snd-seq-device]
soundcore               3844   3  [snd]
isa-pnp                32880   0  [snd-es18xx snd-pnp]

% pmidi -l

 Port     Client name                       Port name
 64:0     Rawmidi 0 - MPU-401 (UART) 0-0    MPU-401 (UART) 0-0
 65:0     OPL3 FM synth                     OPL3 FM Port

% aconnect -li

client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
        Connecting To: 63:0
client 64: 'Rawmidi 0 - MPU-401 (UART) 0-0' [type=kernel]
    0 'MPU-401 (UART) 0-0'

% aconnect -lo

client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
        Connecting To: 63:0
client 64: 'Rawmidi 0 - MPU-401 (UART) 0-0' [type=kernel]
    0 'MPU-401 (UART) 0-0'
marius:/# aconnect -lo
client 64: 'Rawmidi 0 - MPU-401 (UART) 0-0' [type=kernel]
    0 'MPU-401 (UART) 0-0'
client 65: 'OPL3 FM synth' [type=kernel]
    0 'OPL3 FM Port

% ps ax | grep artsd

  671 ?        R      3:38 artsd -F 14 -S 4096 -a alsa -n -b 16 -s 4 -m artsmessage -l 3 -f
Not sure if the last one helps since I don't see MIDI mentioned anywhere on that line but who knows

Anyway, this is the setup and it's not working. And I *know* I've had it working a few kernel compiles and dist-upgrades ago.

Can anyone shed some light on it please? I want to get this lapotp running as well as possible so I can send the info to (they are missing an entry for this particular machine).

Kind regards,
Peter Popov


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ALSA MIDI on Debian Sarge sulfa Linux - Software 1 12-16-2004 04:21 PM
ESS1869 ISA card and MIDI??? tom boucher Linux - Hardware 0 12-02-2004 08:55 AM
ALSA: MIDI and SDL_AUDIODRIVER problems ugenn Linux - Software 0 11-23-2004 02:14 AM
CreativeAudioPCI128+ALSA - No midi playback? leadazide Linux - Hardware 1 07-29-2004 01:53 PM
MIDI Help: ALSA and recompiling the kernel? Guitarist88 Linux - Newbie 0 06-24-2004 09:36 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration