> You also have the source, so look for register_chrdev.
> Eg. in a driver that uses dynamic major assignment in 2.4, you'd
> see something like ...
>
> /* Register ourselves as a char device so that the file
> * operations can be tested.
> */
> major = register_chrdev(0, name, &fake_fops);
> if (major < 0) {
> MSG(" * major assignment failed with error
> %d\n", major);
> return major;
> }
Hmmm. Pwc doesn't seem to be using this method, as register_chrdev
doesn't show up in any of the pwc* sources. I checked the 10.0.4 patch
and its not in their either.
...(an hour of printk'ing later)...
Ah HA! There's a function called usb_pwc_probe which is supposed to
register these devices, and it seems to be missing the definition of
my camera. From the 10.0.4 sources I grabbed two fragments:
{ USB_DEVICE(0x0471, 0x0329) }, /* Philips SPC 900NC PC Camera */
case 0x0329:
Info("Philips SPC 900NC USB webcam detected.\n");
name = "Philips SPC 900NC webcam";
type_id = 720;
break;
and pasted them in the appropriate places, rebuilt, reloaded, and
(trumpet fanfare) there it is!
Thank you SO much!
--Jeff
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|