Setting I2C Bus frequency

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Setting I2C Bus frequency
# 1  
Old 11-11-2009
Question Setting I2C Bus frequency

Hi All,

For Linux Kernel 2.6.26 :

I am using a I2C bus for command interface from my system when connecting to different devices. I have different I2C frequency requirements from different devices. Can you please suggest me a way to set the I2C frequency based on the device in use at runtime?

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Is there a difference between setting a user as nologin and setting it as a role?

Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users. In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies

2. Programming

Bus Error: 10...Help please!

Hi all, I am writing a phonebook program to store names and number using a list. Here is the code for the function which allows the user to enter the name and number (where the error occurs). //THIS FUNCTION ADDS A NEW ENTRY TO THE phonebook_list void insert(void){ //variables int... (5 Replies)
Discussion started by: kdejan
5 Replies

3. Programming

Bus error

Hi everyone, I have a GUI project and when I run it and left in idle state for a long time(there is nothing done, just opened GUI, no more actions),I get bus error after trying to do anything with it. I've tried to build it in debug mode and use gdb, but I don't get any error in debug mode.It... (3 Replies)
Discussion started by: sisi
3 Replies

4. HP-UX

Bus Error

I am getting bus error when i include "#!/bin/ksh". If i remove interpreter then script is working. Can anyone explain this and how can i avoid this error? Operating System is HP-UX B.11.23 U 9000/800 1091834454 (2 Replies)
Discussion started by: anbu23
2 Replies

5. Solaris

SUNWglmr -- rasctrl environment monitoring driver for i2c or SCSI device driver ?

I've been researching minimizeing Solaris 8 and found that on the web page the package SUNWglmr is listed as "rasctrl environment monitoring driver for i2c, (Root) (32-bit)" while in the document "Solaris 8 minimize-updt1.pdf"... (1 Reply)
Discussion started by: roygoodwin
1 Replies

6. Programming

BUS error

Hi! I've got a program which runs fine under Linux, but I have compiled it to run under SunOS 5.8 in a Sparc computer, and now it sometimes fails with "bus error". Ussing gdb I surfed to the error line, which is *pointer = some_vector; where some_vector is a 16 byte struct (4 integers)... (1 Reply)
Discussion started by: shesatmine
1 Replies

7. UNIX for Dummies Questions & Answers

bus error on solaris

Hi there I am running soalris 9 on a sun fire 480r and all of a sudden (today) whenever the users run the command `top` we get the following message `bus error` does anybody have any information on what this is all about and whether there is a routine i can perform to gather more... (3 Replies)
Discussion started by: hcclnoodles
3 Replies

8. UNIX for Dummies Questions & Answers

Bus Error

This may belong in the C Programming forum, but here goes anyway... What would cause a bus error? I searched google for a cause, but came up with some conflicting reports... Could it be caused by disk space? A lot of the pages I found mentioned linking with the incorrect versions of the... (4 Replies)
Discussion started by: LivinFree
4 Replies
Login or Register to Ask a Question
eeprog(8)						       System Administration							 eeprog(8)

eeprog - reads and writes 24Cxx EEPROMs connected to I2C serial bus. SYNOPSIS
eeprog [-fqxdh] [-16|-8] [-r addr[:count]|-w addr] <device> <i2c-addr> DESCRIPTION
eeprog uses the SMBus protocol used by most of the recent chipsets. NOTE
Don't forget to load your i2c chipset and the i2c-dev drivers. The following environment variables could be set instead of the command line arguments: EEPROG_DEV device EEPROG_I2C_ADDR i2c-addr PARAMETERS
Address modes -8 Use 8bit address mode for 24c0x...24C16 [default] -16 Use 16bit address mode for 24c32...24C256 Actions -r addr[:count] Read count (1 if omitted) bytes from addr and print them to the standard output -w addr Write input (stdin) at address addr of the EEPROM -h Print this help Options -x Set hex output mode -d Dummy mode, display what *would* have been done -f Disable warnings and don't ask confirmation -q Quiet mode Bus device Device file representing the I2C bus (eg. /dev/i2c-0) i2c-addr I2C bus address of the EEPROM (eg. 0x3A) EXAMPLES
Read 64 bytes from the EEPROM at address 0x54 on bus 0 starting at address 123 (decimal) eeprog /dev/i2c-0 0x54 -r 123:64 Print the hex codes of the first 32 bytes read from bus 1 at address 0x22 eeprog /dev/i2c-1 0x51 -x -r 0x22:0x20 Write the current timestamp at address 0x200 of the EEPROM on bus 0 at address 0x33 date | eeprog /dev/i2c-0 0x33 -w 0x200 SEE ALSO
eeprom(8) eepromer(8) AUTHOR
Stefano Barbato <> i2c-tools Jul 2013 eeprog(8)