Search the Community

Showing results for tags 'tvbox'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Announcements & first aid
    • Announcements
    • Board doesn't start
  • Community forums
    • Common issues / peer to peer technical support
    • Reviews, Tutorials, Hardware hacks
    • Help wanted
    • Feature Requests
    • TV boxes
    • General chit chat
  • Bug tracker - supported boards and images only
    • Allwinner A20
    • Allwinner H2 & H3
    • Allwinner A64, H5, H6 and H616
    • Armada A388, A3700
    • Amlogic S905(x), S922X
    • NXP (Freescale)
    • Rockchip 3288 & 3328
    • Rockchip 3399
    • Other supported boards
  • Development
    • Development
  • TV Boxes's General Chat
  • TV Boxes's Reviews/Tutorials
  • TV Boxes's FAQ
  • TV Boxes's TV Boxes running Armbian
  • TV Boxes's Rockchip CPU Boxes
  • TV Boxes's Amlogic CPU Boxes
  • TV Boxes's Allwinner CPU Boxes
  • Android fanboys's Forums
  • Gaming on ARM's Reviews
  • Gaming on ARM's Issues
  • Kobol Forum's Helios4
  • Kobol Forum's Helios64

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Website URL






Found 2 results

  1. Instead of using Volumio or Daphile, I installed Armbian_21.05.1_Rk322x-box_buster_legacy_4.4.194 to a MXQ Pro box. The box was shipped with Android 7, and I installed Devinfo to check if it is eMMC or NAND. It is lucky that my box equipped with eMMC, so I installed the OS easily. After that, I did some following steps: 1- Run rk322x-config: I select CPU 3228B-1.4 Ghz, board 322x MXQ, wifi ssv6X5X 2- Run nmtui to setup wifi connection 3- Armbian-config: to add something such as infra red 4- Set default sound card: hai@rk322x-box:/etc$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: DWI2SHDMI [DW-I2S-HDMI], device 0: 100c0000.i2s0-i2s-hifi i2s-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: SPDIF [SPDIF], device 0: 100d0000.spdif-dit-hifi dit-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: DAC [USB Audio DAC], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 3: ANALOG [ANALOG], device 0: 100b0000.i2s1-rk3228-hifi rk3228-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 It means that my USB Audio DAC is card 2. I revised /etc/asound.conf to make it contain only 2 lines defaults.ctl.card 2 defaults.pcm.card 2 You can verify with alsamixer : it should display USB DAC as default. 5- Install mpd and edit /etc/mpd.conf … # I will use usbstick to store the songs music_directory "/mnt/usb" … #you can set static IP for music server or add “any” as the address bind_to_address "any" The other lines can be left as default 6- Automount USB Edit /etc/fstab to add the following line UUID=689E-CF4D /mnt/usb vfat defaults 0 0 Youn can find your usbstick UUID with sudo blkid 7- The most difficult section is configuring infra red. Now lirc and /dev/lirc0 have been obsolate. We will have to deal with gpio_ir_recv (you can check with lsmod) There are 2 steps here: a- Map the key name with keycode of your remote controller. b- Config a daemon to do the action you want while received the keycode. At first, you should know which device is belong to your ir receiver. hai@rk322x-box:/dev/input$ ll /dev/input/by-path/ total 0 lrwxrwxrwx 1 root root 9 May 21 21:17 platform-200a0000.hdmi-event-mouse -> ../event0 lrwxrwxrwx 1 root root 9 May 21 21:17 platform-30120000.usb-usb-0:1:1.2-event -> ../event2 lrwxrwxrwx 1 root root 9 May 21 21:17 platform-gpio-keys-event -> ../event1 lrwxrwxrwx 1 root root 9 May 21 21:17 platform-ir-receiver-event-mouse -> ../event3 In this case, /dev/input/event3 is my ir And then I can run this command to check ir code: hai@rk322x-box:/dev/input$ ir-keytable --device /dev/input/event3 -t -v Opening /dev/input/event3 Input Protocol version: 0x00010001 Testing events. Please, press CTRL-C to abort. 1845.720102: event type EV_MSC(0x04): scancode = 0x113 1845.720102: event type EV_SYN(0x00). ^C It will wait for you to push a RC button and show the code (0x113). After that, you can create a file to map keyname with keycode. I edited /lib/udev/rc_keymaps/samsung.toml [[protocols]] name = "samsung" protocol = "nec" variant = "nec" [protocols.scancodes] 0x140= "KEY_POWER" There are many *.toml files in the same directory, you can refer them to find the correct keynames. Next, to make it consitent, you can edit /etc/rc_maps.cfg (its header guided you very clearly) Add this line: gpio_ir_recv * /lib/udev/rc_keymaps/samsung.toml Regarding step b, you should install triggerhappy. To config it is very easy. Just create a file under /etc/triggerhappy/triggers.d (any filename) My file contains only one line: KEY_POWER 1 /usr/sbin/init 0 (use key power to shutdown the box) Finally, you can test sudo ir-keytable -c -w /lib/udev/rc_keymaps/samsung.toml --device /dev/input/event3 Old keytable cleared Wrote 1 keycode(s) to driver sudo thd --trigger /etc/triggerhappy/triggers.d/ /dev/input/event3 If it can work well, you just need to reboot the box! Important note: If you use MXQ as an audiophile music box, you must connect it to a linear power supply. Never use its equipped power adapter or any other pulse power supply.
  2. this is just a quick note that in my experience the amount of tv boxes with fake specs has grown quite a bit in the last months and that this is something to always have in mind when getting a box for a surprisingly cheap (i.e. quite a bit cheaper than usual or most of the other offerings) price - you might be lucky and it will be a bargain or you might hit one with fake specs. some examples i saw recently: a qplus 4g ram / 32g emmc ended up to be 2g ram and 16g nand, a h6 box sold as 4g ram / 32g emmc ended up as 2g ram / 16g emmc, a x96mini 2g ram / 16g emmc ended up at only 1g ram / 16g emmc, a r39 2g ram / 16g emmc with rockchip rk3229 ends up as 1g ram / 16g emmc and an allwinner h3 cpu and so on. the fake specs are not that easy to spot: in android they even fake the storage size shown in the storage settings and with a terminal installed even the "free" command tells you most of the time that the memory amount is proper. what usualy works for storage is "cat /proc/partitions" and watching for the device itself (for instance mmcblk0) - this also quickly shows you if its emmc (=mmcblk) or nand (=nand) and for memory "dmesg | grep -i mem" (do this immediately after booting android, otherwise the memory lines from the bootup might run out of the log buffer) - both of course called in a terminal app. booting one of balbes150's armbian images usually quickly shows you the real specs of the box too. good luck at not ending up with fake boxes and best wishes - hexdump p.s.: one thing to keep in mind is that allwinner h6 boxes always only can use 3g ram, even if they have 4g installed - this is a limitataion of the soc ...