Skip to contentSkip to conversation

Interested in having a go at coding an ALSA driver

DISCUSSION Chris Share 4 participants 5 messages Feb 12, 2003

lore
Share & tools
lore
#0 lore raw

Hi Everyone,

I'm an amateur programmer and musician (and technical writer) familiar with C/C++ programming on the Mac and PC. I've written a couple of apps that I'm currently distributing as shareware.

After reading Sound On Sound Feb 2003 article on Linux and audio/MIDI I'm very interested in moving to this platform. I'm currently awaiting my Debian distribution at the moment.

However, it appears that one of the current major drawbacks of Linux is the lack of ALSA soundcard drivers. I'm speaking here more about semi-pro and pro products. I currently use two soundcards:

Yamaha SW1000
Hoontech DSP24 Value

I'd be interested in having a go a coding a driver for one of these.

I've never done any kernal programming and feel a bit daunted by the task in front of me. Any suggestions on where to start would be much appreciated. I have downloaded quite a few articles on ALSA, etc. so that should keep me going for a while.

Cheers,

Chris Share

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

#1 lore raw

First thing might be to download the free book
Linux Device Drivers, it's free.

http://www.xml.com/ldd/chapter/book/

Quoted 39 lines · Chris Share

Hi Everyone,

I'm an amateur programmer and musician (and technical writer) familiar with C/C++ programming on the Mac and PC. I've written a couple of apps that I'm currently distributing as shareware.

After reading Sound On Sound Feb 2003 article on Linux and audio/MIDI I'm very interested in moving to this platform. I'm currently awaiting my Debian distribution at the moment.

However, it appears that one of the current major drawbacks of Linux is the lack of ALSA soundcard drivers. I'm speaking here more about semi-pro and pro products. I currently use two soundcards:

Yamaha SW1000
Hoontech DSP24 Value

I'd be interested in having a go a coding a driver for one of these.

I've never done any kernal programming and feel a bit daunted by the task in front of me. Any suggestions on where to start would be much appreciated. I have downloaded quite a few articles on ALSA, etc. so that should keep me going for a while.

Cheers,

Chris Share

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Signature · 17 lines
My cat's a debugger....

Potter, Lorn, "ljp"
core member / Web Administrator
Project OPIE- the Open Palmtop Integrated Environment
http://opie.handhelds.org 
IRC: irc.freenode.net #opie #opie.de

[email protected]
[email protected]



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
#2 lore raw

Thanks, I'll check it out.

Quoted 52 lines · ljp

First thing might be to download the free book
Linux Device Drivers, it's free.

http://www.xml.com/ldd/chapter/book/

Quoted 31 lines · Chris Share

Hi Everyone,

I'm an amateur programmer and musician (and technical writer) familiar with C/C++ programming on the Mac and PC. I've written a couple of apps that I'm currently distributing as shareware.

After reading Sound On Sound Feb 2003 article on Linux and audio/MIDI I'm very interested in moving to this platform. I'm currently awaiting my Debian distribution at the moment.

However, it appears that one of the current major drawbacks of Linux is the lack of ALSA soundcard drivers. I'm speaking here more about semi-pro and pro products. I currently use two soundcards:

Yamaha SW1000
Hoontech DSP24 Value

I'd be interested in having a go a coding a driver for one of these.

I've never done any kernal programming and feel a bit daunted by the task in front of me. Any suggestions on where to start would be much appreciated. I have downloaded quite a few articles on ALSA, etc. so that should keep me going for a while.

Cheers,

Chris Share

Quoted 8 lines

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

--
My cat's a debugger....

Quoted 8 lines

Potter, Lorn, "ljp"
core member / Web Administrator
Project OPIE- the Open Palmtop Integrated Environment
http://opie.handhelds.org
IRC: irc.freenode.net #opie #opie.de

[email protected]
[email protected]

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

#3 lore raw
In reply to Chris Share
Quoted 4 lines · Chris Share

I've never done any kernal programming and feel a bit daunted by the task in front of me. Any suggestions on where to start would be much appreciated. I have downloaded quite a few articles on ALSA, etc. so that should keep me going for a while.

There's a document about writing ALSA drivers in alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl.

Quoted 4 lines

Yamaha SW1000
Hoontech DSP24 Value

I'd be interested in having a go a coding a driver for one of these.

Yamaha doesn't publish useful informatin about the SW1000XG, so you'd have to reverse engineer the Windows driver first.

alsa-kernel/pci/ice1712/hoontech.h says that the SoundTrack DSP 24 Value is supported, but the DSP 24 is marked "untested" in the sound card list. Anyway, if it doesn't work with your card, it should be easy to make it work.

HTH
Clemens

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

#4 lore raw

At Wed, 12 Feb 2003 09:31:54 +0100 (MET),

Quoted 9 lines · Clemens Ladisch
Quoted 4 lines · Chris Share

I've never done any kernal programming and feel a bit daunted by the task in front of me. Any suggestions on where to start would be much appreciated. I have downloaded quite a few articles on ALSA, etc. so that should keep me going for a while.

There's a document about writing ALSA drivers in alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl.

available on-line, too:

http://www.alsa-project.org/~iwai/writing-an-alsa-driver/index.html

and

http://www.alsa-project.org/~iwai/writing-an-alsa-driver.pdf

Quoted 8 lines
Quoted 5 lines

Yamaha SW1000
Hoontech DSP24 Value

I'd be interested in having a go a coding a driver for one of these.

Yamaha doesn't publish useful informatin about the SW1000XG, so you'd have to reverse engineer the Windows driver first.

yes, or give pressure to Yamaha to release the info :) seriously, it's always good to ask to the hardware vendor. nowadays, many vendors are very cooperative with the linux development.

Quoted 4 lines

alsa-kernel/pci/ice1712/hoontech.h says that the SoundTrack DSP 24 Value is supported, but the DSP 24 is marked "untested" in the sound card list. Anyway, if it doesn't work with your card, it should be easy to make it work.

well, so far, ST DSP24 and ST DSP24 Media 7.1 are supported. not sure whether your card is compatible with them. just give a try and feedback to us please.

ciao,

Takashi

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com