more G-Labs products

Author Topic: Raspberry Pi Camera  (Read 3547 times)

February 04, 2014, 02:16:32 PM
Read 3547 times

dsa4055

  • **
  • Information
  • Jr. Member
  • Posts: 25
Hi Gene Happy New Year  Nice new Forum
 
Any news about Raspberry Onboard Camera? new driver? a chance that i can use 2014 my Raspberry Onboard Cam? :)


I tried the uv4l driver from
http://www.linux-projects.org/modules/sections/index.php?op=viewarticle&artid=14
 
And then I started the camera with
 sudo uv4l --driver raspicam --auto-video_nr --encoding jpeg --width 160 --height 120 --framerate 1
 It did automatically take /dev/video0
 
HomeGenie did show the image, but most of time it was black or not updating at all. I have tried many different options, like --sched-rr and --mem-lock but it did not help. I have manually started HomeGenie, and have some info from it.
 
Testing source module v4l2...
 Testing source module v4l1...
 Testing source module file...
 Testing source module raw...
 Testing source module test...
 Testing source module v4l2...
 Trying source module v4l2...
 /dev/video0 opened.
 Delaying 10 seconds.
 Unable to use mmap. Using read instead.
 2013-09-16T02:38:10.0352790+02:00 HomeAutomation.HomeGenie SystemInfo HomeGenie service ready HTTP.PORT 91
 
77.158 Media.CameraInput/0/Camera.GetPicture HTTP/1.1 GET
 Unable to read a frame.
 read: Device or resource busy
 gd-jpeg: JPEG library reports unrecoverable error: Empty input file
 
2013-09-16T01:48:32.7130310+02:00 MIG.Gateways.WebServiceGateway 192.168.77.158 Media.CameraInput/0/Camera.GetPicture HTTP/1.1 GET
 Unable to read a frame.
 read: Device or resource busy
 gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0x50 0xa9




February 04, 2014, 02:33:10 PM
Reply #1

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
HG v4l wrapper has some issues.
I will add this to the to-do list.

June 18, 2014, 03:47:59 PM
Reply #2

dsa4055

  • **
  • Information
  • Jr. Member
  • Posts: 25
Hi Gene

And what happens with the Raspberry Pi Camera?

Cheers
David

July 18, 2014, 05:36:31 PM
Reply #3

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
To use rpi camera with hg, the V4L driver must be enabled:

http://www.raspberrypi.org/forums/viewtopic.php?f=43&t=62364

g.

August 19, 2014, 10:08:31 PM
Reply #4

jjr

  • *
  • Information
  • Newbie
  • Posts: 15
Yeah works but the image is very dark compared to raspistill. Is the driver used the UV4L2 driver written by RpiName, or the V4L2 driver written and maintained by the Foundation? Can we use motion ect with it? and create wizard scripts?

February 10, 2015, 11:13:42 PM
Reply #5

dsa4055

  • **
  • Information
  • Jr. Member
  • Posts: 25
Hello Gene

Can you put the v4l Driver in HG please?
i dont anderstand how to install the Driver...i see the link but i dont anderstand on how to put the Driver in..

thx
David