LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 07-18-2005, 01:55 AM   #1
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
How to identify files in /sys/bus/i2c/devices/


Hi, I just installed torsmo and I really love it.
This question may not be related to torsmo directly, I think it has more to do with I2C.

Now my question is:
How do you identify which file in /sys/bus/i2c/devices/ is related to which hardware(CPU, etc)? I have the following files there.

-------------------------------------
$ ls -l /sys/bus/i2c/devices/
total 0
lrwxrwxrwx 1 root root 0 Jul 18 15:28 0-0290 -> ../../../devices/platform/i2c-0/0-0290
lrwxrwxrwx 1 root root 0 Jul 18 15:28 1-0050 -> ../../../devices/pci0000:00/0000:00:11.0/i2c-1/1-0050
lrwxrwxrwx 1 root root 0 Jul 18 15:28 1-0051 -> ../../../devices/pci0000:00/0000:00:11.0/i2c-1/1-0051
------------------------------------------------------

As you can see they are all symbolic links.

Thanks for your help.
 
  


Reply



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 04:58 PM
torsmo error scandir for /sys/bus/i2c/devices/: No such file or directory KaZiber Linux - General 2 04-17-2005 02:41 AM
/proc/bus/usb is empty under 2.6.7 (but only one 1 sys) jg167 Linux - Newbie 3 08-02-2004 03:29 AM
apcupsd /sys/bus/usb/drivers/hiddev missing Toscana Linux - Hardware 3 07-16-2004 07:56 AM
Unable to find i2c bus information ? OneManArmy Debian 1 05-16-2004 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:06 PM.

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
Open Source Consulting | Domain Registration