/** Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/** This program is free software; you can redistribute it and/or modify* it under the terms of the GNU General Public License version 2 as* published by the Free Software Foundation.** Modified by Russell Senior from the weather cape's DTS file.* Minor formatting by C W Rose.*//dts-v1/;/plugin/;
/ { compatible = "ti,beaglebone", "ti,beaglebone-black"; part-number = "BB-W1"; version = "00A0";
exclusive-use = "P8.11";
fragment@0 { target = <&am33xx_pinmux>; __overlay__ { bb_w1_pins: pinmux_bb_w1_pins { pinctrl-single,pins = <0x34 0x37 /* gpmc_ad13.gpio1_13, OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */ >; }; }; };
fragment@1 { target = <&ocp>; __overlay__ { onewire@0 { compatible = "w1-gpio"; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&bb_w1_pins>; gpios = <&gpio1 2 0>; }; }; };};
Hello BBB Gurus,
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi William,Please see my original post and you will see the outputs from each of these commands.The driver appears to be loaded perfectly.
My understanding was that 3.8 and above kernels needed no module, simply the DTO. It was pre 3.8 kernels that required the kernel module. Or am I missing something there? Certainly, every page I'm reading referring to 3.8 kernel 1Wire has absolutely no reference to kernel modules.
root@beaglebone:~# lsmod
Module Size Used by
arc4 1691 2
zd1211rw 43946 0
mac80211 424813 1 zd1211rw
cfg80211 354018 2 mac80211,zd1211rw
rfkill 16672 2 cfg80211
g_multi 50407 2
libcomposite 15028 1 g_multi
omap_rng 4062 0
mt7601Usta 639170 0 Hi William and Peter again…
Can it actually be a module problem if it is creating the directories for the devices one wire bus, just not detecting the devices?
Thanks!
Matt
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/beagleboard/nT93pfbvCzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
------------------------------
The information in this email together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. There is no waiver of any confidentiality/privilege by your inadvertent receipt of this material.
Any form of review, disclosure, modification, distribution and/or publication of this email message is prohibited, unless as a necessary part of Departmental business.
If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network.
------------------------------
Using the modprobe w1-gpio produces no output.Is this where the problem is?Thanks
MattSo, I'm not 100% sure what the problem is. I've never used One wire in linux - ever - And I'm not 100% sure what driver needs to be loaded, if any for this specific device. I'm just trying my best to help you troubleshoot the problem, because obviously there is something wrong, if the device does not show up on several boards, using several devices.
gpios = <&gpio1 2 0>;
pinctrl-single,pins = <0x34 0x37 /* gpmc_ad13.gpio1_13, OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */ >;
gpios = <&gpio1 2 0>
I can hoever tell you that:
pinctrl-single,pins = <0x34 0x37 /* gpmc_ad13.gpio1_13, OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */ >;
Eagle eyes!
I’ll try changing that back and see what happens.
I must confess, I don’t even know what
gpios = <&gpio1 2 0>; does.
So I’m not sure where any changes came from.
I think I know what the other line you indicated does.
Kind regards
Matt Redding, Ph.D.
Soil Chemist/Geochemist
AgriScience Queensland
Queensland DAFF
0408 787100
07 46 88 1372
From: beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] On Behalf Of William Hermans
Sent: Tuesday, 5 April 2016 10:22 AM
To: beagl...@googlegroups.com
Subject: Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70
Using the modprobe w1-gpio produces no output.
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/nT93pfbvCzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
------------------------------
The information in this email together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. There is no waiver of any confidentiality/privilege by your inadvertent receipt of this material.
Any form of review, disclosure, modification, distribution and/or publication of this email message is prohibited, unless as a necessary part of Departmental business.
If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network.
------------------------------
--
gpios = <&gpio1 13 0>;
and then to
gpios = <&gpio2 13 0>;I'm not sure which of these is correct, though I would have thought it was gpios = <&gpio1 13 0>;But still no go.Sounds like I need to change to 4.1.I see that RCN's link leads to a bash script that allowsmore time for detection? Could this problem be related tonot enough time being allowed for detection.
Would the script work under 3.8, and might it solve the problem?
Thanks
Matt
Hi TJF,Now that is really interesting. I was just thinking about using the PRU's for the job
...
What do you think? Maybe I don't need the mbed after all.
$ cat /sys/devices/bone_capemgr.*/slots
0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
cat /sys/devices/bone_capemgr.*/slots
The newer Debian image now adds 'platform' after devices and has trashed the .x after bone_capemgr. No more .7 or .9