[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pwc webcam freeze: usb_control/bulk_msg: timeout



I have been trying to install a logitech 4000 webcam, but when I use
camstream the picture freezes after a short while and the following
line appears in /var/log/syslog
  
Sep  3 20:30:22 nissefisken kernel: usb_control/bulk_msg: timeout

I would be very grateful for any advice on how to avoid this problem.

My computer is a x86 with a k7s5a board and Sarge and my own 2.4.21 
kernel (See below). 

Browsing around on Google it looks like my usb ports are getting
overburdened, so tried the closed source pwcx compressor module. This
modules helped a little, I was able to save 10 snapshots before the
timeout appeared, but in the end I still had a freeze.

The following data is from a test with no pwcx module

nissefisken# lsmod
Module                  Size  Used by    Tainted: PF 
pwc                    44748   1  (autoclean)
usb-ohci               20040   0  (unused)
nvidia               1628576  11  (autoclean)
sis900                 14412   0  (unused)
i810_audio             25756   2 
ac97_codec             11892   0  [i810_audio]
soundcore               4260   2  [i810_audio]
usbcore                73036   0  [pwc usb-ohci]
i2c-proc                7344   0  (unused)
i2c-core               13892   0  [i2c-proc]
parport_pc             13732   1  (autoclean)
lp                      6592   1 
parport                16096   1  [parport_pc lp]
8139too                15912   1 
rtc                     7464   0  (autoclean)


>From dmesg:

pwc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam
module version 8.10 loaded.
pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung 
MPC-C10 and MPC-C30,
pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC300 and 
VCS-UM100.
usb.c: registered new driver Philips webcam
pwc Logitech QuickCam 4000 Pro USB webcam detected.
pwc Registered as /dev/video0.
usb.c: Philips webcam driver claimed interface cf171920
usb_control/bulk_msg: timeout


>From /var/log/syslog

Sep  3 20:30:16 nissefisken kernel: pwc Philips PCA645/646 +
PCVC675/680/690 + PCVC730/740/750 webcam module version 8.10 loaded.
Sep  3 20:30:16 nissefisken kernel: pwc Also supports the Askey VC010, 
various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
Sep  3 20:30:16 nissefisken kernel: pwc the Creative WebCam 5, SOTEC
Afina Eye and Visionite VCS-UC300 and VCS-UM100.
Sep  3 20:30:16 nissefisken kernel: usb.c: registered new driver
Philips webcam
Sep  3 20:30:16 nissefisken kernel: pwc Logitech QuickCam 4000 Pro USB 
webcam detected.
Sep  3 20:30:16 nissefisken kernel: pwc Registered as /dev/video0.
Sep  3 20:30:16 nissefisken kernel: usb.c: Philips webcam driver
claimed interface cf171920
Sep  3 20:30:16 nissefisken insmod: Note: /etc/modules.conf is more
recent than /lib/modules/2.4.21/modules.dep
Sep  3 20:30:22 nissefisken kernel: usb_control/bulk_msg: timeout


Output from camstream:

CCamWindow::CCamWindow()
CWebCamViewer::CWebCamViewer(0x80ab770, 0x0)
CVideoDevice::Init()
Using mmap(), VMBuf.size = 921600
Trying to find video options for Logitech QuickCam Pro
4000:/dev/video0
searching Logitech QuickCam Pro 4000
CSnapshotSettingsDlg::CSnapshotSettingsDlg(...)
QFont::setRawMode(): Invalid XLFD: "system"
CVideoSettingsDlg::SizeChanged(176x144)
CVideoSettingsDlg::FramerateChanged(10)
Philips webcam detected, enabling extensions
CCamPanel::SetSize(176x144)
CCamPanel::SetImageSize(176x144)
CCamPanel::SetVisibleSize(176x144)
CCamPanel::SetSize(176x144)
CCamPanel::SetImageSize(176x144)
CCamPanel::SetVisibleSize(176x144)
RecalcTotalViewSize: resize viewport(176x144)
EnableRGB: +
CVideoDevice::SetPalette picked palette 15 [yuv420p]
CVideoDevice::CreateImagesRGB()
 allocating space for RGB
CVideoDevice::StartCapture() go!

>From /etc/modules.conf

alias char-major-81      videodev
alias char-major-81-0    pwc

# The following lines have been commented out
# options pwc size=vga leds=250,250 fps=25 mbufs=3 compression=0
# post-install pwc insmod --force -k /lib/modules/2.4.21/kernel/drivers/usb/pwcx-2.4.20.o > /dev/null 2>&1 || : 


Random lines from my /usr/src/linux/.config
 
#
# USB support
#
CONFIG_USB=m
CONFIG_USB_DEBUG=y

#
# Miscellaneous USB options 
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m

#
# USB Multimedia devices
#
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_OV511 is not set   
CONFIG_USB_PWC=m
CONFIG_USB_SE401=m
# CONFIG_USB_STV680 is not set

-- 
Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/



Reply to: