LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 11-13-2009, 12:21 PM   #1
saurabhchokshi
Member
 
Registered: May 2007
Posts: 35

Rep: Reputation: 15
i2c_probe() vs i2c_detect()


Hello ,

I am posting with reference to the thread on linux kernel.

http://lkml.indiana.edu/hypermail/li...04.0/0495.html

I am currently writing i2c driver for Power Supply. I also have the same query.

Whenever I insert the module, and if the i2c_detect detects the device
with address mentioned in normal_i2c array, then mydriver_detect gets
called.

However, I was just wondering that when i2c_probe gets called. You can
explicitly call i2c_probe and pass i2c_attach function pointer. Could
you please share your knowledge with me?


Thanks,
Saurabh Chokshi
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
i2c_probe crashes bhomass Debian 1 11-26-2005 11:20 PM


All times are GMT -5. The time now is 05:37 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration