Hallo zusammen,
ich habe es trotz intensiver Suche und stundenlanger Versuche noch nicht geschafft, meinen Asus "My Cinema U3100 Mini Plus" DVB-T USB-Stick zu installieren. Daher hoffe ich auf die Experten hier im Forum, die wissen, wie man Treibermodule installiert oder vielleicht schon genau den gleichen Tuner ans Laufen gebracht haben.
Es folgt eine etwas ausfuehrlichere Beschreibung meines Problems.
Ich habe mir den Asus DVB-Stick zugelegt, nachdem ich im LinuxTVWiki nachgeschaut habe, ob dieser Stick unter Linux unterstuetzt wird. Dies ist der Fall, wenn auch einige "Handarbeit" zum Installieren des Treibers af903x erforderlich ist. Ich bin der Anleitung auf Asus U3100 Mini plus DVB-T gefolgt, um den Treiber af903x zu compilieren und zu installieren, habe allerdings dabei keinen Erfolg.
Ich habe saemtliche Korrekturen bzw. Aenderungen an den Quellen vorgenommen, wie in Asus U3100 Mini plus DVB-T und EzCap DVB-T Stick beschrieben.
Wenn ich dann schliesslich zum Compilieren komme, erhalte ich auf den Befehl
sudo make
folgende Ausgabe:
make -C /lib/modules/2.6.32-27-generic/build SUBDIRS=/home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC modules make[1]: Entering directory `/usr/src/linux-headers-2.6.32-27-generic' CC [M] /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.o In file included from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/type.h:4, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/demodulator.h:5, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:17, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c:1: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/userdef.h:11:1: warning: "NULL" redefined In file included from include/linux/kernel.h:12, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:6, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c:1: include/linux/stddef.h:10:1: warning: this is the location of the previous definition In file included from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/demodulator.h:5, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:17, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c:1: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/type.h:6:1: warning: "IN" redefined In file included from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/type.h:4, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/demodulator.h:5, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:17, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c:1: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/userdef.h:21:1: warning: this is the location of the previous definition In file included from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/demodulator.h:5, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:17, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c:1: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/type.h:7:1: warning: "OUT" redefined In file included from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/type.h:4, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/demodulator.h:5, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:17, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c:1: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/userdef.h:22:1: warning: this is the location of the previous definition /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c: In function ‘af903x_suspend’: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c:48: warning: passing argument 2 of ‘DL_CheckTunerInited’ from incompatible pointer type /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:218: note: expected ‘enum Bool *’ but argument is of type ‘bool *’ /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c:49: warning: passing argument 2 of ‘DL_CheckTunerInited’ from incompatible pointer type /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:218: note: expected ‘enum Bool *’ but argument is of type ‘bool *’ /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c: At top level: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/firmware.h:28: warning: ‘Firmware_codes’ defined but not used /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/firmware.h:10388: warning: ‘Firmware_segments’ defined but not used /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/firmware.h:10403: warning: ‘Firmware_new_partitions’ defined but not used /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/firmware.h:10412: warning: ‘Firmware_scriptSets’ defined but not used /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/firmware.h:10417: warning: ‘Firmware_scripts’ defined but not used /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c:38: warning: ‘af903x_suspend’ defined but not used /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-core.c:61: warning: ‘af903x_resume’ defined but not used CC [M] /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.o In file included from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/type.h:4, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/demodulator.h:5, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:17, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:1: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/userdef.h:11:1: warning: "NULL" redefined In file included from include/linux/kernel.h:12, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:6, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:1: include/linux/stddef.h:10:1: warning: this is the location of the previous definition In file included from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/demodulator.h:5, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:17, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:1: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/type.h:6:1: warning: "IN" redefined In file included from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/type.h:4, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/demodulator.h:5, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:17, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:1: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/userdef.h:21:1: warning: this is the location of the previous definition In file included from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/demodulator.h:5, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:17, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:1: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/type.h:7:1: warning: "OUT" redefined In file included from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/type.h:4, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/demodulator.h:5, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x.h:17, from /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:1: /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/userdef.h:22:1: warning: this is the location of the previous definition /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:157: error: field name not in record or union initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:157: error: (near initialization for ‘af903x_properties[0].devices’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:157: warning: missing braces around initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:157: warning: (near initialization for ‘af903x_properties[0].devices[2]’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:157: warning: initialization makes pointer from integer without a cast /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:158: error: field name not in record or union initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:158: error: (near initialization for ‘af903x_properties[0].devices’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:159: warning: braces around scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:159: warning: (near initialization for ‘af903x_properties[0].devices[3].name’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:160: warning: braces around scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:160: warning: (near initialization for ‘af903x_properties[0].devices[3].name’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:160: warning: initialization from incompatible pointer type /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:160: warning: excess elements in scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:160: warning: (near initialization for ‘af903x_properties[0].devices[3].name’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:160: warning: excess elements in scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:160: warning: (near initialization for ‘af903x_properties[0].devices[3].name’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:161: warning: excess elements in scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:161: warning: (near initialization for ‘af903x_properties[0].devices[3].name’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:161: warning: excess elements in scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:161: warning: (near initialization for ‘af903x_properties[0].devices[3].name’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:161: warning: excess elements in scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:161: warning: (near initialization for ‘af903x_properties[0].devices[3].name’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:161: warning: excess elements in scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:161: warning: (near initialization for ‘af903x_properties[0].devices[3].name’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:162: warning: braces around scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:162: warning: (near initialization for ‘af903x_properties[0].devices[3].name’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:162: warning: excess elements in scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:162: warning: (near initialization for ‘af903x_properties[0].devices[3].name’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:164: warning: initialization from incompatible pointer type /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:165: warning: braces around scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:165: warning: (near initialization for ‘af903x_properties[0].devices[3].cold_ids[1]’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:165: warning: excess elements in scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:165: warning: (near initialization for ‘af903x_properties[0].devices[3].cold_ids[1]’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:166: warning: braces around scalar initializer /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:166: warning: (near initialization for ‘af903x_properties[0].devices[3].cold_ids[2]’) /home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.c:171: error: expected ‘}’ before ‘;’ token make[2]: *** [/home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC/af903x-devices.o] Error 1 make[1]: *** [_module_/home/jens/Desktop/Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217/AF903x_SRC] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-27-generic' make: *** [default] Error 2
Ich verstehe nicht, was die Warnungen zwischendurch und die abschliessende Fehlermeldung bedeuten, und was bei mir falsch laeuft.
Folgende Angaben kann ich noch machen:
Die USB-ID des Sticks lautet tatsaechlich (wie im Linux TV Wiki in der Liste der unterstuetzten Geraete angezeigt):
jens@jens-laptop:~$ lsusb | grep -i asus Bus 002 Device 006: ID 0b05:1779 ASUSTek Computer, Inc.
2. Meine Kernel-Version ist 2.6.32-27 (32 bit). Demnach habe ich auch das Makefile ergaenzt, so dass es einen link zum Ordner /v4l/kernel-2.6.32 findet, falls die verwendete Kernel-Version die 2.6.32 ist (wie in diesem Blog gezeigt).
3. Ich habe ebenfalls schon das Problem beseitigt, dass der DVB-Stick zunaechst als Tastatur/HID-device erkannt wird, indem ich den Bootparameter
usbhid.quirks=0x0b05:0x1779:0x0004
in grub2 hinzugefuegt habe. Wenn ich den Tuner einstecke, liefert mir
cat /var/log/messages
oder auch
dmesg
am Ende der Liste
Jan 27 17:44:50 jens-laptop kernel: [ 1086.358488] usb 2-5: new high speed USB device using ehci_hcd and address 6 Jan 27 17:44:50 jens-laptop kernel: [ 1086.495359] usb 2-5: configuration #1 chosen from 1 choice
Ab hier weiss ich nicht mehr weiter. Ich wuerde mich freuen, wenn ich einige hilfreiche Tips bekommen koennte, wie ich die Situation korrigieren kann. Insbesondere interressiert mich, warum ich beim Compilieren des Treibers die oben genannten Warnungen bzw. Fehlermeldungen bekomme, obwohl ich doch der Anleitung folge. Vielleicht kann mich da jemand geistig erleuchten.
Vielen Dank schon mal, und lasst mich bitte wissen, falls mehr Details benoetigt werden.