Where is the source of the usb drivers?

Asked by LCID Fire

I have the alsa-source installed - but the directory usb does not contain driver code. Since I want to write a alsa usb driver I wonder where to find example code.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:
Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#1

To obtain the USB driver source code for your kernel version you should download the appropriate Ubuntu linux kernel source package. For instance if you have 2.6.20-15-generic you should download the package linux-source-2.6.20
For the unpatched original linux modules code, your best bet would be kernel.org

Revision history for this message
LCID Fire (lcid-fire) said :
#2

Thanks Cesare Tirabassi, that solved my question.

Revision history for this message
LCID Fire (lcid-fire) said :
#3

Ok, I thought that every sound module is handled by an own sourcecode - but obviously the one is handling all.