PDA

View Full Version : [SOLVED] HOWTO: Making ICM532 chipset based webcams work on breezy



Pages : 1 [2]

JoeG
June 24th, 2006, 05:32 PM
well, barring getting the inverted images fixed, are there any cams that work correctly out of the box with a reasonably high quality?

ilferrons
June 24th, 2006, 09:16 PM
Hi all
I have a Philips SPC200NC. I've read that my webcam is fully supported by the latest spca5xx driver.
I've been downloaded the driver, I've been compiled it and installed as specified in many posts but it can work.
I can load driver without errors but when I try to use my webcam with gqcam or camorama, my system (ubuntu dapper) freeze and I have to reset.
AMSN recognize webcam and sets channel correctly but when I try to use it, system freezes.
I've compiled the driver with gcc-4.0.3, that is the same version of the kernel (2.6.15-25-386, that is the last ubuntu kernel I've downloaded).
I've followed all instructions I've found in ubuntu forums but problem is not solved for me.
Can anyone help me???

cesera
July 11th, 2006, 05:11 AM
The howto is for Breezy (not Dapper). The spca5xx modules work fine on Dapper by default.


I am running Dapper-Kubuntu-AMD64. When I plug my webcam in, the spca5xxmodule gets loaded successfully according to the logs. However when I try to access it my system still freezes.





For a complete list of spca5xx supported webcams look here:
http://mxhaard.free.fr/spca5xx.html

My webcam is bought in China, make: Hayden, but according to KInfoCenter: Manufacturer: Vimicro Corp.

lsusb says:
Bus 001 Device 005: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 WebCam

According to the link above that is fully supported, but it still freeze the system.



Any help would be greatly appreciated.

Postino
July 11th, 2006, 05:18 PM
Hello arnieboy
not sure if you still read this thread...

here is my problem:
i have a logitech quickcam IM.
it does get recognized and, in fact, at boot up, the green light comes on the camera, which indicates that it is in use.

when i check, i have two entries: /dev/video and /dev/video0

when i try to view my webcam, it tells me that it is already in use, which is probably right since it comes on during hardware detection.

do you have any idea how i can fix it or point me in the right direction? i'm using kernel 2.6.15 686

thanks in advance.

Paulo Wageck
July 19th, 2006, 10:12 AM
i used gcc 4-0 on dapper and it worked....

using 3-4 was giving me an error message...

~/spca5xx-20060501$ sudo modprobe spca5xx
FATAL: Error inserting spca5xx (/lib/modules/2.6.15-26-k7/kernel/drivers/usb/media/spca5xx.ko): Invalid module format

arnieboy
July 19th, 2006, 04:18 PM
first post updated to include instructions for dapper.

fakie_flip
August 7th, 2006, 12:50 PM
I have tried everything I know to get my webcam working in Ubuntu. My webcam must be impossible in Linux, but I don't give up trying. I followed the directions from here and the community wiki page on Webcams to try to get it working. I do not know my webcam's model #. I bought it about 4 years ago, so I am unable to go to the store and see what model I purchased or look on the box it came in. Any suggestions to get this thing working or know whether it can work in Ubuntu? Camarok and gqview do not display when I try to run them from terminal.

I do have the output of "hwinfo --usb --camera" about my webcam (it is a lot of output, so use control f in firefox to search for cam):

http://pastebin.com/764612

and lsusb:


ubuntu@ubuntu:~$ sudo lsusb -v

Bus 005 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.15-23-386 ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:13.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 4
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x48
PortPwrCtrlMask 0xc0
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Device Status: 0x0001
Self Powered

Bus 003 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.15-23-386 uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:13.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0xc0
PortPwrCtrlMask 0xc0
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 004 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.15-23-386 uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:13.1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x38
PortPwrCtrlMask 0xc1
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 002 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.15-23-386 ohci_hcd
iProduct 2 OHCI Host Controller
iSerial 1 0000:00:02.3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 3
wHubCharacteristic 0x0002
No power switching (usb 1.0)
Ganged overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0xf0
PortPwrCtrlMask 0x00
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Device Status: 0x0001
Self Powered

Bus 001 Device 003: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x046d Logitech, Inc.
idProduct 0xc501 Cordless Mouse Receiver
bcdDevice 9.10
iManufacturer 1 Logitech
iProduct 2 USB Receiver
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 50mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 82
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)

Bus 001 Device 002: ID 046d:0840 Logitech, Inc. QuickCam Express
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 8
idVendor 0x046d Logitech, Inc.
idProduct 0x0840 QuickCam Express
bcdDevice 1.00
iManufacturer 0
iProduct 1 Camera
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 55
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 16
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x03ff 1x 1023 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 16
Device Status: 0x0001
Self Powered

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.15-23-386 ohci_hcd
iProduct 2 OHCI Host Controller
iSerial 1 0000:00:02.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 3
wHubCharacteristic 0x0002
No power switching (usb 1.0)
Ganged overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0xe8
PortPwrCtrlMask 0x01
Hub Port Status:
Port 1: 0000.0103 power enable connect
Port 2: 0000.0303 lowspeed power enable connect
Port 3: 0000.0100 power
Device Status: 0x0001
Self Powered
ubuntu@ubuntu:~$

carney1979
August 7th, 2006, 04:17 PM
Arnieboy,

First, a bit of history.

I have a Logitech QuickCam IM (usb webcam). I was running Fedora Core 5 and the spca5xx module worked perfectly with this webcam. The only program I had problems with was Camorama which wouldn't open, probably due to a permissions problem with /dev/video or /dev/video0.

Now to the present:

I followed your instructions for Dapper on my fresh Dapper install. In fact, I cut and pasted one line at a time into a terminal. The module compiled perfectly, no errors noted.

HAL (I assume) finds the webcam at boot time and automagically inserts the module. The little green LED on the camera comes on.

Here's a quick output of lsmod:


david@n1zhe:~$ lsmod | grep spca5xx
spca5xx 664720 0
videodev 9856 2 spca5xx,quickcam
usbcore 130692 12 spca5xx,quickcam,snd_usb_audio,snd_usb_lib,usblp,u sb_storage,usbhid,ehci_hcd,ohci_hcd

And here's lsusb:


david@n1zhe:~$ lsusb
Bus 003 Device 006: ID 046d:08d9 Logitech, Inc.
Bus 003 Device 002: ID 0409:013c NEC Corp.
Bus 003 Device 007: ID 051d:0002 American Power Conversion Back-UPS Pro 500/1000/1500
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 003: ID 045e:003c Microsoft Corp. SideWinder Joystick
Bus 001 Device 004: ID 058f:9360 Alcor Micro Corp.
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 002: ID 03f0:0604 Hewlett-Packard DeskJet 840c
Bus 002 Device 001: ID 0000:0000

ls -la /dev/video* returns:


david@n1zhe:~$ ls -la /dev/video*
lrwxrwxrwx 1 root root 6 2006-08-07 03:16 /dev/video -> video0
crw-rw---- 1 root video 81, 0 2006-08-07 03:16 /dev/video0
caminfo returns:


david@n1zhe:~$ caminfo
Detected 1 Video4Linux devices.
Device node : /dev/video0
Name of device : "Logitech QuickCam IM/Connect "
Minimum size : 176x144
Current size : 0x0
Maximum size : 640x480
Video inputs : 1
Input 0
Name : "ZC301-2"
Type : Camera
Audio : no
Tuners : 0
Audio inputs : 0
My problem is whenever I start Camerama, Camstream or Ekiga, when these apps try to access the camera the green LED comes on and then the program locks up. I get no picture, usually just a black screen in the window where the camera's output should be.

Any suggestions? IS spca5xx the right module?

David

P.S. automatix DOES rock! Thanks!

patrick295767
August 7th, 2006, 05:18 PM
Arnieboy,

First, a bit of history.

I have a Logitech QuickCam IM (usb webcam). I was running Fedora Core 5 and the spca5xx module worked perfectly with this webcam. The only program I had problems with was Camorama which wouldn't open, probably due to a permissions problem with /dev/video or /dev/video0.

Now to the present:

I followed your instructions for Dapper on my fresh Dapper install. In fact, I cut and pasted one line at a time into a terminal. The module compiled perfectly, no errors noted.

HAL (I assume) finds the webcam at boot time and automagically inserts the module. The little green LED on the camera comes on.

Here's a quick output of lsmod:


david@n1zhe:~$ lsmod | grep spca5xx
spca5xx 664720 0
videodev 9856 2 spca5xx,quickcam
usbcore 130692 12 spca5xx,quickcam,snd_usb_audio,snd_usb_lib,usblp,u sb_storage,usbhid,ehci_hcd,ohci_hcd

And here's lsusb:


david@n1zhe:~$ lsusb
Bus 003 Device 006: ID 046d:08d9 Logitech, Inc.
Bus 003 Device 002: ID 0409:013c NEC Corp.
Bus 003 Device 007: ID 051d:0002 American Power Conversion Back-UPS Pro 500/1000/1500
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 003: ID 045e:003c Microsoft Corp. SideWinder Joystick
Bus 001 Device 004: ID 058f:9360 Alcor Micro Corp.
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 002: ID 03f0:0604 Hewlett-Packard DeskJet 840c
Bus 002 Device 001: ID 0000:0000

ls -la /dev/video* returns:


david@n1zhe:~$ ls -la /dev/video*
lrwxrwxrwx 1 root root 6 2006-08-07 03:16 /dev/video -> video0
crw-rw---- 1 root video 81, 0 2006-08-07 03:16 /dev/video0
caminfo returns:


david@n1zhe:~$ caminfo
Detected 1 Video4Linux devices.
Device node : /dev/video0
Name of device : "Logitech QuickCam IM/Connect "
Minimum size : 176x144
Current size : 0x0
Maximum size : 640x480
Video inputs : 1
Input 0
Name : "ZC301-2"
Type : Camera
Audio : no
Tuners : 0
Audio inputs : 0
My problem is whenever I start Camerama, Camstream or Ekiga, when these apps try to access the camera the green LED comes on and then the program locks up. I get no picture, usually just a black screen in the window where the camera's output should be.

Any suggestions? IS spca5xx the right module?

David

P.S. automatix DOES rock! Thanks!


If this is due to permissions problems, I also had similar problem. I am running on the Linux machine a script at the startup that detects the newly plugs USB (looks the name via lsusb). If it's the webcam I have, it gives the necessary permissions to the folder where are the webcam /proc ...
The functionality is Watch (script)
http://linux.about.com/library/cmd/blcmdl1_watch.htm

There is certainly other & better way, but it's fully workign

You could make somethg similar.

carney1979
August 7th, 2006, 05:41 PM
If this is due to permissions problems, I also had similar problem. I am running on the Linux machine a script at the startup that detects the newly plugs USB (looks the name via lsusb). If it's the webcam I have, it gives the necessary permissions to the folder where are the webcam /proc ...
The functionality is Watch (script)
http://linux.about.com/library/cmd/blcmdl1_watch.htm

There is certainly other & better way, but it's fully workign

You could make somethg similar.
Would you please be a bit more specific? Perhaps an example?

Thanks!

David

patrick295767
August 7th, 2006, 05:49 PM
Would you please be a bit more specific? Perhaps an example?

Thanks!

David

As soon as I am in front of my linux box, I'll post my script.
But I d rather be helped by someone who knows how to make it work with the hotplugs in the /etc...
That's the very best !(better than watch)

Cheers

patrick295767
August 7th, 2006, 06:11 PM
Hi Arnie,

Firstly, thank you for this thread which is helping lot of persons.

I have been using your script to install my logitech quickcam quick messenger on my computers. This works perfectly.

But...
On one computer, I have already a /dev/video0. That's an ATI rage 64MB card All In Wonder.
When I
1/ install the script &
2/ plug the Webcam,
3/ starts any program for seeing the video,
4/ then the PC freezes totally. I have then to do Cold Reboot.

Woould you know what to do? I tried once to play with the ln -s /dev/video ...
But couldnt make it , or I didnt do what I had to...

I am stucked. ](*,) ](*,) Would you have any ideas how to make the webcam working on such hardware (aleady having an /dev/video0)

--
Concenring the video card I have, I am using now XFREE instead of XORG because XORG is not capable to have Glx accerelation with it.
The tuner tv, I still didnt do it yet with gatos ...
It should be possible, I am sure.
--

Thank you very much for your experience & advices !!!

Patrick

jvpgomes
August 13th, 2006, 05:24 PM
I did everything exactly as it is explain, and I still can't use the camera.

If I try to use gqcam I have the message:
/dev/video: No such file or directory


:(

patrick295767
August 14th, 2006, 08:02 AM
that's the script for the rights:

#!/bin/bash

if [ "$(cat /root/lsusbresult.log)" != "$(lsusb)" ] ; then
echo " $(date) : changes" >> "/root/lsusb_changes.log"
echo "$(lsusb)" >> "/root/lsusb_changes.log"
echo " tutu !" | festival --tts
chmod -R $$$$$$ /proc/bus/usb

if [ "$(lsusb | grep Canon)" != "" ] ; then
echo " "
lsusb
echo " Canon detected " | festival --tts
fi


if [ "$(lsusb | grep Epson)" != "" ] ; then
echo " "
echo " Epson detected " | festival --tts
fi

fi

replace $$$$$ by what you need

Fe01
August 30th, 2006, 06:15 AM
Greetings everybody :) my first post

Thanks for helping poeople Arnieboy and others!

Can you advise me plz:

-installation went fine

-lsmod:
spca5xx 664592 0
videodev 9856 1 spca5xx
usbcore 130692 9 spca5xx,usb_storage,usbhid,snd_usb_audio,snd_usb_l ib,hci_usb,ehci_hcd,uhci_hcd

-lsusb
Bus 004 Device 007: ID 046d:08c3 Logitech, Inc.
Bus 004 Device 004: ID 041e:3020 Creative Technology, Ltd SoundBlaster Audigy 2 NX
Bus 004 Device 006: ID 0ea0:2118 Ours Technology, Inc.
Bus 004 Device 005: ID 046d:c01d Logitech, Inc.
Bus 004 Device 002: ID 050d:0237 Belkin Components
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 002: ID 049f:0086 Compaq Computer Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000

-/dev/ appeared after connection
audio2
dsp2
mixer2
no video

-dmesg
[17179720.416000] Linux video capture interface: v1.00
[17179720.548000] usbcore: registered new driver spca5xx
[17179720.548000] /drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered
[17179743.700000] usb 4-2: new high speed USB device using ehci_hcd and address 7
[17179745.008000] 7:3:1: cannot set freq 0 to ep 0x86
[17179746.008000] 7:3:2: cannot set freq 0 to ep 0x86
[17179746.976000] 7:3:3: cannot set freq 16000 to ep 0x86

I'm running Kubuntu Dapper 2.6.15-26-386.
Webcam is 046d:08c3 Logitech QuickCam for Notebooks Pro.

Acoording to http://mxhaard.free.fr/spca5xx.html support is written "TEST" and the driver Linux-UVC:
Logitech 2 0x046d 0x08c3 QC pro for Notebooks Sunplus spca525a Test mjpeg linux-UVC ********

Does that just mean that I have to install in addition this BerliOS driver?

Has anyone done it before here?

Thanks a lot in advance!


FOR DAPPER
If you are on Dapper do the following instead of the above:

sudo apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential
wget http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz
tar xvfz spca5xx-20060501.tar.gz
cd spca5xx-20060501
make
sudo modprobe -r spca5xx
sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx*
sudo make install
sudo modprobe spca5xx[/QUOTE]

tenchi39
September 3rd, 2006, 10:50 AM
Hi!

Dear Arnieboy...

I just bough (what a mistake...) a König USB Webcam CMP-WEBCAM21. lsusb gives the following:

Bus 002 Device 002: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 WebCam

It seems to need the spca5xx driver which upon trying the camera, instantly locks up the computer. I followed your instructions for dapper drake (I have kubuntu 6.06.1 LTS), but still it locks up...

Any ideas?

Pilsner
September 3rd, 2006, 06:00 PM
sudo apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential
wget http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz
tar xvfz spca5xx-20060501.tar.gz
cd spca5xx-20060501
make
sudo modprobe -r spca5xx
sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx*
sudo make install
sudo modprobe spca5xx

Its for dapper.


When i ran the first command
sudo apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential

I got error message "couldnt find linux-headers-2.6.17.7"

I have compiled the kernel into 2.6.17.7

Any idea?

rami
September 8th, 2006, 02:42 AM
I have two webcams one logitech quickcam traveller and a labtec, never was able to get the logitech cam to work, and the labtec cam, whenever I access its channel whether from camorama, amsn, or gqcam, my system totally freezes and nothing becomes responsive. Only pressing the on/off button is the solution.

Whats wrong??

amac777
September 16th, 2006, 04:45 AM
Hi! I had a problem following this HOWTO and I have figured out why so just wanted to post my experience in the hopes it will help someone.

The Problem:

I have already followed this HOWTO once for Dapper and it worked perfectly the first time. I am now re-installing my webcam drivers after upgrading my kernel (the webcame stopped working after I upgraded my kernel) and am following the HOWTO steps exactly, but the problem is that I got the following error message when I typed the "make" step:


nigol@nigol-desktop:~/linux stuff/spca5xx-20060501$ make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/nigol/linux stuff/spca5xx-20060501 CC=cc modulesmake[1]: Entering directory `/usr/src/linux-headers-2.6.15-26-386'
make[1]: *** No rule to make target `stuff/spca5xx-20060501'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-26-386'
make: *** [default] Error 2

On hindsight I suppose the problem is obvious, but it took me many hours reading and searching this thread, googling, trying to figure out if it was because I just upgraded my kernel, and general smashing my head against the wall since I'm totally new to linux.

The solution:

Don't have any directories with a space (" ") somewhere in their names when you download and un-tar the spca5xx-20060501.tar.gz file!

Specifically, I had stored the spca5xx-20060501.tar.gz file in a sub-directory called 'Linux stuff' and that space between the word Linux and the word stuff in the directory name was my problem. As simple as that. Once I got rid of it (i.e., renamed the directory to a single word with no space), everything worked fine and the webcam is fully operational now. I'm very happy! Thanks for the great HOWTO!

Postino
September 18th, 2006, 08:19 PM
Hello,
I had posted earlier, and was having problems with my webcam, Logitech QuickCam IM not working.
I solved the problem, and this might help someone else too, so here it is. I actually found the solution in another thread, so credit is due to the following post:
http://www.ubuntuforums.org/showpost.php?p=1431577&postcount=10

I had my webcam connected to a USB hub. In the above post, the poster was using a hub too, but decided to connect it directly to the computer, which is what I did and now, it is working flawlessly!

Just a FYI.

berserker
September 20th, 2006, 11:44 PM
Things seemed to have changed when compiling under kernel 2.6.18:


Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/erich/applications/programs/spca5xx-20060501 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.18'
CC [M] /home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.o
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_open’:
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: implicit declaration of function ‘video_devdata’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: initialization makes pointer from integer without a cast
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: implicit declaration of function ‘video_get_drvdata’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: initialization makes pointer from integer without a cast
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_close’:
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:2487: warning: initialization makes pointer from integer without a cast
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_do_ioctl’:
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:2547: warning: initialization makes pointer from integer without a cast
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_ioctl’:
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3091: warning: implicit declaration of function ‘video_usercopy’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_read’:
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3110: warning: initialization makes pointer from integer without a cast
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_mmap’:
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3209: warning: initialization makes pointer from integer without a cast
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c: At top level:
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3261: error: variable ‘spca50x_template’ has initializer but incomplete type
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3262: error: unknown field ‘owner’ specified in initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: excess elements in struct initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: (near initialization for ‘spca50x_template’)
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3263: error: unknown field ‘name’ specified in initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: excess elements in struct initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: (near initialization for ‘spca50x_template’)
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3264: error: unknown field ‘type’ specified in initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: excess elements in struct initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: (near initialization for ‘spca50x_template’)
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3265: error: unknown field ‘hardware’ specified in initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: excess elements in struct initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: (near initialization for ‘spca50x_template’)
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3266: error: unknown field ‘fops’ specified in initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: excess elements in struct initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: (near initialization for ‘spca50x_template’)
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: unknown field ‘release’ specified in initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: ‘video_device_release’ undeclared here (not in a function)
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: excess elements in struct initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: (near initialization for ‘spca50x_template’)
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3270: error: unknown field ‘minor’ specified in initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: excess elements in struct initializer
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: (near initialization for ‘spca50x_template’)
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘cd_to_spca50x’:
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: implicit declaration of function ‘to_video_device’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: initialization makes pointer from integer without a cast
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3339: warning: return makes pointer from integer without a cast
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca50x_create_sysfs’:
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:3448: warning: implicit declaration of function ‘video_device_create_file’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_probe’:
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: implicit declaration of function ‘video_device_alloc’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: assignment makes pointer from integer without a cast
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5509: error: dereferencing pointer to incomplete type
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5511: warning: implicit declaration of function ‘video_set_drvdata’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5516: warning: implicit declaration of function ‘video_register_device’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function)
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: (Each undeclared identifier is reported only once
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: for each function it appears in.)
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5545: error: dereferencing pointer to incomplete type
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5546: warning: implicit declaration of function ‘video_device_release’
/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.c:5548: warning: implicit declaration of function ‘video_unregister_device’
make[2]: *** [/home/erich/applications/programs/spca5xx-20060501/drivers/usb/spca5xx.o] Error 1
make[1]: *** [_module_/home/erich/applications/programs/spca5xx-20060501] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18'
make: *** [default] Error 2

berserker
September 22nd, 2006, 08:48 PM
The source code needs to be patched in order for the spca5xx module to work with kernel 2.6.18. Download the attached file into your spca5xx-20060501 directory and then do:


patch -p1 < spca5xx_2.6.18.bin.txt
make
sudo make install
sudo modprobe spca5xx

easyease
September 24th, 2006, 03:11 PM
Thanks Arnie! your a star, this is a very very useful howto. :)

apoth
October 3rd, 2006, 09:54 PM
I can't get my webcam working... 0c45:60c0 Microdia

I get this output in dmesg:

[17179591.664000] /home/rich/spca5xx-20060501/drivers/usb/spca5xx.c: USB SPCA5XX camera found. SONIX sn9c105 + MI0360
[17179591.664000] /home/rich/spca5xx-20060501/drivers/usb/spca5xx.c: [spca5xx_probe:5480] Camera type JPEG
[17179591.668000] /home/rich/spca5xx-20060501/drivers/usb/spca5xx.c: [spca5xx_getcapability:1765] maxw 640 maxh 480 minw 176 minh 144
[17179591.676000] usbcore: registered new driver spca5xx
[17179591.676000] /home/rich/spca5xx-20060501/drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered

The actual output in camerama, gqcam, ekiga, etc... is a screen which, by moving the webcam to face the monitor or covering it with my hand I can see minor colour changes - it's mostly white but there are flashes of blue or yellow and it's not really usable. No errors but the display's not usable.

apoth
October 3rd, 2006, 09:55 PM
Oh and after a while it crashes the whole machine.

sk1nnycowboy
October 21st, 2006, 10:30 PM
Got mine working with Arnieboy's howto. Good stuff. Had tried Yoriko's howto, but that didnt work for me. Also tried installing Easycam and Easycam2, also no luck. My unit is a quickcam messenger:
Bus 002 Device 003: ID 046d:08da Logitech, Inc.

AdonisV
October 25th, 2006, 07:58 AM
I have 2 webcams, an A4tech-837 and an Intell PC Cam. I wonder if these will work coz none of them is in the SPCA5xx list.. :( I hope they give support for these as well.

Go Linux!:KS

yaye
October 25th, 2006, 06:22 PM
I have 2 webcams, an A4tech-837 and an Intell PC Cam. I wonder if these will work coz none of them is in the SPCA5xx list.. :( I hope they give support for these as well.

Go Linux!:KS

I know someone who has an Intel USB webcam and it works on Dapper with no driver configuration needed. He said he just plugged it in and started Gnomemeeting (Ekiga). I don't know if Intel makes different versions of their webcam.

fakie_flip
October 25th, 2006, 07:26 PM
I've tried for hours more than once to get my webcam to work in Ubuntu. All I can find out about the make and model is that it is a Logitech Quickcam Express. I bought it about 5 years ago. I have used lspci and hwinfo. What can I do? Do the numbers, colons and characters next to it in lspci mean anything useful? I'm asking because someone told me they could help. I must have compiled the wrong driver from source code because it did not work. What else can I do?

Maragato
October 28th, 2006, 03:11 AM
I got a GeniusVideoCam Look, I know the last kernel from edgy was released like yesterday thou I wonder if someone already managed it I'm using kernel 2.6.17-10-386. Can I do like was suggested for the firsts 2.6.xx where I could patch the module and compile it?

amac777
November 5th, 2006, 02:54 AM
Does anyone know how to install these spca drivers for Edgy?

I tried following the instructions for dapper and it *almost* worked. The only thing wrong is the colors are messed up. Red objects show up as blue objects etc. But the picture is clear.

ToneDispenser
November 16th, 2006, 11:04 AM
Hi everyone,

thanks to this thread I managed to get my Sunplus Flexcam 100 working in Dapper!

Unfortunately it wasn't as easy as I hoped, but that's due to my cusom kernel.

Problems I had to deal with:
1. You need a patch for kernel v2.6.18
http://ubuntuforums.org/showpost.php?p=1531572&postcount=272

2. Use the same gcc version you compiled your kernel with

3. Compiled driver doesn't seem to work when the webcam is attached to a usb hub.
I have a USB 2.0 Hub and the webcam shows up when I use type 'lsusb'. But all the programs complain that they can't connect to the cam when it's attached to the hub. It works without a hitch when I connect it to the PC directly.

Is there any way to fix this? Do I have to tell the driver that the WebCam is attached to a hub?


Thanks for any hints/tips/suggestions/ideas/whatever :)

ampop
November 28th, 2006, 08:05 AM
Any idea where I find the driver for ACER Aspire 5601 OrbiCam?

Nim
January 17th, 2007, 06:16 AM
When I type in

"wget http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz"

from arnieboys original step by step guide, I get this message:

"Error parsing proxy URL http://:8080/: Invalid host name."

any ideas??

ampop
January 17th, 2007, 10:48 AM
When I type in

"wget http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz"

from arnieboys original step by step guide, I get this message:

"Error parsing proxy URL http://:8080/: Invalid host name."

any ideas??

There is new drivers:
for kernel up from 2.6.11 : gspcav1-20070110.tar.gz (http://mxhaard.free.fr/spca50x/Download/gspcav1-20070110.tar.gz)
for kernel below 2.6.11: spca5xx-20060501.tar.gz (http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz)

Nim
January 17th, 2007, 10:53 AM
Ok i clicked on the links and downloaded, but I still get the same message when I type that command into terminal - do I need to type something different?

ampop
January 17th, 2007, 11:28 AM
Ok i clicked on the links and downloaded, but I still get the same message when I type that command into terminal - do I need to type something different?

What command did you typed?

Nim
January 17th, 2007, 01:59 PM
"wget http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz"

ampop
January 17th, 2007, 03:18 PM
"wget http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz"

wget it's a command to download files. If you already have the file, you don't need to do wget.
Type:

wget --help
for more information.

About the webcam driver, do:

sudo apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential gcc-3.4
tar xvfz spca5xx-20060501.tar.gz
cd spca5xx-20060501
sudo make CC=gcc-3.4
sudo modprobe -r spca5xx
sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx*
sudo make install
sudo modprobe spca5xx

With my webcam, the 2 driver's didn't worked. May be you have better luck.

Nim
January 18th, 2007, 02:15 PM
I followed your instructions and this is what it says:

naomi@ubuntu:~$ sudo apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential gcc-3
Password:
Reading package lists... Done
Building dependency tree... Done
linux-headers-2.6.15-27-386 is already the newest version.
linux-restricted-modules-2.6.15-27-386 is already the newest version.
build-essential is already the newest version.
E: Couldn't find package gcc-3
naomi@ubuntu:~$ tar xvfz spca5xx-20060501.tar.gz
tar: spca5xx-20060501.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
naomi@ubuntu:~$

is this because the drivers don't work or because I've done something wrong?

ampop
January 19th, 2007, 01:08 AM
I followed your instructions and this is what it says:

naomi@ubuntu:~$ sudo apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential gcc-3
Password:
Reading package lists... Done
Building dependency tree... Done
linux-headers-2.6.15-27-386 is already the newest version.
linux-restricted-modules-2.6.15-27-386 is already the newest version.
build-essential is already the newest version.
E: Couldn't find package gcc-3
naomi@ubuntu:~$ tar xvfz spca5xx-20060501.tar.gz
tar: spca5xx-20060501.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
naomi@ubuntu:~$

is this because the drivers don't work or because I've done something wrong?

About error:

E: Couldn't find package gcc-3
You must type:

sudo apt-get install gcc-3.4
Not:

sudo apt-get install gcc-3

About tar error, you must: or go to the path where the file is (cd ...) or:

tar xvfz /path-to-file/file.tar.gz

If you have more problems with this issue, ask again.

wavesound
January 20th, 2007, 10:06 PM
Hi
Anyone know how to get The creative Live cam to work on 6.6lt.
I downloaded the spacavxxx file but don't get a make file.
When I sudo Makefile or ./Makefile I get errors:

************

-desktop:/tmp/gspcav1-20070110$ sudo ./Makefile
./Makefile: line 1: VERSION: command not found
./Makefile: line 3: DEFINES: command not found
./Makefile: line 11: DEFINES: command not found
./Makefile: line 21: DEFINES: command not found
./Makefile: line 27: DEFINES: command not found
./Makefile: line 28: VERSION: command not found
./Makefile: line 28: DEFINES: command not found
./Makefile: line 30: syntax error near unexpected token `$(KERNELRELEASE),'
./Makefile: line 30: `ifneq ($(KERNELRELEASE),) # We were called by kbuild'
***************************

I'm not a programer so am now stuck.
I was aware that this cam is supported under Linux.

Hope you can help.

Cheers
Bob

wavesound
January 23rd, 2007, 12:27 PM
Hi
Thanks for this post.
I have the webcam Live cam and have followed these instuctions.
Here is what I get:

************************************************** ****

studio@studio-desktop:~/downloads/gspcav1-20070110$ sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/gspcav1-20070110
studio@studio-desktop:~/downloads/gspcav1-20070110$ sudo make install
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
/sbin/depmod -ae
studio@studio-desktop:~/downloads/gspcav1-20070110$ sudo modprobe gspcav1-20070110
FATAL: Module gspcav1_20070110 not found.

************************************************** *******

What am I doing wrong here?
I'm on a new edgy install on this machine. ;)


Cheers
Bob

markfoged
February 20th, 2007, 07:25 PM
This made my Logitech Quickcam Messenger work like a charm!

Thanks a lot!

~Kim

SBFC
March 1st, 2007, 09:56 PM
So if you use gspcav1-20070110.tar.gz instead of spca5xx-20060501.tar.gz do the instructions still apply? Do you still insert the spca5xx module or is a different one created with the contents of the gspcv1 tarball?

I used the gspcav1 tarball and followed the instructions and camorama complains that it can't connect to /dev/video0.

berserker
March 1st, 2007, 10:22 PM
So if you use gspcav1-20070110.tar.gz instead of spca5xx-20060501.tar.gz do the instructions still apply? Do you still insert the spca5xx module or is a different one created with the contents of the gspcv1 tarball?

I used the gspcav1 tarball and followed the instructions and camorama complains that it can't connect to /dev/video0.

Did you try


sudo modprobe gspca

Also add gspca to your /etc/modules file.

SBFC
March 1st, 2007, 10:38 PM
Thank you very much. I had to restart as well, but all is working now.

uylenspiegel
March 8th, 2007, 06:02 AM
Nice post however ... I'm stuck at the end :

sudo modprobe spca5xx
FATAL: Error inserting spca5xx (/lib/modules/2.6.15-26-386/kernel/drivers/usb/media-back/spca5xx.ko): Invalid module format

I'm using


Linux version 2.6.15-26-386 (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006

Thanks for your help... I'm clueless. :confused:

Uylenspiegel

fbm
March 10th, 2007, 06:11 PM
Hello to all,

I would just like to verify the previous post about plugging the webcam directly to the USB port at the back of the PC. I had an edimax USB 2.0 hub and connected it initially to it and didn't work. Read the previous post and tried it on and my webcam now works. It's an A4Tech pk-5 cam. Hope this information is useful to others.

diskotek
March 14th, 2007, 06:53 PM
the instructions on first post worked great with my creative vista plus webcam; (i'm on xubuntu 6.10). i worked it out with ekiga. thank you so much!

but the picture is not so good qıality, and there is a delay on visiual. this is normal?

fakie_flip
March 14th, 2007, 07:11 PM
I have two webcams. Are either of these ICM532 chipset based webcams?


chris@ubuntu:~$ lsusb
Bus 002 Device 007: ID 046d:0840 Logitech, Inc. QuickCam Express
Bus 002 Device 006: ID 046d:0870 Logitech, Inc. QuickCam Express
Bus 002 Device 005: ID 03f0:0601 Hewlett-Packard ScanJet 6300c
Bus 002 Device 003: ID 046e:5250 Behavior Tech. Computer Corp.
Bus 002 Device 002: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
chris@ubuntu:~$

Ench
April 6th, 2007, 12:37 AM
I have an USB hub, and the camera was connected there and it didn't work, I changed it to another USB port directly to the computer and it works...

The picture is too dark and all... any ideas how to make it better? I've read most of this thread and didn't notice anything about the brightness of the picture.

I have Genius Videocam NB :)

n1nj4Lo
August 15th, 2007, 02:51 AM
I have a Ezonics EzCam III a.k.a. iCatch (VI) PC Camera and a USB2.0 PC Camera (SN9C201) [6 LED Light Night Vision Webcam]

Would either of these work with this code also do I jus open a console and paste the code in there, Or......? Sorry yes I'm a newby to Linux, Thanks in advance...

vivalant
August 29th, 2007, 04:50 PM
There's a single binary-only driver for all the SN9C101, 102, 103, 105, 110, 120, 201, 202 webcams. It supports any V4L1+V4L2 applications and replaces the GSPCA driver (regarding the part of the sn9c1xx controllers). The main difference between the SN9C1XX (in the kernel by default) and the generic SN9CXXX driver (living outside the kernel) is that the latter has more features and supports more hardware.other than applications.

The author's homepage is http://www.linux-projects.org

peregrine
November 9th, 2007, 02:51 AM
I keep getting this driver when i type make.


ason@Lappy:~/Desktop/spca5xx-v4l1goodbye$ make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/jason/Desktop/spca5xx-v4l1goodbye CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.o
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:39:26: error: linux/config.h: No such file or directory
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca50x_init_isoc’:
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:1623: warning: assignment from incompatible pointer type
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_open’:
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2394: warning: implicit declaration of function ‘video_devdata’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2394: warning: initialization makes pointer from integer without a cast
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2399: warning: implicit declaration of function ‘video_get_drvdata’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2399: warning: initialization makes pointer from integer without a cast
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_close’:
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2489: warning: initialization makes pointer from integer without a cast
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_do_ioctl’:
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2549: warning: initialization makes pointer from integer without a cast
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_ioctl’:
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3093: warning: implicit declaration of function ‘video_usercopy’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_read’:
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3112: warning: initialization makes pointer from integer without a cast
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_mmap’:
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3211: warning: initialization makes pointer from integer without a cast
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: At top level:
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3263: error: variable ‘spca50x_template’ has initializer but incomplete type
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3264: error: unknown field ‘owner’ specified in initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3264: warning: excess elements in struct initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3264: warning: (near initialization for ‘spca50x_template’)
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3265: error: unknown field ‘name’ specified in initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3265: warning: excess elements in struct initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3265: warning: (near initialization for ‘spca50x_template’)
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3266: error: unknown field ‘type’ specified in initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3266: warning: excess elements in struct initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3266: warning: (near initialization for ‘spca50x_template’)
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3267: error: unknown field ‘hardware’ specified in initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3267: warning: excess elements in struct initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3267: warning: (near initialization for ‘spca50x_template’)
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3268: error: unknown field ‘fops’ specified in initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3268: warning: excess elements in struct initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3268: warning: (near initialization for ‘spca50x_template’)
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: error: unknown field ‘release’ specified in initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: error: ‘video_device_release’ undeclared here (not in a function)
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: warning: excess elements in struct initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: warning: (near initialization for ‘spca50x_template’)
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3272: error: unknown field ‘minor’ specified in initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3272: warning: excess elements in struct initializer
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3272: warning: (near initialization for ‘spca50x_template’)
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘cd_to_spca50x’:
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3340: warning: implicit declaration of function ‘to_video_device’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3340: warning: initialization makes pointer from integer without a cast
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3341: warning: return makes pointer from integer without a cast
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca50x_create_sysfs’:
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3450: warning: implicit declaration of function ‘video_device_create_file’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_probe’:
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5509: warning: implicit declaration of function ‘video_device_alloc’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5509: warning: assignment makes pointer from integer without a cast
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5512: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5512: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5512: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5514: error: dereferencing pointer to incomplete type
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5516: warning: implicit declaration of function ‘video_set_drvdata’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: warning: implicit declaration of function ‘video_register_device’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function)
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: error: (Each undeclared identifier is reported only once
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: error: for each function it appears in.)
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5550: error: dereferencing pointer to incomplete type
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5551: warning: implicit declaration of function ‘video_device_release’
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5553: warning: implicit declaration of function ‘video_unregister_device’
make[2]: *** [/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.o] Error 1
make[1]: *** [_module_/home/jason/Desktop/spca5xx-v4l1goodbye] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [default] Error 2


Can anyone help me please I have a logitech QuickCam for Notebooks.

berserker
November 9th, 2007, 03:19 AM
I keep getting this driver when i type make.


ason@Lappy:~/Desktop/spca5xx-v4l1goodbye$ make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/jason/Desktop/spca5xx-v4l1goodbye CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.o
/home/jason/Desktop/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:39:26: error: linux/config.h: No such file or directory

Can anyone help me please I have a logitech QuickCam for Notebooks.

The error is in this line:


error: linux/config.h: No such file or directory

The makefile is looking for /usr/src/linux-headers-2.6.22-14-generic/include/linux/config.h which you obviously don't have. I noticed that config.h is missing from some recent kernel sources. Trying downloading another kernel from kernel.org, untar it and copy the config.h over to the appropriate directory.

HTH

peregrine
November 9th, 2007, 06:16 AM
I searched in 2 different kernals 2.6.22.5 and 2.6.23.1 and ive got no config.h...?

So what should I do Ive got the only version of the kerna I can get from apt-get.

cchevy
November 17th, 2007, 02:30 PM
there are so many pages here...can somebody tell me how to install my intel cs330 webcam on gutsy?

i found spca packages - gspca and spca5xx on synaptic, and the first one has instructions

what do i install on 7.10 and how do i continue? (the first file requires my ubuntu install cd, which i dont have now:(

minospl
November 18th, 2007, 02:57 PM
How install the newest driver GSPCA at Ubuntu 7.10?

newOldUser
November 18th, 2007, 08:57 PM
Take a look at this thread: http://ubuntuforums.org/showthread.php?t=303330&highlight=gspcav1&page=2

at the bottom of the page is a September 11th, 2007 post from binselam. Those instructions should work just fine.

Before you do them make sure you have downloaded the linux-headers. Use the Synaptic Package Manager on your system to find them and download them.

Also when you are entering the commands be careful. The Tilde (`) character looks a lot like the apostrophe (') but they are very different in how they operate in the terminal. Most of the commands contain tilde characters.

It would be nice if someone would host a site for this compiled driver.

cchevy
November 19th, 2007, 11:30 AM
Compile it and I'll host it !

Just send me the link on pvt.

shields
November 19th, 2007, 08:43 PM
There needs to be a new thread started with the title:
"How to make webcams work on Gutsy."

newOldUser
November 22nd, 2007, 04:47 PM
I have compiled the driver and cchevy has posted it at: http://365.com.mk/video/andrej/gspca.ko

On my Xubuntu 7.10 system the driver is placed in the following directory:
/lib/modules/2.6.22-14-generic/kernel/drivers/usb/media/

If you don't have this directory then my guess is you have a different kernal version then me and the driver may not work for you. In a terminal do the command:
uname -r
or
uname -a
If you have 2.6.22 then there's a good chance it may work. Creating the driver wasn't hard if you follow the directions noted in my previous post.

The driver name is gspca.ko

File information:
ls -l gspca*
-rw-r--r-- 1 root root 960780 2007-11-15 18:13 gspca.ko

system information:
uname -a
Linux uServer 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007
i686 GNU/Linux

After installing the driver and attaching your camera enter this in a terminal

dmesg

you should see some message about a usb device being added (that's your camera)

sudo modprobe gspca

this will try to associate the driver with the camera

dmesg

with any luck you'll see some lines at the bottom about the driver initiating.


If you didn't receive any errors then the driver may be working.

Enter the command

tail /var/log/messages

this will show you the last 20 or 30 system messages. Sometimes the gspca driver starts spitting out error messages. You can issue this command as many times as you like and there may be new messages to help you understand why the driver is or is not working.

Good luck

diablo75
March 5th, 2008, 06:23 PM
I need some help please. I have Ubuntu Gutsy, and the guide (at least the first of 33 pages of posts) don't include Gutsy. I'm assuming the install is similar or the same, but I just want to be sure so I don't screw anything up.

I have a (0733:0401) ViewQuest Technologies, Inc. CS330 WebCam.

What's the best way to get this thing running?

HepBak
March 19th, 2009, 01:13 PM
Some of you probably might have noticed ICM532 chipset based webcams freezing on breezy (for a comprehensive list refer to: http://mxhaard.free.fr/spca5xx.html ) when u turn on gnomemeeting or camorama. Herez the fix for that:
FOLLOW ALL THE STEPS! DONT TAKE SHORTCUTS OR MAKE MODIFICATIONS IF YOU DON'T KNOW WHAT YOU ARE DOING
You need to do the following step by step

FOR DAPPER and EDGY
If you are on Dapper or Edgy do the following instead of the above:

sudo apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential
wget http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz
tar xvfz spca5xx-20060501.tar.gz
cd spca5xx-20060501
make
sudo modprobe -r spca5xx
sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx*
sudo make install
sudo modprobe spca5xx

FOR BREEZY

sudo apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential gcc-3.4
wget http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz
tar xvfz spca5xx-20060501.tar.gz
cd spca5xx-20060501
sudo make CC=gcc-3.4
sudo modprobe -r spca5xx
sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx*
sudo make install
sudo modprobe spca5xx
Now you should be all set to use ur ICM532 chipset based webcam.


i try to set ICM532 but...

root@HEPBAK:/home/koko/spca5xx-20060501# sudo make CC=gcc-3.4
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/koko/spca5xx-20060501 CC=gcc-3.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-12-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/koko/spca5xx-20060501/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/koko/spca5xx-20060501] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-12-generic'
make: *** [default] Error 2

give me some help please

szirakitamas
April 9th, 2009, 03:25 PM
Hi!
Instead of this: http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz use this:
http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz
maybe! :)
and of course instead of all spca5xx-20060501 use gspcav1-20071224

elcisitiak
June 1st, 2009, 07:28 AM
Okay, I know this is an old topic but how can I make this all work on Jaunty? I get error messages:


rel@Set:~$ wget http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz
--2009-05-31 23:22:07-- http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz
Resolving mxhaard.free.fr... 212.27.63.150
Connecting to mxhaard.free.fr|212.27.63.150|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 214717 (210K) [application/x-gzip]
Saving to: `gspcav1-20071224.tar.gz'

100%[======================================>] 214,717 44.8K/s in 5.3s

2009-05-31 23:22:13 (39.8 KB/s) - `gspcav1-20071224.tar.gz' saved [214717/214717]

rel@Set:~$ tar xvfz gspcav1-20071224.tar.gz
gspcav1-20071224/
gspcav1-20071224/decoder/
gspcav1-20071224/decoder/gspcadecoder.c
gspcav1-20071224/decoder/gspcadecoder.h
gspcav1-20071224/decoder/gspcadecoder-OSX.c
gspcav1-20071224/decoder/gspcadecoder-OSX.h
gspcav1-20071224/Makefile
gspcav1-20071224/Vimicro/
gspcav1-20071224/Vimicro/vc032x_sensor.h
gspcav1-20071224/Vimicro/zc3xx.h
gspcav1-20071224/Vimicro/cs2102.h
gspcav1-20071224/Vimicro/vc032x.h
gspcav1-20071224/Vimicro/pas106b.h
gspcav1-20071224/Vimicro/icm105a.h
gspcav1-20071224/Vimicro/hv7131b.h
gspcav1-20071224/Vimicro/hv7131c.h
gspcav1-20071224/Vimicro/pb0330.h
gspcav1-20071224/Vimicro/ov7630c.h
gspcav1-20071224/Vimicro/mc501cb.h
gspcav1-20071224/Vimicro/tas5130c_vf0250.h
gspcav1-20071224/Vimicro/ov7620.h
gspcav1-20071224/Vimicro/tas5130c.h
gspcav1-20071224/Vimicro/hdcs2020.h
gspcav1-20071224/Etoms/
gspcav1-20071224/Etoms/et61xx51.h
gspcav1-20071224/Sonix/
gspcav1-20071224/Sonix/sn9cxxx.h
gspcav1-20071224/Sonix/sonix.h
gspcav1-20071224/utils/
gspcav1-20071224/utils/spcagamma.h
gspcav1-20071224/utils/spcausb.h
gspcav1-20071224/utils/spcaCompat.h
gspcav1-20071224/Conexant/
gspcav1-20071224/Conexant/cx11646.h
gspcav1-20071224/Conexant/cxlib.h
gspcav1-20071224/Pixart/
gspcav1-20071224/Pixart/pac207-OSX.h
gspcav1-20071224/Pixart/pac7311.h
gspcav1-20071224/Pixart/pac207.h
gspcav1-20071224/changelog
gspcav1-20071224/license
gspcav1-20071224/gspca_core.c
gspcav1-20071224/Transvision/
gspcav1-20071224/Transvision/tv8532.h
gspcav1-20071224/Makefile.kld
gspcav1-20071224/gspca.h
gspcav1-20071224/Sunplus/
gspcav1-20071224/Sunplus/spca501.dat
gspcav1-20071224/Sunplus/spca505.dat
gspcav1-20071224/Sunplus/spca508.dat
gspcav1-20071224/Sunplus/spca561-OSX.h
gspcav1-20071224/Sunplus/spca506.h
gspcav1-20071224/Sunplus/spca561.h
gspcav1-20071224/Sunplus/spca501_init.h
gspcav1-20071224/Sunplus/spca508_init-OSX.h
gspcav1-20071224/Sunplus/spca508_init.h
gspcav1-20071224/Sunplus/spca501_init-OSX.h
gspcav1-20071224/Sunplus/spca505_init.h
gspcav1-20071224/Sunplus-jpeg/
gspcav1-20071224/Sunplus-jpeg/spca500.dat
gspcav1-20071224/Sunplus-jpeg/jpeg_qtables.h
gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h
gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.dat
gspcav1-20071224/Sunplus-jpeg/spca500_init.h
gspcav1-20071224/gspca_build
gspcav1-20071224/READ_AND_INSTALL
gspcav1-20071224/Mars-Semi/
gspcav1-20071224/Mars-Semi/mr97311.h
gspcav1-20071224/cutlog.py
rel@Set:~$ cd gspcav1-20071224
rel@Set:~/gspcav1-20071224$ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/rel/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
CC [M] /home/rel/gspcav1-20071224/gspca_core.o
/home/rel/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/home/rel/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/rel/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/home/rel/gspcav1-20071224/gspca_core.c: At top level:
/home/rel/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/home/rel/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/home/rel/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/home/rel/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/home/rel/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/home/rel/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/home/rel/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/home/rel/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/home/rel/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/home/rel/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [default] Error 2
rel@Set:~/gspcav1-20071224$ sudo modprobe -r spca5xx
FATAL: Module spca5xx not found.
rel@Set:~/gspcav1-20071224$ sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/gspcav1*
rel@Set:~/gspcav1-20071224$ sudo make install
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
install: cannot stat `gspca.ko': No such file or directory
make: *** [install] Error 1
rel@Set:~/gspcav1-20071224$ sudo modprobe spca5xx
rel@Set:~/gspcav1-20071224$ rel@Set:~$ tar xvfz spca5xx-20060501.tar.gz
No such file or directory
/home/rel/gsbash: rel@Set:~$: command not found
rel@Set:~/gspcav1-20071224$ tar: spca5xx-20060501.tar.gz: Cannot open: No such file or directory
pcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/rbash: tar:: command not found
rel@Set:~/gspcav1-20071224$ tar: Error is not recoverable: exiting now
el/gspcav1-20071224/gspca_core.c:2463: erro
bash: tar:: command not found
rel@Set:~/gspcav1-20071224$ tar: Child returned status 2
/home/rel/gspcav1-20071224/g
bash: tar:: command not found
rel@Set:~/gspcav1-20071224$ tar: Error exit delayed from previous errors
/home/rel/gspcav1-20071224/gspca_core.c:2609
bash: tar:: command not found
rel@Set:~/gspcav1-20071224$ rel@Set:~$ cd spca5xx-20060501
/home/rel/gspcav1-20071224/gsp
bash: rel@Set:~$: command not found
rel@Set:~/gspcav1-20071224$ bash: cd: spca5xx-20060501: No such file or directory
/home/rel/gspcav1-20071224/gspca_core.c:2611: error:
bash: bash:: command not found
rel@Set:~/gspcav1-20071224$ rel@Set:~$ make
/home/rel/gspca
bash: rel@Set:~$: command not found
rel@Set:~/gspcav1-20071224$ make: *** No targets specified and no makefile found. Stop.
/home/rel/gspcav1-20071224/gspca_core.c:2769: error: implici
bash: make:: command not found
rel@Set:~/gspcav1-20071224$ rel@Set:~$ sudo modprobe -r spca5xx
/home/rel/gspcav1-20071224/gspca_co
bash: rel@Set:~$: command not found
rel@Set:~/gspcav1-20071224$ FATAL: Module spca5xx not found.
/home/rel/gspcav1-20071224/gspca
bash: FATAL:: command not found
rel@Set:~/gspcav1-20071224$ rel@Set:~$ sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx*rel@Set:~$ sudo make install
/home/rel/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/home/rebash: rel@Set:~$: command not found
rel@Set:~/gspcav1-20071224$ make: *** No rule to make target `install'. Stop.
l/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *> rel@Set:~$ sudo modprobe spca5xxsudo apt-get install linux-headers-`linux-restricted-modules-`uname -r` build-essential
> FATAL: Module spca5xxsudo not found.
> rel@Set:~$ wget http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz
> --2009-05-31 23:22:07-- http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz
> Resolving mxhaard.free.fr... 212.27.63.150
> Connecting to mxhaard.free.fr|212.27.63.150|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 214717 (210K) [application/x-gzip]
> Saving to: `gspcav1-20071224.tar.gz'
>
> 100%[======================================>] 214,717 44.8K/s in 5.3s
>
> 2009-05-31 23:22:13 (39.8 KB/s) - `gspcav1-20071224.tar.gz' saved [214717/214717]
bash: command substitution: line 1: unexpected EOF while looking for matching `''
** [_module_/home/rel/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [default] Error 2
rel@Set:~/gspcav1-20071224$ sudo modprobe -r spca5xx
FATAL: Module spca5xx not found.
rel@Set:~/gspcav1-20071224$ sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/gspcav1*
rel@Set:~/gspcav1-20071224$ sudo make install
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
install: cannot stat `gspca.ko': No such file or directory
make: *** [install] Error 1
bash: command substitution: line 3: syntax error: unexpected end of file
bash: linux-restricted-modules-: command not found
bash: build-essential: command not found
bash: FATAL:: command not found
bash: rel@Set:~$: command not found
bash: --2009-05-31: command not found
bash: Resolving: command not found
bash: :80...: command not found
bash: 212.27.63.150: command not found
bash: Connecting: command not found
bash: HTTP: command not found
bash: command substitution: line 8: syntax error near unexpected token `('
bash: command substitution: line 8: `Length: 214717 (210K) [application/x-gzip]'
bash: make:: command not found
rel@Set:~/gspcav1-20071224$
rel@Set:~/gspcav1-20071224$ rel@Set:~$ tar xvfz gspcav1-20071224.tar.gz
bash: rel@Set:~$: command not found
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/
bash: gspcav1-20071224/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/decoder/
bash: gspcav1-20071224/decoder/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/decoder/gspcadecoder.c
bash: gspcav1-20071224/decoder/gspcadecoder.c: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/decoder/gspcadecoder.h
bash: gspcav1-20071224/decoder/gspcadecoder.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/decoder/gspcadecoder-OSX.c
bash: gspcav1-20071224/decoder/gspcadecoder-OSX.c: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/decoder/gspcadecoder-OSX.h
bash: gspcav1-20071224/decoder/gspcadecoder-OSX.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Makefile
bash: gspcav1-20071224/Makefile: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/
bash: gspcav1-20071224/Vimicro/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/vc032x_sensor.h
bash: gspcav1-20071224/Vimicro/vc032x_sensor.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/zc3xx.h
bash: gspcav1-20071224/Vimicro/zc3xx.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/cs2102.h
bash: gspcav1-20071224/Vimicro/cs2102.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/vc032x.h
bash: gspcav1-20071224/Vimicro/vc032x.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/pas106b.h
bash: gspcav1-20071224/Vimicro/pas106b.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/icm105a.h
bash: gspcav1-20071224/Vimicro/icm105a.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/hv7131b.h
bash: gspcav1-20071224/Vimicro/hv7131b.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/hv7131c.h
bash: gspcav1-20071224/Vimicro/hv7131c.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/pb0330.h
bash: gspcav1-20071224/Vimicro/pb0330.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/ov7630c.h
bash: gspcav1-20071224/Vimicro/ov7630c.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/mc501cb.h
bash: gspcav1-20071224/Vimicro/mc501cb.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/tas5130c_vf0250.h
bash: gspcav1-20071224/Vimicro/tas5130c_vf0250.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/ov7620.h
bash: gspcav1-20071224/Vimicro/ov7620.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/tas5130c.h
bash: gspcav1-20071224/Vimicro/tas5130c.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Vimicro/hdcs2020.h
bash: gspcav1-20071224/Vimicro/hdcs2020.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Etoms/
bash: gspcav1-20071224/Etoms/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Etoms/et61xx51.h
bash: gspcav1-20071224/Etoms/et61xx51.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sonix/
bash: gspcav1-20071224/Sonix/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sonix/sn9cxxx.h
bash: gspcav1-20071224/Sonix/sn9cxxx.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sonix/sonix.h
bash: gspcav1-20071224/Sonix/sonix.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/utils/
bash: gspcav1-20071224/utils/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/utils/spcagamma.h
bash: gspcav1-20071224/utils/spcagamma.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/utils/spcausb.h
bash: gspcav1-20071224/utils/spcausb.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/utils/spcaCompat.h
bash: gspcav1-20071224/utils/spcaCompat.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Conexant/
bash: gspcav1-20071224/Conexant/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Conexant/cx11646.h
bash: gspcav1-20071224/Conexant/cx11646.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Conexant/cxlib.h
bash: gspcav1-20071224/Conexant/cxlib.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Pixart/
bash: gspcav1-20071224/Pixart/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Pixart/pac207-OSX.h
bash: gspcav1-20071224/Pixart/pac207-OSX.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Pixart/pac7311.h
bash: gspcav1-20071224/Pixart/pac7311.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Pixart/pac207.h
bash: gspcav1-20071224/Pixart/pac207.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/changelog
bash: gspcav1-20071224/changelog: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/license
bash: gspcav1-20071224/license: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/gspca_core.c
bash: gspcav1-20071224/gspca_core.c: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Transvision/
bash: gspcav1-20071224/Transvision/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Transvision/tv8532.h
bash: gspcav1-20071224/Transvision/tv8532.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Makefile.kld
bash: gspcav1-20071224/Makefile.kld: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/gspca.h
bash: gspcav1-20071224/gspca.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/
bash: gspcav1-20071224/Sunplus/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/spca501.dat
bash: gspcav1-20071224/Sunplus/spca501.dat: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/spca505.dat
bash: gspcav1-20071224/Sunplus/spca505.dat: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/spca508.dat
bash: gspcav1-20071224/Sunplus/spca508.dat: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/spca561-OSX.h
bash: gspcav1-20071224/Sunplus/spca561-OSX.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/spca506.h
bash: gspcav1-20071224/Sunplus/spca506.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/spca561.h
bash: gspcav1-20071224/Sunplus/spca561.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/spca501_init.h
bash: gspcav1-20071224/Sunplus/spca501_init.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/spca508_init-OSX.h
bash: gspcav1-20071224/Sunplus/spca508_init-OSX.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/spca508_init.h
bash: gspcav1-20071224/Sunplus/spca508_init.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/spca501_init-OSX.h
bash: gspcav1-20071224/Sunplus/spca501_init-OSX.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus/spca505_init.h
bash: gspcav1-20071224/Sunplus/spca505_init.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus-jpeg/
bash: gspcav1-20071224/Sunplus-jpeg/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus-jpeg/spca500.dat
bash: gspcav1-20071224/Sunplus-jpeg/spca500.dat: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus-jpeg/jpeg_qtables.h
bash: gspcav1-20071224/Sunplus-jpeg/jpeg_qtables.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h
bash: gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.dat
bash: gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.dat: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Sunplus-jpeg/spca500_init.h
bash: gspcav1-20071224/Sunplus-jpeg/spca500_init.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/gspca_build
bash: gspcav1-20071224/gspca_build: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/READ_AND_INSTALL
bash: gspcav1-20071224/READ_AND_INSTALL: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Mars-Semi/
bash: gspcav1-20071224/Mars-Semi/: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/Mars-Semi/mr97311.h
bash: gspcav1-20071224/Mars-Semi/mr97311.h: No such file or directory
rel@Set:~/gspcav1-20071224$ gspcav1-20071224/cutlog.py
bash: gspcav1-20071224/cutlog.py: No such file or directory
rel@Set:~/gspcav1-20071224$ rel@Set:~$ cd gspcav1-20071224
bash: rel@Set:~$: command not found
rel@Set:~/gspcav1-20071224$ rel@Set:~/gspcav1-20071224$ make
bash: rel@Set:~/gspcav1-20071224$: No such file or directory
rel@Set:~/gspcav1-20071224$ make -C /lib/modules/`uname -r`/build SUBDIRS=/home/rel/gspcav1-20071224 CC=cc modules
make: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
CC [M] /home/rel/gspcav1-20071224/gspca_core.o
/home/rel/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/home/rel/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/rel/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/home/rel/gspcav1-20071224/gspca_core.c: At top level:
/home/rel/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/home/rel/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/home/rel/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/home/rel/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/home/rel/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/home/rel/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/home/rel/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/home/rel/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[1]: *** [/home/rel/gspcav1-20071224/gspca_core.o] Error 1
make: *** [_module_/home/rel/gspcav1-20071224] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
rel@Set:~/gspcav1-20071224$ make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
> CC [M] /home/rel/gspcav1-20071224/gspca_core.o
> /home/rel/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
> /home/rel/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
> /home/rel/gspcav1-20071224/gspca_core.c:2463: erro
> /home/rel/gspcav1-20071224/g
> /home/rel/gspcav1-20071224/gspca_core.c:2609
> /home/rel/gspcav1-20071224/gsp
> /home/rel/gspcav1-20071224/gspca_core.c:2611: error:
> /home/rel/gspca
> /home/rel/gspcav1-20071224/gspca_core.c:2769: error: implici
> /home/rel/gspcav1-20071224/gspca_co
> /home/rel/gspcav1-20071224/gspca
> /home/rel/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
> make[2]: *** [/home/rel/gspcav1-20071224/gspca_core.o] Error 1
> make[1]: *** [_module_/home/rel/gspcav1-20071224] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
> make: *** [default] Error 2
> rel@Set:~/gspcav1-20071224$ sudo modprobe -r spca5xx
> FATAL: Module spca5xx not found.
> rel@Set:~/gspcav1-20071224$ sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/gspcav1*
> rel@Set:~/gspcav1-20071224$ sudo make install
> mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
> rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
> rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
> install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
> install: cannot stat `gspca.ko': No such file or directory
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 18: syntax error: unexpected end of file
bash: make[1]:: command not found
rel@Set:~/gspcav1-20071224$ make: *** [install] Error 1
bash: make:: command not found


I get the feeling I'm missing something rather simple... help me?

lng80
June 7th, 2009, 02:28 AM
I'm also having trouble getting this to work in Jaunty...bump.