Hi
Thank you for your information. Currently I can find 1-wire interface after reboot.
I will try to get the register value.
Best Regards.
Ryo
On 2019/06/17 19:26, "Guillaume Gardet" wrote:
Hi,
> -----Original Message-----
> From: Matthias Brugger
> Sent: 17 June 2019 11:17
> To: 村川 了 ; opensuse-arm@opensuse.org
> Subject: Re: [opensuse-arm] Temperature sensor of DHT11
>
>
>
> On 17/06/2019 01:29, 村川 了 wrote:
> > Hi
> >
> > I want to control the temperature sensor of DHT11 on openSUSE15 on
> Raspberry Pi 3B+.
> > Now I try to develop python3 application with mraa. I want to know if
> openSUSE Leap 15 on Pi can handle DHT11 sensord with default or not.
> > And what kind of action do I need to control this sensor with openSUSE
> Leap 15 ?
> >
>
> You will probably need kernel-default-extra package to pull in the driver.
DHT11 driver is not enable: https://kernel.opensuse.org/cgit/kernel-source/tree/config/arm64/default?h=o...
I guess we should enable it.
> After that you have to create a device tree overlay which gets loaded by u-
> boot (by adding it to /boot/efi/extraconfig.txt).
You just need to add:
dtoverlay=w1-gpio,gpiopin=X
and replace the X with the wanted GPIO number used for the 1-wire interface.
Then, your device should appear on /sys/bus/w1/devices/
You should be able to read registers manually (since the kernel driver is not enabled yet).
Cheers,
Guillaume
>
> Good luck,
> Matthias
> --
> To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org
> To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
--
To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-arm+owner@opensuse.org