Results 1 to 2 of 2
Hello everyone! I'm playing with an old VGA webcam and I'm not an expert with Linux. My question is: is there any way to get some information about what's happening ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-29-2013 #1
- Join Date
- Mar 2013
How to catch information from a device?
I'm playing with an old VGA webcam and I'm not an expert with Linux.
My question is: is there any way to get some information about what's happening to the camera?
I mean: on the top of my webcam there's a button but nothing happens if I try to push it whilst, say, `cheese` is opened, for instance.
Moreover, if I launch from the shell dmesg that's the output -since the moment I plug the webcam-Code:
$ dmesg (...) [ 4636.720294] usb 2-1.2: new full-speed USB device number 4 using ehci_hcd [ 4636.814502] usb 2-1.2: New USB device found, idVendor=093a, idProduct=2600 [ 4636.814508] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 4636.814511] usb 2-1.2: Product: VGA Single Chip [ 4636.814514] usb 2-1.2: Manufacturer: Pixart Imaging Inc. [ 4636.814904] gspca_main: pac7311-2.14.0 probing 093a:2600 [ 4636.817089] input: pac7311 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/input/input13
Note: I'm using Ubuntu 12.10 (64 bit).
- 04-21-2013 #2
- Join Date
- Jun 2012
What do you want to do? There are some technologies which abstract the webcam and allow you to access a kinda like framebuffer with some basic API. I think it resides in libv4l library. man is man's best friend when it comes to learning new libraries ;D
And I think if you look through the dev folder, you should beable to get raw information out there...
What I would do is try and find the specification for web cam's - how they send information, and research it. but I have too much time on my hands ;P