Re: pwcview and cheese - Device not configured / Invalid argument erros

From: Miguel C <miguelmclara_at_gmail.com>
Date: Thu, 25 Feb 2016 17:30:59 +0000
On Thu, Feb 25, 2016 at 5:21 PM, Hans Petter Selasky <hps_at_selasky.org>
wrote:

> On 02/25/16 18:13, Miguel C wrote:
>
>> so should I step until that then run cheese, and then step again?
>>
>
> You should get a breakpoint event when you start pwcview. Then single step.
>

(gdb) breakpoint
usb_submit_urb
Undefined command: "breakpoint".  Try "help".
(gdb) break
usb_submit_urb

Breakpoint 1 at 0x412c23: file kernel/linux_usb.c, line 601.
(gdb) run -N 1-3M-HD-WebCam-SuYin
Starting program: /usr/local/sbin/webcamd -N 1-3M-HD-WebCam-SuYin
[New LWP 101819]
[New Thread 802215000 (LWP 101819/webcamd)]
: USB HID core driver
Linux video capture interface: v2.00
lirc_dev: IR Remote Control driver registered, major 14
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR LIRC bridge handler initialized
IR XMP protocol handler initialized
b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded
successfully
uvcvideo: Unable to create debugfs directory
USB Video Class driver (1.1.1)
cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
pvrusb2: Debug mask is 31 (0x1f)
USBVision USB Video Device Driver for Linux : 0.9.11
em28xx: Registered (Em28xx v4l2 Extension) extension
em28xx: Registered (Em28xx dvb Extension) extension
Attached to ugen0.5[0]
uvcvideo: Found UVC 1.00 device 1.3M HD WebCam (064e:c321)
[New Thread 802216c00 (LWP 101439/webcamd)]
[Switching to Thread 802215000 (LWP 101819/webcamd)]

Breakpoint 1, usb_submit_urb (urb=0x80228b070, mem_flags=0) at
kernel/linux_usb.c:601
601             if (urb == NULL)
Current language:  auto; currently minimal
(gdb)



With this I can not start pwcview or cheese because /dev/video doesn't
exist yet

Gonna try the sysctl for log capture

>
> --HPS
>
Received on Thu Feb 25 2016 - 16:31:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC