public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] guvcview - no video device (/dev/video0) found
@ 2023-05-13 20:50 thelma
  2023-05-14  4:31 ` Andreas Fink
  0 siblings, 1 reply; 3+ messages in thread
From: thelma @ 2023-05-13 20:50 UTC (permalink / raw
  To: Gentoo mailing list

Getting an error message when trying to start usb-cam:

guvcview
ENCODER: no video codec detected for VP9 (VP9)
ENCODER: no video codec detected for Theora (ogg theora)
GUVCVIEW: version 2.0.8
GUVCVIEW: couldn't open /home/joseph/.config/guvcview2/video0 for read: No such file or directory
V4L2_CORE: ERROR opening V4L interface: No such file or directory
GUVCVIEW (2): Guvcview error
	 no video device (/dev/video0) found
GUVCVIEW (Qt5): fatal error (0 devices detected)
GUVCVIEW (Qt5): creating error dialog

dmesg:

[935066.984348] usb 1-1.4: Product: Vega USB2.0 Camera
[935066.984350] usb 1-1.4: Manufacturer: Vimicro Corp.
[936075.049430] usb 1-1.4: USB disconnect, device number 47
[936080.312412] usb 1-1.4: new high-speed USB device number 48 using xhci_hcd
[936080.504291] usb 1-1.4: New USB device found, idVendor=0ac8, idProduct=0331, bcdDevice= 1.00
[936080.504296] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[936080.504297] usb 1-1.4: Product: Vega USB2.0 Camera
[936080.504299] usb 1-1.4: Manufacturer: Vimicro Corp.

-- 
Thelma


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] guvcview - no video device (/dev/video0) found
  2023-05-13 20:50 [gentoo-user] guvcview - no video device (/dev/video0) found thelma
@ 2023-05-14  4:31 ` Andreas Fink
  2023-05-15 19:33   ` [gentoo-user] [SOLVED] " thelma
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Fink @ 2023-05-14  4:31 UTC (permalink / raw
  To: gentoo-user

On Sat, 13 May 2023 14:50:33 -0600
thelma@sys-concept.com wrote:

> Getting an error message when trying to start usb-cam:
>
> guvcview
> ENCODER: no video codec detected for VP9 (VP9)
> ENCODER: no video codec detected for Theora (ogg theora)
> GUVCVIEW: version 2.0.8
> GUVCVIEW: couldn't open /home/joseph/.config/guvcview2/video0 for read: No such file or directory
> V4L2_CORE: ERROR opening V4L interface: No such file or directory
> GUVCVIEW (2): Guvcview error
> 	 no video device (/dev/video0) found
> GUVCVIEW (Qt5): fatal error (0 devices detected)
> GUVCVIEW (Qt5): creating error dialog
>
> dmesg:
>
> [935066.984348] usb 1-1.4: Product: Vega USB2.0 Camera
> [935066.984350] usb 1-1.4: Manufacturer: Vimicro Corp.
> [936075.049430] usb 1-1.4: USB disconnect, device number 47
> [936080.312412] usb 1-1.4: new high-speed USB device number 48 using xhci_hcd
> [936080.504291] usb 1-1.4: New USB device found, idVendor=0ac8, idProduct=0331, bcdDevice= 1.00
> [936080.504296] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [936080.504297] usb 1-1.4: Product: Vega USB2.0 Camera
> [936080.504299] usb 1-1.4: Manufacturer: Vimicro Corp.
>

Do you have read/write access to /dev/video0? Try with:
ls -lh /dev/video*


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] [SOLVED] guvcview - no video device (/dev/video0) found
  2023-05-14  4:31 ` Andreas Fink
@ 2023-05-15 19:33   ` thelma
  0 siblings, 0 replies; 3+ messages in thread
From: thelma @ 2023-05-15 19:33 UTC (permalink / raw
  To: gentoo-user

On 5/13/23 22:31, Andreas Fink wrote:
> On Sat, 13 May 2023 14:50:33 -0600
> thelma@sys-concept.com wrote:
> 
>> Getting an error message when trying to start usb-cam:
>>
>> guvcview
>> ENCODER: no video codec detected for VP9 (VP9)
>> ENCODER: no video codec detected for Theora (ogg theora)
>> GUVCVIEW: version 2.0.8
>> GUVCVIEW: couldn't open /home/joseph/.config/guvcview2/video0 for read: No such file or directory
>> V4L2_CORE: ERROR opening V4L interface: No such file or directory
>> GUVCVIEW (2): Guvcview error
>> 	 no video device (/dev/video0) found
>> GUVCVIEW (Qt5): fatal error (0 devices detected)
>> GUVCVIEW (Qt5): creating error dialog
>>
>> dmesg:
>>
>> [935066.984348] usb 1-1.4: Product: Vega USB2.0 Camera
>> [935066.984350] usb 1-1.4: Manufacturer: Vimicro Corp.
>> [936075.049430] usb 1-1.4: USB disconnect, device number 47
>> [936080.312412] usb 1-1.4: new high-speed USB device number 48 using xhci_hcd
>> [936080.504291] usb 1-1.4: New USB device found, idVendor=0ac8, idProduct=0331, bcdDevice= 1.00
>> [936080.504296] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
>> [936080.504297] usb 1-1.4: Product: Vega USB2.0 Camera
>> [936080.504299] usb 1-1.4: Manufacturer: Vimicro Corp.
>>
> 
> Do you have read/write access to /dev/video0? Try with:
> ls -lh /dev/video*

No, it wasn't the case.
I had to add support for V4L in the kernel.

I'm surprised that there was no emerge note after emerging the package, that package needs V4L support in the kernel.
  


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-15 19:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-13 20:50 [gentoo-user] guvcview - no video device (/dev/video0) found thelma
2023-05-14  4:31 ` Andreas Fink
2023-05-15 19:33   ` [gentoo-user] [SOLVED] " thelma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox