Hi!

On Monday 14 December 2009 16:12:12 Greg KH wrote:
> On Mon, Dec 14, 2009 at 11:34:09AM +0100, Bjoern Hinrichs wrote:
> > I want a device node (e.g. /dev/titan) to be generated automatically for
> > my device. I was expecting udev to do so using a default name, but it is
> > not. Because of that I started comparing uevents with other drivers and
> > saw that they are seeing additional uevents, therefore I thought that
> > that my mistake was there.
>
> Ah, to do that you need to pass a device major:minor to the function you
> used to create your struct device in the kernel.
>
> But usually that is done already by the class-specific code that your
> device uses to talk to the rest of the kernel (input, misc, network,
> etc.)
> 
> What type of device is this?  And have you properly hooked it up to the
> class for it?

It's a frame grabber and no, I didn't hook it up to a class at all. I 
completely missed that part somehow. I'm reading up on that right now.
 
> Hope this helps,

It definitely does, thank you very much,

Björn

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to