Alex,
pwc has been included in the kernel for a while now, and is present in
ubuntu jaunty as a module (running "sudo modprobe -l | grep pwc" will
confirm that).
Unplug/plug your webcam while monitoring syslog (with "sudo tail -f
/var/log/syslog") and you should see pwc printing lines as it detects
your webcam.
No need to compile the outdated version found on saillard.org anymore.
Cheers,
Gilles
On Mon, Aug 3, 2009 at 8:14 AM, Adrian D. Shaw<> wrote:
> Hi Alex,
>
> A few weeks ago, my PC (running Hardy Heron, i.e. Ubuntu 8.04) went to be
> upgraded. So I decided to mess around with another PC. I upgraded the other
> one to 9.04 (32 bit version though), and tried to get the webcam working. No
> luck :( It is a long time since I installed the webcam stuff on Hardy, so I
> really can't remember the procedure, but I do seem to remember advice that you
> grab the latest snapshot, not just the release candidate.
>
> I'm back to my usual computer now, and the webcam is working as usual.
> Unfortunately I can't tell you what my problem was with the other computer; I
> don't remember, and I'm not in a position to try it again to test. I would
> like to hear if anyone has succeeded though, as it might affect my decision on
> upgrading my OS.
>
> My webcam is a Philips SPC900NC.
>
> Adrian
>
> Alex wrote:
>> Hi, I've been having some difficulty installing the Philips USB Webcam
>> Driver for Linux.
>>
>> I've been following the instructions in the INSTALL.en file (with
>> modification due to changes in the version number) to try to install the
>> 10.0.12-rc1 file.
>>
>> I've downloaded and extracted the files (they are now located
>> at /home/alex/pwc-10.0.12-rc1)
>>
>> I've gotten as far as the make command and I'm stuck (terminal output
>> included at the end of the message). It returns a whole bunch of errors
>> and I figure that I've gotten something wrong, but can't figure out what
>> it is.
>>
>> I'm using Ubuntu 9.04 Desktop (64 bit version) and I'm trying to get my
>> quickcam (I believe that it's the Quickcam 4000 pro)to work. It's a
>> fairly new install of Linux but I've been working on getting a few
>> things working right and figured that since everything was going so well
>> - I got about 3 out of 4 things working right so far and it's only been
>> about a week! :)- that I'd try to get the webcam working. Other than
>> that I'm a total newbie to Linux and will probably need the most
>> idiot-proof instructions possible to get this working.
>>
>> Anyone know how to fix the problem other than getting a new webcam /
>> smarter person to follow the instructions?
>>
>> Any help appreciated.
>> Alex
>>
>>
>>
>> I get this in the terminal:
>>
>> make -C /lib/modules/2.6.28-14-generic/build
>> SUBDIRS=/home/alex/pwc-10.0.12-rc1 modules
>> make[1]: Entering directory `/usr/src/linux-headers-2.6.28-14-generic'
>> CC [M] /home/alex/pwc-10.0.12-rc1/pwc-if.o
>> In file included from /home/alex/pwc-10.0.12-rc1/pwc-if.c:69:
>> /home/alex/pwc-10.0.12-rc1/pwc.h:28:26: error: linux/config.h: No such
>> file or directory
>> /home/alex/pwc-10.0.12-rc1/pwc.h:37:27: error: asm/semaphore.h: No such
>> file or directory
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:166: error: variable ‘pwc_template’
>> has initializer but incomplete type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:167: error: unknown field ‘owner’
>> specified in initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:167: warning: excess elements in
>> struct initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:167: warning: (near initialization
>> for ‘pwc_template’)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:168: error: unknown field ‘name’
>> specified in initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:168: warning: excess elements in
>> struct initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:168: warning: (near initialization
>> for ‘pwc_template’)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:169: error: unknown field ‘type’
>> specified in initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:169: warning: excess elements in
>> struct initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:169: warning: (near initialization
>> for ‘pwc_template’)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:170: error: unknown field ‘hardware’
>> specified in initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:170: error: ‘VID_HARDWARE_PWC’
>> undeclared here (not in a function)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:170: warning: excess elements in
>> struct initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:170: warning: (near initialization
>> for ‘pwc_template’)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:171: error: unknown field ‘release’
>> specified in initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:171: error: ‘video_device_release’
>> undeclared here (not in a function)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:171: warning: excess elements in
>> struct initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:171: warning: (near initialization
>> for ‘pwc_template’)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:172: error: unknown field ‘fops’
>> specified in initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:172: warning: excess elements in
>> struct initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:172: warning: (near initialization
>> for ‘pwc_template’)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:173: error: unknown field ‘minor’
>> specified in initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:173: warning: excess elements in
>> struct initializer
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:173: warning: (near initialization
>> for ‘pwc_template’)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_isoc_init’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:921: warning: assignment from
>> incompatible pointer type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: At top level:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1017: warning: ‘struct class_device’
>> declared inside parameter list
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1017: warning: its scope is only
>> this definition or declaration, which is probably not what you want
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘cd_to_pwc’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1019: error: implicit declaration of
>> function ‘to_video_device’
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1019: warning: initialization makes
>> pointer from integer without a cast
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1020: error: implicit declaration of
>> function ‘video_get_drvdata’
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1020: warning: return makes pointer
>> from integer without a cast
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: At top level:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1023: warning: ‘struct class_device’
>> declared inside parameter list
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘show_pan_tilt’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1025: warning: passing argument 1 of
>> ‘cd_to_pwc’ from incompatible pointer type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: At top level:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1030: warning: ‘struct class_device’
>> declared inside parameter list
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘store_pan_tilt’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1032: warning: passing argument 1 of
>> ‘cd_to_pwc’ from incompatible pointer type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: At top level:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1046: error: expected ‘)’ before
>> ‘(’
>> token
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1049: warning: ‘struct class_device’
>> declared inside parameter list
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function
>> ‘show_snapshot_button_status’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1051: warning: passing argument 1 of
>> ‘cd_to_pwc’ from incompatible pointer type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: At top level:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1057: error: expected ‘)’ before
>> ‘(’
>> token
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function
>> ‘pwc_create_sysfs_files’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1062: warning: initialization makes
>> pointer from integer without a cast
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1064: error: implicit declaration of
>> function ‘video_device_create_file’
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1064: error:
>> ‘class_device_attr_pan_tilt’ undeclared (first use in this function)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1064: error: (Each undeclared
>> identifier is reported only once
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1064: error: for each function it
>> appears in.)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1065: error:
>> ‘class_device_attr_button’ undeclared (first use in this function)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function
>> ‘pwc_remove_sysfs_files’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1070: warning: initialization makes
>> pointer from integer without a cast
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1072: error: implicit declaration of
>> function ‘video_device_remove_file’
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1072: error:
>> ‘class_device_attr_pan_tilt’ undeclared (first use in this function)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1073: error:
>> ‘class_device_attr_button’ undeclared (first use in this function)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_open’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1112: error: implicit declaration of
>> function ‘video_devdata’
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1112: warning: initialization makes
>> pointer from integer without a cast
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1117: error: dereferencing pointer
>> to incomplete type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_close’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1231: error: dereferencing pointer
>> to incomplete type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_read’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1292: error: dereferencing pointer
>> to incomplete type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_poll’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1359: error: dereferencing pointer
>> to incomplete type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_ioctl’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1375: error: implicit declaration of
>> function ‘video_usercopy’
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘pwc_video_mmap’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1388: error: dereferencing pointer
>> to incomplete type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘usb_pwc_probe’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1722: error: implicit declaration of
>> function ‘video_device_alloc’
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1722: warning: assignment makes
>> pointer from integer without a cast
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1729: error: invalid application of
>> ‘sizeof’ to incomplete type ‘struct video_device’
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1730: error: dereferencing pointer
>> to incomplete type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1731: error: dereferencing pointer
>> to incomplete type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1732: error: dereferencing pointer
>> to incomplete type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1733: error: implicit declaration of
>> function ‘video_set_drvdata’
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1756: error: dereferencing pointer
>> to incomplete type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1757: error: implicit declaration of
>> function ‘video_register_device’
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1757: error: ‘VFL_TYPE_GRABBER’
>> undeclared (first use in this function)
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1760: error: implicit declaration of
>> function ‘video_device_release’
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1765: error: dereferencing pointer
>> to incomplete type
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c: In function ‘usb_pwc_disconnect’:
>> /home/alex/pwc-10.0.12-rc1/pwc-if.c:1819: error: implicit declaration of
>> function ‘video_unregister_device’
>> make[2]: *** [/home/alex/pwc-10.0.12-rc1/pwc-if.o] Error 1
>> make[1]: *** [_module_/home/alex/pwc-10.0.12-rc1] Error 2
>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-14-generic'
>> make: *** [all] Error 2
>>
>>
>> _______________________________________________
>> pwc mailing list
>>
>> http://lists.saillard.org/mailman/listinfo/pwc
>>
>
>
> _______________________________________________
> pwc mailing list
>
> http://lists.saillard.org/mailman/listinfo/pwc
>
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|