Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My gentoo /sys/bus/w1/devices shows nothing!
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message

Joined: 28 Jun 2015
Posts: 12

PostPosted: Sun Jun 28, 2015 10:55 pm    Post subject: My gentoo /sys/bus/w1/devices shows nothing! Reply with quote

I'm using Raspberry Pi 2 with Gentoo.

I'm trying to use DS18B20 Digital Thermometer(in WaveShare DVK512 set) but it doesn't work.

DS18B20 is connected to gpio pin 7.


login as: qwpo1030
Using keyboard-interactive authentication.
qwpo1030@rpi2-gentoo ~ $ sudo modprobe w1-gpio
qwpo1030@rpi2-gentoo ~ $ sudo modprobe w1-therm
qwpo1030@rpi2-gentoo ~ $ lsmod
Module                  Size  Used by
w1_therm                2559  0
w1_gpio                 3465  0
wire                   25632  2 w1_gpio,w1_therm
cn                      4656  1 wire
ipv6                  335176  18
binfmt_misc             6418  1
bcm2708_rng              972  0
8188eu                818861  0
uio_pdrv_genirq         2958  0
uio                     8219  1 uio_pdrv_genirq
qwpo1030@rpi2-gentoo ~ $ ls /sys/bus/w1/devices           <-----and it shows nothing
qwpo1030@rpi2-gentoo ~ $
qwpo1030@rpi2-gentoo ~ $ uname -a
Linux rpi2-gentoo 4.0.5-v7+ #797 SMP PREEMPT Sat Jun 20 02:03:05 BST 2015 armv7l BCM2709 GNU/Linux
qwpo1030@rpi2-gentoo ~ $

Here is my /boot/cmdline.txt

dwc_otg.lpm_enable=0 root=/dev/mmcblk0p3 console=ttyAMA0,38400
kgdboc=ttyAMA0,38400 console=tty1 rootfstype=ext4 elevator=deadline rootwait
usbhid.mousepoll= 0 dtoverlay=w1-gpio,gpiopin=7 dtoverlay=w1-therm,gpiopin=7

Trying to change the pin to 8 or 22, 24, .. nothing works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum