pwc
[Top] [All Lists]

[pwc] How to get pwc driver working in Fedora FC 6?

To: pwc list <>
Subject: [pwc] How to get pwc driver working in Fedora FC 6?
From: jlohikos <>
Date: Wed, 28 May 2008 02:55:57 +0300
I've never been able to get Quickcam 2000 work on Fedora FC6 system.

The drivers in the built in kernels does not work.

When trying to compile, install and load the pwc driver manually, it fails to
be loaded into the running kernel. (see below)
If forced to load into the kernel, it crashes. (see below)

For example the log below is got with pwc-v4l2-20071123-042701
(from pwc_10.0.13-beta1.orig.tar.bz2).
It compiles and instals nicely, but when loaded it does not work with kernel
2.6.22.14-72.fc6


# modprobe pwc
FATAL: Error inserting pwc 
(/lib/modules/2.6.22.14-72.fc6/kernel/drivers/usb/media/pwc.ko): Unknown symbol 
in module, or unknown parameter (see dmesg)
 pwc-v4l2-20071123-042701]# May 28 00:56:23 localhost kernel: 
pwc: disagrees about version of symbol video_devdata
May 28 00:56:23 localhost kernel: pwc: Unknown symbol video_devdata
May 28 00:56:23 localhost kernel: pwc: disagrees about version of symbol 
video_unregister_device
May 28 00:56:23 localhost kernel: pwc: Unknown symbol video_unregister_device
May 28 00:56:23 localhost kernel: pwc: disagrees about version of symbol 
video_device_alloc
May 28 00:56:23 localhost kernel: pwc: Unknown symbol video_device_alloc
May 28 00:56:23 localhost kernel: pwc: disagrees about version of symbol 
video_register_device
May 28 00:56:23 localhost kernel: pwc: Unknown symbol video_register_device
May 28 00:56:23 localhost kernel: pwc: disagrees about version of symbol 
video_device_release
May 28 00:56:23 localhost kernel: pwc: Unknown symbol video_device_release

 src]# modinfo pwc
filename:       /lib/modules/2.6.22.14-72.fc6/kernel/drivers/usb/media/pwc.ko
version:        10.0.13
alias:          pwcx
license:        GPL
author:         Luc Saillard <>
description:    Philips & OEM USB webcam driver
srcversion:     05A18D5DCBFD7CC8468FA7C
alias:          usb:v0D81p1900d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0D81p1910d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v06BEp8116d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04CCp8116d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v041Ep4011d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v041Ep400Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v055Dp9002d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v055Dp9001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v055Dp9000d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v046Dp08B8d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v046Dp08B7d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v046Dp08B6d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v046Dp08B5d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v046Dp08B4d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v046Dp08B3d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v046Dp08B2d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v046Dp08B1d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v046Dp08B0d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v069Ap0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0329d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0313d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0312d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0311d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0310d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p030Cd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0308d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0307d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0304d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0303d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0471p0302d*dc*dsc*dp*ic*isc*ip*
depends:        videodev,v4l2-common,compat_ioctl32
vermagic:       2.6.22.14-72.fc6 SMP mod_unload
parm:           size:Initial image size. One of sqcif, qsif, qcif, sif, cif, 
vga (charp)
parm:           fps:Initial frames per second. Varies with model, useful range 
5-30 (int)
parm:           fbufs:Number of internal frame buffers to reserve (int)
parm:           mbufs:Number of external (mmap()ed) image buffers (int)
parm:           trace:For debugging purposes (int)
parm:           power_save:Turn power save feature in camera on or off (int)
parm:           compression:Preferred compression quality. Range 0 
(uncompressed) to 3 (high compression) (int)
parm:           leds:LED on,off time in milliseconds (array of int)
parm:           dev_hint:Device node hints (array of charp)


 src]# modprobe -f pwc
Segmentation fault
 src]# May 28 01:00:36 localhost kernel: pwc: no version for 
"struct_module" found: kernel tainted.
May 28 01:00:36 localhost kernel: pwc: no version magic, tainting kernel.
May 28 01:00:36 localhost kernel: pwc: Philips webcam module version 10.0.13 
loaded.
May 28 01:00:36 localhost kernel: pwc: Supports Philips PCA645/646, 
PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
May 28 01:00:36 localhost kernel: pwc: Also supports the Askey VC010, various 
Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
May 28 01:00:36 localhost kernel: pwc: the Creative WebCam 5 & Pro Ex, SOTEC 
Afina Eye and Visionite VCS-UC300 and VCS-UM100.
May 28 01:00:36 localhost kernel: pwc: no version magic, tainting kernel.
May 28 01:00:36 localhost kernel: pwc: Philips webcam module version 10.0.13 
loaded.
May 28 01:00:36 localhost kernel: pwc: Supports Philips PCA645/646, 
PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
May 28 01:00:36 localhost kernel: pwc: Also supports the Askey VC010, various 
Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
May 28 01:00:36 localhost kernel: pwc: the Creative WebCam 5 & Pro Ex, SOTEC 
Afina Eye and Visionite VCS-UC300 and VCS-UM100.
May 28 01:00:36 localhost kernel: pwc: Logitech QuickCam 4000 Pro USB webcam 
detected.
May 28 01:00:36 localhost kernel: videodev: "" has no release callback. Please 
fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/
May 28 01:00:36 localhost kernel: pwc: Registered as /dev/video0.
May 28 01:00:36 localhost kernel: ------------[ cut here ]------------

Message from  at Wed May 28 01:00:36 2008 ...
localhost kernel: ------------[ cut here ]------------

Message from  at Wed May 28 01:00:37 2008 ...
localhost kernel: invalid opcode: 0000 [1] SMP
May 28 01:00:36 localhost kernel: kernel BUG at fs/sysfs/file.c:476!
May 28 01:00:36 localhost kernel: invalid opcode: 0000 [1] SMP
May 28 01:00:36 localhost kernel: last sysfs file: 
/class/net/wlan0/statistics/collisions
May 28 01:00:36 localhost kernel: CPU 0
May 28 01:00:36 localhost kernel: Modules linked in: pwc(F)(U) 
compat_ioctl32(U) snd_rtctimer cifs nls_utf8 ipv6 autofs4 hidp rfcomm l2cap 
sunrpc nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state 
nf_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables 
cpufreq_ondemand fuse video sbs button dock battery ac parport_pc lp parport 
arc4 ecb blkcipher joydev rc80211_simple bcm43xx_mac80211 ssb mac80211 ohci1394 
shpchp r8169 cfg80211 snd_usb_audio fglrx(P)(U) i2c_viapro k8temp 
snd_via82xx_modem hwmon snd_via82xx gameport snd_ac97_codec ac97_bus 
snd_mpu401_uart snd_seq_dummy dvb_pll(U) snd_seq_oss zl10353(U) 
snd_seq_midi_event snd_seq snd_pcm_oss mt352(U) snd_mixer_oss snd_pcm snd_timer 
snd_page_alloc dvb_usb_anysee(U) snd_usb_lib dvb_usb(U) snd_rawmidi 
snd_seq_device dvb_core(U) i2c_core snd_hwdep videodev(U) snd v4l1_compat(U) 
soundcore serio_raw ide_cd cdrom hci_usb bluetooth dm_snapshot dm_zero 
dm_mirror dm_mod sata_via libata sd_mod scsi_mod ext3 jbd mbcache ehci_hcd 
ohci_hcd uhci_hcd
May 28 01:00:36 localhost kernel: Pid: 6746, comm: modprobe Tainted: PF      
2.6.22.14-72.fc6 #1
May 28 01:00:36 localhost kernel: RIP: 0010:[<ffffffff810d65ef>]  
[<ffffffff810d65ef>] sysfs_create_file+0x19/0x2b
May 28 01:00:36 localhost kernel: RSP: 0018:ffff8100214d9c90  EFLAGS: 00010202
May 28 01:00:36 localhost kernel: RAX: 00000000ffffff01 RBX: ffff810014719400 
RCX: 0000000000007a2a
May 28 01:00:36 localhost kernel: RDX: 00000000ffffff00 RSI: ffffffff886d7b60 
RDI: ffff81000aacbb58
May 28 01:00:36 localhost kernel: RBP: ffff810014719400 R08: 00000000ffffffff 
R09: 0000000000000020
May 28 01:00:36 localhost kernel: R10: 0000000000000000 R11: 0000000000000000 
R12: ffff81000aacbb48
May 28 01:00:37 localhost kernel: R13: ffffffff886dab44 R14: 0000000000000000 
R15: ffff81003edf3000
May 28 01:00:37 localhost kernel: FS:  00002aaaaaac9230(0000) 
GS:ffffffff813ec000(0000) knlGS:00000000f7fd96c0
May 28 01:00:37 localhost kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 
000000008005003b
May 28 01:00:37 localhost kernel: CR2: 00007fff4b66cfd0 CR3: 000000002437a000 
CR4: 00000000000006e0
May 28 01:00:37 localhost kernel: Process modprobe (pid: 6746, threadinfo 
ffff8100214d8000, task ffff810014722000)
May 28 01:00:37 localhost kernel: Stack:  ffffffff886c54a9 ffff8100214d9ca8 
ffffffff00000000 ffff8100214d9cb8
May 28 01:00:37 localhost kernel:  000008b20000046d 0000000000000000 
0000000000000000 0000000000000000
May 28 01:00:37 localhost kernel:  ffff000000000000 ffff81003f16e000 
ffff81003edf3020 0000000000000000
May 28 01:00:37 localhost kernel: Call Trace:
May 28 01:00:37 localhost kernel:  [<ffffffff886c54a9>] 
:pwc:usb_pwc_probe+0x8bd/0x98b
May 28 01:00:37 localhost kernel:  [<ffffffff811c5697>] 
usb_probe_interface+0xa7/0xde
May 28 01:00:37 localhost kernel:  [<ffffffff811887be>] 
driver_probe_device+0xff/0x17c
May 28 01:00:37 localhost kernel:  [<ffffffff81188983>] 
__driver_attach+0x90/0xcc
May 28 01:00:37 localhost kernel:  [<ffffffff811888f3>] __driver_attach+0x0/0xcc
May 28 01:00:37 localhost kernel:  [<ffffffff811888f3>] __driver_attach+0x0/0xcc
May 28 01:00:37 localhost kernel:  [<ffffffff81187b4c>] 
bus_for_each_dev+0x43/0x6e
May 28 01:00:37 localhost kernel:  [<ffffffff81187ec4>] 
bus_add_driver+0x7b/0x19d
May 28 01:00:37 localhost kernel:  [<ffffffff811c5192>] 
usb_register_driver+0x7e/0xe1
May 28 01:00:37 localhost kernel:  [<ffffffff81050a02>] 
sys_init_module+0x163f/0x17a1
May 28 01:00:37 localhost kernel:  [<ffffffff81009b5e>] system_call+0x7e/0x83
May 28 01:00:37 localhost kernel:
May 28 01:00:37 localhost kernel:
May 28 01:00:37 localhost kernel: Code: 0f 0b eb fe 48 8b 7f 48 ba 04 00 00 00 
e9 50 ff ff ff 41 54
May 28 01:00:37 localhost kernel: RIP  [<ffffffff810d65ef>] 
sysfs_create_file+0x19/0x2b
May 28 01:00:37 localhost kernel:  RSP <ffff8100214d9c90>


_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU