1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Hyperion not working with OSMC Kodi 16.1

Discussion in 'Hardware Support' started by ad-on-is, 11 September 2016.

Tags:
  1. ad-on-is

    ad-on-is New Member

    Messages:
    6
    Hardware:
    RPi2
    Hi,

    I can't get hyperion to work with Kodi 16.1.
    Everything is connected properly. I also ran a test of my led strip with arduino and all LEDs work fine.

    - Hyperion starts without errors.
    - Android App connects to Hyperion server.

    But no matter what I do, I cannot control the LEDs.

    That's how my hyperion configuration looks like:


    Here's my /boot/config.txt


    Code:
    gpu_mem_1024=256
    hdmi_ignore_cec_init=1
    disable_overscan=1
    start_x=1
    disable_splash=1
    dtparam=spi=on
    gpu_mem_256=112
    sdtv_aspect=1
    gpu_mem_512=144 

    Any suggestions what I'm doing wrong here?

    Cheers,
    Adis
     
  2. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,202
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    Had the same issue yesterday testing some things, i mixed up data and clock -.- did you checked it?

    do you see with "ls /dev" if the spi are available?
     
  3. ad-on-is

    ad-on-is New Member

    Messages:
    6
    Hardware:
    RPi2
    yes... checked that a few times. tried switching the wires. also tried several GND-pins. but without success.

    "ls /dev" shows:
    Code:
    ...
    spidev0.0
    spidev0.1
    ...
    
    I also tried using spidev0.1 without success.

    "lsmod" also shows that spi is enabled
    Code:
    spi_bcm2835             7753  0
     
  4. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,202
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
  5. ad-on-is

    ad-on-is New Member

    Messages:
    6
    Hardware:
    RPi2
    Seems like SPI is not working:

    Code:
    [email protected]:/home/osmc/spitest# ./spidev_test -D /dev/spidev0.0
    spi mode: 0
    bits per word: 8
    max speed: 500000 Hz (500 KHz)
    
    00 00 00 00 00 00
    00 00 00 00 00 00
    00 00 00 00 00 00
    00 00 00 00 00 00
    00 00 00 00 00 00
    00 00 00 00 00 00
    00 00
    
     
  6. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,202
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    maybe yes, but to be sure i would test it with raspbian too, may the problem is on osmc. could you test it with raspbian?
     
  7. ad-on-is

    ad-on-is New Member

    Messages:
    6
    Hardware:
    RPi2
    I had it already working on OSMC one time. But just for testing purposes. Now I have my LED-strip ready but in the meantime I did some system-updates. Now it doesn't work anymore.
     
  8. ad-on-is

    ad-on-is New Member

    Messages:
    6
    Hardware:
    RPi2
    Well, seems like my SPI-pins are damaged.
    After a fresh clean install, still couldn't get it to work. So I went for the arduino solution. Now everything works fine.
     
  9. Brindosch

    Brindosch Active Member

    Messages:
    678
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    This is weird. Would be interesting what happend exatly...
     
  10. penfold42

    penfold42 Moderator Developer

    Messages:
    749
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Is this the second dead SPI pins report we've had here?

    A couple of theories:
    1) I wonder if the ws2801 and other LEDs have a pull-up to 5v slowly damaging Pi's.
    This is unlikely cos the input impedance should be pretty high - mine even picks up interference from some noisy fluorescent lights starting

    2) accidentally shorting the 5v led supply to a data line would be very bad

    3) poor ground connections and/or hot plugging.
    Both would be bad as the separate (isolated) psu for the LEDs could drop a high voltage on startup via the LEDs into the pi on switch on

    I wonder if you can get opto couplers that work at 1mhz