Re: New I2C and machine probing method
El vie, 21-07-2006 a las 17:13 +0200, Matthias Grimm escribió:
> It would be very kind if someone with a PowerBook5,1 to PowerBook5,7
> could run the test program and send me the output. The machine
> identification seems to work good, but primarily I wanted to test the
> LMU detection.
>
>
$ cat /etc/debian_version
testing/unstable
$ uname -a
Linux malastrana 2.6.15-1-powerpc #2 Mon Mar 6 12:39:17 CET 2006 ppc
GNU/Linux
$ cat /proc/cpuinfo
processor : 0
cpu : 7447/7457, altivec supported
clock : 765MHz
revision : 0.1 (pvr 8002 0101)
bogomips : 508.92
machine : PowerBook5,2
motherboard : PowerBook5,2 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15")
pmac flags : 0000001b
L2 cache : 512K unified
memory : 512MB
pmac-generation : NewWorld
$ ./of_probing3
Probing machine...
Machine: ID = 52 -> PowerBook G4 15" (Sep 2003)
OF:
'/proc/device-tree/uni-n@f8000000/i2c@f8001000/lmu-controller@84/reg'
LMU: I2C address = 42
I2C: 'i2c-6', 'mac-io 0'
I2C: 'i2c-5', 'uni-n 1' probing /dev/i2c-5 ... Permission denied!
I2C: 'i2c-4', 'uni-n 0' probing /dev/i2c-4 ... Permission denied!
I2C: 'i2c-3', 'crt2'
I2C: 'i2c-2', 'vga'
I2C: 'i2c-1', 'dvi'
I2C: 'i2c-0', 'monid'
Reply to: