Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
webcam issues
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
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sat Oct 03, 2020 5:59 pm    Post subject: webcam issues Reply with quote

Hi i learnt something earlier about the z option in the kernel and i need to enable UVC its hidden for some reason .\
The post i read was a bit complicated for me .

I have enabled my usb stuff but am unsure why UVC is hidden

Quote:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:07dc Intel Corpk. Bluetooth wireless interface
Bus 001 Device 002: ID 04f2:b446 Chicony Electronics Co., Ltd TOSHIBA Web Camera - HD
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
BobbysLaptop /usr/src/linux #


I think i have the correct things in my kernel .

Can someone help but also explain why the options is hidden i have never ever seen this before but now explains alot.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48910
Location: 56N 3W

PostPosted: Sat Oct 03, 2020 6:17 pm    Post subject: Reply with quote

Gentobobbyuk,

In many cases, menuconfig hides things that it is not possible to select.
The 'z' key toggles the display of hidden items so that they will appear in the search.

Now you can use the number key at the left of the search result to go to the the item.
That may only take you to the menu item that its hidden under, so that menu needs to be enabled.

Reading the kernel context sensitive help
Code:
  ┌───────────────────────── USB Video Class (UVC) ─────────────────────────┐
  │ CONFIG_USB_VIDEO_CLASS:                                                 │ 
  │                                                                         │ 
  │ Support for the USB Video Class (UVC).  Currently only video            │ 
  │ input devices, such as webcams, are supported.                          │ 
  │                                                                         │ 
  │ For more information see: <http://linux-uvc.berlios.de/>                │ 
  │                                                                         │ 
  │ Symbol: USB_VIDEO_CLASS [=n]                                            │ 
  │ Type  : tristate                                                        │ 
  │ Defined at drivers/media/usb/uvc/Kconfig:2                              │ 
  │   Prompt: USB Video Class (UVC)                                         │ 
  │   Depends on: USB [=y] && MEDIA_SUPPORT [=m] && \                       │ 
  │ MEDIA_USB_SUPPORT [=y] && MEDIA_CAMERA_SUPPORT [=y] && \                │ 
  │ VIDEO_V4L2 [=m]                                                         │ 
  │   Location:                                                             │ 
  │     -> Device Drivers                                                   │ 
  │       -> Multimedia support (MEDIA_SUPPORT [=m])                        │ 
  │         -> Media drivers                                                │ 
  │           -> Media USB Adapters (MEDIA_USB_SUPPORT [=y])                │ 
  │ Selects: VIDEOBUF2_VMALLOC [=m]               

It says
Code:
  │   Depends on: USB [=y] && MEDIA_SUPPORT [=m] && \                       │ 
  │ MEDIA_USB_SUPPORT [=y] && MEDIA_CAMERA_SUPPORT [=y] && \                │ 
  │ VIDEO_V4L2 [=m]   

That one long boolean equation. It must evaluate to true before USB_VIDEO_CLASS can be selected.
In this case, none of the kernel symbols in the Depends on: can be =n.
Check all of those.

Now it gets tricky. Some of those symbols may be hidden because their own Depends on: is not true.
You may need to apply the method several layers deep to be able to enable USB_VIDEO_CLASS.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sat Oct 03, 2020 6:24 pm    Post subject: Reply with quote

That just sounds impossible to me the thing is i solved this on my other laptop.

The words are a bit intense for me .

Can u please push me in the right direction.
I have selected the right toshiba webcam in usb devices i think. \

I no u like to adise but im god smacked on this .

I did wonder why i oculdnt not find i ive never had this problem.

I found another post which u said use z and i saw it .

So im basically missing something somethere which then acitvates this option.
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sat Oct 03, 2020 6:26 pm    Post subject: Reply with quote

Let me have another go a get back to you .

I think ur telling me all thos must equal first hopefully using the ? i can find them easily im sure there all on well at least 2 of them
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48910
Location: 56N 3W

PostPosted: Sat Oct 03, 2020 6:31 pm    Post subject: Reply with quote

Gentobobbyuk,

That's right.
Code:
Depends on: USB [=y] && MEDIA_SUPPORT [=m] &&  MEDIA_USB_SUPPORT [=y] && MEDIA_CAMERA_SUPPORT [=y] && VIDEO_V4L2 [=m]

must be =y or =m.
If any of them are =n, your webcam driver will be hidden or forced off.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sat Oct 03, 2020 11:18 pm    Post subject: Reply with quote

Ok ive got things appearing but having some issues .

\\
Code:
https://dpaste.com/BUWFQEA4R
\\

Theres my kernel config
Back to top
View user's profile Send private message
pietinger
l33t
l33t


Joined: 17 Oct 2006
Posts: 926
Location: Bavaria

PostPosted: Sat Oct 03, 2020 11:54 pm    Post subject: Reply with quote

Which kernel version do you have ?
Do you have copied your .config from another station with another kernel version ?
If yes, did you a "make oldconfig" with this ?
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sun Oct 04, 2020 1:15 pm    Post subject: Reply with quote

Latest kernel not using an old one
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48910
Location: 56N 3W

PostPosted: Sun Oct 04, 2020 4:48 pm    Post subject: Reply with quote

Gentobobbyuk,

I'm using
Code:
$ uname -r
5.8.0-gentoo-r1
I started with a clean slate in 2009 when I got this system.
The kernel .config has been migrated from kernel to kernel with make oldconfig ever since.

Your 5.4.66-gentoo is the stable kernel.

You don't nay what your issues are. What does
Code:
uname -a
tell?

Code:
$ uname -a
Linux NeddySeagoon_Static 5.8.0-gentoo-r1 #2 SMP PREEMPT Tue Sep 22 10:47:14 BST 2020 x86_64 AMD Phenom(tm) II X6 1090T Processor AuthenticAMD GNU/Linux


Notice the Tue Sep 22 10:47:14 BST 2020. Thats the build date and time of the running kernel.
As you have just built your kernel, if you are running the kernel you posted the .config for, the date and time will be recent.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sun Oct 04, 2020 8:00 pm    Post subject: Reply with quote

Hey man i had webcam issues before but nothing like this

Do i have the correct options set

Code:
Linux BobbysLaptop 5.4.66-gentoo #10 SMP Sun Oct 4 00:21:01 -00 2020 x86_64 Intel(R) Pentium(R) CPU N3700 @ 1.60GHz GenuineIntel GNU/Linux
bob@BobbysLaptop ~ $
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48910
Location: 56N 3W

PostPosted: Sun Oct 04, 2020 8:35 pm    Post subject: Reply with quote

Gentobobbyuk,

Good. I was guessing at your issue.

Please tell us what happens when you try to use your webcam.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sun Oct 04, 2020 9:48 pm    Post subject: Reply with quote

get about 5 screens replcia using webcamoid

this happends on the other machine till i fixed it.
Back to top
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sun Oct 04, 2020 9:52 pm    Post subject: Reply with quote

Its working sorry i had to playareound with some options

picture is pretty poor any reccomendations
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48910
Location: 56N 3W

PostPosted: Mon Oct 05, 2020 12:04 pm    Post subject: Reply with quote

Gentobobbyuk,

What is the webcam resolution?
Bright lighting may help.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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