Re: Probe method vs attach method.

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

 



On Tue, Dec 15, 2009 at 12:04:33PM -0600, LKomz Komz wrote:
> Thanks Pei and Greg. I got it to compile without errors and working by
> moving to the new method.!!!!
> One issue though is:-
> 
> Would it be possible to run a usermode driver to access an i2c device when I
> am not exercising the kernel mode driver (i.e without rmmode - ing the
> driver)? (Basically it boils down to can drivers of two nature - i.e kernel
> mode and user mode , access the same part one after the other without any
> problem?)

Without any problem, maybe, but you are taking big chances on doing
that, as they both don't know about the other.

It is generally preferred to only have one controller of the hardware,
be it in the kernel, or in userspace.

So please pick just one.

good luck,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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