From alsa-devel-owner@alsa.jcu.cz  Sat Jul 11 20:31:20 1998
Received: from altrade.nijmegen.inter.nl.net (altrade.nijmegen.inter.nl.net [193.67.237.6])
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id UAA12041
	for <alsa-devel@jcu.cz>; Sat, 11 Jul 1998 20:31:10 +0200
Received: from obelix.fvdpol.inter.nl.net by altrade.nijmegen.inter.nl.net
	via bd99-13.Breda.NL.net [193.79.246.238] with ESMTP
	id UAA22913 (8.8.8/3.28); Sat, 11 Jul 1998 20:17:56 +0200 (MET DST)
Received: (from frank@localhost) by obelix.fvdpol.inter.nl.net (8.8.7/8.7.3) id XAA01074; Fri, 10 Jul 1998 23:10:34 +0200
From: Frank van de Pol <F.K.W.van.de.Pol@inter.nl.net>
Message-Id: <199807102110.XAA01074@obelix.fvdpol.inter.nl.net>
Subject: Re: ALSA Sequencer
To: alsa-devel@jcu.cz
Date: Fri, 10 Jul 1998 23:10:33 +0200 (MET DST)
Cc: P.J.Leonard@bath.ac.uk (Paul Leonard)
In-Reply-To: <35A5CF46.7DE1@bath.ac.uk> from "P.J.Leonard" at Jul 10, 98 09:22:30 am
Content-Type: text
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

P.J.Leonard wrote:
> 
> Hi Frank,
> 
>  I still get problems with test2. 
> 
>  All works fine untill opn2 tries to register it`s name. Then
> it bombs out with lists of registers etc. Oh I had to comment out a few
> lines with the #ifndef LINUX_2.1 ???seqregister
> to get it to load as a module.
 
I think I found the problems with the ioctl() interface on the old snapshots
(eg. the test2.tar.gz) that oops on your system. I was directly accessing
userspace memory, and should have used the copy_from_user() and
copy_to_user() macros. (If I understand correctly these macro's handle
dealing with the user process's virtual memory tables etc. I could be wrong
of course....).

>  I could go to LINUX 2.1 myself or it may be useful if I stay 
> at 2.0.27  (or shortly 2.0.34) to do compatibility tests ?
> Still to try out you latest test code. I presume this will 
> work with my AWE32 through the external midi ?

Please try the more (most?) recent versions, and see if problem is solved.
Though I'm using 2.1.x kernel on my machine it should also work on the
stable versions. I'm not sure about 64 bit architectures and machines with
different byte sex (Motorola).

If the ALSA /dev/sndseq00 device is present for your AWE32 it should work.
I'm using an external Yamaha synth on the GUS MIDI output port, and it
rocks! 

> 
>  Cheers Paul.                                        

Few more beers to go,
Frank.


+---- --- -- -  -   -    - 
|Frank van de Pol                  -o)
|F.K.W.van.de.Pol@inter.NL.net     /\\
|                                 _\_v
|Linux - Why use Windows, since there is a door?
|
|ALSA Sequencer: http://www.inter.nl.net/users/F.K.W.van.de.Pol/alsa/

