sysfs error

Support and queries relating to all previous versions of ZoneMinder
Locked
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

sysfs error

Post by ynn »

I got this error while pluging in IBM USB CAMERA.
I am using CentOS4.3 x86_64, do I need to do something?
thanks.

Jun 27 18:23:48 juanda kernel: drivers/usb/media/usbvideo.c: USB camera disconnected.
Jun 27 18:23:50 juanda kernel: usb 1-1: new full speed USB device using address4
Jun 27 18:23:50 juanda kernel: drivers/usb/media/ibmcam.c: IBM PC Camera USB camera found (model 2, rev. 0x030a)
Jun 27 18:23:50 juanda kernel: videodev: "ibmcam USB Camera" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/
Jun 27 18:23:50 juanda kernel: drivers/usb/media/usbvideo.c: ibmcam on /dev/video0: canvas=352x240 videosize=352x240

and /var/log/messeges
Jun 27 18:47:03 juanda zmwatch[5106]: INF ['zmc -d /dev/video' started at 06/06/27 18:47:03]
Jun 27 18:47:03 juanda zmc_dvideo[5156]: INF [Debug Level = 0, Debug Log = <none>]
Jun 27 18:47:04 juanda zmc_dvideo[5156]: ERR [Failed to set window attributes: Invalid argument]
Jun 27 18:47:04 juanda kernel: drivers/usb/media/usbvideo.c: usb_submit_urb error (-1)
Jun 27 18:47:04 juanda kernel: drivers/usb/media/usbvideo.c: usb_submit_urb error (-1)
Jun 27 18:47:04 juanda kernel: drivers/usb/media/usbvideo.c: Packet Statistics:Total=64. Empty=31. Usage=51%
Jun 27 18:47:04 juanda kernel: drivers/usb/media/usbvideo.c: Transfer Statistics: Transferred=2 B Usage=0%
Jun 27 18:47:04 juanda zmdc[5067]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This looks like a problem with your driver. Have you got your cam working with xawtv or another basic video viewer? You _might_ get it to work in ZM if you set STRICT_VIDEO_CONFIG to off but I suspect the problem is more fundamental.
Phil
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

Post by ynn »

Phil, You are good man, After turn the STRICT_VIDEO_CONFIG to off, I got it worked out. thanks alot man.
Locked