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

Bug#630253: marked as done (linux-2.6: motion / v4l / kernel causing USB to disconnect)



Your message dated Tue, 25 Jun 2013 08:09:20 +0200
with message-id <20130625060920.GA5610@pisco.westfalen.local>
and subject line Closing
has caused the Debian Bug report #630253,
regarding linux-2.6: motion / v4l / kernel causing USB to disconnect
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
630253: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630253
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-2.6
Version: 2.6.32-5-486
Severity: important

Hello,
I am unable to get motion work stable under squeeze. This was workin fine in lenny.

In squeeze I had to use libv4l-compat and start motion with 

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/motion

However it crashes the USB subsystem after few seconds:

sudo LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/motion 

[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3412993 LIBAVFORMAT_BUILD 3415808
[0] Thread 1 is from /etc/motion/motion.conf
[0] motion-httpd/3.2.12 running, accepting connections
[1] Thread 1 started
[0] motion-httpd: waiting for data on port TCP 8080
[1] cap.driver: "spca561"
[1] cap.card: "Generic Digital camera"
[1] cap.bus_info: "usb-0000:00:11.2-2"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Test palette YU12 (320x240)
[1] Using palette YU12 (320x240) bytesperlines 320 sizeimage 115200 colorspace 00000008
[1] found control 0x00980900, "Brightness", range 0,63 
[1] 	"Brightness", default 32, current 32
[1] found control 0x00980901, "Contrast", range 0,63 
[1] 	"Contrast", default 32, current 32
[1] found control 0x00980903, "Hue", range 1,127 
[1] 	"Hue", default 64, current 64
[1] found control 0x00980910, "Gamma (software)", range 500,3000 
[1] 	"Gamma (software)", default 1000, current 1000
[1] found control 0x00980912, "Auto Gain", range 0,1 
[1] 	"Auto Gain", default 1, current 1
[1] mmap information:
[1] frames=4
[1] 0 length=16777216
[1] 1 length=16777216
[1] 2 length=16777216
[1] 3 length=16777216
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
libv4l2: error dequeuing buf: Input/output error
[1] v4l2_next: VIDIOC_DQBUF: EIO (s->pframe 0): Input/output error
[1] v4l2_next: VIDIOC_QBUF: Invalid argument
[1] v4l2_next: VIDIOC_QBUF: Invalid argument
[1] v4l2_next: VIDIOC_QBUF: Invalid argument
[1] v4l2_next: VIDIOC_QBUF: Invalid argument
[1] Error capturing first image
[1] Started stream webcam server in port 8081
[1] v4l2_next: VIDIOC_QBUF: Invalid argument
[1] Video device fatal error - Closing video device
[1] Closing video device /dev/video0
libv4l2: warning v4l2 mmap buffers still mapped on close()
^C[0] httpd - Finishing
[0] httpd Closing
[0] httpd thread exit
[1] Thread exiting
[0] Motion terminating

Followin is logged in messages:
 
Jun 12 13:37:40 wyse motion: [1] #011"Auto Gain", default 1, current 1
Jun 12 13:37:41 wyse kernel: [  258.655781] gspca: ISOC data error: [0] len=320,
 status=-84
Jun 12 13:37:41 wyse kernel: [  258.816275] usb 1-2: USB disconnect, address 13
Jun 12 13:37:41 wyse kernel: [  258.822589] gspca: disconnect complete
Jun 12 13:37:41 wyse kernel: [  259.072151] usb 1-2: new full speed USB device u
sing uhci_hcd and address 14
Jun 12 13:37:41 wyse motion: [1] Closing video device /dev/video0
Jun 12 13:37:41 wyse kernel: [  259.277314] usb 1-2: New USB device found, idVen
dor=04fc, idProduct=0561
Jun 12 13:37:41 wyse kernel: [  259.277365] usb 1-2: New USB device strings: Mfr
=1, Product=2, SerialNumber=0
Jun 12 13:37:41 wyse kernel: [  259.277409] usb 1-2: Product: Generic Digital ca
mera
Jun 12 13:37:41 wyse kernel: [  259.277446] usb 1-2: Manufacturer: Sunplus Techn
ology Co., Ltd.

I don't have any other USB device connected to the machine.

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Hi,
your bug has been filed against the "linux-2.6" source package and was filed for
a kernel older than the recently released Debian 7.x / Wheezy with a severity
less than important.

We don't have the ressources to reproduce the complete backlog of all older kernel
bugs, so we're closing this bug for now. If you can reproduce the bug with Debian Wheezy
or a more recent kernel from testing or unstable, please reopen the bug by sending
a mail to control@bugs.debian.org with the following three commands included in the
mail:

reopen BUGNUMBER
reassign BUGNUMBER src:linux
thanks

Cheers,
        Moritz

--- End Message ---

Reply to: