LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-08-2013, 11:06 AM   #1
jpentland
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
Creating my own MIDI device - need to write a driver


Hi,

As a hobby I'm trying to create my own Linux-compatible MIDI device. I have already build a prototype of this using an MSP430 Launchpad, which allows the creation of a virtual COM port.

I then created an application for Linux using the ALSA MIDI driver to read the COM port and convert the data into ALSA MIDI events.

However, I'd like to be able to create a Kernel module to be able to do this, so one could theoretially just plug this into USB and have it show up as a MIDI device in ALSA.

The module would do the same thing that the application does, read the COM port and create MIDI events - although I'm planning on using a UM232h to create the COM port, which can also be used in FIFO mode which is apparently more useful so I could use that instead.

I'm just wondering if anyone has any pointers or things to read about creating a driver that allows a USB device to show up as a MIDI device in ALSA.

Thanks!
 
Old 02-14-2013, 05:02 AM   #2
jpentland
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Update: I would appreciate if someone could even point me in the right direction of people who know this stuff.
 
  


Reply



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
How to write an USB device driver? boidi Linux - Kernel 9 07-24-2010 01:39 PM
How can I write a pci device driver??? hrmb Linux - Kernel 1 01-01-2010 04:47 PM
how to write a device driver raghu mitra Linux - Software 1 07-22-2004 02:26 PM
Set up midi device in suse 9.1 w/ AC'97 midi controller Guitarist88 Linux - Hardware 1 07-06-2004 03:09 PM
how to write a device driver dummyagain Programming 3 10-20-2003 08:36 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:07 PM.

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