Temperature Sensor Ds18b20 does not work on other pins, only on 4
|
4th Jun, 2014, 07:58 AM
Post: #3
|
|||
|
|||
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4
In cmdline.txt I put the string "bcm2708.w1_gpio_pin=22"
Terminal xbian@xbian ~ $ uname -a Linux xbian 3.12.7+ #5 Sun Jan 19 19:08:40 CET 2014 armv6l GNU/Linux 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 xbian@xbian ~ $ But if I connect ds18b20 on pin 22, it not works. If I connect seonsor on pin 4, it immediately works. I think the xbian kernel does not contain a patch for 1-wire devices. |
|||
« Next Oldest | Next Newest »
|