Re: How do I choose an arbitrary minor number for my tty device?

From: Timur Tabi
Date: Thu Nov 18 2010 - 11:37:16 EST


Greg KH wrote:
> If all you want is a tty driver, then just write a tty driver. No need
> for character device nodes or any of that other stuff. Just assign
> minor numbers to the device, create it, attach it to the tty core, and
> away you go.

What I would like to do is have some control over the name or minor number of
the /dev entry.

> I think you are going to have to show code here to get any kind of a
> better response out of me as I don't think we are understanding each
> other here, sorry.

I'll have to email it to you directly, since it's not authorized for public
distribution just quite yet.

--
Timur Tabi
Linux kernel developer at Freescale

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/