lkml.org 
[lkml]   [2006]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: clarity on kref needed.
Date
From


> -----Original Message-----
> From: Greg KH [mailto:greg@kroah.com]
> Sent: Thursday, January 19, 2006 10:33 AM
> To: Mukund JB.
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: clarity on kref needed.
>
>
> On Thu, Jan 19, 2006 at 10:15:51AM +0530, Mukund JB. wrote:
> >
> > > > I have gone through kref and am planning to implement then
> > > in my usb driver.
> > >
> > > What kind of usb driver?
> > It is a finger print authentication USB driver. it doesn ot do the
> > authgentication but transports data to the application which really
> > does some processing.
>
> You shouldn't need a kernel driver for this, it can be done
> in userspace
> with libusb/usbfs, right?

I mean I will register a char driver. I will just write a simple char kernel module to read data from the USB device and
zero copy it to the userspace application. I guess that is the minimum work we need to do.

Is there any other way using libusb/usbfs in which we can do this without a need of USB kernel driver?

> > No, I did not find any Documentation/kref.txt.
> > But I have read about kred in the link below:
> >
> http://developer.osdl.org/dev/robustmutexes/src/fusyn.hg/Docum
entation/kref.txt
> >
> >Is kref depricated because I find nothing related to it in linux/Documentation/?

> What kernel version are you looking at? Look in the kernel source tree
> from kernel.org. What kernel tree are you building your driver against.

I am planning it for 2.6.11.12.

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

\
 
 \ /
  Last update: 2006-01-19 06:16    [W:0.023 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site