Problem mit den Modulen imon und cx23885 [gelöst]

  • Hi nochmal,


    auf der Suche nach einer Lösung meine DVBSky-C2800E und das IMON-LCD-Display gleichzeitig zu betreiben bin ich auch folgenden Thread gestoßen:
    http://mageia.linux.os.alt.gro…976-Re_module_not_loading

    Zitat

    The machine in question has a TBS DVB-TV card in it. This requires that drivers must be compiled and installed for it. What I had overlooked was that there had been a kernel update and until a full re-run of the module creation process had been completed, the existing installed modules would not sync. The TBS compile process (not a script) includes that. This included recreation of the imon module of course.

    Defacto ist das genau mein Problem. Allerdings kapier ich nicht, wie ich das media-build-pkgbuild ausführen muss, um sowohl das CX23885 als auch das IMON modul parallel laufen zu lassen. Ich schaffe es immer nur, das eines von beiden geladen wird.
    Hat jm. eine Idee?


    realmatrix :(

  • Eigentlich wird auch das imon Modul von media-build-dvbsky gebaut und sollte somit zu den anderen passen. Ohne ein komplettes Log wird dir wohl schwer zu helfen sein. Hast du denn überhaupt die Fehlermeldungen vom verlinkten Thread?

  • Hi, hier der Log. Hab denke ich alles relevante zusammengeschnitten, wobei mir aufgefallen ist, dass das Problem möglicherweise beim IR Receiver der DVB-Card und dem IMON Receiver liegt... ?(
    Jup, die Fehlermeldungen vom verlinkten Thread sind identisch mit meinen.


    Apr 06 21:25:18 machine kernel: random: nonblocking pool is initialized
    Apr 06 21:25:18 machine systemd[1]: [/usr/lib/systemd/system/lcdd.service:8] Unknown lvalue 'ControlGroup' in section 'Service'
    Apr 06 21:25:18 machine systemd[1]: Cannot add dependency job for unit acpid.socket, ignoring: Unit acpid.socket failed to load: No such file or directory.
    Apr 06 21:25:18 machine systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
    Apr 06 21:25:18 machine systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
    Apr 06 21:25:18 machine systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    Apr 06 21:25:18 machine systemd[1]: Expecting device dev-sda2.device...
    Apr 06 21:25:18 machine systemd[1]: Starting Remote File Systems.
    ...
    Apr 06 21:25:28 machine kernel: imon: disagrees about version of symbol rc_g_keycode_from_table
    Apr 06 21:25:28 machine kernel: imon: Unknown symbol rc_g_keycode_from_table (err -22)
    Apr 06 21:25:28 machine kernel: imon: disagrees about version of symbol rc_keyup
    Apr 06 21:25:28 machine kernel: imon: Unknown symbol rc_keyup (err -22)
    Apr 06 21:25:28 machine kernel: imon: disagrees about version of symbol rc_register_device
    Apr 06 21:25:28 machine kernel: imon: Unknown symbol rc_register_device (err -22)
    Apr 06 21:25:28 machine kernel: imon: disagrees about version of symbol rc_keydown
    Apr 06 21:25:28 machine kernel: imon: Unknown symbol rc_keydown (err -22)
    Apr 06 21:25:28 machine kernel: imon: disagrees about version of symbol rc_free_device
    Apr 06 21:25:28 machine kernel: imon: Unknown symbol rc_free_device (err -22)
    Apr 06 21:25:28 machine kernel: imon: disagrees about version of symbol rc_allocate_device
    Apr 06 21:25:28 machine kernel: imon: Unknown symbol rc_allocate_device (err -22)
    Apr 06 21:25:28 machine kernel: imon: disagrees about version of symbol rc_unregister_device
    Apr 06 21:25:28 machine kernel: imon: Unknown symbol rc_unregister_device (err -22)
    ...
    Apr 06 21:25:28 machine kernel: CORE cx23885[0]: subsystem: 4254:2800, board: DVBSKY C2800E DVB-C CI [card=47,autodetected]
    Apr 06 21:25:28 machine kernel: cx25840 9-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0])
    Apr 06 21:25:28 machine kernel: cx25840 9-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
    Apr 06 21:25:28 machine kernel: cx23885_dvb_register() allocating 1 frontend(s)
    Apr 06 21:25:28 machine kernel: cx23885[0]: cx23885 based dvb card
    Apr 06 21:25:28 machine kernel: m88dc2800: tuner id = 0x8e
    Apr 06 21:25:28 machine kernel: DVB: registering new adapter (cx23885[0])
    Apr 06 21:25:28 machine kernel: cx23885 0000:02:00.0: DVB: registering adapter 0 frontend 0 (Montage M88DC2800 DVB-C)...
    Apr 06 21:25:28 machine kernel: cx23885_dev_checkrevision() Hardware revision = 0xa5
    Apr 06 21:25:28 machine kernel: cx23885[0]/0: found at 0000:02:00.0, rev: 4, irq: 19, latency: 0, mmio: 0xf7c00000
    Apr 06 21:25:28 machine kernel: Registered IR keymap rc-dvbsky
    Apr 06 21:25:28 machine kernel: input: cx23885 IR (DVBSKY C2800E DVB-C CI) as /devices/pci0000:00/0000:00:1c.7/0000:02:00.0/rc/rc0/input18
    Apr 06 21:25:28 machine kernel: rc0: cx23885 IR (DVBSKY C2800E DVB-C CI) as /devices/pci0000:00/0000:00:1c.7/0000:02:00.0/rc/rc0
    Apr 06 21:25:28 machine kernel: IR NEC protocol handler initialized
    Apr 06 21:25:28 machine kernel: IR SANYO protocol handler initialized
    Apr 06 21:25:28 machine kernel: IR Sony protocol handler initialized
    Apr 06 21:25:28 machine kernel: IR JVC protocol handler initialized
    Apr 06 21:25:28 machine kernel: IR Sharp protocol handler initialized
    Apr 06 21:25:28 machine kernel: IR RC6 protocol handler initialized
    Apr 06 21:25:28 machine kernel: IR RC5(x/sz) protocol handler initialized
    Apr 06 21:25:28 machine kernel: lirc_dev: IR Remote Control driver registered, major 246
    Apr 06 21:25:28 machine kernel: input: MCE IR Keyboard/Mouse (cx23885) as /devices/virtual/input/input19
    Apr 06 21:25:28 machine kernel: IR MCE Keyboard/mouse protocol handler initialized
    Apr 06 21:25:28 machine kernel: rc rc0: lirc_dev: driver ir-lirc-codec (cx23885) registered at minor = 0
    Apr 06 21:25:28 machine kernel: IR LIRC bridge handler initialized
    ...
    Apr 06 21:25:39 machine systemd[1]: Starting Timers.
    Apr 06 21:25:39 machine systemd[1]: Reached target Timers.
    Apr 06 21:25:39 machine systemd[1]: Started Restore Sound Card State.
    Apr 06 21:25:39 machine systemd[1]: lcdd.service: control process exited, code=exited status=1
    Apr 06 21:25:39 machine systemd[1]: Failed to start LCD display driver.
    Apr 06 21:25:39 machine systemd[1]: Unit lcdd.service entered failed state.
    Apr 06 21:25:39 machine systemd[1]: lcdd.service failed.
    Apr 06 21:25:39 machine systemd[1]: Started Permit User Sessions.
    Apr 06 21:25:39 machine systemd[1]: Starting Getty on tty1...
    ...

  • Abend 8)



    filename: /lib/modules/3.19.2-1-ARCH/kernel/drivers/media/rc/imon.ko.gz
    license: GPL
    version: 0.9.4
    description: Driver for SoundGraph iMON MultiMedia IR/Display
    author: Jarod Wilson <jarod@wilsonet.com>
    srcversion: 122AE7CF2FEE64F1E4BFA07
    alias: usb:v15C2p0046d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0045d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0044d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0043d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0042d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0041d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0040d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p003Fd*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p003Ed*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p003Dd*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p003Cd*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p003Bd*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p003Ad*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0039d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0038d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0037d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0036d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0035d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2p0034d*dc*dsc*dp*ic*isc*ip*in*
    alias: usb:v15C2pFFDCd*dc*dsc*dp*ic*isc*ip*in*
    depends: usbcore,rc-core
    intree: Y
    vermagic: 3.19.2-1-ARCH SMP preempt mod_unload modversions
    parm: debug:Debug messages: 0=no, 1=yes (default: no) (bool)
    parm: display_type:Type of attached display. 0=autodetect, 1=vfd, 2=lcd, 3=vga, 4=none (default: autodetect) (int)
    parm: pad_stabilize:Apply stabilization algorithm to iMON PAD presses in arrow key mode. 0=disable, 1=enable (default). (int)
    parm: nomouse:Disable mouse input device mode when IR device is open. 0=don't disable, 1=disable. (default: don't disable) (bool)
    parm: pad_thresh:Threshold at which a pad push registers as an arrow key in kbd mode (default: 28) (int)



    filename: /lib/modules/3.19.2-1-ARCH/updates/kernel/drivers/media/rc/rc-core.ko.gz
    license: GPL
    author: Mauro Carvalho Chehab
    depends:
    vermagic: 3.19.2-1-ARCH SMP preempt mod_unload modversions
    parm: debug:int

  • N'Abend ;)



    filename: /lib/modules/3.19.2-1-ARCH/kernel/drivers/media/rc/imon.ko.gz
    intree: Y


    filename: /lib/modules/3.19.2-1-ARCH/updates/kernel/drivers/media/rc/rc-core.ko.gz


    Also irgendwas haut bei dir mit dem imon Modul nicht hin. Er nimmt das Modul vom Kernel und nicht vom media-build-dvbsky Paket. Hast du denn ein /lib/modules/3.19.2-1-ARCH/updates/kernel/drivers/media/rc/imon.ko.gz? Hast du an dem PKGBUILD oder der install Datei was gedreht? Ich hab media-build-dvbsky gerade noch einmal gebaut und bei mir kommen nach Installation des Pakets beide Module aus dem updates Verzeichnis.

  • In dem alten dvbsky Archive das deine C2800E noch unterstützt ist das imon Modul auskommentiert. Selbst wenn man es mit folgenden zwei Zeilen in prepare() aktiviert, bricht es mit einem Fehler beim Bauen ab:

    Code
    echo 'obj-$(CONFIG_IR_IMON) += imon.o' >> linux/drivers/media/rc/Makefile
    echo 'CONFIG_IR_IMON=m' >> v4l/.config


    Mit einem neueren dvbsky Archiv wird dann zwar imon unterstützt, aber deine TV-Kare nicht mehr. :rolleyes:


    Wie gesagt, das gescheiteste wäre es Max Nibble zu überzeugen den Support für C2800E zumindest in das aktuelle media-build Archiv wieder einzubauen. Noch besser wäre es natürlich C2800E in den Mainline Kernel zu bekommen.

  • Moin, bislang hab ich auf meine Mail leider keine Antwort erhalten. Träume nachts vom Kernel 4.0 der meine Karte versteht :sleep
    Nee, mal im ernst. An wen kann ich mich noch wenden? Würde mich ungern bei Kernel 3.19.3 "einfrieren" lassen, nur um TV zu schauen.


    realmatrix

  • Ich habe anhand der alten Quellen versucht, die Karte in die neuste Version wieder rein zu patchen.
    Es könnte allerdings sein, dass ich nicht alle Stellen erwischt habe. Probier doch mal das angehängte Archiv.

  • Cool. Vielen Dank! Jetzt läuft imon wieder. Beim cx23885 hat er allerdings noch Probleme...


    cx23885 driver version 0.0.4 loaded
    [ 12.177701] CORE cx23885[0]: subsystem: 4254:2800, board: DVBSKY C2800E DVB-C CI [card=52,autodetected]
    [ 12.431745] intel_rapl: Found RAPL domain package
    [ 12.431749] intel_rapl: Found RAPL domain core
    [ 12.431751] intel_rapl: Found RAPL domain uncore
    [ 12.431753] intel_rapl: Found RAPL domain dram
    [ 12.595993] cx25840 9-0044: cx23885 A/V decoder found @ 0x88 (cx23885[0])
    [ 12.660922] systemd[1]: Device dev-disk-by\x2dpartlabel-Linux\x5cx20filesystem.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 and /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1
    [ 13.263989] cx25840 9-0044: loaded v4l-cx23885-avcore-01.fw firmware (16382 bytes)
    [ 13.279785] cx23885_dvb_register() allocating 1 frontend(s)
    [ 13.279788] cx23885[0]: cx23885 based dvb card
    [ 13.473510] DVB: Unable to find symbol dvbsky_m88dc2800_attach()
    [ 13.473537] cx23885[0]: frontend initialization failed
    [ 13.473555] cx23885_dvb_register() dvb_register failed err = -22
    [ 13.473575] cx23885_dev_setup() Failed to register dvb adapters on VID_B
    [ 13.473599] cx23885_dev_checkrevision() Hardware revision = 0xa5
    [ 13.473607] cx23885[0]/0: found at 0000:02:00.0, rev: 4, irq: 19, latency: 0, mmio: 0xf7c00000

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!