Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-21-2013, 12:37 AM   #1
LQ Newbie
Registered: Dec 2012
Posts: 4

Rep: Reputation: Disabled
Linux I2c driver from scratch

Hello, I am trying to write linux i2c drivers for omap4460 panda board. Interfacing Hmc5883l sennsor to omap through i2c interface. Do I need to write only the client diver or both client and bus driver. I am using linux ubuntu on panda board. Kidly give me pointers where do i start with.


Last edited by Anamr; 02-21-2013 at 12:38 AM.
Old 03-01-2013, 06:18 AM   #2
Registered: Jan 2011
Posts: 91

Rep: Reputation: 8
I would read the files under Documentation/i2c and drivers/i2c in the kernel source directory.


devicedrivers, driver, kernel module

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
i2c driver vishal_rockstar Linux - Software 0 06-27-2012 06:50 AM
How to forward IOCTL's from i2c-dev.c to adapter driver (i2c-rt3352.c) Linux - Kernel 2 08-23-2011 02:03 AM
Linux I2C Driver support for Intel QM57 raj010 Linux - Newbie 2 11-03-2010 11:21 PM
Linux Driver Testing(I2C , Ethernet etc.) raj010 Linux - Software 1 10-17-2010 07:39 PM

All times are GMT -5. The time now is 02:38 PM.

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