---1925705969-2078917053-927210062=:53152
Content-Type: TEXT/PLAIN; charset=US-ASCII
Patch for infinitely muted TV-cards
-------------------------------------
Problem:
The sound of my video board was muted and there was no possibility to
unmute it, so I began to hack...
TV-Board: Terratec TV+
Soundboard: Miro PCM10 (MAD16, for the case this is of any interest)
Graph.b.: Matrox Millenium G200 (PCI code 0x0521, sits on AGP)
no Frame Buffer device activated in kernel
XFree: 3.3.3.1
Kernel: 2.2.5 and 2.2.8
Compiler: egcs-2.91.66
Solvage:
Seems that this patch works around a gcc vs. egcs problem...
I simply removed the &'s at below "static struct file_operations ...",
I don't know why both compilers accepted them (shouldn't give back any
useful information) and why they didn't warn about incompatible
pointers, even more: why gcc gave the correct pointers...
My problem: func() is a call, func is the pointer, but &func a pointer
on a inlined pointer ... still there are wonders and mysts...
BTW: my congratulations to the author of the VFS, it kept stable even
with these nifty pointers...
Patches:
msp3400.patch.kern228
a patch againts drivers/char/msp3400.c in the 2.2.8 kernel
msp3400.patch.064
against driver/msp3400.c in the external bttv 0.6.4 release
Warning:
This was the first time I ever hacked into the kernel, although the
Linux kernel is the most readable code I ever read (and modified) I
recommend that one of the "gurus" validates my patches.
happy hacking,
Konrad
---1925705969-2078917053-927210062=:53152
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="msp3400.patch.kern228"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.A32.3.91.990520162102.53152B@rob>
Content-Description:
LS0tIG1zcDM0MDAuYy5vbGQJU2F0IE1heSAxNSAxMzowODowNiAxOTk5DQor
KysgbXNwMzQwMC5jCVNhdCBNYXkgMTUgMTM6MDg6MDggMTk5OQ0KQEAgLTk5
MywxNiArOTkzLDE2IEBADQogfQ0KIA0KIHN0YXRpYyAvKmNvbnN0Ki8gc3Ry
dWN0IGZpbGVfb3BlcmF0aW9ucyBtc3AzNDAwY19taXhlcl9mb3BzID0gew0K
LSAgICAgICAgJm1zcDM0MDBjX21peGVyX2xsc2VlaywNCisgICAgICAgIG1z
cDM0MDBjX21peGVyX2xsc2VlaywNCiAgICAgICAgIE5VTEwsICAvKiByZWFk
ICovDQogICAgICAgICBOVUxMLCAgLyogd3JpdGUgKi8NCiAgICAgICAgIE5V
TEwsICAvKiByZWFkZGlyICovDQogICAgICAgICBOVUxMLCAgLyogcG9sbCAq
Lw0KLSAgICAgICAgJm1zcDM0MDBjX21peGVyX2lvY3RsLA0KKyAgICAgICAg
bXNwMzQwMGNfbWl4ZXJfaW9jdGwsDQogICAgICAgICBOVUxMLCAgLyogbW1h
cCAqLw0KLSAgICAgICAgJm1zcDM0MDBjX21peGVyX29wZW4sDQorICAgICAg
ICBtc3AzNDAwY19taXhlcl9vcGVuLA0KIAlOVUxMLA0KLSAgICAgICAgJm1z
cDM0MDBjX21peGVyX3JlbGVhc2UsDQorICAgICAgICBtc3AzNDAwY19taXhl
cl9yZWxlYXNlLA0KICAgICAgICAgTlVMTCwgIC8qIGZzeW5jICovDQogICAg
ICAgICBOVUxMLCAgLyogZmFzeW5jICovDQogICAgICAgICBOVUxMLCAgLyog
Y2hlY2tfbWVkaWFfY2hhbmdlICovDQo=
---1925705969-2078917053-927210062=:53152
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="msp3400.patch.064"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.A32.3.91.990520162102.53152C@rob>
Content-Description:
LS0tIG1zcDM0MDAuYy5vbGQJU2F0IE1heSAxNSAxMzoxMToyMSAxOTk5DQor
KysgbXNwMzQwMC5jCVNhdCBNYXkgMTUgMTM6MTE6NDcgMTk5OQ0KQEAgLTEx
NzIsMTYgKzExNzIsMTYgQEANCiB9DQogDQogc3RhdGljIC8qY29uc3QqLyBz
dHJ1Y3QgZmlsZV9vcGVyYXRpb25zIG1zcDM0MDBjX21peGVyX2ZvcHMgPSB7
DQotICAgICAgICAmbXNwMzQwMGNfbWl4ZXJfbGxzZWVrLA0KKyAgIAltc3Az
NDAwY19taXhlcl9sbHNlZWssDQogICAgICAgICBOVUxMLCAgLyogcmVhZCAq
Lw0KICAgICAgICAgTlVMTCwgIC8qIHdyaXRlICovDQogICAgICAgICBOVUxM
LCAgLyogcmVhZGRpciAqLw0KICAgICAgICAgTlVMTCwgIC8qIHBvbGwgKi8N
Ci0gICAgICAgICZtc3AzNDAwY19taXhlcl9pb2N0bCwNCisgICAgICAgIG1z
cDM0MDBjX21peGVyX2lvY3RsLA0KICAgICAgICAgTlVMTCwgIC8qIG1tYXAg
Ki8NCi0gICAgICAgICZtc3AzNDAwY19taXhlcl9vcGVuLA0KKyAgICAgICAg
bXNwMzQwMGNfbWl4ZXJfb3BlbiwNCiAJTlVMTCwNCi0gICAgICAgICZtc3Az
NDAwY19taXhlcl9yZWxlYXNlLA0KKyAgICAgICAgbXNwMzQwMGNfbWl4ZXJf
cmVsZWFzZSwNCiAgICAgICAgIE5VTEwsICAvKiBmc3luYyAqLw0KICAgICAg
ICAgTlVMTCwgIC8qIGZhc3luYyAqLw0KICAgICAgICAgTlVMTCwgIC8qIGNo
ZWNrX21lZGlhX2NoYW5nZSAqLw0K
---1925705969-2078917053-927210062=:53152--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/