Re: USB-skeleton kref query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 24, 2006 at 11:21:26AM +0530, Mukund JB. wrote:
> Hi Greg, 
> 
> >> Dear Linux Team,
> >>
> >> I am trying to understand the USB Architecture and write my own
> client
> >> driver under Linux and some mew concepts of 2.6.x.
> >
> >What kind of "client driver"?
> 
> Thanks for the response. Delayed as I was out these days.
> It is a USB based finger print authentication device.

Ah, I have one of these too on my laptop, which one?  Mine is from
AuthenTec:

T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs=  1
P:  Vendor=08ff ProdID=2580 Rev= 6.21
S:  Product=Fingerprint Sensor
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=   8 Ivl=0ms

> >> My point of about kref
> >> ----------------------
> >> Used when the multiple threads are involved within the driver.
> >> I am not sure whether this can be when there are no thread within the
> >> driver and to control the Process synchronization. Can I get some
> >> clarity on this?
> >
> >Have you read the kref documentation that is in the kernel tree:
> >	Documentation/kref.txt
> 
> I am unsing 2.6.11.12. I found none.

That kernel version is almost a year old, you might want to use a newer
one :)

Also, things have changed with the USB core, so you will need to change
your driver to make it into mainline eventually, it's easier just to
work on the latest version.

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux