OpenELEC 5.95.2

Discussion in 'XBMC' started by vpeter, Jun 28, 2015.

  1. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Universal image for both Udoo Quad and Udoo DualLite: OpenELEC-imx6.arm-5.95.3-udoo-universal_v01

    OpenELEC 5.95.3 for Udoo with LVDS touchscreens support
    OpenELEC-imx6.arm-5.95.3-udoo_quad-v01
    https://drive.google.com/folderview...pUUhZRkE5akh2YUk0WUlUX3hwLW8&usp=sharing#list

    =0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0=0

    Here is another special build of OpenELEC 5.95.2 for Udoo. In includes support for analog audio and both LVDS touchscreens. It should include support for some other touchscreens too (idorel77, maybe yours).

    OpenELEC-imx6.arm-5.95.2-udoo_quad-v01
    https://drive.google.com/folderview...4VHF5dm9yUGFnTzNsZXVfTGZyV1E&usp=sharing#list

    By default image starts with HDMI video output. To change for LVDS display file /flash/uEnv.txt must be edited with vi or nano editor in ssh console. Or it can be done in Windows with SD card reader.

    mount -o remount,rw /flash
    cd /flash
    nano uEnv.txt
    # or
    vi uEnv.txt

    # enable only one video line
    # HDMI
    video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32
    # 7" LVDS
    #video=mxcfb0:dev=ldb,800x480M@60,if=RGB666,bpp=32
    # 15.6" LVDS
    #video=mxcfb0:dev=ldb,1368x768M@60,if=RGB24,bpp=32

    Ssh can also be activated from uEnv.txt.

    Serial console can also be activated in file /flash/uEnv.txt.

    Ssh can be started from OpenELEC settings or from serial console
    touch /storage/.config/run_sshd
    systemctl start sshd

    To use official Udoo's LVDS touchscreens nothing special must be made because everything is done automatically.
    The most important part of software to support touchscreen in Kodi is done by me in last week. It takes the best of tslib (touchcreen access library which provides common interface to touchscreen and allows touchscreen events filtering, calibrating, ...) and uinput linux kernel module that allows to handle the input subsystem from user land. My software takes event from touchcreens and send them to Kodi which doesn't need any patch.

    If displays are switched then some config files must be removed (folder /storage/.config/ts). It can be done in ssh or over samba.

    To use touchscreens ts_uinput_touch daemon must be running (it is done automatically). It can be checked in ssh console by command ps.

    OpenELEC:~ # ps | grep touch
    556 root 0:00 ts_uinput_touch -d

    Checking touchscreen with evtest program (Kodi and ts_uinput_touch daemon must be stopped).
    systemctl stop kodi
    systemctl stop ts_uinput_touch
    evtest

    No device specified, trying to scan all of /dev/input/event*
    Available devices:
    /dev/input/event0: RCMCU iPazzPort
    /dev/input/event1: RCMCU iPazzPort
    /dev/input/event2: 3M 3M USB Touchscreen - EX II
    /dev/input/event3: tslib to uinput daemon

    If only Kodi is stopped it is possible to use evtest on ts_uinput_touch daemon's output (/dev/input/event3 in my case).

    Calibration can be done in a different ways (not needed for 7" display).
    From calibration addon under Programs, Tslib/Kodi Touch Screen Calibration.

    It should appear 5 cross points (top left, top right, bottom right, bottom left, center). Touch them and after one is touched another should be shown.

    Second alternative calibration mode is directly with ts_calibrate from ssh console:
    ts_calibrate.sh

    Third alternative calibration mode is from services (this is most reliable way because it uses tslib calibration directly).
    In ssh console file must be created and then system must be rebooted:
    touch /storage/.config/ts/recalibrate
    sync
    reboot

    Or the same action can be selected from calibration addon under settings.

    To use some different touchscreen config file must be made /storage/.config/ts/ts.conf
    There is already some generic file ts.conf-generic which must be copied.
    Also file ts_env.sh must be made (from sample file ts_env.sh-sample). The most important part there is TSLIB_TSDEVICE which can be get with evtest program

    OpenELEC:~ # evtest
    No device specified, trying to scan all of /dev/input/event*
    Available devices:
    /dev/input/event0:Chalkboard Electronics HID Multi-touch

    so our device is on /dev/input/event0

    The other (probably better option) is to use device by-id. Run command
    ls -l /dev/input/by-id
    and you will see something like
    usb-eGalax_Inc._USB_TouchController-event-mouse -> ../event6

    Then set TSLIB_TSDEVICE as
    /dev/input/by-id/usb-eGalax_Inc._USB_TouchController-event-mouse

    After all those files are made the screen should work after reboot. Then only calibration must be done and rebooted once more and all is done.

    Please let me know how it went. Currently I'm the only one who created that and tested. So probably not yet everything is perfect. And my instructions are not perfect either. I would be very appreciated if someone would make instructions more clear.

    Have fun! I had and will do in the future.

    I forgot to thanks all the people who helped me ;)

    Bugs: analog volume is little low but will be fixed in a day or two.
     
    Last edited: Aug 4, 2015
    jdewilde, Viper780 and bigchrizzieboy like this.
  2. idorel77

    idorel77 Member

    Joined:
    Jul 25, 2014
    Messages:
    131
    Likes Received:
    2
    Thanks Peter, i will try today :)
     
  3. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    I uploaded OpenELEC-imx6.arm-5.95.2-udoo_quad-v02 where analog audio should be louder.
     
    bigchrizzieboy likes this.
  4. salouma

    salouma Member

    Joined:
    Jan 24, 2014
    Messages:
    49
    Likes Received:
    2
    Thans Vpeter for that wonderful work.

    I run one of your previous image, what is the procedure to upgrade ?

    Should i copy / past file over my partition of Kodi ? (replace file). Is there a way to update without loosing my configuration / installed plugin ?

    Best regards,

    Salim
     
  5. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Updating OpenELEC
    You just put tar file to Update folder and reboot the system. It only update system and all your settings remain.
     
    bigchrizzieboy likes this.
  6. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    I uploaded OpenELEC-imx6.arm-5.95.2-udoo_quad-v03 with better touchscreen navigation. Tap between 1 and 300 msec acts as left button click. Tap between 300 msec and 1 sec acts as right button click (opening context menu). Tap more than a sec only moves mouse pointer.

    Seems with this image I'm done for a while because everything just works :) Only analog sound is little to loud. This can be fixed with ssh command
    amixer -c 0 -q sset "PCM" 70%
    This can be added to autostart.sh. It will be fixed in next image.
     
    Last edited: Jul 5, 2015
    bigchrizzieboy likes this.
  7. ivan

    ivan Member

    Joined:
    Mar 8, 2015
    Messages:
    77
    Likes Received:
    4
    may I ask something? When I install RADIO in music, on a runnning OpenElec (thank you peter) And I search for a internet radio, then it starts the radio.... BUT it sounds like a pitch to high.
    Like running a 33rpm LP running on 45 sinlge.
    Very odd....Any hint?
    I listen often to Waqy Rock 102 => High pitch.
     
  8. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Tell me exactly how can I add this radio and I will check.
     
  9. ivan

    ivan Member

    Joined:
    Mar 8, 2015
    Messages:
    77
    Likes Received:
    4
    Lets sayt, you start openelec. It is a blue background, with "theater";" pictures";"video";"musical";..."setting"
    Chose musical andere add on
    Search for "radio". Andere installatie.
    Its an internet radio with over 500stations.
    Chose a station, and try. Hopefully its not a murphys law on my side.
    Btw thans for looking in tot it.
    Ivan FLO
     
  10. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    So I tried few radio stations and seems ok on my side. Especially because I was listening for one song from Ellie Goulding which I know how should be heard. If anyone else can try and confirm?
     
  11. ivan

    ivan Member

    Joined:
    Mar 8, 2015
    Messages:
    77
    Likes Received:
    4
    Murphys law....
    I listen mostly tot waqy rock 102.
    Wanna bet that it plays well...:)

    The dat after tommorow i will take a movie from it.... Tommorow door appointment...(hopefully it's not my ears :) )
     
  12. ivan

    ivan Member

    Joined:
    Mar 8, 2015
    Messages:
    77
    Likes Received:
    4
    I found the "bug" I have a verry bad WIFI signal.
    With a cable I don't have this problem... With wifi every 5min.
    Changing with a Wifi USB stick, same problem...

    This week I change my ISP...
    But anaway, Peter, I'm verry greatfull
     
  13. punk45rock

    punk45rock Member

    Joined:
    Dec 21, 2013
    Messages:
    32
    Likes Received:
    2
    If you are any good with a soldering iron, you could try this mod, although you might want to do a test with another distribution first to make sure it isn't just related to this build of openelec. http://www.udoo.org/tutorial/how-to-mod-your-udoo-to-improve-wi-fi-performances/
     
  14. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    In openelec I didn't even checked how wifi works. It should.

    But according to this
    it is general wifi problem.
     
  15. ivan

    ivan Member

    Joined:
    Mar 8, 2015
    Messages:
    77
    Likes Received:
    4
    I love to do that, if I was younger....
    Now, I tremble to much. And I'm scared to harm my Udoo...
    But, as Peter mentioned, its a Wifi problem on the source, not on the reciever.

    It's running like a maglev train.
    https://embed.theguardian.com/embed...n-breaks-world-speed-record-on-test-run-video

    All the credits for this job goes to Peter.
     
  16. EdgeKain

    EdgeKain New Member

    Joined:
    Jul 28, 2015
    Messages:
    2
    Likes Received:
    0
    Hi vpeter,
    I've installed your latest image (v03) and everything is working great except the sound. I have built-in speaker on my TV and I changed the audio output to use the hdmi instead of the analog but I still get no sound. It's not just a stream issue even the sound when moving in the menu are not coming off. I tried cold reboot after changing the setting but still nothing. Is there something I can look to try to find the root cause of my issue ?

    Thanks in advance for your help and thank you for all your work on getting an kodi image for UDOO
     
  17. EdgeKain

    EdgeKain New Member

    Joined:
    Jul 28, 2015
    Messages:
    2
    Likes Received:
    0
    Hi again,
    Never mind I found my issue. It was with my TV.

    Thanks again
     
  18. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    I created universal OpenELEC image for both Udoo Quad and Udoo DualLite: OpenELEC-imx6.arm-5.95.3-udoo-universal_v01
    Download on first post.
     
    Viper780 and bigchrizzieboy like this.
  19. ivan

    ivan Member

    Joined:
    Mar 8, 2015
    Messages:
    77
    Likes Received:
    4
    Thanks Peter. everybody has now a working XBMC/Kodi thanks to you.
    Mine is still working (EVERY DAY 24/24 7/7).

    Are there differences? I changed the Add on with TVADDON according to thisYoutube
    And that works smooooooothlu ... :):)
     
  20. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Not much. If something works satisfactory just leave it as is ;)
     
    Andrea Rovai and bigchrizzieboy like this.

Share This Page