All of lore.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] USB MIDI support for ALSA
@ 2002-05-13 19:21 Clemens Ladisch
  2002-05-14  9:03 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2002-05-13 19:21 UTC (permalink / raw)
  To: alsa-devel

Hi,

I've written a daemon which connects the ALSA sequencer with the
usbdevfs device file of a USB MIDI device. You can get it at
<http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.

It requires a kernel with USB and usbdevfs support (obviously), and
with hotplugging support and hotplugging scripts installed correctly.

It should work with most USB MIDI devices, but currently it has been
tested with Roland SC-8820 only. I don't have the slightest idea
whether the code for parsing the device descriptors of fully compliant
devices works at all. :-) So, please tell me if it works for you.


Clemens

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCE] USB MIDI support for ALSA
  2002-05-13 19:21 [ANNOUNCE] USB MIDI support for ALSA Clemens Ladisch
@ 2002-05-14  9:03 ` Takashi Iwai
  2002-05-14 10:05   ` Frank Barknecht
  2002-05-14 13:08   ` Paul Davis
  0 siblings, 2 replies; 6+ messages in thread
From: Takashi Iwai @ 2002-05-14  9:03 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

At Mon, 13 May 2002 21:21:56 +0200,
Clemens Ladisch wrote:
> 
> Hi,
> 
> I've written a daemon which connects the ALSA sequencer with the
> usbdevfs device file of a USB MIDI device. You can get it at
> <http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.
> 
> It requires a kernel with USB and usbdevfs support (obviously), and
> with hotplugging support and hotplugging scripts installed correctly.

great!

it's a very clean solution.  definitely the right way for usb midi,
rather than writing a driver module for each.


Takashi

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCE] USB MIDI support for ALSA
  2002-05-14  9:03 ` Takashi Iwai
@ 2002-05-14 10:05   ` Frank Barknecht
  2002-05-14 13:08   ` Paul Davis
  1 sibling, 0 replies; 6+ messages in thread
From: Frank Barknecht @ 2002-05-14 10:05 UTC (permalink / raw)
  To: alsa-devel

hi,
Takashi Iwai hat gesagt: // Takashi Iwai wrote:
> > I've written a daemon which connects the ALSA sequencer with the
> > usbdevfs device file of a USB MIDI device. You can get it at
> > <http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.
> it's a very clean solution.  definitely the right way for usb midi,
> rather than writing a driver module for each.
Would a daemon to connect alsa to usb devices be the way for USB-audio
as well?

ciao,
-- 
 Frank Barknecht                                  _ _______footils__


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCE] USB MIDI support for ALSA
  2002-05-14  9:03 ` Takashi Iwai
  2002-05-14 10:05   ` Frank Barknecht
@ 2002-05-14 13:08   ` Paul Davis
  2002-05-14 14:41     ` Takashi Iwai
  1 sibling, 1 reply; 6+ messages in thread
From: Paul Davis @ 2002-05-14 13:08 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Clemens Ladisch, alsa-devel

>> I've written a daemon which connects the ALSA sequencer with the
>> usbdevfs device file of a USB MIDI device. You can get it at
>> <http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.
>> 
>> It requires a kernel with USB and usbdevfs support (obviously), and
>> with hotplugging support and hotplugging scripts installed correctly.
>
>great!
>
>it's a very clean solution.  definitely the right way for usb midi,
>rather than writing a driver module for each.

it is? isn't the right way to redirect into USB-aware code within
alsa-lib? going through a daemon seems totally wrong to me ...

--p

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCE] USB MIDI support for ALSA
  2002-05-14 13:08   ` Paul Davis
@ 2002-05-14 14:41     ` Takashi Iwai
  0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2002-05-14 14:41 UTC (permalink / raw)
  To: Paul Davis; +Cc: Clemens Ladisch, alsa-devel

At Tue, 14 May 2002 09:08:29 -0400,
Paul Davis wrote:
> 
> >> I've written a daemon which connects the ALSA sequencer with the
> >> usbdevfs device file of a USB MIDI device. You can get it at
> >> <http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.
> >> 
> >> It requires a kernel with USB and usbdevfs support (obviously), and
> >> with hotplugging support and hotplugging scripts installed correctly.
> >
> >great!
> >
> >it's a very clean solution.  definitely the right way for usb midi,
> >rather than writing a driver module for each.
> 
> it is? isn't the right way to redirect into USB-aware code within
> alsa-lib? going through a daemon seems totally wrong to me ...

i agree that the library-plugin would be fine and effective, but it's
only if a single application shares the device.  then the device
end-point is directly bound to the application.

however, when two applications access to the device (or when arbitrary
connection is allowed), then the situation would be complicated.
there must be an end-point mixer before the device output.
i think the daemon is the easiest way to be implemented on behalf of
kernel driver.


Takashi

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCE] USB MIDI support for ALSA
@ 2002-05-15  3:11 Patrick Shirkey
  0 siblings, 0 replies; 6+ messages in thread
From: Patrick Shirkey @ 2002-05-15  3:11 UTC (permalink / raw)
  To: alsa-devel; +Cc: linux-usb-devel

I'm starting to wonder if it isn't better to write native ALSA support into the usb audio driver. Currently it does this with OSS so why not just add ALSA to it and be done with it?

Surely that is the easiest approach. The only reason I see against it is latency requirements are better served by having ALSA connect to usb instead of usb connect to ALSA. 

--
Patrick Shirkey - Boost Hardware Ltd
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.boosthardware.com/LAU/guide/


--- Takashi Iwai <tiwai@suse.de> wrote:
>At Tue, 14 May 2002 09:08:29 -0400,
>Paul Davis wrote:
>> 
>> >> I've written a daemon which connects the ALSA sequencer with the
>> >> usbdevfs device file of a USB MIDI device. You can get it at
>> >> <http://www.informatik.uni-halle.de/~ladischc/usbmidid.html>.
>> >> 
>> >> It requires a kernel with USB and usbdevfs support (obviously), and
>> >> with hotplugging support and hotplugging scripts installed correctly.
>> >
>> >great!
>> >
>> >it's a very clean solution.  definitely the right way for usb midi,
>> >rather than writing a driver module for each.
>> 
>> it is? isn't the right way to redirect into USB-aware code within
>> alsa-lib? going through a daemon seems totally wrong to me ...
>
>i agree that the library-plugin would be fine and effective, but it's
>only if a single application shares the device.  then the device
>end-point is directly bound to the application.
>
>however, when two applications access to the device (or when arbitrary
>connection is allowed), then the situation would be complicated.
>there must be an end-point mixer before the device output.
>i think the daemon is the easiest way to be implemented on behalf of
>kernel driver.
>
>
>Takashi
>
>_______________________________________________________________
>
>Have big pipes? SourceForge.net is looking for download mirrors. We supply
>the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
>_______________________________________________
>Alsa-devel mailing list
>Alsa-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/alsa-devel

_____________________________________________________________
Want a new web-based email account ? ---> http://www.firstlinux.net

_____________________________________________________________
Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net  http://www.everyone.net/?btn=tag

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-15  3:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-13 19:21 [ANNOUNCE] USB MIDI support for ALSA Clemens Ladisch
2002-05-14  9:03 ` Takashi Iwai
2002-05-14 10:05   ` Frank Barknecht
2002-05-14 13:08   ` Paul Davis
2002-05-14 14:41     ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2002-05-15  3:11 Patrick Shirkey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.