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: Sun, 17 Jun 2007 22:27:08 -0700

> Thanks, Dave. Here's what I get. Looks like 81 is right for the major,
> but the name doesn't agree with the name of the driver, which is pwc.o
> or videodev.o, I'm not sure which.  

Right, you can register a driver name with the register_chrdev, and
that's what shows up in /proc/devices. Take a look in the code,
and I'm sure that'll be what you find.

> :setpwc-1.2# cat /proc/devices
> Character devices:
>   1 mem
>   2 pty/m%d
>   3 pty/s%d
>   4 tts/%d
>   5 cua/%d
>   7 vcs
>  10 misc
>  29 fb
>  81 video_capture
>  90 mtd
> 128 ptm
> 129 ptm
> 130 ptm
> 131 ptm
> 136 pts/%d
> 137 pts/%d
> 138 pts/%d
> 139 pts/%d
> 162 raw
> 180 usb
> 204 ttyAM%d
> 205 cuaam%d
> 
> Is there anything significant about the fact that my drivers are .o's
> and your's is a .ko?

Not really. The driver was running on a 2.6 system, and
thats the extension the 2.6 kernel uses.

Hmm, I would imagine that if you have created a
/dev/node with major 81, then the driver is being called.
Put a printk() statement in the init() function of the
driver and use dmesg to see the printk output.

Then iterate :)

Look on the bright-side, you'll get to learn about drivers ;)

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