From: Markus Grabner <grabner@icg.tugraz.at>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: devel@linuxdriverproject.org,
"linux-kernel" <linux-kernel@vger.kernel.org>,
Greg KH <gregkh@suse.de>
Subject: Re: staging: line6 driver status
Date: Thu, 27 Oct 2011 22:06:26 +0200 [thread overview]
Message-ID: <201110272206.26848.grabner@icg.tugraz.at> (raw)
In-Reply-To: <CAJSP0QWJOODix7xR9JjUsB9XpYinwJ1Mk+GfO9649HGUd92dzQ@mail.gmail.com>
On Thursday 27 October 2011 11:43:21 you wrote:
> On Thu, Oct 27, 2011 at 10:05 AM, Greg KH <gregkh@suse.de> wrote:
> > On Thu, Oct 27, 2011 at 09:28:59AM +0100, Stefan Hajnoczi wrote:
> >> What is the status of the line6 staging driver? There is no TODO file
> >> so I'm not sure what is blocking it from leaving staging.
> >
> > That's a good question. I don't really know the status of the driver at
> > the moment, does anyone else?
>
> I have one question about the design of the driver:
>
> Do we really need the sysfs attributes which boil down to MIDI
> commands? I think a userspace library provides a better interface
> because the MIDI commands/values vary between device models and bloat
> the driver. Generic sound recording and MIDI software would talk to
> the driver. Utilities to control the device could link against the
> userspace library.
>
> By splitting the code into the kernel MIDI/pcm driver and a userspace
> control library which uses MIDI we can slim down the kernel driver and
> leave the large variation of MIDI commands/values to a library that
> the community can improve for specific device models.
>
> This will make the driver smaller and easier for review.
I actually already started to work on this, but progress is slow since I'm
quite busy with other things. As soon as there is a convenient way to access
device parameters via user space code, I agree that the corresponding sysfs
attributes should be removed from the driver.
Kind regards,
Markus
--
Markus Grabner
Institute for Computer Graphics and Vision
Graz University of Technology, Inffeldgasse 16a/II, 8010 Graz, Austria
WWW: http://www.icg.tugraz.at/Members/grabner
next prev parent reply other threads:[~2011-10-27 20:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 8:28 staging: line6 driver status Stefan Hajnoczi
2011-10-27 9:05 ` Greg KH
2011-10-27 9:43 ` Stefan Hajnoczi
2011-10-27 20:06 ` Markus Grabner [this message]
2011-10-27 23:21 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201110272206.26848.grabner@icg.tugraz.at \
--to=grabner@icg.tugraz.at \
--cc=devel@linuxdriverproject.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=stefanha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox