Ajuda a compilar um driver Linux para uma pilha de placas de TV

3

Eu tenho tentado fazer com que o meu Raspberry Pi funcione com uma das duas placas de TV disponíveis em mim. Infelizmente moro em Hong Kong, onde devido ao padrão de transmissão digital, me deixa com poucas opções de dispositivos. Nenhum dos dois parece querer jogar bola.

Por razões óbvias, ambos são USB. Eu "determinei" que um usa um chipset RTL2836U. Enquanto o outro está usando um LME 2510C com um sintonizador Maxim 2165E e um desmodulador 8G75-A1.

Eu estava concentrando meus esforços em esforços no RTL2836U e apenas compilei alguns drivers (com o VID / PID adicionado) e o Linux pareceu carregar os módulos, mas depois o descarregou devido a um erro.

Qualquer ajuda seria apreciada.

dmesg

    dvb_hdhomerun: disagrees about version of symbol dvb_dmxdev_init
    dvb_hdhomerun: Unknown symbol dvb_dmxdev_init (err -22)
    dvb_hdhomerun: disagrees about version of symbol dvb_register_adapter
    dvb_hdhomerun: Unknown symbol dvb_register_adapter (err -22)
    dvb_hdhomerun: disagrees about version of symbol dvb_dmxdev_release
    dvb_hdhomerun: Unknown symbol dvb_dmxdev_release (err -22)
    dvb_hdhomerun: disagrees about version of symbol dvb_frontend_detach
    dvb_hdhomerun: Unknown symbol dvb_frontend_detach (err -22)
    dvb_hdhomerun: disagrees about version of symbol dvb_unregister_frontend
    dvb_hdhomerun: Unknown symbol dvb_unregister_frontend (err -22)
    dvb_hdhomerun: disagrees about version of symbol dvb_register_frontend
    dvb_hdhomerun: Unknown symbol dvb_register_frontend (err -22)
    dvb_hdhomerun: disagrees about version of symbol dvb_unregister_adapter
    dvb_hdhomerun: Unknown symbol dvb_unregister_adapter (err -22)
    bcm2708 watchdog, heartbeat=10 sec (nowayout=0)

tail -f /var/log/kern.log

Mar  1 03:14:06 raspbmc kernel: dvb_hdhomerun: Unknown symbol dvb_dmxdev_release (err -22)
Mar  1 03:14:06 raspbmc kernel: dvb_hdhomerun: disagrees about version of symbol dvb_frontend_detach
Mar  1 03:14:06 raspbmc kernel: dvb_hdhomerun: Unknown symbol dvb_frontend_detach (err -22)
Mar  1 03:14:06 raspbmc kernel: dvb_hdhomerun: disagrees about version of symbol dvb_unregister_frontend
Mar  1 03:14:06 raspbmc kernel: dvb_hdhomerun: Unknown symbol dvb_unregister_frontend (err -22)
Mar  1 03:14:06 raspbmc kernel: dvb_hdhomerun: disagrees about version of symbol dvb_register_frontend
Mar  1 03:14:06 raspbmc kernel: dvb_hdhomerun: Unknown symbol dvb_register_frontend (err -22)
Mar  1 03:14:06 raspbmc kernel: dvb_hdhomerun: disagrees about version of symbol dvb_unregister_adapter
Mar  1 03:14:06 raspbmc kernel: dvb_hdhomerun: Unknown symbol dvb_unregister_adapter (err -22)
Mar  1 03:14:18 raspbmc kernel: bcm2708 watchdog, heartbeat=10 sec (nowayout=0)

Em seguida, na inserção do dongle

Mar  1 03:21:07 raspbmc kernel: usb 1-1.3: new high-speed USB device number 5 using dwc_otg
Mar  1 03:21:07 raspbmc kernel: usb 1-1.3: New USB device found, idVendor=1f4d,idProduct=689b
Mar  1 03:21:07 raspbmc kernel: usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar  1 03:21:07 raspbmc kernel: usb 1-1.3: Product: USB Device
Mar  1 03:21:07 raspbmc kernel: usb 1-1.3: Manufacturer: realtek
Mar  1 03:21:07 raspbmc kernel: usb 1-1.3: SerialNumber: 00000005
Mar  1 03:21:07 raspbmc kernel: WARNING: You are using an experimental version of the media stack.
Mar  1 03:21:07 raspbmc kernel:         As the driver is backported to an olderkernel, it doesn't offer
Mar  1 03:21:07 raspbmc kernel:         enough quality for its usage in production.
Mar  1 03:21:07 raspbmc kernel:         Use it with care.
Mar  1 03:21:07 raspbmc kernel: Latest git patches (needed if you report a bug to [email protected]):
Mar  1 03:21:07 raspbmc kernel:         ed72d37a33fdf43dc47787fe220532cdec9da528 [media] media: Add 0x3009 USB PID to ttusb2 driver (fixed diff)
Mar  1 03:21:07 raspbmc kernel:         b9e2afff1e6b36d05a0e12b6114eb0aaf8949c09 [media] rtl28xxu: Add USB IDs for Compro VideoMate U620F
Mar  1 03:21:07 raspbmc kernel:         676fa7d4c9fd141a31cba2870e592a597c0bb07f [media] em28xx: add usb id for terratec h5 rev. 3
Mar  1 03:21:07 raspbmc kernel: usb 1-1.3: dvb_usb_v2: found a 'MYGICA D690U' in warm state
Mar  1 03:21:07 raspbmc kernel: usbcore: registered new interface driver dvb_usb_rtl28xxu
Mar  1 03:21:10 raspbmc kernel: usb 1-1.3: dvb_usb_v2: 'MYGICA D690U' error while loading driver (-110)
Mar  1 03:21:10 raspbmc kernel: usb 1-1.3: dvb_usb_v2: 'MYGICA D690U' successfully deinitialized and disconnected

Eu não sei ... isso ajuda?

Aptidão está me mostrando esses módulos

v   linux-headers
p   linux-headers-2.6-mx5
p   linux-headers-2.6-omap
p   linux-headers-3.2.0-4-all
p   linux-headers-3.2.0-4-all-armhf
p   linux-headers-3.2.0-4-common
p   linux-headers-3.2.0-4-rpi
i   linux-headers-generic
p   linux-headers-mx5
p   linux-headers-omap
p   linux-headers-vexpress
v   linux-kernel-headers
    
por Aron 28.02.2013 / 19:06

1 resposta

1

Tanto quanto eu posso dizer, o seu erro decorre da incompatibilidade de versão entre o kernel em execução e a versão do kernel que você está construindo os módulos. Verifique uname -r na sua árvore.

    
por 28.02.2013 / 20:55