Temperature Sensor Ds18b20 does not work on other pins, only on 4
|
4th Jun, 2014, 08:25 PM
Post: #5
|
|||
|
|||
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4
I updated the kernel
Terminal xbian@xbian ~ $ uname -a Linux xbian 3.13.7+ #16 Sun May 25 19:23:24 CEST 2014 armv6l GNU/Linux But the 1-wire sensor is still working only on pin 4. Modules loaded Terminal xbian@xbian ~ $ cat /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name. snd-bcm2835 # for temperature sensor ds18b20 w1-gpio w1-therm # for lirc lirc_dev lirc_rpi gpio_in_pin=11 gpio_out_pin=9 Terminal xbian@xbian ~ $ lsmod Module Size Used by uinput 5156 1 frandom 3284 1 lirc_rpi 4892 3 lirc_dev 9020 1 lirc_rpi rc_core 12616 1 lirc_dev w1_therm 1872 0 snd_bcm2835 12804 0 snd_pcm 50000 1 snd_bcm2835 snd_page_alloc 2696 1 snd_pcm snd_timer 13564 1 snd_pcm snd 32588 3 snd_bcm2835,snd_timer,snd_pcm soundcore 472 1 snd vchiq 183240 3 snd_bcm2835 w1_gpio 1480 0 wire 17284 2 w1_gpio,w1_therm In /boot/cmdline.txt specified pin 22 Terminal xbian@xbian ~ $ cat /boot/cmdline.txt telnet zswap.enabled=1 zswap.compressor=lz4 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootflags=subvol=root/@,thread_pool=2,autodefrag,compress=lzo,commit=120 rootfstype=btrfs rootwait smsc95xx.turbo_mode=N elevator=cfq logo.nologo quiet noswap loglevel=0 mod_scsi.scan=sync partswap startevent=mountall splash nohdparm --startup-event mountall bcm2708.w1_gpio_pin=22 On raspbian all works with this settings. |
|||
« Next Oldest | Next Newest »
|