codesnake / OpenELEC.tv

Port of the OpenELEC for Amlogic-based TV boxes
http://openelec.tv
62 stars 70 forks source link

Boblight #140

Open panartur83 opened 8 years ago

panartur83 commented 8 years ago

Hello,

With leatest version of Openelec ARM boblight isn't working. It is only blinking for few seconds at end of movie. I was searching for solution and I've found this: http://forum.kodi.tv/showthread.php?tid=219563&pid=1939858#pid1939858

Can You add CONFIG_AM_VIDEOCAPTURE flag to kernel in next release?

Thank You in advance. Best Regards

uros-z commented 8 years ago

This has already been solved some time ago. Please use OpenELEC git if you want to build yourself or download images from their site.

panartur83 commented 8 years ago

Thank You for answer, but they don't have builds for MX2 box, that's why I've wrote here.

Are You planning to release Openelec 7 (once it will be finished) in future for those boxes?

codesnake commented 8 years ago

yes

newkind commented 8 years ago

Not sure if this is part of the issue but my Boblight doesn't work properly until I disable AMCodec hardware accelleration. When it's off, everything is fine but video is choppy, when I enable it back again, video is fluid but no Boblight.

panartur83 commented 8 years ago

I have same issue as @newkind - I have tested this also on leatest build 6.0.3.

newkind commented 8 years ago

I switched to Hyperion and used this : http://raspberry-at-home.com/wetek-play-with-lightberry-hd-usb-and-openelec/

Works great without disabling AMCodec ;)

panartur83 commented 8 years ago

Thank You for answer.. I have tried that, but configuration is too hard for me.

newkind commented 8 years ago

I used HyperCon tool for creating configuration file and after that i just swapped the pieces mentioned in the url above.

panartur83 commented 8 years ago

Have You used default config? I mean... have You changed sth in Hypecon? I'm trying to run this in every weekend... and I have tried plenty of config changes but none is working.

newkind commented 8 years ago

I modified the hyperion.config.json, but nothing inside either Hyperion core or OpenELEC core. In my case I have updated my Arduino with Hyperion compatible code following Hyperion site tutorial and created Hyperion config file with HyperCon tool and modified it with the amlgrabber change.

panartur83 commented 8 years ago

Can You send me Your config to pastebin (or somewhere else)?

I have managed to get welcome light from my device, so I assume that I have made too much change. I'm using Ambibox and my device section now looks like this:

    "device" :
    {
        "name"       : "MyHyperionConfig",
        "type"       : "lightpack",
        "output"     : "",
        "colorOrder" : "rgb"
    },
newkind commented 8 years ago

Sure, here it is : http://pastebin.com/2MJMNA05

I'm using WS2801 leds but in my case I had to change type from ws2801 to adalight to make them work. Also my setup is 50 leds.

panartur83 commented 8 years ago

Thank You sooo much... everything working fine now.

Can You tell me how You have managed where to place light on back of TV?

newkind commented 8 years ago

You mean each leds ? Math xD I just calculated even space between each LED.

panartur83 commented 8 years ago

Maybe we have different devices. Check callibration file from this site - https://ajpawelski.wordpress.com/how-to-raspberry-pi-raspbmc-and-a-lightpack/

newkind commented 8 years ago

Yah, mine is VERY home made ;) Just like I said, simple math and representation of LED's in HyperCon tool were sufficient ;)