Skip to contentSkip to conversation

help for loading pwc module

DISCUSSION Beffe 1 participant 1 message Aug 30, 2002

lore
Share & tools
lore

Beffe

author
#0 lore raw

Hi List,

first thanks for your great work on hotplug, i like it.

Now i have a Philips Webcam, the PCVC680K "Vesta Pro" and i don't know how to tell hotplug to load the pwc module.

when i plug it in, hotplug says:
{syslog}/etc/hotplug/usb.agent: ... no modules for USB product 471/308/6

the entry in /proc/bus/usb/devices looks like this:

T:  Bus Lev Prnt Port Cnt Dev#=  6 Spd  MxCh= 0
D:  Ver= 1.10 Cls(>ifc ) Sub Prot MxPS= 8 #Cfgs=  1
P:  Vendor71 ProdID08 Rev= 0.06
S:  SerialNumber130211A0105BF5
C:* #Ifs= 3 Cfg#= 1 Atr  MxPwrP0mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls
(data ) Subÿ Prot Driver=(none)
E:  Ad‚(I) Atr(Int.) MxPS=   1 Ivl0ms
E:  Ad„(I) Atr(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 1 #EPs= 2 Cls
(data ) Subÿ Prot Driver=(none)
E:  Ad‚(I) Atr(Int.) MxPS=   1 Ivl0ms
E:  Ad„(I) Atr(Isoc) MxPS= 196 Ivl=1ms
I:  If#= 0 Alt= 2 #EPs= 2 Cls
(data ) Subÿ Prot Driver=(none)
E:  Ad‚(I) Atr(Int.) MxPS=   1 Ivl0ms
E:  Ad„(I) Atr(Isoc) MxPS= 292 Ivl=1ms
I:  If#= 0 Alt= 3 #EPs= 2 Cls
(data ) Subÿ Prot Driver=(none)
E:  Ad‚(I) Atr(Int.) MxPS=   1 Ivl0ms
E:  Ad„(I) Atr(Isoc) MxPS= 448 Ivl=1ms
I:  If#= 0 Alt= 4 #EPs= 2 Cls
(data ) Subÿ Prot Driver=(none)
E:  Ad‚(I) Atr(Int.) MxPS=   1 Ivl0ms
E:  Ad„(I) Atr(Isoc) MxPS= 592 Ivl=1ms
I:  If#= 0 Alt= 5 #EPs= 2 Cls
(data ) Subÿ Prot Driver=(none)
E:  Ad‚(I) Atr(Int.) MxPS=   1 Ivl0ms
E:  Ad„(I) Atr(Isoc) MxPS= 704 Ivl=1ms
I:  If#= 0 Alt= 6 #EPs= 2 Cls
(data ) Subÿ Prot Driver=(none)
E:  Ad‚(I) Atr(Int.) MxPS=   1 Ivl0ms
E:  Ad„(I) Atr(Isoc) MxPS= 776 Ivl=1ms
I:  If#= 0 Alt= 7 #EPs= 2 Cls
(data ) Subÿ Prot Driver=(none)
E:  Ad‚(I) Atr(Int.) MxPS=   1 Ivl0ms
E:  Ad„(I) Atr(Isoc) MxPS= 840 Ivl=1ms
I:  If#= 0 Alt= 8 #EPs= 2 Cls
(data ) Subÿ Prot Driver=(none)
E:  Ad‚(I) Atr(Int.) MxPS=   1 Ivl0ms
E:  Ad„(I) Atr(Isoc) MxPS= 896 Ivl=1ms
I:  If#= 0 Alt= 9 #EPs= 2 Cls
(data ) Subÿ Prot Driver=(none)
E:  Ad‚(I) Atr(Int.) MxPS=   1 Ivl0ms
E:  Ad„(I) Atr(Isoc) MxPS= 960 Ivl=1ms
I:  If#= 1 Alt= 0 #EPs= 0 Cls(audio) Sub Prot Driver=(none)
I:  If#= 2 Alt= 0 #EPs= 1 Cls(audio) Sub Prot Driver=(none)
E:  Ad…(I) Atr(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 2 Alt= 1 #EPs= 1 Cls(audio) Sub Prot Driver=(none)
E:  Ad…(I) Atr(Isoc) MxPS=  90 Ivl=1ms
I:  If#= 2 Alt= 2 #EPs= 1 Cls(audio) Sub Prot Driver=(none)
E:  Ad…(I) Atr(Isoc) MxPS=  46 Ivl=1ms
I:  If#= 2 Alt= 3 #EPs= 1 Cls(audio) Sub Prot Driver=(none)
E:  Ad…(I) Atr(Isoc) MxPS=  25 Ivl=1ms
I:  If#= 2 Alt= 4 #EPs= 1 Cls(audio) Sub Prot Driver=(none)
E:  Ad…(I) Atr(Isoc) MxPS=  16 Ivl=1ms

now i tried several lines in usb.distmap, usb.handmap and usb.usermap, the last try was:
pwc 0x0003 0x0471 0x0308 0x0000 0x0000
0x00 0x00 0x00 0x00 0x00
0x00 0x00000000

but nothing worked. Always " ... no modules for USB product 471/308/6"

Can anybody tell me the right line??
Thanks in advance.

Just for understanding:
this line in usb.distmap would try to load the pwc kernel module, while this line in usb.usermap would execute a script called /etc/hotplub/usb/pwc ? is this right? i have this script but it is not executed.

What are these parameters, especially the match_flags?

It would be great if one could help.
Bye,
Beffe

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel