All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] help with i2cdetect
@ 2012-08-01 23:10 ed in 92626
  2012-08-01 23:42 ` Guenter Roeck
  2012-08-02  6:18 ` Jean Delvare
  0 siblings, 2 replies; 3+ messages in thread
From: ed in 92626 @ 2012-08-01 23:10 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 400 bytes --]

Hi,

I am using your software for the first time.
Does it work on Fedora17, kernel 3.1.0?

When I run it, 'i2cdetect -l' I get no devices back.

When I try i2cdump 0xa8 3 I get
could not open file /dev/;i2c/168.

A8 is he address of my DIMM memory modue.

Does every i2c device need to have an entry in
/dev? I checked two machines and don't see
any i2c under /dev.

thanks if you have any info.

Ed

[-- Attachment #1.2: Type: text/html, Size: 610 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] help with i2cdetect
  2012-08-01 23:10 [lm-sensors] help with i2cdetect ed in 92626
@ 2012-08-01 23:42 ` Guenter Roeck
  2012-08-02  6:18 ` Jean Delvare
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2012-08-01 23:42 UTC (permalink / raw)
  To: lm-sensors

On Wed, Aug 01, 2012 at 04:10:41PM -0700, ed in 92626 wrote:
> Hi,
> 
> I am using your software for the first time.
> Does it work on Fedora17, kernel 3.1.0?
> 
> When I run it, 'i2cdetect -l' I get no devices back.
> 
> When I try i2cdump 0xa8 3 I get
> could not open file /dev/;i2c/168.
> 
> A8 is he address of my DIMM memory modue.
> 
> Does every i2c device need to have an entry in
> /dev? I checked two machines and don't see
> any i2c under /dev.
> 
> thanks if you have any info.
> 
Execute "sudo modprobe i2c-dev" first. Otherwise you won't see the i2c devices
in /dev.

Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] help with i2cdetect
  2012-08-01 23:10 [lm-sensors] help with i2cdetect ed in 92626
  2012-08-01 23:42 ` Guenter Roeck
@ 2012-08-02  6:18 ` Jean Delvare
  1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2012-08-02  6:18 UTC (permalink / raw)
  To: lm-sensors

On Wed, 1 Aug 2012 16:10:41 -0700, ed in 92626 wrote:
> When I try i2cdump 0xa8 3 I get
> could not open file /dev/i2c/168.

You passed the parameter in the wrong order, bus number must be first
and slave address second.

> A8 is the address of my DIMM memory module.

Maybe in some document you have, it is, but not for the Linux kernel,
which uses right-aligned 7-bit slave addresses. 0xa8 is obviously a
left-aligned 7-bit address. So the address you actually want to pass to
i2cdump is 0xA8 >> 1 = 0x54.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-02  6:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01 23:10 [lm-sensors] help with i2cdetect ed in 92626
2012-08-01 23:42 ` Guenter Roeck
2012-08-02  6:18 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.