Mustek gSmart 300 not working in Ubuntu 8.10

Bug #291906 reported by Petar Velkovski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gphoto2 (Ubuntu)
Incomplete
Undecided
Unassigned
gspca (Ubuntu)
Incomplete
Undecided
Unassigned
gvfs (Ubuntu)
Incomplete
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I have Mustek gSmart 300 web cam. It worked fine under Ubuntu 8.04 with the gspca drivers manually compiled and installed. When I plug the cam it beeps showing that it is being recognized by the system. Then It beeps again and I get a window with the following message:

Unable to mount Mustek Systems, Inc. gSmart 300
Error initializing camera: -60: Could not lock the device

After I click OK, there is an icon present at the desktop Mustek Systems, Inc. gSmart 300. by clicking on the icon i can open the location gphoto2://[usb:002,010]/. This probably gives me access to the photo function of the webcam. I can copy pictures from this directory(representing the cams internal memory), but I can't delete them. If I try to delete a picture, I get this message:

Error while deleting.
There was an error deleting Image001.jpg.
Show more details->Not supported

The webcam function is not functioning completely. There is no /dev/video created for it.

petar@aurora:~$ lsmod | grep gspca
gspca_spca500 21760 0
gspca_main 29312 1 gspca_spca500
videodev 41344 3 tuner,gspca_main,bttv
usbcore 148848 7 gspca_spca500,gspca_main,usbhid,ohci_hcd,ehci_hcd

lsusb gives:

petar@aurora:~$ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 010: ID 055f:c200 Mustek Systems, Inc. gSmart 300
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 04b3:310b IBM Corp. Red Wheel Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

dmesg gives:

...
[ 2086.830502] usb 2-1: USB disconnect, address 10
[ 2091.428024] usb 2-1: new full speed USB device using ohci_hcd and address 11
[ 2091.749293] usb 2-1: configuration #1 chosen from 1 choice
[ 2091.751345] gspca: probing 055f:c200
[ 2091.754414] gspca: probe ok
[ 2091.754464] gspca: probing 055f:c200
[ 2092.207764] gspca: disconnect complete
------------------------------------------------------------------------------------------------------------------------------
uname -a
Linux aurora 2.6.27-7-generic #1 SMP Thu Oct 30 04:18:38 UTC 2008 i686 GNU/Linux

lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

If you need more information please ask.

I need my web-cam functions, I can live without the image copying functions :)

Changed in linux:
status: New → Incomplete
Revision history for this message
Andres Mujica (andres.mujica) wrote :

Hi! this could be a bug with intrepid kernel, gvfs with gphoto2 backend or gphoto2 itself.

Please add as separate attachments the following debugging output:

Initiate the problem situation, then quickly get the output of dmesg

Output of uname -a

Output of lsb_release -a

Output of lsusb -v

cat /proc/version_signature > version.log

Please execute this command just before connecting the webcam

 /usr/lib/gvfs/gvfsd -r

and attach as separate file the output from this command when you try to access the folder.

Thanks!

Changed in gvfs:
status: New → Incomplete
Changed in gphoto2:
status: New → Incomplete
Revision history for this message
Sukochev Roman (Leolik) (leolik) wrote :

In my Mustek gSm@rt mini 2 I have problems how on Petar Velkovski.
But I want use this device as web-camera. I post my problem on this topic https://bugs.launchpad.net/ubuntu/+source/gspca/+bug/292419

Outputs:

$ uname -a
Linux leolik-komp 2.6.27-8-generic #1 SMP Thu Nov 6 17:38:14 UTC 2008 x86_64 GNU/Linux

-----------------------
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
Codename: intrepid

-----------------------
$ lsusb -v
in attachment

-----------------------
$ cat /proc/version_signature
Ubuntu 2.6.27-8.17-generic

-----------------------
dmesg when connect and run device
in attachment

-----------------------
$ /usr/lib/gvfs/gvfsd -r and after this I moved to mounted device and try copy photos to them
in attachment

Revision history for this message
Sukochev Roman (Leolik) (leolik) wrote :
Revision history for this message
Sukochev Roman (Leolik) (leolik) wrote :
Revision history for this message
Petar Velkovski (pvelkovski) wrote :

Ok. This are outputs from commands you specified

dmesg

...
LEN=52 TOS=0x00 PREC=0x00 TTL=61 ID=50325 DF PROTO=TCP SPT=32297 DPT=135 WINDOW=60352 RES=0x00 SYN URGP=0
[134987.137454] [UFW BLOCK INPUT]: IN=ppp1 OUT= MAC= SRC=77.28.43.196 DST=77.28.60.169 LEN=52 TOS=0x00 PREC=0x00 TTL=61 ID=2299 DF PROTO=TCP SPT=2757 DPT=135 WINDOW=60352 RES=0x00 SYN URGP=0
[135084.941537] [UFW BLOCK INPUT]: IN=ppp1 OUT= MAC= SRC=61.160.212.64 DST=77.28.60.169 LEN=40 TOS=0x00 PREC=0x00 TTL=101 ID=256 PROTO=TCP SPT=6000 DPT=1433 WINDOW=16384 RES=0x00 SYN URGP=0
[135424.467730] [UFW BLOCK INPUT]: IN=ppp1 OUT= MAC= SRC=86.132.111.54 DST=77.28.60.169 LEN=95 TOS=0x00 PREC=0x00 TTL=99 ID=12459 PROTO=UDP SPT=18627 DPT=51412 LEN=75
[135815.547953] [UFW BLOCK INPUT]: IN=ppp1 OUT= MAC= SRC=92.48.53.223 DST=77.28.60.169 LEN=95 TOS=0x00 PREC=0x00 TTL=106 ID=1992 PROTO=UDP SPT=55538 DPT=51412 LEN=75
[135953.702217] usb 3-3: USB disconnect, address 4
[135971.896046] hub 3-0:1.0: unable to enumerate USB device on port 3
[135972.440034] usb 2-1: new full speed USB device using ohci_hcd and address 2
[135972.742437] usb 2-1: configuration #1 chosen from 1 choice
[135974.483644] usb 2-1: USB disconnect, address 2
[135974.642605] gspca: main v2.2.0 registered
[135974.920285] usbcore: registered new interface driver spca500
[135974.920294] spca500: registered
[135975.210366] usb 2-1: new full speed USB device using ohci_hcd and address 3
[135975.525311] usb 2-1: configuration #1 chosen from 1 choice
[135975.527489] gspca: probing 055f:c200
[135975.530663] gspca: probe ok
[135975.530729] gspca: probing 055f:c200
[135975.778014] usb 2-1: USB disconnect, address 3
[135975.850392] gspca: disconnect complete
[135976.156188] gvfsd-gphoto2[17939]: segfault at c ip b7c799f0 sp bfb79264 error 4 in libpthread-2.8.90.so[b7c72000+15000]
[135976.201283] gvfsd-gphoto2[17958]: segfault at c ip b7da29f0 sp bf9a1884 error 4 in libpthread-2.8.90.so[b7d9b000+15000]
[135976.538001] usb 2-1: new full speed USB device using ohci_hcd and address 4
[135976.854486] usb 2-1: configuration #1 chosen from 1 choice
[135976.856547] gspca: probing 055f:c200
[135976.859822] gspca: probe ok
[135976.859885] gspca: probing 055f:c200
[135979.261677] gspca: disconnect complete
---------------------------------------------------------------------------------------------------------------------------
uname -a

Linux aurora 2.6.27-8-generic #1 SMP Thu Nov 6 17:33:54 UTC 2008 i686 GNU/Linux
--------------------------------------------------------------------------------------------------------------------------
lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.10
Release: 8.10
Codename: intrepid
---------------------------------------------------------------------------------------------------------------------------
cat /proc/version_signature > version.log

Ubuntu 2.6.27-8.17-generic

Revision history for this message
Petar Velkovski (pvelkovski) wrote :

There is also something wrong with the USB cable connecting my webcam to the computer so the duplication of some messages in dmesg might come from that. But the last message

[135979.261677] gspca: disconnect complete

is not because i'm disconnecting the camera by myself. It's what happens after hearing a second beep from the web cam (with the cable still attached).

Revision history for this message
Petar Velkovski (pvelkovski) wrote :

lsusb -v output

Revision history for this message
Andres Mujica (andres.mujica) wrote :

Thanks for the info, this is a duplicate from bug #285682

Check that one for some temporary workarounds

Thanks!

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.