gkaindl / ambi-tv

a flexible ambilight clone for embedded linux
296 stars 85 forks source link

Noob with a Frozen Pi. Desperate #48

Open nickmazz opened 10 years ago

nickmazz commented 10 years ago

I could really use some help all. I'm about as novice as it comes with this stuff- never done anything remotely like this- I am teaching myself as I move along.

My pi freezes when I get to a certain step.

This is what I have been doing: 1.) •Install Debian Wheezy on SD card 2.)•Run raspi-config, Expand the root file system, overclock, set to boot up into a desktop GUI. Reboot 3.) Launch LXTerminal and type in: sudo apt-get install git-core 4.) Typed: git clone https://github.com/gkaindl/ambi-tv.git
Pressed enter. 5.) cd ambi-tv/misc 6.) sudo bash get-kernel-source.sh 7.) cd usbtv-driver 8.) make 9.) sudo mkdir /lib/modules/3.6.11+/extra 10.) sudo cp usbtv.ko /lib/modules/3.6.11+/extra/ 11.) sudo depmod 3.6.11+ 12.) sudo modprobe videobuf2_core 13.) sudo modprobe videobuf2_vmalloc 14.) sudo modprobe usbtv

As soon as I press enter after typing in sudo modprobe usbtv, the raspberry pi freezes completely and does not respond- I even let it sit over night to see if it would free up, not no luck.

I am determined to have ambi-tv as I have been obsessed with ambilight since Phillips debuted it. I am to the point where I will pay someone to code the card properly and give step by step instructions on how to enter in LED light numbers. If not, I am willing to pay to have someone teach me how to do this.

I am in desperate need and have neither the knowhow nor the resources around me to address the problem locally.

Nick nmazzonewv@gmail.com

Angora commented 10 years ago

Its not quite a solution for your problem (even though i had it too and solved it by retrying with the debian 2013-07-26). There are already some images (functioning) out there doing exact that, what you would pay someone for. I dont know what kind of LEDs you use, but an image for the WS2801 would be here: https://mega.co.nz/#!wY93nb4Y!QLDK9QggPc4eDiz24DZ4XkIJc5Yuv3yiBQOwi9pOzSY You just need to configure how your leds are placed around the screen.

2013/12/4 nickmazz notifications@github.com

I could really use some help all. I'm about as novice as it comes with this stuff- never done anything remotely like this- I am teaching myself as I move along.

My pi freezes when I get to a certain step.

This is what I have been doing: 1.) •Install Debian Wheezy on SD card 2.)•Run raspi-config, Expand the root file system, overclock, set to boot up into a desktop GUI. Reboot 3.) Launch LXTerminal and type in: sudo apt-get install git-core 4.) Typed: git clone https://github.com/gkaindl/ambi-tv.git

Pressed enter. 5.) cd ambi-tv/misc 6.) sudo bash get-kernel-source.sh 7.) cd usbtv-driver 8.) make 9.) sudo mkdir /lib/modules/3.6.11+/extra 10.) sudo cp usbtv.ko /lib/modules/3.6.11+/extra/ 11.) sudo depmod 3.6.11+ 12.) sudo modprobe videobuf2_core 13.) sudo modprobe videobuf2_vmalloc 14.) sudo modprobe usbtv

As soon as I press enter after typing in sudo modprobe usbtv, the raspberry pi freezes completely and does not respond- I even let it sit over night to see if it would free up, not no luck.

I am determined to have ambi-tv as I have been obsessed with ambilight since Phillips debuted it. I am to the point where I will pay someone to code the card properly and give step by step instructions on how to enter in LED light numbers. If not, I am willing to pay to have someone teach me how to do this.

I am in desperate need and have neither the knowhow nor the resources around me to address the problem locally.

Nick nmazzonewv@gmail.com

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48 .

nickmazz commented 10 years ago

Angora,

Thank you for the quick response.
Again you must pardon my lack of knowledge but what is the WS2801? LED strips? I actually haven't purchased the LEDs yet because I want to get the software working first, but I was going to get LPD8806. I bought the easy cap usb capture device as in the instructions as well.

The Link that you posted- what exactly is this? Is it Raspbian with ambi-tv already on it? that would be great.

Angora commented 10 years ago

No Problem at all. There are (for my knowledge there are two major LED stripes, that are mostly used (the LPD8806 and the WS2801 (names the chipset, as far is know))). I am using those and they are working well. Everthing else is the same as for me. So i think you would be good with this image (except for the leds ;))

The link is an image for rpi which you can put on an sd card with the "windiskimager32". That is the fully functioning image with an autostart of the ambi-tv inclusive the button function. I hope i could answer all question you have.

If you have more questions - feel free.

2013/12/4 nickmazz notifications@github.com

Angora,

Thank you for the quick response.

Again you must pardon my lack of knowledge but what is the WS2801? LED strips? I actually haven't purchased the LEDs yet because I want to get the software working first, but I was going to get LPD8806. I bought the easy cap usb capture device as in the instructions as well.

The Link that you posted- what exactly is this? Is it Raspbian with ambi-tv already on it? that would be great.

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29833115 .

nickmazz commented 10 years ago

Angora, you put a huge smile on my face. I'll order the WS2801 LEDs to go with this image.
Will my Easy Cap usb capture device be a plug-and-play after I put this image on my card or will I need to do something else to get it working?

You have been extremely helpful and I am grateful for it. I'll post and update this evening and let you know how it worked!

Hackmodford commented 10 years ago

Do the WS2801 require an Arduino? Or can they be driven directly with the pi?

nickmazz commented 10 years ago

@ HOackmodford:

I am assuming that you hook up the WS2801 in the exact same fashion as the LPD8806. I hope that is the case at least.

Angora commented 10 years ago

It is, no Arduino needed. Just hook em up like the LPD8806. Important is, if you need to use two different power supplys that you connect the ground of those. If you dont you will get annoying flickering of the leds.

If its the one from Amazon it should work out of the box, after plugging it in (no guarantee though).

I hope that solves everything.

2013/12/4 nickmazz notifications@github.com

@ HOackmodford:

I am assuming that you hook up the WS2801 in the exact same fashion as the LPD8806. I hope that is the case at least.

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29837093 .

nickmazz commented 10 years ago

Angora

How does this strip look?

http://www.amazon.com/length-individually-addressable-SMD5050-Non-Waterproof/dp/B00C3ZR90O/ref=sr_1_4?ie=UTF8&qid=1386186240&sr=8-4&keywords=WS2801+strip#productDetails

Hackmodford commented 10 years ago

I don't see any problems. Even better, they're not waterproof so they'll be brighter. But I'm not an expert ;)

Angora commented 10 years ago

Those would be alright. If you don't need them immediatly it is always a good idea to look at: http://www.aliexpress.com/wholesale?SearchText=ws2801&catId=0&initiative_id=SB_20131204115329 The order took around 30 days (that is the downside of this side). But they are less expensive, i had good orders there. But i can imagine, that there might also be some jerks, trying to fool you.

2013/12/4 nickmazz notifications@github.com

Angora

How does this strip look?

http://www.amazon.com/length-individually-addressable-SMD5050-Non-Waterproof/dp/B00C3ZR90O/ref=sr_1_4?ie=UTF8&qid=1386186240&sr=8-4&keywords=WS2801+strip#productDetails

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29838904 .

Angora commented 10 years ago

I forgot to mention that you should measure your TV so you dont buy to many of those, since they are not that cheap. ;)

I took those kind of LEDs: http://www.aliexpress.com/item/50pcs-12mm-IP65-Waterproof-WS2801-RGB-LED-Pixels-Modules-with-WS2801-IC-Addressable-Color/663520530.html

If you want, i can upload a picutre of the setting.

2013/12/4 Malte Wellbrock malte.wellbrock@gmail.com

Those would be alright. If you don't need them immediatly it is always a good idea to look at:

http://www.aliexpress.com/wholesale?SearchText=ws2801&catId=0&initiative_id=SB_20131204115329 The order took around 30 days (that is the downside of this side). But they are less expensive, i had good orders there. But i can imagine, that there might also be some jerks, trying to fool you.

2013/12/4 nickmazz notifications@github.com

Angora

How does this strip look?

http://www.amazon.com/length-individually-addressable-SMD5050-Non-Waterproof/dp/B00C3ZR90O/ref=sr_1_4?ie=UTF8&qid=1386186240&sr=8-4&keywords=WS2801+strip#productDetails

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29838904 .

nickmazz commented 10 years ago

A picture would be great.
Why did you go with those instead of the strips? Can I still go with the strips if wanted? None of these need a controller as the pi does the controlling, correct?

Again, thanks. I can compensate you for your time and effort.

Hackmodford commented 10 years ago

I think he just didn't type in "strip". I came up with these as an example that are strips. http://www.aliexpress.com/item/High-Quality-WS2801-Led-dream-strip-RGB-36pcs-5050-SMD-with-12PCS-IC-2801-Led-Strip/1438379302.html

nickmazz commented 10 years ago

Hackmodford, that strip looks great. Two things throwing me off are Color: Dream (i'm assuming this is full rgb). Also the power requirement is 12v. Doesn't the LED have to match the Pi's 5V requirement?

Angora commented 10 years ago

I took those because i can take influence on the density of those leds (even though its more work for). http://s21.postimg.org/6qqor30br/IMG_20131204_211601.jpg The Paperwork will be changed against some aluminium work later on, but for the first try it served well ;)

You can of course go with the stripes if you want, there should be no difference. None of those need a controller, they are directly connected to the gpio of the raspberry pi. And no compensation needed ;)

2013/12/4 Brandon Butler notifications@github.com

I think he just didn't type in "strip". I came up with these as an example that are strips. http://www.aliexpress.com/item/High-Quality-WS2801-Led-dream-strip-RGB-36pcs-5050-SMD-with-12PCS-IC-2801-Led-Strip/1438379302.html

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29840748 .

Angora commented 10 years ago

You can use two different power supplys for either your raspian and your leds. Important is that you connect the ground of those two power supplies. If you do not do that you will get flickering of your leds.

2013/12/4 nickmazz notifications@github.com

Hackmodford, that strip looks great. Two things throwing me off are Color: Dream (i'm assuming this is full rgb). Also the power requirement is 12v. Doesn't the LED have to match the Pi's 5V requirement?

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29841478 .

Hackmodford commented 10 years ago

@nickmazz good question. It seems that "dream color" is a brand of led controller. See this: http://www.superbrightleds.com/moreinfo/top-emitting/swdc-rgb160-2-dream-color-flexible-rgb-led-strip/119/

@Angora Do the individual LEDs end up being cheaper than strips?

Angora commented 10 years ago

Hm good question, never calculated that to be honest. I just thought, that i am more flexible with that.

2013/12/4 Brandon Butler notifications@github.com

@nickmazz https://github.com/nickmazz good question. It seems that "dream color" is a brand of led controller. See this: http://www.superbrightleds.com/moreinfo/top-emitting/swdc-rgb160-2-dream-color-flexible-rgb-led-strip/119/

@Angora https://github.com/Angora Do the individual LEDs end up being cheaper than strips?

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29841905 .

Angora commented 10 years ago

Just another thing i thought of: Hyperion There is another ambilight Project with that name. I think it is a little more advanced and doesnt have a blue taint and less cpu usage. Take a look at it: http://bite-in.com/

2013/12/4 Malte Wellbrock malte.wellbrock@gmail.com

Hm good question, never calculated that to be honest. I just thought, that i am more flexible with that.

2013/12/4 Brandon Butler notifications@github.com

@nickmazz https://github.com/nickmazz good question. It seems that "dream color" is a brand of led controller. See this: http://www.superbrightleds.com/moreinfo/top-emitting/swdc-rgb160-2-dream-color-flexible-rgb-led-strip/119/

@Angora https://github.com/Angora Do the individual LEDs end up being cheaper than strips?

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29841905 .

Hackmodford commented 10 years ago

@Angora Good find, it's basically the same thing. I don't know which one is better, but they both use the exact same equipment if you get the @WS2801 LEDS you can try both and see which one is better :)

Angora commented 10 years ago

Yes, they do use the same equipment. I will try out Hyperion soon, because of the blue taint you have during white scenes with ambilight. Also there is a better config-generator for Hyperion and an Android app to change the settings on the fly to try different settings.

What i also thought of: those stripes are most probably the "cleaner" way to be mounted behind the tv, i got quite a mess behind there. ;)

2013/12/4 Brandon Butler notifications@github.com

@Angora https://github.com/Angora Good find, it's basically the same thing. I don't know which one is better, but they both use the exact same equipment if you get the @WS2801 LEDS you can try both and see which one is better :)

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29843960 .

Hackmodford commented 10 years ago

@Angora strips are neat... but I'm really digging what they did here... ledframe

Angora commented 10 years ago

Exactly into that direction i wanted to go with those i got. http://www.forum-raspberrypi.de/attachment.php?aid=779

2013/12/4 Brandon Butler notifications@github.com

@Angora https://github.com/Angora strips are neat... but I'm really digging what they did here... [image: ledframe]https://f.cloud.github.com/assets/326668/1677301/3af29b92-5d26-11e3-948e-bcdbf1e9496e.jpg

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29844391 .

nickmazz commented 10 years ago

UPDATE: So I inserted the SD card that I had loaded with the image from the link. The first time, it would not boot into the desktop. So I had to reboot it, and with my usb hub unplugged, it booted into the desktop.

So again excuse my ignorance, but how do I get it running? how to execute bin/ambi-tv?

When I plug my EasyCap in, it seems like it reboots and gets stuck on the initial boot screen. Suggestions?

Thanks Angora and Hackmodford.

Angora commented 10 years ago

The only thing you need to do ist actually: Copy the image with the help of windiskimager32 (if you use windows) onto the sd card. Now you plug in the USB Grabber, insert the SD Card into the Raspberry Pi and start it. Now you do nothing. There should be an text based output like: http://s28.postimg.org/ivsv4xy1p/IMG_20131205_072851.jpg

Do you have the RPI Modell B? The one with 2x USB 2.0 and with 512 MB? Does that USB Hub have an active power supply? (Try plugging the Grabber driectly into the RPI)

I hope that helps ;)

2013/12/5 nickmazz notifications@github.com

UPDATE: So I inserted the SD card that I had loaded with the image from the link. The first time, it would not boot into the desktop. So I had to reboot it, and with my usb hub unplugged, it booted into the desktop. So again excuse my ignorance, but how do I get it running? Secondly, is my EasyCap grabber ready to go or do I have to do something else?

Thanks Angora and Hackmodford.

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29860807 .

Angora commented 10 years ago

Another thing, i just thought of: Do not boot into desktop. That will take to much CPU Power. Just stay in that textbased output. Normally you do not have to anything at all after inserting the image.

2013/12/5 Malte Wellbrock malte.wellbrock@gmail.com

The only thing you need to do ist actually: Copy the image with the help of windiskimager32 (if you use windows) onto the sd card. Now you plug in the USB Grabber, insert the SD Card into the Raspberry Pi and start it. Now you do nothing. There should be an text based output like: http://s28.postimg.org/ivsv4xy1p/IMG_20131205_072851.jpg

Do you have the RPI Modell B? The one with 2x USB 2.0 and with 512 MB? Does that USB Hub have an active power supply? (Try plugging the Grabber driectly into the RPI)

I hope that helps ;)

2013/12/5 nickmazz notifications@github.com

UPDATE: So I inserted the SD card that I had loaded with the image from the link. The first time, it would not boot into the desktop. So I had to reboot it, and with my usb hub unplugged, it booted into the desktop. So again excuse my ignorance, but how do I get it running? Secondly, is my EasyCap grabber ready to go or do I have to do something else?

Thanks Angora and Hackmodford.

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29860807 .

nickmazz commented 10 years ago

Hmm that's interesting.... I would automatically boot to the desktop, but only after the pi had frozen, and I had to reboot it. Maybe I need to get the lights and the switch hooked up before the program works right? Not sure.

My hub is powered. I have the model B I've plugged it directly into the Pi.

I'll go take some pictures and video and upload them during my lunch break to show you what's going on.

Angora commented 10 years ago

That is pretty weired. Normally it should start without any problems without any of that. (Except some Error output). I would say "come by and we'll try" but i think that won't be very easy to do. We will see if we can see something on the pictures to solve that problem.

2013/12/5 nickmazz notifications@github.com

Hmm that's interesting.... I would automatically boot to the desktop, but only after the pi had frozen, and I had to reboot it. Maybe I need to get the lights and the switch hooked up before the program works right? Not sure.

My hub is powered. I have the model B I've plugged it directly into the Pi.

I'll go take some pictures and video and upload them during my lunch break to show you what's going on.

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29903633 .

nickmazz commented 10 years ago

photo 6

So this is what I get if I have my easycap plugged in on boot. Without the grabber inserted, I can boot to desktop, but as soon as I insert the grabber, the same image comes on screen.

I'm retrying with a fresh Class 10 SD card, and see if that makes a difference at all.

What are your thought?

Angora commented 10 years ago

To be honest i don't. But after some research i might have an idea. How is your power supply specified?

2013/12/5 nickmazz notifications@github.com

[image: photo 6]https://f.cloud.github.com/assets/6107520/1686319/52723d12-5de5-11e3-9290-bca8e7402643.JPG

So this is what I get if I have my easycap plugged in on boot. Without the grabber inserted, I can boot to desktop, but as soon as I insert the grabber, the same image comes on screen.

I'm retrying with a fresh Class 10 SD card, and see if that makes a difference at all.

What are your thought?

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29931032 .

nickmazz commented 10 years ago

5Volts 1.0Amp Just a basic Samsung cell phone charger setup

Angora commented 10 years ago

That should actually be enough to power the RPI. Just for testing purpose: do you have a larger one? With like 5V@2A or such? This is just a wild guess and i would try everything until we got the problem solved ;) Sorry that i cant give you an more specific answer.

2013/12/5 nickmazz notifications@github.com

5Volts 1.0Amp Just a basic Samsung cell phone charger setup

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29937287 .

nickmazz commented 10 years ago

Yes I do, still did not work. Do I need to enable anything in rasp-config?

Angora commented 10 years ago

If you wrote the image correct to the SD, you should be fine. You could try to expand the Filesystem, but I think that it doesn't have to do anything with it. Even though I really do not know, what the problem might be, I think it does have to do with the Grabber. (But that is just a guessing) Did you try the Grabber on a Windows PC before? To see if the Grabber works fine.

You could also try to connect the RPI to the power supply over the GPIO pins and see if that fixes something. But, to be honest, I don't think that that will solve the problem.

2013/12/6 nickmazz notifications@github.com

Yes I do, still did not work. Do I need to enable anything in rasp-config?

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29947943 .

Angora commented 10 years ago

Another thing I just found on the internet might be, that the Kernel doesn't work properly with the fushicai. (But I thought it was the right raspian version). You could try building the image from the start with the Raspian Wheezy 2013-07-26. And see if that will work. (Do not take any other version of the Raspian ;)) I will try to write down the order of commands to use: try to do that without the desktop.

sudo apt-get install usbutils wget https://github.com/gkaindl/ambi-tv/archive/master.zip unzip master.zip cd ambi-tv-master cd misc sudo bash get-kernel-source.sh cd usbtv-driver/ make sudo mkdir -p /lib/modules/3.6.11+/extra sudo cp usbtv.ko /lib/modules/3.6.11+/extra sudo depmod 3.6.11+ sudo modprobe videobuf2_core sudo modprobe videobuf2_vmalloc sudo modprobe usbtv

change the file: sudo nano /etc/modprobe.d/raspi-blacklist.conf to:

spi-bcm2708

insert into: sudo nano /etc/modules these lines of code: spi-bcm2708 videobuf2_core videobuf2_vmalloc usbtv

I think you know where to get the rest from, right? ;) I copied those commands and hope that I did not forget anything. If you have time, pls try if that might work.

2013/12/6 Malte Wellbrock malte.wellbrock@gmail.com

If you wrote the image correct to the SD, you should be fine. You could try to expand the Filesystem, but I think that it doesn't have to do anything with it. Even though I really do not know, what the problem might be, I think it does have to do with the Grabber. (But that is just a guessing) Did you try the Grabber on a Windows PC before? To see if the Grabber works fine.

You could also try to connect the RPI to the power supply over the GPIO pins and see if that fixes something. But, to be honest, I don't think that that will solve the problem.

2013/12/6 nickmazz notifications@github.com

Yes I do, still did not work. Do I need to enable anything in rasp-config?

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29947943 .

Hackmodford commented 10 years ago

Try booting with the USB grabber unplugged. I bet it will boot fine. ( But not work of course... )

Sent from my iPhone

On Dec 5, 2013, at 6:29 PM, Angora notifications@github.com wrote:

Another thing I just found on the internet might be, that the Kernel doesn't work properly with the fushicai. (But I thought it was the right raspian version). You could try building the image from the start with the Raspian Wheezy 2013-07-26. And see if that will work. (Do not take any other version of the Raspian ;)) I will try to write down the order of commands to use: try to do that without the desktop.

sudo apt-get install usbutils wget https://github.com/gkaindl/ambi-tv/archive/master.zip unzip master.zip cd ambi-tv-master cd misc sudo bash get-kernel-source.sh cd usbtv-driver/ make sudo mkdir -p /lib/modules/3.6.11+/extra sudo cp usbtv.ko /lib/modules/3.6.11+/extra sudo depmod 3.6.11+ sudo modprobe videobuf2_core sudo modprobe videobuf2_vmalloc sudo modprobe usbtv

change the file: sudo nano /etc/modprobe.d/raspi-blacklist.conf to:

spi-bcm2708

insert into: sudo nano /etc/modules these lines of code: spi-bcm2708 videobuf2_core videobuf2_vmalloc usbtv

I think you know where to get the rest from, right? ;) I copied those commands and hope that I did not forget anything. If you have time, pls try if that might work.

2013/12/6 Malte Wellbrock malte.wellbrock@gmail.com

If you wrote the image correct to the SD, you should be fine. You could try to expand the Filesystem, but I think that it doesn't have to do anything with it. Even though I really do not know, what the problem might be, I think it does have to do with the Grabber. (But that is just a guessing) Did you try the Grabber on a Windows PC before? To see if the Grabber works fine.

You could also try to connect the RPI to the power supply over the GPIO pins and see if that fixes something. But, to be honest, I don't think that that will solve the problem.

2013/12/6 nickmazz notifications@github.com

Yes I do, still did not work. Do I need to enable anything in rasp-config?

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29947943 .

— Reply to this email directly or view it on GitHub.

sn00zerman commented 10 years ago

I also had this issue. I did put a powered usb hub between the pi and the grabber, to solve it.

Good luck, Kris

Http://www.digitalplayground.be Where fun meets technology ...

Verstuurd vanaf mijn iPad

Op 6-dec.-2013 om 01:36 heeft Brandon Butler notifications@github.com het volgende geschreven:

Try booting with the USB grabber unplugged. I bet it will boot fine. ( But not work of course... )

Sent from my iPhone

On Dec 5, 2013, at 6:29 PM, Angora notifications@github.com wrote:

Another thing I just found on the internet might be, that the Kernel doesn't work properly with the fushicai. (But I thought it was the right raspian version). You could try building the image from the start with the Raspian Wheezy 2013-07-26. And see if that will work. (Do not take any other version of the Raspian ;)) I will try to write down the order of commands to use: try to do that without the desktop.

sudo apt-get install usbutils wget https://github.com/gkaindl/ambi-tv/archive/master.zip unzip master.zip cd ambi-tv-master cd misc sudo bash get-kernel-source.sh cd usbtv-driver/ make sudo mkdir -p /lib/modules/3.6.11+/extra sudo cp usbtv.ko /lib/modules/3.6.11+/extra sudo depmod 3.6.11+ sudo modprobe videobuf2_core sudo modprobe videobuf2_vmalloc sudo modprobe usbtv

change the file: sudo nano /etc/modprobe.d/raspi-blacklist.conf to:

spi-bcm2708

insert into: sudo nano /etc/modules these lines of code: spi-bcm2708 videobuf2_core videobuf2_vmalloc usbtv

I think you know where to get the rest from, right? ;) I copied those commands and hope that I did not forget anything. If you have time, pls try if that might work.

2013/12/6 Malte Wellbrock malte.wellbrock@gmail.com

If you wrote the image correct to the SD, you should be fine. You could try to expand the Filesystem, but I think that it doesn't have to do anything with it. Even though I really do not know, what the problem might be, I think it does have to do with the Grabber. (But that is just a guessing) Did you try the Grabber on a Windows PC before? To see if the Grabber works fine.

You could also try to connect the RPI to the power supply over the GPIO pins and see if that fixes something. But, to be honest, I don't think that that will solve the problem.

2013/12/6 nickmazz notifications@github.com

Yes I do, still did not work. Do I need to enable anything in rasp-config?

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-29947943 .

— Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub.

nickmazz commented 10 years ago

Wow thanks for doing that work- I'll try that out if this doesn't work. Check out the pic, Id show a video but I can't upload that. It shows what I am able to get working- note my LEDs have yet to be hooked up.

This photo shows what happens on initial boot. photo 1

This photo shows what happens when I have the EasyCap grabber plugged in any way, either directly, or through a hub.

photo 2

Angora commented 10 years ago

It should always be, like on the first picture you posted. In my opinion we got two possibilities: 1.: buy a new grabber and see if that will work (bec. for me, it does without any problems) 2.: try building the ambi-tv by yourself with the posted version of the image and see if that will solve the problem. Since we tried already with an powered usb-hub I think we "know" that it doesn't seem to be that problem. Let me hear, how that goes.

2013/12/6 nickmazz notifications@github.com

Wow thanks for doing that work- I'll try that out if this doesn't work. Check out the pic, Id show a video but I can't upload that. It shows what I am able to get working- note my LEDs have yet to be hooked up.

This photo shows what happens on initial boot. [image: photo 1]https://f.cloud.github.com/assets/6107520/1694251/c3ad77ae-5e9d-11e3-87f3-1782482757a7.JPG

This photo shows what happens when I have the EasyCap grabber plugged in any way, either directly, or through a hub.

[image: photo 2]https://f.cloud.github.com/assets/6107520/1694273/28a797f2-5e9e-11e3-874e-0c6c0ca5d254.JPG

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-30013841 .

wisemonkey commented 10 years ago

Please follow https://github.com/gkaindl/ambi-tv/issues/7#issuecomment-25052979 exactly. I had same issue (modrobe usbtv freezes system), turns out I needed proper version of wheezy

nickmazz commented 10 years ago

Angora,

Two things- Do you know where I can get the proper version of Wheezy 2013-07-26?

What grabber do you have? I'll get that exact one! Thanks for all the help!

Angora commented 10 years ago

This is a direct link to the image: http://downloads.raspberrypi.org/raspbian/images/2013-07-26-wheezy-raspbian/2013-07-26-wheezy-raspbian.zip can't find it "manuelly". I would either go for an STK1160 based chip (since i am looking for one of those, for hyperion (i dont'seem to be able to get it working with the one i got, even thought it should be possible (will notice you if i get it to work ;)))). And you wouldn't need to make the "driver" yourself, should be functioning out of the box. I got this one: http://www.amazon.de/EasyCap-DC60-USB-Videoaufnahme-Adapter-Videobearbeitungssoftware/dp/B003QA7MES/ref=sr_1_1?ie=UTF8&qid=1386612338&sr=8-1&keywords=easycap can only give you the german website, since i can't guarantee it will be the same, if i look for it in some other place.

2013/12/9 nickmazz notifications@github.com

Angora,

Two things- Do you know where I can get the proper version of Wheezy 2013-07-26?

What grabber do you have? I'll get that exact one! Thanks for all the help!

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-30155191 .

nickmazz commented 10 years ago

Weird, this is the same grabber I got. I'm going to try and start from stratch with the image link and instructions you provided. Again excuse my ignorance, but how do I do this in the command prompt: I.e. how to change the file and insert.

change the file: sudo nano /etc/modprobe.d/raspi-blacklist.conf to:

spi-bcm2708

insert into: sudo nano /etc/modules these lines of code: spi-bcm2708 videobuf2_core videobuf2_vmalloc usbtv

And then what should I do after that? Id like it to run on boot and enable the button function. I will be using the WS2801.

Thanks again for your help Angora, you are awesome !

Angora commented 10 years ago

The grabber works for me, but not out of the box. "sudo nano" will open the notepad "nano" with admin rights. So just insert the line, as it stands there. Insert the "#" and then press "CTRL+X", "Y" and "Enter". I just found an mistake i made. You need to use this source: so try this at the beginning: (sorry for the inconvience) wget https://github.com/mnorthfield/ambi-tv/archive/master.zip

so when you are through with everthing mentioned in an earlier email follow this: Installs and starts the mediaplayer sudo apt-get install mplayer sudo mplayer tv:// -tv device=/dev/video0 -hardframedrop then overclock the rpi (i hope you have the cooling thingis on your rpi?) sudo raspi-config

cd ambi-tv-master make

sudo cp sample.conf /etc/ambi-tv.conf

open the vonfiguration file with: sudo nano /etc/ambi-tv.conf and change the "leds-top, leds-bottom etc." to your setting.

to start ambi tv you need to enter these commands: cd ambi-tv-master sudo bin/ambi-tv --button-gpio 3

when that works we will insert that into autostart through opening this: sudo nano /etc/rc.local and inserting this: (important, it MUST be before the "exit 0" /home/pi/ambi-tv-master/bin/amvi-tv --button-gpio 3

I hope i got everthing and dind't make any mistake, since i am just writing it down, without actually trying. If it doesn't work, you know where to finde me.

And well, not yet. It doesn't work yet, so we will talk about this, when we are done :D

2013/12/9 nickmazz notifications@github.com

Weird, this is the same grabber I got. I'm going to try and start from stratch with the image link and instructions you provided. Again excuse my ignorance, but how do I do this in the command prompt: I.e. how to change the file and insert.

change the file: sudo nano /etc/modprobe.d/raspi-blacklist.conf to:

spi-bcm2708

insert into: sudo nano /etc/modules these lines of code: spi-bcm2708 videobuf2_core videobuf2_vmalloc usbtv

And then what should I do after that? Id like it to run on boot and enable the button function. I will be using the WS2801.

Thanks again for your help Angora, you are awesome !

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-30179664 .

nickmazz commented 10 years ago

You are great ;). I'll give this a shot and let you know!

nickmazz commented 10 years ago

okay I followed everything and it seems to be working great. My grabber is working flawlessly as well. When I go to run ambi-tv, it works great and cycles through with my push button

. Thank you very much!!!!

Unfortunately I can't tell if it fully functional yet as I have yet to receive my LEDs. But I will make sure to post a video showing you once they arrive in the mail! ;)

Angora commented 10 years ago

I will give it a shot tonight and See if that is causing this error. But i can imagin that the LEDs are the Problem. I'm glad that i could help you! Hopefully the LEDs are coming to you soon! Am 10.12.2013 07:59 schrieb "nickmazz" notifications@github.com:

okay I followed everything and it seems to be working great. My grabber is working flawlessly as well. When I go to run ambi-tv, it aborts as you can see in the image. Thank you very much for your guidance so far.

I think this might be because I do not have the LEDs hooked up? Unfortunately they have yet to arrive.

[image: photo 3]https://f.cloud.github.com/assets/6107520/1712089/7979e35c-6168-11e3-9e49-fc806dd0809d.JPG

— Reply to this email directly or view it on GitHubhttps://github.com/gkaindl/ambi-tv/issues/48#issuecomment-30203716 .

jcf6288 commented 10 years ago

nickmazz, all of my items are coming in next week and am going to be building this. I have a little experience with the software portion of this. I am wondering if you could write me a little tutorial and how to get up and running. If possible how to un-box and get everything on the sd card so I can then wire up my leds. Thank you for any help. Also Adafruit has led strips for pretty cheap, 30 leds per meter at 17.00 usd.

jcf6288 commented 10 years ago

Even better could you just copy your SD card so I can start from there. Obviously I would have to adjust the setting such as my number of leds, but that should work since I am using the same hardware setup. Thanks for any help.

nickmazz commented 10 years ago

Yeah I was thinking about writing up a "ambi-tv for dummies" kind of tutorial, so I will get to work on one now. My LEDs just came in, so I'm going to try to get everything up and running tomorrow.