LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-14-2009, 03:48 AM   #1
mist_4u
LQ Newbie
 
Registered: Jul 2008
Location: Bangalore
Posts: 7

Rep: Reputation: 0
Lightbulb Could not set I2C Bus Busy bit to zero


I am using the i2c to communicate with my device. There is no error as such but a lot of warning messages "I2C adapter i2c-0: Could not set I2C Bus Busy bit to zero." coming from the i2c driver. Is there a way to get ride of these warnings?
My linux kernel version is 2.6.28.
 
Old 10-14-2009, 09:04 PM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
AFAIK
if you try to set the bit to zero
it will just set the bit back to one on the next clock tick
 
Old 10-15-2009, 01:00 AM   #3
mist_4u
LQ Newbie
 
Registered: Jul 2008
Location: Bangalore
Posts: 7

Original Poster
Rep: Reputation: 0
in linux-2.6.26/drivers/i2c/busses/mxc_i2c.c there is a function mxc_i2c_stop() that prints the above warning when 16 retries fail. I trying to figure out a way to get rid of this warning if possible and save some clock cycles.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LM Sensors Help, Can't access procfs/sysfs file Unable to find i2c bus information; Whiskers Linux - Software 16 11-03-2008 05:58 PM
Memory bus is 64 bit but data access and register is only 32 bit for i386 lilzz Linux - Newbie 3 09-02-2006 01:35 AM
How to identify files in /sys/bus/i2c/devices/ koyi Linux - Hardware 0 07-18-2005 02:55 AM
torsmo error scandir for /sys/bus/i2c/devices/: No such file or directory KaZiber Linux - General 2 04-17-2005 03:41 AM
Unable to find i2c bus information ? OneManArmy Debian 1 05-16-2004 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:00 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration