![]() |
2013-05-16
, 21:03
|
|
Posts: 6,453 |
Thanked: 20,983 times |
Joined on Sep 2012
@ UK
|
#2
|
The Following User Says Thank You to pichlo For This Useful Post: | ||
![]() |
2013-05-16
, 21:59
|
Posts: 5 |
Thanked: 3 times |
Joined on Apr 2013
|
#3
|
![]() |
2013-05-16
, 22:53
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#4
|
The Following User Says Thank You to qwazix For This Useful Post: | ||
![]() |
2013-05-17
, 05:34
|
Posts: 5 |
Thanked: 3 times |
Joined on Apr 2013
|
#5
|
The Following User Says Thank You to Oblivion129 For This Useful Post: | ||
Later I tried gst-launch v4l2src device=/dev/video1 ! autovideosink to check the front camera, and it worked. Then I had the idea to check the back camera (normal camera) by switching "video1" to "video0" and it worked. Meaning that the camera does work.
So the problem is that the lens cover sensor doesn't detect the lens cover. What I need is a way for the camera app to bypass the sensor so it would work without needing the lens cover to be open.
Can an x-terminal command be used to make the phone think its cover is open?