Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Laptop webcam
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
The_Document
Apprentice
Apprentice


Joined: 03 Feb 2018
Posts: 275

PostPosted: Tue Apr 10, 2018 9:30 pm    Post subject: [Solved] Laptop webcam Reply with quote

What in kernel stuff need I enable to get it working?

Last edited by The_Document on Tue Apr 10, 2018 10:59 pm; edited 3 times in total
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Tue Apr 10, 2018 10:07 pm    Post subject: Reply with quote

You should probably start by telling us something about your hardware. My laptop has a camera, but I've never tried to get it working, and now that you jog me on it, I'd be more inclined to make sure that the stuff is kept out-of-kernel so it can't work. I know, there's always black electrical tape.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
The_Document
Apprentice
Apprentice


Joined: 03 Feb 2018
Posts: 275

PostPosted: Tue Apr 10, 2018 10:10 pm    Post subject: Reply with quote

depontius wrote:
You should probably start by telling us something about your hardware. My laptop has a camera, but I've never tried to get it working, and now that you jog me on it, I'd be more inclined to make sure that the stuff is kept out-of-kernel so it can't work. I know, there's always black electrical tape.


I have black electrical tape covering it, but NOW I have an online course

Code:
lspci

https://paste.pound-python.org/show/N5rrxPVbjb2JnBixXyzm/
Code:
lspci -vvv
https://paste.pound-python.org/show/kc5eWhVssTVKz0uWkS0R/
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Apr 10, 2018 10:14 pm    Post subject: Reply with quote

I've never seen a PCI webcam, do they even exist? 8O
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
The_Document
Apprentice
Apprentice


Joined: 03 Feb 2018
Posts: 275

PostPosted: Tue Apr 10, 2018 10:15 pm    Post subject: Reply with quote

Jaglover wrote:
I've never seen a PCI webcam, do they even exist? 8O

Probly do.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Apr 10, 2018 10:20 pm    Post subject: Reply with quote

Well, according to your lspci you don't have one of those hypothetical PCI webcams. Dedicating a PCI line to a webcam would be a waste of resources indeed.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
The_Document
Apprentice
Apprentice


Joined: 03 Feb 2018
Posts: 275

PostPosted: Tue Apr 10, 2018 10:22 pm    Post subject: Reply with quote

Jaglover wrote:
Well, according to your lspci you don't have one of those.


I meant as in they are probably on sale SOMEWERE. Im pretty sure military drones likely utilised it since they have cameras which can read small print on a peice of paper on the ground from very high altitudes thus the necessity for a high data rate interface. But I don't know what to enable in kernel

kernel config :
https://paste.pound-python.org/show/hDcJH0PerwzQNWWJ6EmJ/
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Apr 10, 2018 10:49 pm    Post subject: Reply with quote

Back to square one, why don't you tell us what camera you have? Didn't depontius already ask that?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
The_Document
Apprentice
Apprentice


Joined: 03 Feb 2018
Posts: 275

PostPosted: Tue Apr 10, 2018 10:51 pm    Post subject: Reply with quote

Jaglover wrote:
Back to square one, why don't you tell us what camera you have? Didn't depontius already ask that?


I already got it working and he didn't ask for "what camera I have" he asked for hardware information.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Apr 10, 2018 11:09 pm    Post subject: Reply with quote

Sorry, I was thinking the camera is hardware. I know mine is. :roll: What a software camera looks like?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Tue Apr 10, 2018 11:14 pm    Post subject: Reply with quote

Your webcam is probably USB-attached, as most are. In this case, "lsusb -vv" might tell more.

However if you've got it working, it was probably sufficient to use "m" for every USB camera device. I've never fussed with this, but it sure looks as if you've got all imaging devices disabled. Maybe imaging is different from video...
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
The_Document
Apprentice
Apprentice


Joined: 03 Feb 2018
Posts: 275

PostPosted: Tue Apr 10, 2018 11:16 pm    Post subject: Reply with quote

depontius wrote:
Your webcam is probably USB-attached, as most are. In this case, "lsusb -vv" might tell more.

However if you've got it working, it was probably sufficient to use "m" for every USB camera device. I've never fussed with this, but it sure looks as if you've got all imaging devices disabled. Maybe imaging is different from video...


I used M for vendor drivers because I selected them all, but built in for functionality.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Apr 11, 2018 12:52 am    Post subject: Reply with quote

A no-name laptop webcam is going to be GSPCA or UVC, with about 99% probability.
Back to top
View user's profile Send private message
The_Document
Apprentice
Apprentice


Joined: 03 Feb 2018
Posts: 275

PostPosted: Wed Apr 11, 2018 12:55 am    Post subject: Reply with quote

Ant P. wrote:
A no-name laptop webcam is going to be GSPCA or UVC, with about 99% probability.


I would like to deselect all but one hardware vendor which make my camera. But lsmod doesen't show anything loaded for cameras.

lsmod
https://paste.pound-python.org/show/7WeywC2LwEKXoJtgybi9/

Code:
zakhar@laptop ~ $ dmesg | grep -i webcam
[    0.978245] usb 2-1: Product: HP Webcam
[    0.981491] uvcvideo: Found UVC 1.00 device HP Webcam (04f2:b52d)
[    0.988385] input: HP Webcam: HP Webcam as /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/input/input9
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Apr 11, 2018 1:10 am    Post subject: Reply with quote

Looks like it's working, check "dmesg | grep -i uvcvideo". If the driver isn't in lsmod or doesn't show up at /lib/modules/"$(uname -r)"/kernel/drivers/media/usb/uvc/uvcvideo.ko , it's ended up as built-in somehow.
Back to top
View user's profile Send private message
The_Document
Apprentice
Apprentice


Joined: 03 Feb 2018
Posts: 275

PostPosted: Wed Apr 11, 2018 1:12 am    Post subject: Reply with quote

Ant P. wrote:
Looks like it's working, check "dmesg | grep -i uvcvideo". If the driver isn't in lsmod or doesn't show up at /lib/modules/"$(uname -r)"/kernel/drivers/media/usb/uvc/uvcvideo.ko , it's ended up as built-in somehow.


Code:
$ dmesg | grep -i uvcvideo
[    0.541521] usbcore: registered new interface driver uvcvideo
[    0.981491] uvcvideo: Found UVC 1.00 device HP Webcam (04f2:b52d)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum