* Dazzle DVC80 under FC16
[not found] <4FAA57A3.2030701@skorzen.net>
@ 2012-05-09 13:48 ` Bruno Martins
2012-05-09 15:32 ` Ondrej Zary
0 siblings, 1 reply; 10+ messages in thread
From: Bruno Martins @ 2012-05-09 13:48 UTC (permalink / raw)
To: linux-media
Hello guys,
Has anyone ever got this to working under any Linux distro, including
Fedora?
I have just plugged it in and I get this on dmesg:
[ 1365.932522] usb 2-1.1: new full-speed USB device number 26 using
ehci_hcd
[ 1366.073145] usb 2-1.1: New USB device found, idVendor=07d0,
idProduct=0004
[ 1366.073153] usb 2-1.1: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 1366.091741] usbvision_probe: Dazzle Fusion Model DVC-80 Rev 1 (PAL)
found
[ 1366.092072] USBVision[0]: registered USBVision Video device video1
[v4l2]
[ 1366.092091] usbvision_probe: Dazzle Fusion Model DVC-80 Rev 1 (PAL)
found
[ 1366.092149] USBVision[1]: registered USBVision Video device video2
[v4l2]
[ 1366.092182] usbcore: registered new interface driver usbvision
[ 1366.092184] USBVision USB Video Device Driver for Linux : 0.9.11
[ 1366.189268] saa7115 15-0025: saa7113 found (1f7113d0e100000) @ 0x4a
(usbvision-2-1.1)
[ 1366.319647] usb 2-1.1: selecting invalid altsetting 1
[ 1366.319658] usb 2-1.1: cannot change alternate number to 1 (error=-22)
Device is recognized since it appears in lsusb:
[skorzen@g62 ~]$ lsusb | grep DVC
Bus 002 Device 026: ID 07d0:0004 Dazzle DVC-800 (PAL) Grabber
However, I cannot make it work (my goal is to capture video from a
camcorder).
I've tried using cheese for this, but it just crashes and ABRT
launches for me to fill a bug.
Any ideas?
Best regards,
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Dazzle DVC80 under FC16
2012-05-09 13:48 ` Dazzle DVC80 under FC16 Bruno Martins
@ 2012-05-09 15:32 ` Ondrej Zary
2012-05-09 16:20 ` Bruno Martins
0 siblings, 1 reply; 10+ messages in thread
From: Ondrej Zary @ 2012-05-09 15:32 UTC (permalink / raw)
To: Bruno Martins; +Cc: linux-media
On Wednesday 09 May 2012, Bruno Martins wrote:
> Hello guys,
>
> Has anyone ever got this to working under any Linux distro, including
> Fedora?
>
> I have just plugged it in and I get this on dmesg:
>
> [ 1365.932522] usb 2-1.1: new full-speed USB device number 26 using ehci_hcd
> [ 1366.073145] usb 2-1.1: New USB device found, idVendor=07d0, idProduct=0004
> [ 1366.073153] usb 2-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> [ 1366.091741] usbvision_probe: Dazzle Fusion Model DVC-80 Rev 1 (PAL) found
> [ 1366.092072] USBVision[0]: registered USBVision Video device video1 [v4l2]
> [ 1366.092091] usbvision_probe: Dazzle Fusion Model DVC-80 Rev 1 (PAL) found
> [ 1366.092149] USBVision[1]: registered USBVision Video device video2 [v4l2]
> [ 1366.092182] usbcore: registered new interface driver usbvision
> [ 1366.092184] USBVision USB Video Device Driver for Linux : 0.9.11
> [ 1366.189268] saa7115 15-0025: saa7113 found (1f7113d0e100000) @ 0x4a (usbvision-2-1.1)
> [ 1366.319647] usb 2-1.1: selecting invalid altsetting 1
> [ 1366.319658] usb 2-1.1: cannot change alternate number to 1 (error=-22)
>
> Device is recognized since it appears in lsusb:
>
> [skorzen@g62 ~]$ lsusb | grep DVC
> Bus 002 Device 026: ID 07d0:0004 Dazzle DVC-800 (PAL) Grabber
>
> However, I cannot make it work (my goal is to capture video from a
> camcorder).
> I've tried using cheese for this, but it just crashes and ABRT
> launches for me to fill a bug.
>
> Any ideas?
Please include the output of "lsusb -v" for this device (run the command as root).
--
Ondrej Zary
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Dazzle DVC80 under FC16
2012-05-09 15:32 ` Ondrej Zary
@ 2012-05-09 16:20 ` Bruno Martins
2012-05-09 16:54 ` Ezequiel Garcia
2012-05-09 19:12 ` Ondrej Zary
0 siblings, 2 replies; 10+ messages in thread
From: Bruno Martins @ 2012-05-09 16:20 UTC (permalink / raw)
To: linux-media
On 05/09/2012 04:32 PM, Ondrej Zary wrote:
> On Wednesday 09 May 2012, Bruno Martins wrote:
>> Hello guys,
>>
>> Has anyone ever got this to working under any Linux distro, including
>> Fedora?
>>
>> I have just plugged it in and I get this on dmesg:
>>
>> [ 1365.932522] usb 2-1.1: new full-speed USB device number 26 using ehci_hcd
>> [ 1366.073145] usb 2-1.1: New USB device found, idVendor=07d0, idProduct=0004
>> [ 1366.073153] usb 2-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
>> [ 1366.091741] usbvision_probe: Dazzle Fusion Model DVC-80 Rev 1 (PAL) found
>> [ 1366.092072] USBVision[0]: registered USBVision Video device video1 [v4l2]
>> [ 1366.092091] usbvision_probe: Dazzle Fusion Model DVC-80 Rev 1 (PAL) found
>> [ 1366.092149] USBVision[1]: registered USBVision Video device video2 [v4l2]
>> [ 1366.092182] usbcore: registered new interface driver usbvision
>> [ 1366.092184] USBVision USB Video Device Driver for Linux : 0.9.11
>> [ 1366.189268] saa7115 15-0025: saa7113 found (1f7113d0e100000) @ 0x4a (usbvision-2-1.1)
>> [ 1366.319647] usb 2-1.1: selecting invalid altsetting 1
>> [ 1366.319658] usb 2-1.1: cannot change alternate number to 1 (error=-22)
>>
>> Device is recognized since it appears in lsusb:
>>
>> [skorzen@g62 ~]$ lsusb | grep DVC
>> Bus 002 Device 026: ID 07d0:0004 Dazzle DVC-800 (PAL) Grabber
>>
>> However, I cannot make it work (my goal is to capture video from a
>> camcorder).
>> I've tried using cheese for this, but it just crashes and ABRT
>> launches for me to fill a bug.
>>
>> Any ideas?
>
> Please include the output of "lsusb -v" for this device (run the command as root).
>
>
Here it is, mate. Thanks for your cooperation.
Bus 002 Device 005: ID 07d0:0004 Dazzle DVC-800 (PAL) Grabber
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x07d0 Dazzle
idProduct 0x0004 DVC-800 (PAL) Grabber
bcdDevice 1.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 468
bNumInterfaces 2
bConfigurationValue 2
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x037f 1x 895 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 2
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x033f 1x 831 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 3
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x02ff 1x 767 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 4
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x02bf 1x 703 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 5
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x027f 1x 639 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 6
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x023f 1x 575 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 7
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x01ff 1x 511 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 8
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x01bf 1x 447 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 9
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x017f 1x 383 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 10
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x013f 1x 319 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 11
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00ff 1x 255 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 12
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x00bf 1x 191 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 13
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x007f 1x 127 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 14
bNumEndpoints 3
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 0
Transfer Type Control
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x003f 1x 63 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0042 1x 66 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 0 (Defined at Interface level)
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Device Status: 0x0000
(Bus Powered)
Best regards,
--
Bruno Martins
bruno@skorzen.net
(+351) 939 668 667
http//www.skorzen.net/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Dazzle DVC80 under FC16
2012-05-09 16:20 ` Bruno Martins
@ 2012-05-09 16:54 ` Ezequiel Garcia
2012-05-09 17:10 ` Bruno Martins
2012-05-09 17:56 ` Ondrej Zary
2012-05-09 19:12 ` Ondrej Zary
1 sibling, 2 replies; 10+ messages in thread
From: Ezequiel Garcia @ 2012-05-09 16:54 UTC (permalink / raw)
To: Bruno Martins; +Cc: linux-media
Hi,
Also please output lsmod with your device plugged and the list of your
installed modules (do you know how to do this?)
I may be wrong, but this device should be supported by usbvision module.
Thanks,
Ezequiel.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Dazzle DVC80 under FC16
2012-05-09 16:54 ` Ezequiel Garcia
@ 2012-05-09 17:10 ` Bruno Martins
2012-05-09 17:56 ` Ondrej Zary
1 sibling, 0 replies; 10+ messages in thread
From: Bruno Martins @ 2012-05-09 17:10 UTC (permalink / raw)
To: linux-media
On 05/09/2012 05:54 PM, Ezequiel Garcia wrote:
> Hi,
>
> Also please output lsmod with your device plugged and the list of your
> installed modules (do you know how to do this?)
>
> I may be wrong, but this device should be supported by usbvision module.
>
> Thanks,
> Ezequiel.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi there,
Is this information sufficient? Did lsmod, and the same but grepping
'usbvision' module.
[root@g62 skorzen]# lsmod
Module Size Used by
saa7115 22886 0
usbvision 74822 0
v4l2_common 15133 2 saa7115,usbvision
binfmt_misc 17431 1
usb_storage 52112 0
vboxpci 23198 0
vboxnetadp 13382 0
vboxnetflt 23424 0
vboxdrv 267808 3 vboxpci,vboxnetadp,vboxnetflt
lockd 84763 0
fcoe 27289 0
libfcoe 47156 1 fcoe
libfc 108615 2 fcoe,libfcoe
scsi_transport_fc 53339 2 fcoe,libfc
scsi_tgt 19553 1 scsi_transport_fc
8021q 24177 0
garp 14069 1 8021q
stp 12823 1 garp
llc 14090 2 garp,stp
be2iscsi 72382 0
iscsi_boot_sysfs 15641 1 be2iscsi
bnx2i 54521 0
cnic 62821 1 bnx2i
uio 19028 1 cnic
cxgb4i 32909 0
cxgb4 103017 1 cxgb4i
cxgb3i 32972 0
libcxgbi 56508 2 cxgb4i,cxgb3i
cxgb3 155458 1 cxgb3i
mdio 13398 1 cxgb3
ib_iser 38001 0
rdma_cm 41898 1 ib_iser
ib_cm 41692 1 rdma_cm
iw_cm 18176 1 rdma_cm
ib_sa 28417 2 rdma_cm,ib_cm
ib_mad 46392 2 ib_cm,ib_sa
ib_core 73803 6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr 13745 1 rdma_cm
iscsi_tcp 18333 0
libiscsi_tcp 23970 4 cxgb4i,cxgb3i,libcxgbi,iscsi_tcp
libiscsi 50527 8
be2iscsi,bnx2i,cxgb4i,cxgb3i,libcxgbi,ib_iser,iscsi_tcp,libiscsi_tcp
scsi_transport_iscsi 51924 8
be2iscsi,bnx2i,libcxgbi,ib_iser,iscsi_tcp,libiscsi
nf_conntrack_ipv4 14622 1
nf_defrag_ipv4 12673 1 nf_conntrack_ipv4
ip6t_REJECT 12939 2
nf_conntrack_ipv6 14290 1
nf_defrag_ipv6 18139 1 nf_conntrack_ipv6
xt_state 12578 2
nf_conntrack 82286 3 nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
ip6table_filter 12815 1
ip6_tables 26976 1 ip6table_filter
i2c_i801 17765 0
arc4 12529 2
brcmsmac 551177 0
mac80211 496450 1 brcmsmac
brcmutil 14124 1 brcmsmac
cfg80211 195558 2 brcmsmac,mac80211
crc8 12708 1 brcmsmac
cordic 12486 1 brcmsmac
snd_hda_codec_hdmi 36157 1
snd_hda_codec_realtek 145364 1
bcma 30101 1 brcmsmac
r8169 60789 0
snd_hda_intel 33276 5
snd_hda_codec 115767 3
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 17611 1 snd_hda_codec
snd_seq 64807 0
snd_seq_device 14129 1 snd_seq
snd_pcm 97170 4
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 28815 2 snd_seq,snd_pcm
snd 78908 18
snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore 14484 1 snd
snd_page_alloc 18101 2 snd_hda_intel,snd_pcm
iTCO_wdt 17948 0
hp_wmi 18048 0
iTCO_vendor_support 13419 1 iTCO_wdt
uvcvideo 76346 0
mii 13527 1 r8169
sparse_keymap 13526 1 hp_wmi
videobuf2_core 31894 1 uvcvideo
videodev 106837 5
saa7115,usbvision,v4l2_common,uvcvideo,videobuf2_core
media 20444 2 uvcvideo,videodev
videobuf2_vmalloc 12967 1 uvcvideo
rfkill 21342 3 cfg80211,hp_wmi
microcode 23348 0
videobuf2_memops 13262 1 videobuf2_vmalloc
serio_raw 13371 0
joydev 17412 0
sunrpc 235361 2 lockd
uinput 17606 0
wmi 18697 1 hp_wmi
i915 466809 2
drm_kms_helper 40231 1 i915
drm 242003 3 i915,drm_kms_helper
i2c_algo_bit 13156 1 i915
i2c_core 37991 9
saa7115,usbvision,v4l2_common,i2c_i801,videodev,i915,drm_kms_helper,drm,i2c_algo_bit
video 18932 1 i915
[root@g62 skorzen]# lsmod | grep usbvision
usbvision 74822 0
v4l2_common 15133 2 saa7115,usbvision
videodev 106837 5
saa7115,usbvision,v4l2_common,uvcvideo,videobuf2_core
i2c_core 37991 9
saa7115,usbvision,v4l2_common,i2c_i801,videodev,i915,drm_kms_helper,drm,i2c_algo_bit
Kind regards,
--
Bruno Martins
bruno@skorzen.net
(+351) 939 668 667
http//www.skorzen.net/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Dazzle DVC80 under FC16
2012-05-09 16:54 ` Ezequiel Garcia
2012-05-09 17:10 ` Bruno Martins
@ 2012-05-09 17:56 ` Ondrej Zary
2012-05-09 18:02 ` Ezequiel Garcia
1 sibling, 1 reply; 10+ messages in thread
From: Ondrej Zary @ 2012-05-09 17:56 UTC (permalink / raw)
To: Ezequiel Garcia; +Cc: Bruno Martins, linux-media
On Wednesday 09 May 2012 18:54:58 Ezequiel Garcia wrote:
> Hi,
>
> Also please output lsmod with your device plugged and the list of your
> installed modules (do you know how to do this?)
>
> I may be wrong, but this device should be supported by usbvision module.
The log show that usbvision module is loaded but fails to set altsetting to 1.
Probably because the device has two interfaces (note that the driver is also
initialized twice).
--
Ondrej Zary
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Dazzle DVC80 under FC16
2012-05-09 17:56 ` Ondrej Zary
@ 2012-05-09 18:02 ` Ezequiel Garcia
0 siblings, 0 replies; 10+ messages in thread
From: Ezequiel Garcia @ 2012-05-09 18:02 UTC (permalink / raw)
To: Ondrej Zary; +Cc: Bruno Martins, linux-media
Hi,
On Wed, May 9, 2012 at 2:56 PM, Ondrej Zary <linux@rainbow-software.org> wrote:
> On Wednesday 09 May 2012 18:54:58 Ezequiel Garcia wrote:
>> Hi,
>>
>> Also please output lsmod with your device plugged and the list of your
>> installed modules (do you know how to do this?)
>>
>> I may be wrong, but this device should be supported by usbvision module.
>
> The log show that usbvision module is loaded but fails to set altsetting to 1.
> Probably because the device has two interfaces (note that the driver is also
> initialized twice).
Yes, I've just noticed this.
Perhaps, you could try using vlc and/or mplayer (instead of cheese)
and also try to use explicit device, i.e. /dev/video1 and/or
/dev/video2.
But if the driver fails to set alternate setting, then it will never
work, right?
Hope this helps,
Ezequiel.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Dazzle DVC80 under FC16
2012-05-09 16:20 ` Bruno Martins
2012-05-09 16:54 ` Ezequiel Garcia
@ 2012-05-09 19:12 ` Ondrej Zary
2017-05-20 12:11 ` Christopher Chavez
2017-05-20 12:27 ` Christopher Chavez
1 sibling, 2 replies; 10+ messages in thread
From: Ondrej Zary @ 2012-05-09 19:12 UTC (permalink / raw)
To: Bruno Martins; +Cc: linux-media
On Wednesday 09 May 2012 18:20:18 Bruno Martins wrote:
> On 05/09/2012 04:32 PM, Ondrej Zary wrote:
> > On Wednesday 09 May 2012, Bruno Martins wrote:
> >> Hello guys,
> >>
> >> Has anyone ever got this to working under any Linux distro, including
> >> Fedora?
> >>
> >> I have just plugged it in and I get this on dmesg:
> >>
> >> [ 1365.932522] usb 2-1.1: new full-speed USB device number 26 using
> >> ehci_hcd [ 1366.073145] usb 2-1.1: New USB device found, idVendor=07d0,
> >> idProduct=0004 [ 1366.073153] usb 2-1.1: New USB device strings: Mfr=0,
> >> Product=0, SerialNumber=0 [ 1366.091741] usbvision_probe: Dazzle Fusion
> >> Model DVC-80 Rev 1 (PAL) found [ 1366.092072] USBVision[0]: registered
> >> USBVision Video device video1 [v4l2] [ 1366.092091] usbvision_probe:
> >> Dazzle Fusion Model DVC-80 Rev 1 (PAL) found [ 1366.092149]
> >> USBVision[1]: registered USBVision Video device video2 [v4l2] [
> >> 1366.092182] usbcore: registered new interface driver usbvision [
> >> 1366.092184] USBVision USB Video Device Driver for Linux : 0.9.11 [
> >> 1366.189268] saa7115 15-0025: saa7113 found (1f7113d0e100000) @ 0x4a
> >> (usbvision-2-1.1) [ 1366.319647] usb 2-1.1: selecting invalid altsetting
> >> 1
> >> [ 1366.319658] usb 2-1.1: cannot change alternate number to 1
> >> (error=-22)
> >>
> >> Device is recognized since it appears in lsusb:
> >>
> >> [skorzen@g62 ~]$ lsusb | grep DVC
> >> Bus 002 Device 026: ID 07d0:0004 Dazzle DVC-800 (PAL) Grabber
> >>
> >> However, I cannot make it work (my goal is to capture video from a
> >> camcorder).
> >> I've tried using cheese for this, but it just crashes and ABRT
> >> launches for me to fill a bug.
> >>
> >> Any ideas?
> >
> > Please include the output of "lsusb -v" for this device (run the command
> > as root).
>
> Here it is, mate. Thanks for your cooperation.
>
> Bus 002 Device 005: ID 07d0:0004 Dazzle DVC-800 (PAL) Grabber
> Device Descriptor:
> bLength 18
> bDescriptorType 1
> bcdUSB 1.00
> bDeviceClass 0 (Defined at Interface level)
> bDeviceSubClass 0
> bDeviceProtocol 0
> bMaxPacketSize0 8
> idVendor 0x07d0 Dazzle
> idProduct 0x0004 DVC-800 (PAL) Grabber
> bcdDevice 1.00
> iManufacturer 0
> iProduct 0
> iSerial 0
> bNumConfigurations 1
> Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 468
> bNumInterfaces 2
> bConfigurationValue 2
> iConfiguration 0
> bmAttributes 0x80
> (Bus Powered)
> MaxPower 500mA
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0000 1x 0 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0000 1x 0 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 1
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x037f 1x 895 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 2
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x033f 1x 831 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 3
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x02ff 1x 767 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 4
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x02bf 1x 703 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 5
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x027f 1x 639 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 6
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x023f 1x 575 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 7
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x01ff 1x 511 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 8
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x01bf 1x 447 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 9
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x017f 1x 383 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 10
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x013f 1x 319 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 11
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x00ff 1x 255 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 12
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x00bf 1x 191 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 13
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x007f 1x 127 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 14
> bNumEndpoints 3
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 0
> Transfer Type Control
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0008 1x 8 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x003f 1x 63 bytes
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 1
> Transfer Type Isochronous
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0042 1x 66 bytes
> bInterval 1
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 1
> bAlternateSetting 0
> bNumEndpoints 0
> bInterfaceClass 0 (Defined at Interface level)
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Device Status: 0x0000
> (Bus Powered)
>
> Best regards,
Can you test this patch? It should make the driver ignore the second
interface with no endpoints.
--- a/drivers/media/video/usbvision/usbvision-video.c
+++ b/drivers/media/video/usbvision/usbvision-video.c
@@ -1504,6 +1504,11 @@ static int __devinit usbvision_probe(struct usb_interface *intf,
interface = &dev->actconfig->interface[usbvision_device_data[model].interface]->altsetting[0];
else
interface = &dev->actconfig->interface[ifnum]->altsetting[0];
+ if (interface->desc.bNumEndpoints < 1) {
+ dev_err(&intf->dev, "%s: interface %d. has no endpoints\n",
+ __func__, ifnum);
+ return -ENODEV;
+ }
endpoint = &interface->endpoint[1].desc;
if (!usb_endpoint_xfer_isoc(endpoint)) {
dev_err(&intf->dev, "%s: interface %d. has non-ISO endpoint!\n",
--
Ondrej Zary
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Dazzle DVC80 under FC16
2012-05-09 19:12 ` Ondrej Zary
@ 2017-05-20 12:11 ` Christopher Chavez
2017-05-20 12:27 ` Christopher Chavez
1 sibling, 0 replies; 10+ messages in thread
From: Christopher Chavez @ 2017-05-20 12:11 UTC (permalink / raw)
To: Ondrej Zary; +Cc: Bruno Martins, linux-media
>
> On May 9, 2012, at 2:12 PM, Ondrej Zary <linux@rainbow-software.org> wrote:
> Can you test this patch? It should make the driver ignore the second
> interface with no endpoints.
> --- a/drivers/media/video/usbvision/usbvision-video.c
> +++ b/drivers/media/video/usbvision/usbvision-video.c
> @@ -1504,6 +1504,11 @@ static int __devinit usbvision_probe(struct usb_interface *intf,
> interface = &dev->actconfig->interface[usbvision_device_data[model].interface]->altsetting[0];
> else
> interface = &dev->actconfig->interface[ifnum]->altsetting[0];
> + if (interface->desc.bNumEndpoints < 1) {
> + dev_err(&intf->dev, "%s: interface %d. has no endpoints\n",
> + __func__, ifnum);
> + return -ENODEV;
> + }
> endpoint = &interface->endpoint[1].desc;
> if (!usb_endpoint_xfer_isoc(endpoint)) {
> dev_err(&intf->dev, "%s: interface %d. has non-ISO endpoint!\n",
Leaving a reply for reference: while trying to add support for another
device [1], I noticed that the fix for CVE-2015-7833 [2] contained a
check similar to the one in Zary's patch:
(from commit fa52bd506f274b7619955917abfde355e3d19ffe)
drivers/media/usb/usbvision/usbvision-video.c | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/drivers/media/usb/usbvision/usbvision-video.c
b/drivers/media/usb/usbvision/usbvision-video.c
index b693206..d1dc1a1 100644
--- a/drivers/media/usb/usbvision/usbvision-video.c
+++ b/drivers/media/usb/usbvision/usbvision-video.c
@@ -1463,9 +1463,23 @@ static int usbvision_probe(struct usb_interface *intf,
if (usbvision_device_data[model].interface >= 0)
interface = &dev->actconfig->interface[usbvision_device_data[model].interface]->altsetting[0];
- else
+ else if (ifnum < dev->actconfig->desc.bNumInterfaces)
interface = &dev->actconfig->interface[ifnum]->altsetting[0];
+ else {
+ dev_err(&intf->dev, "interface %d is invalid, max is %d\n",
+ ifnum, dev->actconfig->desc.bNumInterfaces - 1);
+ ret = -ENODEV;
+ goto err_usb;
+ }
+
+ if (interface->desc.bNumEndpoints < 2) {
+ dev_err(&intf->dev, "interface %d has %d endpoints, but must"
+ " have minimum 2\n", ifnum, interface->desc.bNumEndpoints);
+ ret = -ENODEV;
+ goto err_usb;
+ }
endpoint = &interface->endpoint[1].desc;
+
if (!usb_endpoint_xfer_isoc(endpoint)) {
dev_err(&intf->dev, "%s: interface %d. has non-ISO endpoint!\n",
__func__, ifnum);
I can still reproduce the "cannot change alternate number to 1
(error=-22)" issue, however. Unless something else is broken, e.g. in
my card definition, I haven't made any progress myself on figuring out
why this happens.
[1] usbvision: problems adding support for ATI TV Wonder USB Edition
https://www.spinics.net/lists/linux-media/msg95854.html
[2] usbvision: fix crash on detecting device with invalid configuration
https://www.spinics.net/lists/linux-media/msg94831.html
Christopher A. Chavez
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: Dazzle DVC80 under FC16
2012-05-09 19:12 ` Ondrej Zary
2017-05-20 12:11 ` Christopher Chavez
@ 2017-05-20 12:27 ` Christopher Chavez
1 sibling, 0 replies; 10+ messages in thread
From: Christopher Chavez @ 2017-05-20 12:27 UTC (permalink / raw)
To: Ondrej Zary; +Cc: Bruno Martins, linux-media
> On May 9, 2012, at 2:12 PM, Ondrej Zary <linux@rainbow-software.org> wrote:
> Can you test this patch? It should make the driver ignore the second
> interface with no endpoints.
> --- a/drivers/media/video/usbvision/usbvision-video.c
> +++ b/drivers/media/video/usbvision/usbvision-video.c
> @@ -1504,6 +1504,11 @@ static int __devinit usbvision_probe(struct usb_interface *intf,
> interface = &dev->actconfig->interface[usbvision_device_data[model].interface]->altsetting[0];
> else
> interface = &dev->actconfig->interface[ifnum]->altsetting[0];
> + if (interface->desc.bNumEndpoints < 1) {
> + dev_err(&intf->dev, "%s: interface %d. has no endpoints\n",
> + __func__, ifnum);
> + return -ENODEV;
> + }
> endpoint = &interface->endpoint[1].desc;
> if (!usb_endpoint_xfer_isoc(endpoint)) {
> dev_err(&intf->dev, "%s: interface %d. has non-ISO endpoint!\n",
Leaving a reply for reference: while trying to add support for another
device [1], I noticed that the fix for CVE-2015-7833 [2] contained a
check similar to the one in Zary's patch:
(from commit fa52bd506f274b7619955917abfde355e3d19ffe)
drivers/media/usb/usbvision/usbvision-video.c | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/drivers/media/usb/usbvision/usbvision-video.c
b/drivers/media/usb/usbvision/usbvision-video.c
index b693206..d1dc1a1 100644
--- a/drivers/media/usb/usbvision/usbvision-video.c
+++ b/drivers/media/usb/usbvision/usbvision-video.c
@@ -1463,9 +1463,23 @@ static int usbvision_probe(struct usb_interface *intf,
if (usbvision_device_data[model].interface >= 0)
interface = &dev->actconfig->interface[usbvision_device_data[model].interface]->altsetting[0];
- else
+ else if (ifnum < dev->actconfig->desc.bNumInterfaces)
interface = &dev->actconfig->interface[ifnum]->altsetting[0];
+ else {
+ dev_err(&intf->dev, "interface %d is invalid, max is %d\n",
+ ifnum, dev->actconfig->desc.bNumInterfaces - 1);
+ ret = -ENODEV;
+ goto err_usb;
+ }
+
+ if (interface->desc.bNumEndpoints < 2) {
+ dev_err(&intf->dev, "interface %d has %d endpoints, but must"
+ " have minimum 2\n", ifnum, interface->desc.bNumEndpoints);
+ ret = -ENODEV;
+ goto err_usb;
+ }
endpoint = &interface->endpoint[1].desc;
+
if (!usb_endpoint_xfer_isoc(endpoint)) {
dev_err(&intf->dev, "%s: interface %d. has non-ISO endpoint!\n",
__func__, ifnum);
I can still reproduce the "cannot change alternate number to 1
(error=-22)" issue, however. Unless something else is broken, e.g. in
my card definition, I haven't made any progress myself on figuring out
why this happens.
[1] usbvision: problems adding support for ATI TV Wonder USB Edition
https://www.spinics.net/lists/linux-media/msg95854.html
[2] usbvision: fix crash on detecting device with invalid configuration
https://www.spinics.net/lists/linux-media/msg94831.html
Christopher A. Chavez
On Wed, May 9, 2012 at 2:12 PM, Ondrej Zary <linux@rainbow-software.org> wrote:
> On Wednesday 09 May 2012 18:20:18 Bruno Martins wrote:
>> On 05/09/2012 04:32 PM, Ondrej Zary wrote:
>> > On Wednesday 09 May 2012, Bruno Martins wrote:
>> >> Hello guys,
>> >>
>> >> Has anyone ever got this to working under any Linux distro, including
>> >> Fedora?
>> >>
>> >> I have just plugged it in and I get this on dmesg:
>> >>
>> >> [ 1365.932522] usb 2-1.1: new full-speed USB device number 26 using
>> >> ehci_hcd [ 1366.073145] usb 2-1.1: New USB device found, idVendor=07d0,
>> >> idProduct=0004 [ 1366.073153] usb 2-1.1: New USB device strings: Mfr=0,
>> >> Product=0, SerialNumber=0 [ 1366.091741] usbvision_probe: Dazzle Fusion
>> >> Model DVC-80 Rev 1 (PAL) found [ 1366.092072] USBVision[0]: registered
>> >> USBVision Video device video1 [v4l2] [ 1366.092091] usbvision_probe:
>> >> Dazzle Fusion Model DVC-80 Rev 1 (PAL) found [ 1366.092149]
>> >> USBVision[1]: registered USBVision Video device video2 [v4l2] [
>> >> 1366.092182] usbcore: registered new interface driver usbvision [
>> >> 1366.092184] USBVision USB Video Device Driver for Linux : 0.9.11 [
>> >> 1366.189268] saa7115 15-0025: saa7113 found (1f7113d0e100000) @ 0x4a
>> >> (usbvision-2-1.1) [ 1366.319647] usb 2-1.1: selecting invalid altsetting
>> >> 1
>> >> [ 1366.319658] usb 2-1.1: cannot change alternate number to 1
>> >> (error=-22)
>> >>
>> >> Device is recognized since it appears in lsusb:
>> >>
>> >> [skorzen@g62 ~]$ lsusb | grep DVC
>> >> Bus 002 Device 026: ID 07d0:0004 Dazzle DVC-800 (PAL) Grabber
>> >>
>> >> However, I cannot make it work (my goal is to capture video from a
>> >> camcorder).
>> >> I've tried using cheese for this, but it just crashes and ABRT
>> >> launches for me to fill a bug.
>> >>
>> >> Any ideas?
>> >
>> > Please include the output of "lsusb -v" for this device (run the command
>> > as root).
>>
>> Here it is, mate. Thanks for your cooperation.
>>
>> Bus 002 Device 005: ID 07d0:0004 Dazzle DVC-800 (PAL) Grabber
>> Device Descriptor:
>> bLength 18
>> bDescriptorType 1
>> bcdUSB 1.00
>> bDeviceClass 0 (Defined at Interface level)
>> bDeviceSubClass 0
>> bDeviceProtocol 0
>> bMaxPacketSize0 8
>> idVendor 0x07d0 Dazzle
>> idProduct 0x0004 DVC-800 (PAL) Grabber
>> bcdDevice 1.00
>> iManufacturer 0
>> iProduct 0
>> iSerial 0
>> bNumConfigurations 1
>> Configuration Descriptor:
>> bLength 9
>> bDescriptorType 2
>> wTotalLength 468
>> bNumInterfaces 2
>> bConfigurationValue 2
>> iConfiguration 0
>> bmAttributes 0x80
>> (Bus Powered)
>> MaxPower 500mA
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 0
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0000 1x 0 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0000 1x 0 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 1
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x037f 1x 895 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 2
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x033f 1x 831 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 3
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x02ff 1x 767 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 4
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x02bf 1x 703 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 5
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x027f 1x 639 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 6
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x023f 1x 575 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 7
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x01ff 1x 511 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 8
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x01bf 1x 447 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 9
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x017f 1x 383 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 10
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x013f 1x 319 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 11
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x00ff 1x 255 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 12
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x00bf 1x 191 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 13
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x007f 1x 127 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 0
>> bAlternateSetting 14
>> bNumEndpoints 3
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x01 EP 1 OUT
>> bmAttributes 0
>> Transfer Type Control
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0008 1x 8 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x82 EP 2 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x003f 1x 63 bytes
>> bInterval 1
>> Endpoint Descriptor:
>> bLength 7
>> bDescriptorType 5
>> bEndpointAddress 0x83 EP 3 IN
>> bmAttributes 1
>> Transfer Type Isochronous
>> Synch Type None
>> Usage Type Data
>> wMaxPacketSize 0x0042 1x 66 bytes
>> bInterval 1
>> Interface Descriptor:
>> bLength 9
>> bDescriptorType 4
>> bInterfaceNumber 1
>> bAlternateSetting 0
>> bNumEndpoints 0
>> bInterfaceClass 0 (Defined at Interface level)
>> bInterfaceSubClass 0
>> bInterfaceProtocol 0
>> iInterface 0
>> Device Status: 0x0000
>> (Bus Powered)
>>
>> Best regards,
>
> Can you test this patch? It should make the driver ignore the second
> interface with no endpoints.
>
> --- a/drivers/media/video/usbvision/usbvision-video.c
> +++ b/drivers/media/video/usbvision/usbvision-video.c
> @@ -1504,6 +1504,11 @@ static int __devinit usbvision_probe(struct usb_interface *intf,
> interface = &dev->actconfig->interface[usbvision_device_data[model].interface]->altsetting[0];
> else
> interface = &dev->actconfig->interface[ifnum]->altsetting[0];
> + if (interface->desc.bNumEndpoints < 1) {
> + dev_err(&intf->dev, "%s: interface %d. has no endpoints\n",
> + __func__, ifnum);
> + return -ENODEV;
> + }
> endpoint = &interface->endpoint[1].desc;
> if (!usb_endpoint_xfer_isoc(endpoint)) {
> dev_err(&intf->dev, "%s: interface %d. has non-ISO endpoint!\n",
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2017-05-20 12:28 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4FAA57A3.2030701@skorzen.net>
2012-05-09 13:48 ` Dazzle DVC80 under FC16 Bruno Martins
2012-05-09 15:32 ` Ondrej Zary
2012-05-09 16:20 ` Bruno Martins
2012-05-09 16:54 ` Ezequiel Garcia
2012-05-09 17:10 ` Bruno Martins
2012-05-09 17:56 ` Ondrej Zary
2012-05-09 18:02 ` Ezequiel Garcia
2012-05-09 19:12 ` Ondrej Zary
2017-05-20 12:11 ` Christopher Chavez
2017-05-20 12:27 ` Christopher Chavez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).