[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to create a device in an LKM
On Sun, 2006-03-05 at 12:05 +0530, pradeep singh wrote:
>
>
> On 3/1/06, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> On Wed, 2006-03-01 at 10:48 +0530, kishore wrote:
> > Can any one
> > suggest how to resolve the problem.
> > Thanks in advance.
>
>
> if you use the proper sysfs interfaces (and most subsystems do
> that for
> you) then udev will automatically generate the right device
> nodes for
> you in userspace.
>
> Arjan , i think kishore is working on 2.4.x kernel.
he didn't say that, and as such we all assumed he was working on
non-antique kernels ....
> Is sysfs ported to 2.4.x too?
no
>
> If not then i think using sysfs interfaces is not possible. :-)
and nothing else is possible either then... (2.4 just can't do this) at
least without creating big security holes etc etc
>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/