Gumstix / Kernel-Module / Funktionen

ADC

> modprobe twl4030-madc-hwmon
> cat /sys/class/hwmon/hwmon0/device/temp1_input 
56

GPIO

SIO

  • ttyS → ttyO [kernel>2.6.99]
  • /dev/ttyO0 User
  • /dev/ttyO1 Bluetooth
  • /dev/ttyO2 Console

SPI

Bluetooth

> modprobe btsdio
> hciattach /dev/ttyO1 csr
> hciconfig hci0 down

I2C

> i2cdetect -r -y 3
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --

ALSA

> modprobe snd-soc-omap
> modprobe snd-soc-omap-mcbsp
> modprobe snd-soc-overo
> modprobe snd-soc-twl4030

USB

#OTG
> modprobe omap2430
> modprobe twl4030-usb
> modprobe musb_hdrc
#Host
> modprobe twl4030-usb
> modprobe ohci-hcd
> modprobe ehci-hcd

PM

hardware/gumstix/kernel.modules.txt · Zuletzt geändert: 2011.12.14 - 08:41 von 127.0.0.1
 
Copyright 2021, e-design / Alexander Krause