Skystar s2 dvb-s2

  • на оффсайте выложили драйвер
    Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.


    пробуем и отписываемся
    на opensuse 11.1 2.6.29 не завелось
    на opensuse 10.3 2.6.22 завелось частично только dvb-s

  • mythtv@linux-mzd1:~> dmesg |grep flexcop
    b2c2_flexcop: no version for "cx24120_reset" found: kernel tainted.
    b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
    flexcop-pci: will use the HW PID filter.
    flexcop-pci: card revision 2
    b2c2-flexcop: MAC address = 00:08:c9:e0:4b:66
    b2c2-flexcop: i2c master_xfer failed
    b2c2-flexcop: ISL6421 successfully attached
    b2c2-flexcop: found 'Conexant CX24120/CX24118' .
    b2c2-flexcop: initialization of 'Sky2PC/SkyStar 2 DVB-S2 rev 3.3' at the 'PCI' bus controlled by a 'FlexCopIIb' complete

  • andreyforte


    can i, please, ask you to replace the original:


    v4l-dvb-6a9d064fe0ee/linux/drivers/media/dvb/frontends/cx24120_gpl.c


    with this one:


    Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.


    and then rebuild and install the driver with:


    # make
    # make install


    i added some debug "printk" to the cx24120_gpl.c file that will log the communication between the driver ("cx24120_blob") and the CX24120.


    if you collect some such logs and post them here we can then find how different is CX24120 from CX24116 and that will help to write open-source driver for CX24120 based on CX24116 driver.


    please, let me know if you willing to help and collect such logs. if you have questions i'm happy to answer them. thank you!

  • Цитата

    Со слов пользователя andreyforte
    Certainly I will make all that in my forces and possibility. For me honor to help community


    great, thank you!


    BTW, i've looked at "SkyNetBDA.sys" file from version 4.5.0 of the drivers for Windows and it uses different CX24120 firmware than "dvb-fe-cx24120-1.20.58.2.fw" included in the Technisat driver for Linux.


    probably, "SkyNetBDA.sys" v.4.5.0 contains newer version of the CX24120 firmware, but first you need to collect some logs with the modified "cx24120_gpl.c" and after analyze them probably we will know enough to use the firmware from "SkyNetBDA.sys" v.4.5.0 too.


    i mean to use whatever version of the CX24120 firmware you want, like it's possible to use a lot of different firmware versions with CX24116:


    Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.

    Сообщение было отредактировано 1 раз, последнее редактирование пользователем xkodi ().

  • ythtv@linux-mzd1:~> dmesg |grep flexcop
    b2c2_flexcop: disagrees about version of symbol cx24120_reset
    b2c2_flexcop: Unknown symbol cx24120_reset
    b2c2_flexcop_pci: Unknown symbol flexcop_device_exit
    b2c2_flexcop_pci: Unknown symbol flexcop_pass_dmx_packets
    b2c2_flexcop_pci: Unknown symbol flexcop_dma_control_timer_irq
    b2c2_flexcop_pci: Unknown symbol flexcop_sram_set_dest
    b2c2_flexcop_pci: Unknown symbol flexcop_dma_allocate
    b2c2_flexcop_pci: Unknown symbol flexcop_dma_xfer_control
    b2c2_flexcop_pci: Unknown symbol flexcop_dma_free
    b2c2_flexcop_pci: Unknown symbol flexcop_device_kmalloc
    b2c2_flexcop_pci: Unknown symbol flexcop_dma_config
    b2c2_flexcop_pci: Unknown symbol flexcop_device_kfree
    b2c2_flexcop_pci: Unknown symbol flexcop_device_initialize
    b2c2_flexcop_pci: Unknown symbol flexcop_pass_dmx_data
    b2c2_flexcop_pci: Unknown symbol flexcop_dma_config_timer
    b2c2_flexcop_pci: Unknown symbol flexcop_dump_reg
    b2c2_flexcop_pci: Unknown symbol flexcop_i2c_request
    b2c2_flexcop_pci: Unknown symbol flexcop_eeprom_check_mac_addr
    b2c2_flexcop: disagrees about version of symbol cx24120_reset

  • please, do:


    # dmesg | grep CX24120

    Сообщение было отредактировано 1 раз, последнее редактирование пользователем xkodi ().

  • Has broken there are ideas??


    It is empty output

    Сообщение было отредактировано 1 раз, последнее редактирование пользователем andreyforte ().

  • Цитата

    Со слов пользователя andreyforte
    Has broken there are ideas??


    so, after you replaced the "cx24120_gpl.c" with modified file the driver is not working anymore, right?

  • please, go to "v4l-dvb-6a9d064fe0ee" directory and do:


    # make clean
    # make
    # make install


    and then


    # shutdown -r now

    Сообщение было отредактировано 2 раз, последнее редактирование пользователем xkodi ().

  • Цитата

    Со слов пользователя andreyforte
    I compile. If there are ideas offer I will try =)


    is the re-compile done and it doesn't help for the problem or your computer is still compiling?


    if you revert back to the original "cx24120_gpl.c" can you compile and use successfully the driver again?

    Сообщение было отредактировано 3 раз, последнее редактирование пользователем xkodi ().

  • X24120: successfully send message 0x23
    CX24120: successfully send message 0x20
    CX24120: successfully send message 0x21
    CX24120: successfully send message 0x20
    CX24120: successfully send message 0x21
    CX24120: successfully send message 0x24
    CX24120: successfully send message 0x24
    CX24120: successfully send message 0x23
    CX24120: trying DVB-S now
    CX24120: successfully send message 0x11
    CX24120: successfully send message 0x16
    CX24120: GetFEC: 3
    CX24120: post lock; m: 210936, n: 152592, index: 141 m: 457776, n: 305184, rate: 384
    CX24120: successfully send message 0x17
    CX24120: tristate: 0
    CX24120: successfully send message 0x13
    mythtv@linux-mzd1:~> dmesg |grep cx24120
    cx24120: module license 'unspecified' taints kernel.
    b2c2_flexcop: no version for "cx24120_reset" found: kernel tainted.
    CX24120: requesting firmware (dvb-fe-cx24120-1.20.58.2.fw) to download...
    mythtv@linux-mzd1:~> dmesg |grep CX24120
    CX24120: detected CX24120 (Revision: 0x07)
    b2c2-flexcop: found 'Conexant CX24120/CX24118' .
    DVB: registering adapter 0 frontend 0 (Conexant CX24120/CX24118)...
    CX24120: requesting firmware (dvb-fe-cx24120-1.20.58.2.fw) to download...
    CX24120: firmware successfully requested...
    CX24120: firmware is 44924 bytes (02 0a .. 22 d5)
    CX24120: firmware downloaded successfully
    CX24120: successfully send message 0x1b
    CX24120: vco: 404440, inv_vco: 42478, res: 66864
    CX24120: successfully send message 0x10
    CX24120: successfully send message 0x15
    CX24120: tuner initialized correctly
    CX24120: tristate: ff
    CX24120: successfully send message 0x13
    CX24120: successfully send message 0x14
    CX24120: successfully send message 0x14
    CX24120: successfully send message 0x14
    CX24120: successfully send message 0x3c
    CX24120: successfully send message 0x23
    CX24120: successfully send message 0x20
    CX24120: successfully send message 0x21
    CX24120: successfully send message 0x20
    CX24120: successfully send message 0x21
    CX24120: successfully send message 0x24
    CX24120: successfully send message 0x24
    CX24120: successfully send message 0x23
    CX24120: trying DVB-S now
    CX24120: successfully send message 0x11
    CX24120: successfully send message 0x16
    CX24120: GetFEC: 3
    CX24120: post lock; m: 210936, n: 152592, index: 141 m: 457776, n: 305184, rate: 384
    CX24120: successfully send message 0x17
    CX24120: tristate: 0
    CX24120: successfully send message 0x13



    ythtv@linux-mzd1:~> dmesg |grep flexcop
    b2c2_flexcop: no version for "cx24120_reset" found: kernel tainted.
    b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
    flexcop-pci: will use the HW PID filter.
    flexcop-pci: card revision 2
    b2c2-flexcop: MAC address = 00:08:c9:e0:4b:66
    b2c2-flexcop: i2c master_xfer failed
    b2c2-flexcop: ISL6421 successfully attached
    b2c2-flexcop: found 'Conexant CX24120/CX24118' .
    b2c2-flexcop: initialization of 'Sky2PC/SkyStar 2 DVB-S2 rev 3.3' at the 'PCI' bus controlled by a 'FlexCopIIb' complete



    Write that I should to try, and if you can that as?

    Сообщение было отредактировано 1 раз, последнее редактирование пользователем andreyforte ().

  • these "CX24120: successfully send message" show what firmware command is send to the CX24120.


    and it seems that a lot of CX24120 firmware commands are the same as on CX24116, for example it make perfect sense that 0x11 is CMD_TUNEREQUEST as like with CX24116.


    too bad that it can't work for some reason with the modified "cx24120_gpl.c" and we can't get the full command that is send to CX24120.

  • dvb-s2 lock
    4120: successfully send message 0x21
    CX24120: trying DVB-S now
    CX24120: successfully send message 0x11
    CX24120: successfully send message 0x16
    CX24120: GetFEC: 3
    CX24120: post lock; m: 210936, n: 152592, index: 141 m: 457776, n: 305184, rate: 384
    CX24120: successfully send message 0x17
    CX24120: tristate: 0
    CX24120: successfully send message 0x13
    CX24120: tristate: ff
    CX24120: successfully send message 0x13
    CX24120: successfully send message 0x20
    CX24120: successfully send message 0x21
    CX24120: successfully send message 0x23
    CX24120: successfully send message 0x20
    CX24120: successfully send message 0x21
    CX24120: successfully send message 0x20
    CX24120: successfully send message 0x21
    CX24120: trying DVB-S now
    CX24120: successfully send message 0x11
    CX24120: successfully send message 0x16
    CX24120: GetFEC: 3
    CX24120: post lock; m: 210936, n: 152592, index: 141 m: 457776, n: 305184, rate: 384
    CX24120: successfully send message 0x17
    CX24120: tristate: 0
    CX24120: successfully send message 0x13
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: tristate: ff
    CX24120: successfully send message 0x13
    CX24120: successfully send message 0x20
    CX24120: successfully send message 0x21
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x23
    CX24120: successfully send message 0x20
    CX24120: successfully send message 0x21
    CX24120: successfully send message 0x20
    CX24120: successfully send message 0x21
    CX24120: trying DVB-S now
    CX24120: successfully send message 0x11
    CX24120: trying DVB-S2 now
    CX24120: successfully send message 0x11
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x1a
    CX24120: successfully send message 0x16
    CX24120: GetFEC: 14
    CX24120: DVB-S2: 8PSK
    CX24120: unsupported modulation tuned - data reception in danger
    CX24120: tristate: 0
    CX24120: successfully send message 0x13
    CX24120: successfully send message 0x1a


    for talk skype me

    Сообщение было отредактировано 1 раз, последнее редактирование пользователем andreyforte ().

  • yes, this way with the original "cx24120_gpl.c" we can see only the commands number that is sent, but we need to find a way to print the full list of arguments that are used with the commands.


    i need to think for new ideas, maybe someone else will also help with more ideas.

    Сообщение было отредактировано 1 раз, последнее редактирование пользователем xkodi ().

  • this time i modified the "flexcop-i2c.c" to collect the log data.


    so, please replace:


    v4l-dvb-6a9d064fe0ee/linux/drivers/media/dvb/b2c2/flexcop-i2c.c


    with this one:


    Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.


    and do


    # make clean
    # make
    # make install


    after you load the new driver and if it works then lock to some transponder and do


    # dmesg | grep B2C2


    post the results here, thank you!