Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

ATV9-MOD-(P212)AMPERE-V3

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by firmtech View Post

    alex161rus, tried your remote file. Did not work. Weird, that is the remote.conf from my original rom backup so you would think 0xfe01 should work. When I run dmesg -c with debug enabled I get same results I saw in terminal window. Buttons that work like UP and Down have no output to the screen. Buttons that are mapped wrong have no output to the screen either. Right and Left buttons that don't work have output like this... any thoughts? Thanks for your help!

    [ 671.611492@1] meson-remote c8100580.rc: scancode 80 undefined
    [ 671.611599@1] meson-remote c8100580.rc: no valid key to handle
    It is necessary to change the keys in dtb.It is necessary to convert dtb to dts in Linux.Edit dts.And back with dts in dtb.Maybe they will write here how to do it.

    Comment


      Originally posted by firmtech View Post

      alex161rus, tried your remote file. Did not work. Weird, that is the remote.conf from my original rom backup so you would think 0xfe01 should work. When I run dmesg -c with debug enabled I get same results I saw in terminal window. Buttons that work like UP and Down have no output to the screen. Buttons that are mapped wrong have no output to the screen either. Right and Left buttons that don't work have output like this... any thoughts? Thanks for your help!

      [ 671.611492@1] meson-remote c8100580.rc: scancode 80 undefined
      [ 671.611599@1] meson-remote c8100580.rc: no valid key to handle
      Post your original remote.conf with a comment for each key code, which function it triggers, I will later integrate this into dtb

      Comment


        Originally posted by bumerc View Post
        Post your original remote.conf with a comment for each key code, which function it triggers, I will later integrate this into dtb
        Here is the file.
        Attached Files

        Comment


          firmtech

          download meson1.dtb
          and install it..

          SSH install(ccopy meson1.dtb to sdcard)
          dd if=/sdcard/meson1.dtb of=/dev/block/dtb bs=262144
          ADB install
          adb shell dd if=meson1.dtb of=/dev/block/dtb bs=262144
          reboot

          Comment


            My WIFI is SCI S9082C and don't work wifi

            Comment


              this is my log
              :/vendor/etc/dropbear # dmesg | grep wifi
              [ 0.000000] Kernel command line: init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 otg_device=1 reboot_mode_android=normal androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,1080p60hz maxcpus=4 vout=1080p60hz,enable hdmimode=1080p60hz frac_rate_policy=1 cvbsmode=576cvbs hdmitx=,rgb,8bit cvbsdrv=0 irq_check_en=0 androidboot.firstboot=0 jtag=apao androidboot.veritymode=enforcing androidboot.hardware=amlogic page_trace=on androidboot.rpmb_state=0 androidboot.serialno=1234567890 androidboot.wificountrycode=US ro rootwait skip_initramfs androidboot.dtbo_idx=0 --cmdline root=/dev/mmcblk0p18 buildvariant=userdebug
              [ 2.474563] wifi: power_on_pin_OD = 0;
              [ 2.476976] aml_wifi wifi: [wifi_dev_probe] no power_on_pin2
              [ 2.482914] aml_wifi wifi: [pwm_double_channel_conf_dt] wifi pwm dt ok
              [ 2.489548] aml_wifi wifi: [pwm_double_channel_conf] wifi pwm conf ok
              [ 2.496205] aml_wifi wifi: [wifi_dev_probe] dhd_static_buf setup
              [ 2.516436] aml_wifi wifi: [wifi_dev_probe] interrupt_pin=487
              [ 2.522341] aml_wifi wifi: [wifi_dev_probe] irq_num=0, irq_trigger_type=1
              [ 2.529371] aml_wifi wifi: [wifi_dev_probe] power_on_pin=486
              [ 2.535203] aml_wifi wifi: [wifi_dev_probe] clock_32k_pin=0
              [ 2.541247] aml_wifi wifi: [wifi_setup_dt] wifi_setup_dt
              [ 2.546664] aml_wifi wifi: [wifi_setup_dt] irq num is64)
              [ 2.552182] aml_wifi wifi: [wifi_setup_dt] interrupt_pin(487)
              [ 2.558170] aml_wifi wifi: [wifi_setup_dt] power_on_pin(486)
              [ 11.490189] dhd_wifi_platform_load: Enter
              [ 11.499144] wifi_platform_set_power = 1
              [ 11.508385] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 11.715095] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 12.224325] wifi_platform_bus_enumerate device present 1
              [ 14.369182] wifi_platform_set_power = 0
              [ 14.373328] wifi_platform_bus_enumerate device present 0
              [ 14.384435] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 14.593002] wifi_platform_set_power = 1
              [ 14.596685] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 14.803379] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 15.312385] wifi_platform_bus_enumerate device present 1
              [ 17.377814] wifi_platform_set_power = 0
              [ 17.382857] wifi_platform_bus_enumerate device present 0
              [ 17.393168] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 17.607075] wifi_platform_set_power = 1
              [ 17.610787] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 17.817424] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 18.324358] wifi_platform_bus_enumerate device present 1
              [ 20.386183] wifi_platform_set_power = 0
              [ 20.389862] wifi_platform_bus_enumerate device present 0
              [ 20.401459] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 20.608097] wifi_platform_set_power = 1
              [ 20.611762] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 20.818422] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 21.324812] wifi_platform_bus_enumerate device present 1
              [ 23.395719] wifi_platform_set_power = 0
              [ 23.399416] wifi_platform_bus_enumerate device present 0
              [ 23.410978] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 23.618833] unregister wifi platform drivers
              [ 23.623182] wifi_platform_bus_enumerate device present 0
              [ 23.634829] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 23.864533] dhd_wifi_platform_load: Enter
              [ 23.873586] wifi_platform_set_power = 1
              [ 23.882822] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 24.089493] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 24.596738] wifi_platform_bus_enumerate device present 1
              [ 26.662474] wifi_platform_set_power = 0
              [ 26.666414] wifi_platform_bus_enumerate device present 0
              [ 26.678077] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 26.884799] wifi_platform_set_power = 1
              [ 26.888473] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 27.095143] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 27.600319] wifi_platform_bus_enumerate device present 1
              [ 29.670846] wifi_platform_set_power = 0
              [ 29.674739] wifi_platform_bus_enumerate device present 0
              [ 29.686428] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 29.893167] wifi_platform_set_power = 1
              [ 29.896838] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 30.103517] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 30.612324] wifi_platform_bus_enumerate device present 1
              [ 32.673623] wifi_platform_set_power = 0
              [ 32.677256] wifi_platform_bus_enumerate device present 0
              [ 32.688867] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 32.895508] wifi_platform_set_power = 1
              [ 32.899178] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 33.105833] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 33.612350] wifi_platform_bus_enumerate device present 1
              [ 35.681674] wifi_platform_set_power = 0
              [ 35.685561] wifi_platform_bus_enumerate device present 0
              [ 35.697200] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 35.905023] unregister wifi platform drivers
              [ 35.909408] wifi_platform_bus_enumerate device present 0
              [ 35.921111] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 36.150810] dhd_wifi_platform_load: Enter
              [ 36.159865] wifi_platform_set_power = 1
              [ 36.169113] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 36.375763] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 36.884401] wifi_platform_bus_enumerate device present 1
              [ 38.950722] wifi_platform_set_power = 0
              [ 38.954608] wifi_platform_bus_enumerate device present 0
              [ 38.966167] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 39.172801] wifi_platform_set_power = 1
              [ 39.176474] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 39.383161] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 39.888336] wifi_platform_bus_enumerate device present 1
              [ 41.953687] wifi_platform_set_power = 0
              [ 41.957320] wifi_platform_bus_enumerate device present 0
              [ 41.968936] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 42.175573] wifi_platform_set_power = 1
              [ 42.179239] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 42.385897] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 42.892740] wifi_platform_bus_enumerate device present 1
              [ 44.962792] wifi_platform_set_power = 0
              [ 44.970226] wifi_platform_bus_enumerate device present 0
              [ 44.978505] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 45.185071] wifi_platform_set_power = 1
              [ 45.188747] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 45.395412] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 45.904316] wifi_platform_bus_enumerate device present 1
              [ 47.969886] wifi_platform_set_power = 0
              [ 47.973528] wifi_platform_bus_enumerate device present 0
              [ 47.985127] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 48.192956] unregister wifi platform drivers
              [ 48.197328] wifi_platform_bus_enumerate device present 0
              [ 48.208999] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 48.438705] dhd_wifi_platform_load: Enter
              [ 48.447765] wifi_platform_set_power = 1
              [ 48.457007] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 48.663667] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 49.172743] wifi_platform_bus_enumerate device present 1
              [ 51.233698] wifi_platform_set_power = 0
              [ 51.237331] wifi_platform_bus_enumerate device present 0
              [ 51.248975] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 51.455582] wifi_platform_set_power = 1
              [ 51.459245] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 51.665911] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 52.172743] wifi_platform_bus_enumerate device present 1
              [ 54.246693] wifi_platform_set_power = 0
              [ 54.250586] wifi_platform_bus_enumerate device present 0
              [ 54.262244] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 54.468994] wifi_platform_set_power = 1
              [ 54.472655] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 54.679315] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 55.188382] wifi_platform_bus_enumerate device present 1
              [ 57.249646] wifi_platform_set_power = 0
              [ 57.253274] wifi_platform_bus_enumerate device present 0
              [ 57.264887] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 57.471561] wifi_platform_set_power = 1
              [ 57.475224] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 57.681890] aml_wifi wifi: [extern_wifi_set_enable] WIFI Enable! 486
              [ 58.188728] wifi_platform_bus_enumerate device present 1
              [ 60.262566] wifi_platform_set_power = 0
              [ 60.266462] wifi_platform_bus_enumerate device present 0
              [ 60.277977] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 60.485847] unregister wifi platform drivers
              [ 60.490279] wifi_platform_bus_enumerate device present 0
              [ 60.501913] aml_wifi wifi: [extern_wifi_set_enable] WIFI Disable! 486
              [ 67.771162] aml_wifi wifi: [usb_power_control] Set WiFi power down
              [ 68.005788] aml_wifi wifi: [usb_power_control] Set WiFi power on !
              [ 68.035148] aml_wifi wifi: [usb_power_control] Set WiFi power on !
              [ 68.240786] aml_wifi wifi: [pci_reinit] pci wifi reinit!
              [ 68.240837] aml_wifi wifi: [wifi_power_ioctl] Set sdio wifi power up!
              [ 68.247592] aml_wifi wifi: [wifi_power_ioctl] wifi interface dev type: sdio, length = 4
              [ 86.035215] aml_wifi wifi: [usb_power_control] Set WiFi power down
              [ 86.035941] aml_wifi wifi: [wifi_power_ioctl] ioctl Set sdio wifi power down!
              :/vendor/etc/dropbear # dmesg | grep chip
              [ 0.222797] Meson chip version = RevB (21:B - 82:0)
              [ 1.150158] hdmitx: system: hdmitx_device.chip_type : 3
              [ 1.347015] chip type:0x21
              [ 9.493928] The chip is not support hevc encoder
              :/vendor/etc/dropbear #

              Comment


                Originally posted by wesley123 View Post
                My WIFI is SCI S9082C and don't work wifi
                read post # 1 carefully

                Comment


                  Originally posted by bumerc View Post
                  firmtech

                  download meson1.dtb
                  and install it..

                  SSH install(ccopy meson1.dtb to sdcard)


                  ADB install

                  reboot
                  Did not work, remote still working the same way it was. Thanks for your efforts. Here is output from SSH on right and left buttons of remote. File did install in SSH.

                  :/vendor/etc/dropbear # dmesg -c
                  [ 689.882275] meson-remote c8100580.rc: scancode 80 undefined
                  [ 689.882402] meson-remote c8100580.rc: no valid key to handle
                  :/vendor/etc/dropbear # dmesg -c
                  [ 699.339118] meson-remote c8100580.rc: scancode 81 undefined
                  [ 699.339274] meson-remote c8100580.rc: no valid key to handle

                  Comment


                    show the dtb installation log

                    Comment


                      Originally posted by bumerc View Post
                      show the dtb installation log
                      Copied file to sdcard, then...

                      login as: root
                      #################################
                      * * * * * * * * * * * * * * * * *
                      * Welcome to ampere SSH-server! *
                      * *
                      * * * * * * * * * * * * * * * * *
                      #################################
                      Authenticating with public key "imported-openssh-key"
                      Passphrase for key "imported-openssh-key":
                      :/vendor/etc/dropbear # dd if=/storage/C0E4-7E0C/meson1.dtb of=/dev/block/dtb bs=262144
                      0+1 records in
                      0+1 records out
                      174080 bytes transferred in 0.013 secs (13390769 bytes/sec)
                      :/vendor/etc/dropbear # reboot

                      Comment


                        OK, everything is right.
                        Are you sure you have a correct remote.conf file? The remote control works for other users..

                        Comment


                          Originally posted by bumerc View Post
                          OK, everything is right.
                          Are you sure you have a correct remote.conf file? The remote control works for other users..
                          I'm pretty sure, the remote.conf was taken from the original stock rom. It was the only one in the /etc folder from a twrp backup, found it here system.ext4.win /etc folder. remote did work with the stock rom. I cannot find the original rom anywhere its a leelbox q1 plus.

                          Comment


                            there is a way to check this. Install CoreElec on the SD card and create a new remote.cfg file, compare the key codes of this file with the original file

                            Comment


                              Originally posted by bumerc View Post
                              there is a way to check this. Install CoreElec on the SD card and create a new remote.cfg file, compare the key codes of this file with the original file
                              Ok, I got CoreElec up and running. I scanned all buttons, here are the results.
                              Attached Files

                              Comment


                                firmtech
                                Replace the dtb again and copy remote1.tab to /vendor/etc/
                                meson1.dtb
                                Attached Files

                                Comment

                                Working...
                                X