more G-Labs products

Author Topic: Enabling Raspberry PI camera module (Resolved)  (Read 1860 times)

July 20, 2015, 08:39:41 PM
Read 1860 times

petediscrete

  • ****
  • Information
  • Sr. Member
  • Posts: 220
I installed HomeGenie on the Raspberry PI B+ from the RPI image. I did the three updates from the maintenance section and it is now fully up to date. I ran PUTTY and enabled the Raspberry PI Camera Module. The camera module is still not recognised.I updated Raspbian via PUTTY to ensure that v42l driver was installed. I can run raspistil and raspivid from the command line and the camera works fine.It is still not recognised on the configuration section of HomeGenie.

Am i doing anything wrong here
« Last Edit: July 22, 2015, 10:15:03 PM by petediscrete »

July 21, 2015, 11:18:33 AM
Reply #1

petediscrete

  • ****
  • Information
  • Sr. Member
  • Posts: 220
Maybe the question I should have asked is, has anyone managed to get the Raspberry PI camera module attached to the Raspberry Pi's CSI port recognised, configured and working in HomeGenie. If so, how have you achieved this. I've tried many different approaches but none have worked so far.

July 21, 2015, 02:33:48 PM
Reply #2

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Ensure updating to latest RPi firmware and that the Video4Linux driver is enabled:

https://www.ics.com/blog/raspberry-pi-camera-module#.VAaCHqM0_YQ




July 21, 2015, 05:38:17 PM
Reply #3

petediscrete

  • ****
  • Information
  • Sr. Member
  • Posts: 220
Yes Gene, Ive tried that link and many others without success. I've reflashed the Homegenie image and updated as per the latest version prior to trying any solutions. It's starting to remind me of my days trying to get Video for Linux working with a DVBS card in MythTV lol . I did succeed there in the end though and along came XBMC and took all that heartache away.

Would it be possible to incorporate the firmware/driver for the PI Camera module into your image bearing in mind that it connects to a proprietary CSI port and was manufactured specifically for the Raspberry PI and no other, unlike all those other generic USB cams.

Thanks in advance

July 21, 2015, 06:31:59 PM
Reply #4

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
I stopped mantaining the HG RPi SD card image a long time ago and there's no plan to support further updates.
So any system configuration must be made by the end user on the latest official Raspbian image.
I did succesfully setup RPi Noir camera (V4L) a couple of months ago, it was not too much complicated, but actually cannot recall the url/guide I followed in order to achieve this.

g.

July 21, 2015, 07:52:30 PM
Reply #5

petediscrete

  • ****
  • Information
  • Sr. Member
  • Posts: 220
I completely understand. Your software is multi platformed so I can see how time consuming maintaining an embedded system could be.

I come from the AHP application and was looking to run HA on a low energy unit like the RPI. I got the X10 side of your software setup working nicely and maybe I'll look at streaming from another Pi running an application like MotionPie. That handles the Pi camera module "straight out of the box".

Once again, nice software, very slick, and maybe with the proliferation of the RPI, you may revisit an RPI image option. Thanks again for your help.

July 22, 2015, 10:19:09 PM
Reply #6

petediscrete

  • ****
  • Information
  • Sr. Member
  • Posts: 220
Just as Gene suggested, I ditched the RPI image approach, downloaded a vanilla version of Raspbian,carried out the relevant updates, updated the firmware, modprobe BCM 2835-v4l2 and the RPI camera is up and running.