Skip to contentSkip to conversation

au88x0 problems with kernel 2.6.0

DISCUSSION James Courtier-Dutton 2 participants 3 messages Jan 4, 2004 – Jan 15, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

The normal way I patch the 2.6.x kernel, is i download alsa-kernel from CVS. and then delete the ./alsa-kernel/oss dir, then just copy all the contents of alsa-kernel over the top of /usr/src/linux/sound I then copy the include directory to /usr/src/linux/include/sound, and it all works.

I have noticed that au88x0 driver only got into the alsa-driver tree.

Should I be doing something different in order to get au88x0 drivers into my local kernel 2.6.x tree.

As the au88x0 drivers are not in the alsa-kernel tree, the kernel 2.6.x Kconfig file does not have a au88x0 entry, so it can not easily be moved into kernel 2.6.x.

Can someone please point me to the correct merge/patch method, or am I in fact highlighting a bug!

Cheers
James

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#1 lore raw
Quoted 13 lines · James Courtier-Dutton

Hi,

The normal way I patch the 2.6.x kernel, is i download alsa-kernel from CVS. and then delete the ./alsa-kernel/oss dir, then just copy all the contents of alsa-kernel over the top of /usr/src/linux/sound I then copy the include directory to /usr/src/linux/include/sound, and it all works.

I have noticed that au88x0 driver only got into the alsa-driver tree.

Should I be doing something different in order to get au88x0 drivers into my local kernel 2.6.x tree.

Quoted 6 lines

As the au88x0 drivers are not in the alsa-kernel tree, the kernel 2.6.x Kconfig file does not have a au88x0 entry, so it can not easily be moved into kernel 2.6.x.

Can someone please point me to the correct merge/patch method, or am I in fact highlighting a bug!

It's not a bug. All alpha/beta drivers are in the alsa-driver directory. This directory doesn't allow to be merged to 2.6 code in a simply way, but you can compile these drivers as modules outside the kernel like for 2.4 (simply go to the alsa-driver directory and run cvscompile there).

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#2 lore raw
Quoted 14 lines · Jaroslav Kysela
Quoted 11 lines · James Courtier-Dutton

Hi,

The normal way I patch the 2.6.x kernel, is i download alsa-kernel from CVS. and then delete the ./alsa-kernel/oss dir, then just copy all the contents of alsa-kernel over the top of /usr/src/linux/sound I then copy the include directory to /usr/src/linux/include/sound, and it all works.

I have noticed that au88x0 driver only got into the alsa-driver tree.

Should I be doing something different in order to get au88x0 drivers into my local kernel 2.6.x tree.

As the au88x0 drivers are not in the alsa-kernel tree, the kernel 2.6.x Kconfig file does not have a au88x0 entry, so it can not easily be moved into kernel 2.6.x.

Quoted 9 lines
Quoted 1 line

Can someone please point me to the correct merge/patch method, or am I in fact highlighting a bug!

It's not a bug. All alpha/beta drivers are in the alsa-driver directory. This directory doesn't allow to be merged to 2.6 code in a simply way, but you can compile these drivers as modules outside the kernel like for 2.4
(simply go to the alsa-driver directory and run cvscompile there).

Jaroslav

cvscompile or alsa-driver did not work on the 2.6 kernel. The modules did not load due to missing symbols, e.g. VMALLOC etc. and also a PDE error during configure

Cheers
James

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn