Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Instalando endoscopio en gentoo (solucionado)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1080

PostPosted: Thu Feb 23, 2017 2:33 am    Post subject: Instalando endoscopio en gentoo (solucionado) Reply with quote

Pues resulta que me he comprado un endoscopio de esos baratos de 8 euros para trastear y he decidido hacerlo funcionar en gentoo.
Según dmesg
Code:
[11164.603725] usb 2-1.6: new high-speed USB device number 4 using ehci-pci
[11164.812637] usb 2-1.6: New USB device found, idVendor=1908, idProduct=2311
[11164.812640] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[11164.812642] usb 2-1.6: Product: USB2.0 PC CAMERA
[11164.812643] usb 2-1.6: Manufacturer: Generic

y con lsusb
Code:
Bus 002 Device 004: ID 1908:2311 GEMBIRD
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0e8f:0021 GreenAsia Inc. Multimedia Keyboard Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Voy a activar las siguientes opciones en mi kernel
Code:
--- Multimedia support 
 *** Multimedia core support *** 
[*]   Cameras/video grabbers support
[*]   Media USB Adapters  --->
*** Webcam devices ***
         <M>   USB Video Class (UVC)
          [*]     UVC input events device support


Ya comentaré si funciona
_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.


Last edited by cameta on Sat Feb 25, 2017 9:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1080

PostPosted: Thu Feb 23, 2017 3:37 am    Post subject: Reply with quote

Funciona
Code:
[17233.319920] uvcvideo: Found UVC 1.00 device USB2.0 PC CAMERA (1908:2311)
[17233.320311] input: USB2.0 PC CAMERA as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/input/input16
[17233.320376] usbcore: registered new interface driver uvcvideo
[17233.320376] USB Video Class driver (1.1.1)

Ahora sola hay que compilar vlc con la use v4l y ya tenemos el endoscopio plenamente funcional.
_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.


Last edited by cameta on Thu Feb 23, 2017 5:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1080

PostPosted: Thu Feb 23, 2017 11:44 am    Post subject: Reply with quote

Curiosamente con kaffeine no funciona la cámara.
¿alguna idea de a que puede ser debido?
_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.
Back to top
View user's profile Send private message
esteban_conde
Veteran
Veteran


Joined: 04 Jun 2003
Posts: 1670

PostPosted: Fri Feb 24, 2017 11:05 am    Post subject: Reply with quote

Posiblemente tengas varios dispositivos /dev/video*, se me ocurre que llames a vlc y si funciona cierralo e inmediatamente abre kaffeine seguramente funcione, si no lo hace llama a kaffeine desde la terminal: kaffeine /dev/video1.
Prueba con todos los /dev/videoX hasta que funcione y a ver que pasa, entre otras cosas si hay errores o aciertos se van registrando en la terminal y puedes depurar las causas.
_________________
Saludos a tod@s, Esteban.
Back to top
View user's profile Send private message
cameta
Veteran
Veteran


Joined: 04 Aug 2004
Posts: 1080

PostPosted: Sat Feb 25, 2017 10:56 am    Post subject: Reply with quote

Gracias por la ayuda.
Realmente ha funcionado al hacer esto:
kaffeine v4l:///dev/video0
o desde la gui con
open url y poniendo v4l:///dev/video0
Es una pena que no este tan bien montado como en vlc.
_________________
Si algo falla LEE el jodido manual, Si sigue fallando LEE BIEN el jodido manual.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish 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