Apple FacetimeHD Camera not detected (greyed out), Debian 9 Gnome
Issue generated from Tuleap's migration script. Originally submitted by: Pranav Vats (pranavats)
It appears that my Apple FacetimeHD (Broadcom 1570) camera is not being detected, the option to select a camera device and other settings appear to be greyed out and is unclickable. This could be a problem with the driver, but other apps seem to work fine with the same driver (other apps include cheese, mplayer, kamerka camorama, enable viacam, easyscreencast), while one other app failed to detect it (QtQR). Since ring did not give much information about what went wrong, here is the output from mplayer :
$ mplayer tv://
MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
do\_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC\_G\_STD ioctl, VIDIOC\_G\_PARM was used instead.
Selected device: Apple Facetime HD
Capabilities: video capture read/write streaming
supported norms:
inputs: 0 = Camera;
Current input: 0
Current format: YUYV
tv.c: norm\_from\_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Inappropriate ioctl for device
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
Failed to open VDPAU backend libvdpau\_i965.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp\_device\_create\_x11: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x55d361563da0] bicubic scaler, from yuyv422 to yuv420p using MMXEXT
[swscaler @ 0x55d361563da0] using unscaled yuyv422 -> yuv420p special converter
VO: [xv] 640x480 => 640x480 Planar YV12
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
V: 0.0 70/ 70 ??% ??% ??,?% 0 0
MPlayer interrupted by signal 2 in module: video\_read\_frame
V: 0.0 71/ 71 ??% ??% ??,?% 0 0
v4l2: ioctl set mute failed: Invalid argument
v4l2: 71 frames successfully processed, -70 frames dropped.Exiting... (Quit)
Here is the source code of drivers I use (If there is something wrong you can see with the driver, please bring it to my notice, I would create an issue there.) : https://github.com/patjak/bcwc\_pcie
If there is any other information I can provide, please tell me how to collect it (running ring with --debug option doesn't help much since after the gui opens up, the command exits (prompt comes back), if it is supposed to provide debug info through ring itself, or some log file, please let me know.
\* Environment: Debian 9 Stretch testing, ring version - 1.0.0 - unknown,
\* Reproduce steps: The steps I performed were simply installing ring according to instructions on the website, and opened it. Installing and loading that FacetimeHD driver might or might not reproduce the problem (because I am not sure what exactly is causing this problem).
\* Expected result: It might or might not reproduce the bug, in my case, it does. (The cause is unknown for now)
\* Actual result: The bug is reproduced.