fedyhd

  • Posts

    11
  • Joined

  • Last visited

fedyhd's Achievements

  1. Is there any info about problems with minidlna? thanks
  2. $ bin2fex /boot/script.bin | grep gmac fexc-bin: /boot/script.bin: version: 0.1.2 fexc-bin: /boot/script.bin: size: 35916 (80 sections) [gmac0] gmac_used = 0 gmac_power1 =
  3. Thanks. The problems of armbian 5.20 with minidlna are solved?
  4. I know, in fact I wanted to disable the internal card because I use a faster usb card.
  5. Thanks. I remember that to update from armbian <5.20 to armbian 5.20 there were slightly different instructions, are they no longer important?
  6. I use armbian 5.16 or 5.17 on my OPI-PC (I do not remember which of the two, I read Firmware: #14 from OPI-monitor). I installed h3consumption tool a few days ago with these instructions: sudo -s wget -q -O /usr/local/bin/h3consumption "https://raw.githubusercontent.com/igorpecovnik/lib/master/scripts/h3consumption" chmod 755 /usr/local/bin/h3consumption then I used "h3consumption - g off" and after a reboot "h3consumption - e off" (because I use a USB3toGigabit ethernet adapter). Now I have: $ sudo h3consumption -p Active settings: cpu 1296 mhz allowed, 1200 mhz possible, 4 cores active dram 624 mhz hdmi/gpu off usb ports active eth0 detected:/, Link: I had renamed the network interfaces with eth0 for my USBadapter and eth2 (ex eth0) for the integrated lan. In fact eth2 does not appear now with ifconfig command. However, I noticed that the integrated ethernet port LEDs are lit up with the cable that is disconnected . Then I tried: $ sudo h3consumption -e on /usr/local/bin/h3consumption: line 220: /etc/armbian-release: No such file or directory Armbian installation too old, please apt-get upgrade before. Exiting. How can I fix the problem? I had not updated armbian to version 5.20 because I had read about problems with minidlna which is important for me. If necessary, is this the correct procedure for updating? apt-get update apt-get upgrade apt-get install -f apt-get upgrade apt-get autoremove -y
  7. Disabling the RSS feeds the problem of high temperatures seems to go away. I have about 50°C. I posted a driver issue on github ("https://github.com/jernejsk/OpenELEC-OPi2/issues/76"). Bye!
  8. I'm ok now thanks, but it would be even better to have plugins in the unofficial repository (for wiringOP sure, then about 433mhz transmitters the above projects "rcswitch-pi" and "rfoutlet" only depend from that two library of WiringOP). Finally I wanted to thank you for your wonderful work with OpenELEC.
  9. Many thanks for your reply, jernej. Regarding the temperature, I see that after a few minutes in the home the temperature is about 70 degrees centigrade (on Armbian in idle is about 50 degrees). I disabled the RSS feeds but for now I have not tested well if the situation improves. About wiringOP, on armbian (OPI-PC) I had used https://github.com/zhaolei/WiringOP and It worked well in the few tests done. Nevertheless, with https://transfer.sh/ILHOt/tools.wiringop-7.0.1.zip in your openelec fork I get the following output of the command "gpio readall": OpenELEC:~ # gpio readall +-----+-----+----------+------+---+-Orange Pi+---+---+------+---------+-----+--+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | | | 3.3v | | | 1 || 2 | | | 5v | | | | | | SDA.0 | | | 3 || 4 | | | 5V | | | | | | SCL.0 | | | 5 || 6 | | | 0v | | | | 6 | 6 | IO6 PA06 | ALT3 | 0 | 7 || 8 | | | TxD3 | | | | | | 0v | | | 9 || 10 | | | RxD3 | | | | | | RxD2 | | | 11 || 12 | 0 | ALT3 | IO1 PD14 | 1 | 110 | | | | TxD2 | | | 13 || 14 | | | 0v | | | | | | CTS2 | | | 15 || 16 | 0 | ALT3 | IO4 PC04 | 4 | 68 | | | | 3.3v | | | 17 || 18 | 0 | ALT3 | IO5 PC07 | 5 | 71 | | | | MOSI | | | 19 || 20 | | | 0v | | | | | | MISO | | | 21 || 22 | | | RTS2 | | | | | | SCLK | | | 23 || 24 | | | SPI-CE0 | | | | | | 0v | | | 25 || 26 | | | CE1 | | | | | | SDA.1 | | | 27 || 28 | | | SCL.1 | | | | 7 | 7 | IO7 PA7 | ALT3 | 0 | 29 || 30 | | | 0v | | | | 8 | 8 | IO8 PA8 | ALT3 | 0 | 31 || 32 | 0 | ALT3 | IO9 PG08 | 9 | 200 | | 9 | 10 | IO10 PA9 | ALT3 | 0 | 33 || 34 | | | 0v | | | | 10 | 12 | IO12PA10 | ALT3 | 0 | 35 || 36 | 0 | ALT3 | IO13PG09 | 13 | 201 | | 20 | 14 | IO14PA20 | ALT3 | 0 | 37 || 38 | 0 | ALT3 | IO15PG06 | 15 | 198 | | | | 0v | | | 39 || 40 | 0 | ALT3 | IO16PG07 | 16 | 199 | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+-Orange Pi+---+------+----------+-----+-----+ Note the written "Orange Pi" instead of "OrangePIPC" and also the gpio numbering is different from that on armbian with https://github.com/zhaolei/WiringOP. Indeed I copied the folder compiled on armbian inside /storage in OpenELEC and I get: OpenELEC:~/WiringOP # LD_LIBRARY_PATH=/storage/WiringOP /storage/WiringOP/gpio/gpio readall +-----+-----+----------+------+---+--OrangePiPC--+---+------+---------+-----+--+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | | | 3.3v | | | 1 || 2 | | | 5v | | | | 2 | 8 | SDA.0 | ALT5 | 0 | 3 || 4 | | | 5V | | | | 3 | 9 | SCL.0 | ALT5 | 0 | 5 || 6 | | | 0v | | | | 4 | 7 | GPIO.7 | ALT3 | 0 | 7 || 8 | 0 | ALT3 | TxD3 | 15 | 14 | | | | 0v | | | 9 || 10 | 0 | ALT3 | RxD3 | 16 | 15 | | 17 | 0 | RxD2 | ALT3 | 0 | 11 || 12 | 0 | ALT3 | GPIO.1 | 1 | 18 | | 27 | 2 | TxD2 | ALT3 | 0 | 13 || 14 | | | 0v | | | | 22 | 3 | CTS2 | ALT3 | 0 | 15 || 16 | 0 | ALT3 | GPIO.4 | 4 | 23 | | | | 3.3v | | | 17 || 18 | 0 | ALT3 | GPIO.5 | 5 | 24 | | 10 | 12 | MOSI | ALT4 | 0 | 19 || 20 | | | 0v | | | | 9 | 13 | MISO | ALT4 | 0 | 21 || 22 | 0 | ALT3 | RTS2 | 6 | 25 | | 11 | 14 | SCLK | ALT4 | 0 | 23 || 24 | 0 | ALT4 | CE0 | 10 | 8 | | | | 0v | | | 25 || 26 | 0 | ALT3 | GPIO.11 | 11 | 7 | | 0 | 30 | SDA.1 | ALT4 | 0 | 27 || 28 | 0 | ALT4 | SCL.1 | 31 | 1 | | 5 | 21 | GPIO.21 | ALT3 | 0 | 29 || 30 | | | 0v | | | | 6 | 22 | GPIO.22 | ALT3 | 0 | 31 || 32 | 0 | ALT3 | RTS1 | 26 | 12 | | 13 | 23 | GPIO.23 | ALT3 | 0 | 33 || 34 | | | 0v | | | | 19 | 24 | GPIO.24 | ALT3 | 0 | 35 || 36 | 0 | ALT3 | CTS1 | 27 | 16 | | 26 | 25 | GPIO.25 | ALT3 | 0 | 37 || 38 | 0 | ALT3 | TxD1 | 28 | 20 | | | | 0v | | | 39 || 40 | 0 | ALT3 | RxD1 | 29 | 21 | +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+----------+------+---+--OrangePIPC--+------+----------+-----+-----+ where I added "LD_LIBRARY_PATH=/storage/WiringOP" because I have copied there "WiringOP/wiringPi/libwiringPi.so.2.0" renamed in "WiringOP/libwiringPi.so" and "WiringOP/devLib/libwiringPiDev.so.2.0" renamed in "WiringOP/libwiringPiDev.so". Otherwise I get the error "libwiringPi.so" and "libwiringPiDev.so" not found. In the moment I could not directly test the gpio command installed via openelec addons with, for example, a LED or a relay, but I tested the above libraries ("libwiringPi.so" and "libwiringPiDev.so") copied in ~/WiringOP from armbian that work perfect. In fact, I copied the folder "rcswitch-pi" compiled on armbian ("https://github.com/r10r/rcswitch-pi") inside /storage of openelec like before, and then the following command works perfectly: LD_LIBRARY_PATH=/storage/WiringOP /storage/rcswitch-pi/send XXXXX X 1 etc. (My electrical outlet turns on) The same thing works with the "codesend" command from "https://github.com/timleland/rfoutlet.git" compiled again on Armbian 5.20.
  10. 1- Hi, I realized that Kodi on Armbian does not use the internal player but mpv and does not support Hdmi-CEC. It's right? 2- I use armbian successfully on one of my two Opi-pc from March 2016. Now, I tried Jernej Openelec port on my other orange pi and works fine with CEC although a little hot. However I would use at least this program (which works perfect on Armbian): "https://github.com/r10r/rcswitch-pi.git"on Openelec, but I do not know how to compile it as an addon for installing on Openelec. Orangepi-forum is almost always out of reach, and I can not write there a question. From https://github.com/jernejsk/OpenELEC-OPi2 I compiled the OpenELEC image but what steps should I follow for the addons? I do not understand this example: "You can build wanted addon with: PROJECT=H3 ARCH=arm scripts/create_addon pvr.iptvsimple where pvr.iptvsimple is the addon you want to build." pvr.iptvsimple is the folder source?