Unable to use STV680 based webcam with Jaunty (REGRESSION)

Bug #387559 reported by Daniele Napolitano
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Medium
Stefan Bader

Bug Description

Since Jaunty release I'm not able to use STV680 based camera.

Steps to reproduce:
 - Plug in this camera
 - Check with every program (included gstreamer-properties) that there are no video devices

Workaround:
 - Plug in this camera
 - Unload stv680 module (sudo rmmod stv680)
 - Load stv680 module (sudo modprobe stv680)

Another problem is the this driver is only v4l compliant, not v4l2.

lsusb:
Bus 004 Device 002: ID 0553:0202 STMicroelectronics Imaging Division (VLSI Vision) Aiptek PenCam 1

dmesg log on plugin:
[42575.156031] usb 4-1: new full speed USB device using uhci_hcd and address 2
[42575.439697] usb 4-1: configuration #1 chosen from 1 choice
[42575.570979] Linux video capture interface: v2.00
[42575.622388] stv680 [stv680_probe:1433]
[42575.622390] STV(i): STV0680 camera found.<6>stv680 [stv680_probe:1474]
[42575.622471] STV(i): registered new video device: video0<6>usbcore: registered new interface driver stv680
[42575.622500] stv680 [usb_stv680_init:1555]
[42575.622501] STV(i): usb camera driver version v0.25 registering<6>stv680: v0.25:STV0680 USB Camera Driver
[42575.750922] stv680 [stv_init:381]
[42575.750924] STV(i): QVGA is supported<6>stv680 [stv_init:397]
[42575.760921] STV(i): Camera has 0 pictures.<6>stv680 [stv_init:381]
[42575.973878] STV(i): QVGA is supported<6>stv680 [stv_init:397]
[42575.983876] STV(i): Camera has 0 pictures.<6>stv680 [usb_stv680_remove_disconnected:1511]
[42576.195936] STV(i): STV0680 disconnected

tags: added: jaunty regression-release
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Stefan Bader (smb) wrote :

Several questions:
1. which kernel was the last known to work?
2. does workaround mean it works after unloading and loading the module?
    If so, can we have a dmesg with and without the workaround being done?
3. Can you try the 2.6.30 from https://wiki.ubuntu.com/KernelMainlineBuilds
    (should be that http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30/)

Changed in linux (Ubuntu):
assignee: nobody → Stefan Bader (stefan-bader-canonical)
Revision history for this message
Daniele Napolitano (dnax88) wrote :

With kernel 2.6.31 on Karmic.

1. I don't remember, not use this camcorder for a while! Maybe 2.6.26.
2. See over:

a) Without workaround

- Plugin the STV680 based camera
[25129.224055] usb 4-1: new full speed USB device using uhci_hcd and address 7
[25129.505406] usb 4-1: configuration #1 chosen from 1 choice
[25129.508481] stv680 [stv680_probe:1429]
[25129.508483] STV(i): STV0680 camera found.
[25129.508564] stv680 [stv680_probe:1470]
[25129.508566] STV(i): registered new video device: video0
[25129.608287] stv680 [stv_init:382]
[25129.608290] STV(i): QVGA is supported
[25129.618232] stv680 [stv_init:398]
[25129.618234] STV(i): Camera has 0 pictures.
[25129.695260] stv680 [stv_init:382]
[25129.695263] STV(i): QVGA is supported
[25129.719863] stv680 [stv_init:398]
[25129.719866] STV(i): Camera has 0 pictures.

GNOME show the camera dialog (gvfs-gphoto) but from gstreamer-properites it is not listed.

b) With workaround

- Plugin the STV680 based camera
[25129.224055] usb 4-1: new full speed USB device using uhci_hcd and address 7
[25129.505406] usb 4-1: configuration #1 chosen from 1 choice
[25129.508481] stv680 [stv680_probe:1429]
[25129.508483] STV(i): STV0680 camera found.
[25129.508564] stv680 [stv680_probe:1470]
[25129.508566] STV(i): registered new video device: video0
[25129.608287] stv680 [stv_init:382]
[25129.608290] STV(i): QVGA is supported
[25129.618232] stv680 [stv_init:398]
[25129.618234] STV(i): Camera has 0 pictures.
[25129.695260] stv680 [stv_init:382]
[25129.695263] STV(i): QVGA is supported
[25129.719863] stv680 [stv_init:398]
[25129.719866] STV(i): Camera has 0 pictures.

- Unload stv680 module (sudo rmmod stv680)
[25999.530171] usbcore: deregistering interface driver stv680
[25999.531874] stv680 [usb_stv680_exit:1561]
[25999.531876] STV(i): driver deregistered

- Then load stv680 module (sudo modprobe stv680)
[26443.343894] stv680 [stv680_probe:1429]
[26443.343896] STV(i): STV0680 camera found.
[26443.347468] stv680 [stv680_probe:1470]
[26443.347470] STV(i): registered new video device: video0
[26443.347652] usbcore: registered new interface driver stv680
[26443.350129] stv680 [usb_stv680_init:1551]
[26443.350132] STV(i): usb camera driver version v0.25 registering
[26443.350136] stv680: v0.25:STV0680 USB Camera Driver
[26443.446037] stv680 [stv_init:382]
[26443.446039] STV(i): QVGA is supported
[26443.456042] stv680 [stv_init:398]
[26443.456044] STV(i): Camera has 0 pictures.
[26443.551015] stv680 [stv_init:429]
[26443.551017] STV(i): Video Mode set to QVGA
[26443.773022] stv680 [stv_stop_video:267]
[26443.773025] STV(i): Camera set to original resolution

Another workaround is killing gvfs-gphoto2-volume-monitor. Seems that gphoto block video output mode.

Revision history for this message
dougfractal (dougs-b) wrote :

This worked for me

<code>
pkill gvfs-gphoto2-volume-monitor
sudo apt-get install xawtv
sudo rmmod stv680
sudo modprobe stv680 swapRGB_on=-1
ls /dev/video*
</code>

Revision history for this message
Daniele Napolitano (dnax88) wrote :

The original module v4l1 stv680 is deprecated, now there is a new v4l2 module gspca_stv0680 and work well.

Tested with 2.6.37-020637rc3-generic.

Revision history for this message
Brad Figg (brad-figg) wrote :

Jaunty is no longer supported. If this issue still exists for a supported series, please open a new bug.

Changed in linux (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.