[Hardware] i2c .

Dmitry Alexeev alexeev6 yahoo.com
23 12:54:37 MSK 2012


  linux silicium@    AT91RM9200.
         i2c:
-  ST l3g4200d;
-        lsm303dl  ST microelectronics;

      linux.
       Igloo: http://igloocommunity.org/support/Igloo_Kernel
         .

[root  localhost ~]# uname -a 
Linux localhost.localdomain 2.6.30.9 #1 Wed Apr 18 15:37:27 MSK 2012 armv4tl GNU/Linux

[root  localhost ~]# /lib/modules/2.6.30.9/l3g4200d.ko 
license: GPL 
author: Chethan Krishna N 
description: l3g4200d digital gyroscope driver 
depends: 
vermagic: 2.6.30.9 mod_unload ARMv4 
[root  localhost ~]# modinfo /lib/modules/2.6.30.9/lsm303dlh_a.ko 
filename: /lib/modules/2.6.30.9/lsm303dlh_a.ko 
author: STMicroelectronics 
license: GPL 
description: lSM303DLH 3-Axis Accelerometer Driver 
depends: 
vermagic: 2.6.30.9 mod_unload ARMv4 
[root  localhost ~]# modinfo /lib/modules/2.6.30.9/lsm303dlh_m.ko 
filename: /lib/modules/2.6.30.9/lsm303dlh_m.ko 
author: STMicroelectronics 
liense: GPL 
description: lSM303DLH 3-Axis Magnetometer Driver 
depends: 
vermagic: 2.6.30.9 mod_unload ARMv4

[root  localhost ~]# depmod -a 
[root  localhost ~]# modprobe l3g4200d 
[root  localhost ~]# modprobe lsm303dlh_m 
[root  localhost ~]# modprobe lsm303dlh_a

[root  localhost ~]# lsmod 
Module Size Used by 
lsm303dlh_m 6688 0 
lsm303dlh_a  6984 0 
l3g4200d 6456 0

[root  localhost ~]# ls /sys/module/ 
block2mtd l3g4200d mousedev sg tcp_cubic usbcore 
kernel lsm303dlh_a printk spurious usb_libusual vt 
keyboard lsm303dlh_m scsi_mod srmod usb_storage 

[root  localhost ~]# ls /sys/devices/platform/ 
at91_ether at91_wdt atmel_filename: 
usart.2 i2c-gpio uevent 
at91_mci atmel_usart.0 atmel_usart.3 leds-gpio 
at91_ohci atmel_usart.1 atmel_usart.4 physmap-flash.0

[root  localhost ~]#ls /sys/bus/i2c/drivers 
dev_driver dummy l3g4200d lsm303dlh_a lsm303dlh_m rtc-ds1672 
[root  localhost ~]# ls /sys/bus/i2c/devices/ 
0-0068 -  RTC ds1672

,   ,   ,  /sys/module/  ,    ,  .
 ݣ         ?

.
Best regards,

Dmitriy Alekseev
-----------   -----------
   HTML  ...
URL: <http://lists.altlinux.org/pipermail/hardware/attachments/20120423/74fabe02/attachment-0001.html>


Hardware