Camera is working on Linux
#11
You need to enable the sensor in the DTS and compile it.
The lsmod looks just fine.

First, you need to find out which sensor you have, i doubt there is OV6650 (352- by 288-pixel array
??) for the pine.

Please, if you can share a picture of your sensor and FPC cable would be nice.

BTW, we need to ask @tllim about the slightly modified s5k4ec.ko in some Android build, i don't know who is in charge of that build, but Android SDK 2.0 has outdated driver. May be the visible artifacts shown can be fixed if we find additional info about this specific s5k4ec source code and the clock used.

Anyway, if someone can get that source code and timings used we can improve the driver.
  Reply
#12
The camera module looks like this https://www.flickr.com/photos/96700120@N...ateposted/ and when attached like this https://www.flickr.com/photos/96700120@N...ateposted/

I found some info about compiling DTS from sunxi-wiki, but didn't find any sufficient instructions on how to do it. How do I enable and compile it?
  Reply
#13
I am also stuck. What is the role of apt-get install v4l-utils here?

In which log should I see exactly what that this video device has been detected as micko also says.
  Reply
#14
@micko
That is s5k4ec , same as mine. You need to enable this device in the DTS and compile it
Where i am right now i don't have access to the board, tomorrow i can share my DTB (the compiled DTS) with this device enabled.

@Pander
v4l-utils are used get some info about the camera, set some parms,etc.
If you have s5k4ec enabled you should see some debugging message (dmesg), like [s5kec] init sensor... (something like that).

I will update the instructions and logs (and DTB) so it will easy the use of the camera, sorry i am out of town right now.
  Reply
#15
(06-30-2016, 04:29 AM)@lex Wrote: @micko
That is s5k4ec , same as mine. You need to enable this device in the DTS and compile it
Where i am right now i don't have access to the board, tomorrow i can share my DTB (the compiled DTS) with this device enabled.
Thanks!
Is there a guide or something about the DTS and how to compile it? I'm guessing it's the *.dts in /boot/pine64/, but how do I modify that? It looks like a binary file. I am quite familiar with compiling stuff myself but this is something I've never heard of.
  Reply
#16
Here is Basic instructions, should work with Debian / Ubuntu.

https://github.com/avafinger/pine64_camera
  Reply
#17
I did as you instructed and loading the modules worked. My dmesg from that operation http://pastebin.com/8XE8iEaw

However starting guvcview crashes. Here's output on terminal http://pastebin.com/kN56b4AT

And here's dmesg from that http://pastebin.com/QCjn9bs9

So no camera for me yet...
  Reply
#18
dmesg tell us Camera was recognized and is OK!

You are almost there, so now tell us a bit more about guvciew, how did you install it?

Print the output:
  * uname -ra
 * lsb_release -a
 * cat /etc/*release
 * cat /proc/version


Edit: Forgot to say DTB is for HDMI
  Reply
#19
Sorry for the intrusion; hope things are working better... I am wondering if anyone who has the camera connected and recognized successfully might post a close-in pic so that everyone can see how the cable is connected, side-up, side-down, and maybe some tips on the method that 'you' used to open the connector (or if you even did open it) and what your experience with that was... tnx

marcus
  Reply
#20
@lex
Quote:dmesg tell us Camera was recognized and is OK!

What lines exactly tell us that the Camera was recognized and is OK?

Also in GitHub there is a file "camera.cfg" where does that belong?

Thanks
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Anyone get the camera to work yet? Havensal 16 25,907 09-13-2022, 03:31 AM
Last Post: harryaxe31
  camera port details? gourmand007 6 14,573 03-07-2021, 05:29 PM
Last Post: DippingMyToesIn
  About the camera robopo 11 20,968 03-06-2021, 12:28 AM
Last Post: DippingMyToesIn
  CSI / Camera Module Compatibility? vade 8 16,519 04-03-2020, 05:39 AM
Last Post: Ellesar Dragon
  13MP Camera cable extension saviod 2 5,070 06-21-2019, 06:05 AM
Last Post: saviod
  Camera Sasank 15 26,071 12-13-2018, 09:08 PM
Last Post: Mutani
  Himax 5 Megapixel Camera Module cannot fit into 7″ LCD Touch Screen Panel themyshop 3 6,959 05-10-2018, 04:28 PM
Last Post: tllim
  Webcam vs camera module on pine64+ fkpkot 4 9,841 02-27-2017, 03:57 PM
Last Post: MarkHaysHarris777
  camera module and lcd integration jodybrown99 5 8,828 10-11-2016, 11:35 AM
Last Post: hikaricore

Forum Jump:


Users browsing this thread: 1 Guest(s)