clean hyperion install -> Error while reading data from host

  • As I am not getting help to solve this error by the existing posts, I have to open a new one to get this problem solved for all times.


    The following setup:


    - a fresh install of Raspbian stretch lite, Nov. 2018
    - modified /boot/config.txt with: core_freq=250 as per recommendation from previous post
    - modified /boot/cmdline.txt with: spidev.bufsiz=32768 as per recommendation from previous post
    - installed Hyperion via HyperCon (as I am too dumb to get hyperion.ng running properly)
    - uploaded a minimalistic config.json via HyperCon and even insertet "dmanum=10," (due to freezes I experienced some time ago when using Kodi-releases) --> ws281x driver, no V4L2 grabber, just internal grabber activated, just 20 LEDs for testing


    hyperiond starts perfectly and keeps running, but the LEDs won't do anything. When using hyperion-remote command, nothing happens for 1 minute until the 'Error while reading data from host' occurs.


    Now the most curious thing is, that it will take at about 1.5 hours of just waiting and the problem is resolved and the LEDs keep functioning as they should.... I cannot understand this behaviour at all.
    Please, does someone have an explanation to this?


    Just in case you ask, I'll post the latest log of my setup here:


    ssh in: Dec 29 23:35:32 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: Hyperion Ambilight Deamon (1542)
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: Version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: Build Time: Apr 5 2018 01:57:25
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: HYPERION INFO: ColorTransform 'default' => [0; 21]
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: HYPERION INFO: ColorCorrection 'default' => [0; 21]
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: HYPERION INFO: ColorAdjustment 'default' => [0; 21]
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: LEDDEVICE INFO: configuration:
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: {
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: "colorOrder" : "rgb",
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: "dmanum" : 10,
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: "leds" : 20,
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: "name" : "MyHyperionConfig",
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: "type" : "ws281x"
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: }
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: whiteAlgorithm ::
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: INFO: Creating linear smoothing
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: EFFECTENGINE INFO: Initializing Python interpreter
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: INFO: Hyperion started and initialised
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: BLACKBORDER INFO: mode:default
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: started
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: INFO: Json server created and started on port 19444
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: INFO: Proto server created and started on port 19445
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: DISPMANXGRABBER INFO: Display opened with resolution: 720x480
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: BLACKBORDER INFO: mode:default
    ssh in: Dec 29 23:35:32 raspberrypi hyperiond[1542]: INFO: Frame grabber created and started



    and the error message here:


    pi@raspberrypi:~ $ hyperion-remote -c ffffff
    hyperion-remote:
    version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    build time: Apr 5 2018 01:57:05
    Connected to localhost:19444
    Set color to 255 255 255
    Error while reading data from host


    Thank you very much in advance!

  • Hi,

    - modified /boot/config.txt with: core_freq=250 as per recommendation from previous post
    - modified /boot/cmdline.txt with: spidev.bufsiz=32768 as per recommendation from previous post


    Those modification are needed when using the SPI driver.


    Everything Listed "HERE" apply to Hyperion as well.Try black listing the snd_bcm2835 module?


    Hope it's of helps

  • Thank you very much for clearing that up Akriss!! Feeling dumb now, because I already saw that site you posted before, but I didn't look for this entry :facepalm:


    --> adding 'blacklist snd_bcm2835' to /etc/modprobe.d/snd-blacklist.conf did the thing, the LEDs are finally responsive now, thank you so much!!


    I'm still having issues with the colors being flipping around in an awkward manner, getting almost every color when sending specific colors via remote, but I guess this will be another problem not related to this thread, so I will set it as resolved.


    Once again, thank you very much!!!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!