USB-Storage and Webcam problems with Afga EasyPix SG

From: Nick (nick_at_lionrampant)
Date: 03/31/05


Date: Wed, 30 Mar 2005 23:50:43 GMT

Hi,
I recently aquired a battered little usb-storage camera going by the name of Afga EasyPixSG. I was thrilled to find http://article.gmane.org/gmane.linux.drivers.spca50x.devel/762 which informed me that it would work on my linux system as usb-storage and a webcam :)

Both parts nearly work - but not quite.

Webcam first:
I first followed the guide to get it to work as a webcam using the spca50x drivers from http://mxhaard.free.fr/index.html. They all built and loaded correctly, and I loaded the videolan module followed by this one, both without error (usb support is built into my kernel).dmesg reported:
Linux video capture interface: v1.00
usbcore: registered new driver spca5xx
/tmp/spca5xx-20050328/drivers/usb/spca5xx.c: spca5xx driver 56.03.27 registered

However, when I run spcaview (the program used to test the drivers) the following error is returned:
  Spcaview version:1.0.2 date: 27:03:2005 (C) mxhaard@magic.fr
Initializing SDL.
SDL initialized.
bpp 3 format 15
Using video device /dev/video0.
Initializing v4l.
ERROR opening V4L interface
: No such device

The same error is output with each /dev/video device (e.g. 1,2,3 etc.). So, I am stuck, I can see no reason for this, so I was hoping you kind people could help out.

USB-Storage part
I have USB-Storage support built into my 2.6.9 kernel, so when I plugged the camera in dmesg gave:
usb 2-2: new full speed USB device using address 4
scsi0 : SCSI emulation for USB Mass Storage devices
   Vendor: USB Model: Device Rev: 3.00
   Type: Direct-Access ANSI SCSI revision: 02
USB Mass Storage device found at 4

However, trying to mount the device using "mount -t auto /dev/sda1 /media/camera" gives the response:
mount: /dev/sda1 is not a valid block device

The same is true of all other sd devices, indeed "fdisk -l /dev/sd*" returns no filesystems at all.

I saw on another post that following the " Type: Direct-Access ANSI SCSI revision: 02" line dmesg gives there should be another line similar to:
SCSI device sda: 1983495 512-byte hdwr sectors (1016 MB)
which I am evidently missing.

Any ideas as to why the usb-storage doesn't seem to be binding to anywhere?

I'm happily running Slackware 10.0.

I am still relatively new to this world, so it's quite possible I've missed something obvious.

Thanks a lot.
-Nick