ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Can't get USB Webcam to work in tskernel-2.4.26-ts11

To:
Subject: Re: [ts-7000] Re: Can't get USB Webcam to work in tskernel-2.4.26-ts11
From: David Hawkins <>
Date: Mon, 18 Jun 2007 09:04:16 -0700
jcunningham63 wrote:
>> 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! 

Hey, great detective work!
Dave


 
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/
 

<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