[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New I2C and machine probing method



On Fri, 21 Jul 2006 the mental interface of
Matthias Grimm told:

> On Mon, 17 Jul 2006 21:19:30 +0200
> Matthias Grimm <matthiasgrimm@users.sourceforge.net> wrote:
> 
> It would be very kind if someone with a PowerBook5,1 to PowerBook5,7
[...]

$ cat /proc/cpuinfo
processor	: 0
cpu		: 7447A, altivec supported
clock		: 833.333000MHz
revision	: 0.2 (pvr 8003 0102)
bogomips	: 36.73
timebase	: 18432000
platform	: PowerMac
machine		: PowerBook5,6
motherboard	: PowerBook5,6 MacRISC3 Power Macintosh 
detected as	: 287 (PowerBook G4 15")
pmac flags	: 0000001b
L2 cache	: 512K unified
pmac-generation	: NewWorld

$ ./of_probing

Probing machine...
  Machine: ID = 56 -> PowerBook G4 15" (Feb 2005)
  OF: '/proc/device-tree/uni-n@f8000000/i2c@f8001000/i2c-bus@0/lmu-micro@84/reg'
  LMU: I2C address = 42 
  I2C: 'i2c-8', 'uni-n 1'  probing /dev/i2c-8 ...
  I2C: 'i2c-7', 'uni-n 0'  probing /dev/i2c-7 ... gotcha, this is the LMU device
  I2C: 'i2c-6', 'mac-io 0'
  I2C: 'i2c-5', 'pmu 1'
  I2C: 'i2c-4', 'pmu 2'
  I2C: 'i2c-3', 'crt2'
  I2C: 'i2c-2', 'vga'
  I2C: 'i2c-1', 'dvi'
  I2C: 'i2c-0', 'monid'

HTH
Elimar


-- 
  Planung:
  Ersatz des Zufalls durch den Irrtum.
                                -unknown-



Reply to: