Jeroen Vreeken <[EMAIL PROTECTED]> writes:
> Sorry for the long delay, I have been very busy with school lately....
>
> The problem I have is that I haven't been able to reproduce this.
> I will look into it this week.
> Does it happen with the camera in all resolutions? (can you try some
> resolutions reported by the camera on detection?)
o No problem. Thanks for all your work on the driver. Whenever you
get the time, tell me what I can do to help.
o Note that Joey Tsai sent me email saying that 0,20 works for him.
o I just tested, and got the same problem with 0.23 at all standard
resolutions:
"qsif" 160x120
"sif" 320x240
"cif" 352x288
"vga" 640x480
"svga" 800x600
in the range the camera claims to support. My code currently doesn't
support the other Kensington resolutions.
o I get the same message:
usb_control/bulk_msg: timeout
(these messages repeat many times) whether I use my own code or other
applications (e.g. `camstream`, http://www.smcc.demon.nl/camstream/)
Applications freezes at this point. Sending them an interrupt takes
a long time before the process exits.
o In my own code, I've traced the hang to one of two places. If I
use mmap I/O, it happens at:
ioctl(_file_desc, VIDIOCMCAPTURE, &_mmap)
o If I use normal I/O, it happens at:
read(_file_desc, _read_buffer, _read_buffer_size
o Following are the logs when I `modprobe usb-uhci`. (I've had the
same hang using "uhci".) Thanks again for the se401 driver.
usb-uhci.c: $Revision: 1.259 $ time 20:17:08 Sep 25 2001
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 12 for device 00:07.2
PCI: Sharing IRQ 12 with 00:07.3
usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 12
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
Product: USB UHCI Root Hub
SerialNumber: c800
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 12 for device 00:07.3
PCI: Sharing IRQ 12 with 00:07.2
usb-uhci.c: USB UHCI at I/O 0xcc00, IRQ 12
usb-uhci.c: Detected 2 ports
invoke /etc/hotplug/usb.agent
... no drivers for USB product 0/0/0
hub.c: USB new device connect on bus1/2, assigned device number 2
usb.c: new USB bus registered, assigned bus number 2
Product: USB UHCI Root Hub
SerialNumber: cc00
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: USB hub found
hub.c: 4 ports detected
usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
invoke /etc/hotplug/usb.agent
... no drivers for USB product 0/0/0
invoke /etc/hotplug/usb.agent
... no drivers for USB product 451/2046/125
hub.c: USB new device connect on bus1/2/3, assigned device number 3
usb-uhci.c: interrupt, status 2, frame# 1017
usb-uhci.c: interrupt, status 3, frame# 1018
Manufacturer: KTG
Product: VideoCAM
usb.c: USB device 3 (vend/prod 0x47d/0x5003) is not claimed by any active
driver.
Length = 18
DescriptorType = 01
USB version = 1.00
Vendor:Product = 047d:5003
MaxPacketSize0 = 8
NumConfigurations = 1
Device version = 0.46
Device Class:SubClass:Protocol = ff:00:00
Vendor class
Configuration:
bLength = 9
bDescriptorType = 02
wTotalLength = 00ca
bNumInterfaces = 01
bConfigurationValue = 01
iConfiguration = 00
bmAttributes = 80
MaxPower = 500mA
Interface: 0
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 00
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = 00:00:00
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0040
bInterval = 01
Alternate Setting: 1
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 01
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = 00:00:00
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0100
bInterval = 01
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0040
bInterval = 01
Alternate Setting: 2
bLength = 9
bDescriptorType = 04
invoke /etc/hotplug/usb.agent
bInterfaceNumber = 00
bAlternateSetting = 02
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = 00:00:00
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0180
bInterval = 01
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0040
bInterval = 01
Alternate Setting: 3
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 03
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = 00:00:00
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 01 (Isochronous)
Modprobe and setup se401 for USB product 47d/5003/46
wMaxPacketSize = 0200
bInterval = 01
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0040
bInterval = 01
Alternate Setting: 4
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 04
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = 00:00:00
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0280
bInterval = 01
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0040
bInterval = 01
Alternate Setting: 5
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 05
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = 00:00:00
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0300
bInterval = 01
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0040
bInterval = 01
Alternate Setting: 6
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 06
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = 00:00:00
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0380
bInterval = 01
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0040
bInterval = 01
Alternate Setting: 7
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 07
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = 00:00:00
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0400
bInterval = 01
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0040
bInterval = 01
Alternate Setting: 8
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 08
bNumEndpoints = 00
bInterface Class:SubClass:Protocol = 00:00:00
iInterface = 00
se401.c: SE401 usb camera driver version 0.23 registering
usb.c: registered new driver se401
se401.c: SE401 camera found: Kensington VideoCAM 67016
se401.c: firmware version: 46
se401.c: ExtraFeatures: 0 Sizes: 160x120 200x152 176x144 320x240 352x288
400x300 640x480 704x576 800x600
se401.c: registered new video device: video0
--
MARK
[EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users