[lkml]   [2001]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.4.16 alsa 0.5.12 mixer ioctl problem
Yeah, they changed/broke (depending on your point of view) the file fs/proc/inode.c in the kernel
You're the third person to post about this problem.

There's a work-around for the problem. (I'm currently running ALSA 0.9beta9, so the file contents
may not exactly match up): in the ALSA driver source, edit the file kernel/info.c. Look for the
following lines

if (p) {
#ifdef LINUX_2_3
p->proc_fops = &snd_fops;
p->ops = &snd_info_device_inode_operations;
} else {
return NULL;

they should be near line 890 or so.

Next, comment out the line
p->proc_fops = &snd_fops;

Rebuild. Everything should work now.

Hope this helps.

Alex Reisen wrote
Hi, all

just tried to compile the mentioned alsa drivers under 2.4.16. Mixer doesnt work, yes. It
compiles, installs, loads. And
any program trying to open mixer (through libasound) get EINVAL.

All is compiled with gcc-2.95.3,
single CPU, with APIC (is any sense to enable it on

Does anybody know what to do about it?


Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.044 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site