Discussion:
[linux-uvc-devel] getting a Microdia webcam to work (USB ID 0c45:6360)
Ákos Maróy
2015-03-23 22:06:06 UTC
Permalink
Hi,

I'm having some issues getting a Microdia webcam to work, which has the
USB ID 0c45:6360.

I did some of the steps for debugging found here:
http://www.ideasonboard.org/uvc/faq/

please see the dmesg log and lsusb log attached.

I also tried to compile a custom module as described here:
http://wiki.ubuntu-it.org/Hardware/Webcam/Microdia

but that didn't work either:

$ make
make -C /lib/modules/3.16.0-31-generic/build
SUBDIRS=/home/akos/src/aviation/glass.aero/src/microdia modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-31-generic'
CC [M] /home/akos/src/aviation/glass.aero/src/microdia/sn9c20x-v4l2.o
/home/akos/src/aviation/glass.aero/src/microdia/sn9c20x-v4l2.c: In
function ‘v4l_sn9c20x_register_video_device’:
/home/akos/src/aviation/glass.aero/src/microdia/sn9c20x-v4l2.c:1463:11:
error: ‘struct video_device’ has no member named ‘parent’
dev->vdev->parent = &dev->interface->dev;
^
/home/akos/src/aviation/glass.aero/src/microdia/sn9c20x-v4l2.c:1465:11:
error: ‘struct video_device’ has no member named ‘current_norm’
dev->vdev->current_norm = 0;
^
scripts/Makefile.build:257: recipe for target
'/home/akos/src/aviation/glass.aero/src/microdia/sn9c20x-v4l2.o' failed
make[2]: ***
[/home/akos/src/aviation/glass.aero/src/microdia/sn9c20x-v4l2.o] Error 1
Makefile:1345: recipe for target
'_module_/home/akos/src/aviation/glass.aero/src/microdia' failed
make[1]: *** [_module_/home/akos/src/aviation/glass.aero/src/microdia]
Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-31-generic'
Makefile:33: recipe for target 'driver' failed
make: *** [driver] Error 2



I wonder what I'm doing wrong.


Akos

Loading...