Re: webcam detected but image capture shows green/black screen

2024-07-12 Thread Sandeep Gupta
That fixed it. Thanks so much.

On Fri, Jul 12, 2024 at 1:10 PM Crystal Kolipe 
wrote:

> On Fri, Jul 12, 2024 at 01:04:10PM +0530, Sandeep Gupta wrote:
> > I have a non-mainstream laptop (company name: chuwi). Working great so
> far
> > but not the webcam. I did a `dd if=/dev/video0 of=webcam_data.bin bs=1024
> > count=10` and all i am getting is the stream of 0s.
>
> Is sysctl kern.video.record enabled?
>


Re: webcam detected but image capture shows green/black screen

2024-07-12 Thread Crystal Kolipe
On Fri, Jul 12, 2024 at 01:04:10PM +0530, Sandeep Gupta wrote:
> I have a non-mainstream laptop (company name: chuwi). Working great so far
> but not the webcam. I did a `dd if=/dev/video0 of=webcam_data.bin bs=1024
> count=10` and all i am getting is the stream of 0s.

Is sysctl kern.video.record enabled?



Re: webcam detected but image capture shows green/black screen

2024-07-12 Thread Peter Hessler
I've had that when the video lock switch was enabled, and when
sysctl kern.video.record=0.  Make sure to enable the sysctl, and check
that you flipped the switch to enable the video.


On 2024 Jul 12 (Fri) at 13:04:10 +0530 (+0530), Sandeep Gupta wrote:
:I have a non-mainstream laptop (company name: chuwi). Working great so far
:but not the webcam. I did a `dd if=/dev/video0 of=webcam_data.bin bs=1024
:count=10` and all i am getting is the stream of 0s.
:
:I checked the bios, couldn't find anything useful to tweak there. Is this
:some hardware issue with the laptop that is beyond the os/driver stack.



webcam detected but image capture shows green/black screen

2024-07-12 Thread Sandeep Gupta
I have a non-mainstream laptop (company name: chuwi). Working great so far
but not the webcam. I did a `dd if=/dev/video0 of=webcam_data.bin bs=1024
count=10` and all i am getting is the stream of 0s.

I checked the bios, couldn't find anything useful to tweak there. Is this
some hardware issue with the laptop that is beyond the os/driver stack.