Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread William Hermans
Probably not. At minimum, not without modifications. The problem I have
here is that I have no one wire devices to test all this stuff I'm
suggesting to you. Otherwise I'd have a fix for you already.

On Mon, Apr 4, 2016 at 6:38 PM, <matthew.redd...@daf.qld.gov.au> wrote:

> Thanks for the tip.
>
>
> I tried correcting that line first to:
>
> gpios = < 13 0>;
>
>
> and then to
>
>
> gpios = < 13 0>;
>
>
> I'm not sure which of these is correct, though I would have thought it was 
> gpios = < 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 allows
>
> more time for detection?  Could this problem be related to
>
> not enough time being allowed for detection.
>
>
> Would the script work under 3.8, and might it solve the problem?
>
>
> Thanks
>
>
> Matt
>
>
>
> On Tuesday, April 5, 2016 at 10:30:33 AM UTC+10, William Hermans wrote:
>>
>> gpios = < 2 0>
>>
>>  I'm pretty sure is reference to the gpio bank. There is 4 I think
>> for all gpio's on the processor. The two numbers that follow . . . I
>> honestly have no idea either.
>>
>> I can hoever tell you that:
>> pinctrl-single,pins =  <0x34 0x37 /* gpmc_ad13.gpio1_13,
>> OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */ >;
>>
>> 0x34 is the pin number, and 0x37 is the pin mode. Which peripheral, or
>> GPIO mode, whether it's input, or output, and whether pull up, or pull down
>> is enabled. Pretty much my understanding here is a 32bit field with each
>> bit indicating *something*.
>>
>> On Mon, Apr 4, 2016 at 5:25 PM, REDDING Matthew <
>> matthew...@daf.qld.gov.au> wrote:
>>
>>> Eagle eyes!
>>>
>>>
>>>
>>> I’ll try changing that back and see what happens.
>>>
>>> I must confess, I don’t even know what gpios = < 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.*
>>>
>>>
>>>
>>> *Is this where the problem is?*
>>>
>>>
>>>
>>> *Thanks*
>>>
>>>
>>>
>>> *Matt*
>>>
>>> So, 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.
>>>
>>> So Matt, I noticed you've changed the GPIO pin here:
>>>
>>> gpios = < 2 0>;
>>>
>>> But not here:
>>>
>>> pinctrl-single,pins =  <0x34 0x37 /* gpmc_ad13.gpio1_13,
>>> OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */ >;
>>>
>>> So do keep in mind that I'm no device tree file expert. So I'm not sure
>>> if that is bad, or not. But it *seems* wrong to me. Maybe I'm wrong ?
>>>
>>>
>>>
>>> On Mon, Apr 4, 2016 at 5:14 PM, <matthew...@daf.qld.gov.au> wrote:
>>>
>>> Hi William and Peter...
>>>
>>>
>>>
>>> root@beaglebone:~# lsmod
>>> Module  Size  Used by
>>> arc41691  2
>>> zd1211rw   43946  0
>>>
>>> mac80211  424813  1 zd1211rw
>>> cfg80211  354018  2 mac80211,zd1211rw
>>> rfkill   

Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread matthew . redding
Thanks for the tip.


I tried correcting that line first to:

gpios = < 13 0>;


and then to 


gpios = < 13 0>;


I'm not sure which of these is correct, though I would have thought it was 
gpios = < 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 allows

more time for detection?  Could this problem be related to 

not enough time being allowed for detection.


Would the script work under 3.8, and might it solve the problem?


Thanks


Matt



On Tuesday, April 5, 2016 at 10:30:33 AM UTC+10, William Hermans wrote:
>
> gpios = < 2 0>
>
>  I'm pretty sure is reference to the gpio bank. There is 4 I think 
> for all gpio's on the processor. The two numbers that follow . . . I 
> honestly have no idea either.
>
> I can hoever tell you that:
> pinctrl-single,pins =  <0x34 0x37 /* gpmc_ad13.gpio1_13, 
> OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */ >;
>
> 0x34 is the pin number, and 0x37 is the pin mode. Which peripheral, or 
> GPIO mode, whether it's input, or output, and whether pull up, or pull down 
> is enabled. Pretty much my understanding here is a 32bit field with each 
> bit indicating *something*.
>
> On Mon, Apr 4, 2016 at 5:25 PM, REDDING Matthew <matthew...@daf.qld.gov.au 
> > wrote:
>
>> Eagle eyes!
>>
>>  
>>
>> I’ll try changing that back and see what happens.
>>
>> I must confess, I don’t even know what gpios = < 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.*
>>
>>  
>>
>> *Is this where the problem is?*
>>
>>  
>>
>> *Thanks*
>>
>>  
>>
>> *Matt*
>>
>> So, 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.
>>
>> So Matt, I noticed you've changed the GPIO pin here:
>>
>> gpios = < 2 0>;
>>
>> But not here:
>>
>> pinctrl-single,pins =  <0x34 0x37 /* gpmc_ad13.gpio1_13, 
>> OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */ >;
>>
>> So do keep in mind that I'm no device tree file expert. So I'm not sure 
>> if that is bad, or not. But it *seems* wrong to me. Maybe I'm wrong ?
>>
>>  
>>
>> On Mon, Apr 4, 2016 at 5:14 PM, <matthew...@daf.qld.gov.au > 
>> wrote:
>>
>> Hi William and Peter...
>>
>>
>>
>> root@beaglebone:~# lsmod
>> Module  Size  Used by
>> arc41691  2 
>> zd1211rw   43946  0 
>>
>> mac80211  424813  1 zd1211rw
>> cfg80211  354018  2 mac80211,zd1211rw
>> rfkill 16672  2 cfg80211
>> g_multi50407  2 
>> libcomposite   15028  1 g_multi
>> omap_rng4062  0 
>> mt7601Usta639170  0 
>>
>>  
>>
>>  
>>
>> Using the modprobe w1-gpio produces no output.
>>
>>  
>>
>> Is this where the problem is?
>>
>>  
>>
>> Thanks
>>
>>  
>>
>> Matt
>>
>>  
>>
>>
>> On Tuesday, April 5, 2016 at 10:08:36 AM UTC+10, William Hermans wrote:
>>
>> william@beaglebone:~$ sudo modprobe w1-gpio
>> william@beaglebone:~$ lsmod
>> Module  Size  Used by
>> w1_gpio 3069  0
>> wire   27112  1 w1_gpio
>> . . .
>>
>> *My understanding was that 3.8 and

Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread William Hermans
The problem is, there are still a few things that do not work properly in
kernel 4.x yet. Or at least the last I heard. It's always worked fine for
me, but I'm a hobbyist experimenter . . .

On Mon, Apr 4, 2016 at 5:42 PM, Peter Lawler  wrote:

>
> On 2016/04/05 10:35 AM, William Hermans wrote:
>
>> No idea if kernel 4.1.x will work for the OP or not.
>>
> Indeed. I would, however, strongly suggest that if it's for work connected
> to op's mail address - Queensland (Australia) Department of Agriculture and
> Fisheries - they move to a 4.1 LTS kernel as it does have much better DTO
> stuff in it etc (from what I've read) and will be far more usable to them.
>
> P.
>
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread Peter Lawler


On 2016/04/05 10:35 AM, William Hermans wrote:

No idea if kernel 4.1.x will work for the OP or not.
Indeed. I would, however, strongly suggest that if it's for work 
connected to op's mail address - Queensland (Australia) Department of 
Agriculture and Fisheries - they move to a 4.1 LTS kernel as it does 
have much better DTO stuff in it etc (from what I've read) and will be 
far more usable to them.


P.

--
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread Peter Lawler



On 2016/04/05 10:27 AM, Robert Nelson wrote:

Guys, or just use v4.1.x, i have a nice example using P9.12:

https://github.com/beagleboard/bb.org-overlays/blob/master/examples/BB-W1-P9.12/example.sh

Regards,


Followup:
After moving my data pin from 17 using my attempt at DTO to pin 12 with 
RCN's *and using his example script), my DS18B20 is reading to within 
0.2 degrees of my known working SHT10 sensor so I'm pretty happy about now.


Thanks Robert!

P.

--
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread William Hermans
No idea if kernel 4.1.x will work for the OP or not.

On Mon, Apr 4, 2016 at 5:31 PM, Peter Lawler  wrote:

>
>
> On 2016/04/05 10:27 AM, Robert Nelson wrote:
>
>> Guys, or just use v4.1.x, i have a nice example using P9.12:
>>
>>
>> https://github.com/beagleboard/bb.org-overlays/blob/master/examples/BB-W1-P9.12/example.sh
>>
>>
>> I'm so embarrassed right now. I now remember thinking on Sunday 'I think
> RCN shipped a demo' but never actually chased the thought up...
>
> Will check it out immediately as I am on 4.1.x
>
> THanks!
>
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread Peter Lawler



On 2016/04/05 10:27 AM, Robert Nelson wrote:

Guys, or just use v4.1.x, i have a nice example using P9.12:

https://github.com/beagleboard/bb.org-overlays/blob/master/examples/BB-W1-P9.12/example.sh


I'm so embarrassed right now. I now remember thinking on Sunday 'I think 
RCN shipped a demo' but never actually chased the thought up...


Will check it out immediately as I am on 4.1.x

THanks!

--
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread William Hermans
gpios = < 2 0>

 I'm pretty sure is reference to the gpio bank. There is 4 I think
for all gpio's on the processor. The two numbers that follow . . . I
honestly have no idea either.

I can hoever tell you that:
pinctrl-single,pins =  <0x34 0x37 /* gpmc_ad13.gpio1_13,
OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */ >;

0x34 is the pin number, and 0x37 is the pin mode. Which peripheral, or GPIO
mode, whether it's input, or output, and whether pull up, or pull down is
enabled. Pretty much my understanding here is a 32bit field with each bit
indicating *something*.

On Mon, Apr 4, 2016 at 5:25 PM, REDDING Matthew <
matthew.redd...@daf.qld.gov.au> wrote:

> Eagle eyes!
>
>
>
> I’ll try changing that back and see what happens.
>
> I must confess, I don’t even know what gpios = < 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:* beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com]
> *On Behalf Of *William Hermans
> *Sent:* Tuesday, 5 April 2016 10:22 AM
> *To:* beagleboard@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.*
>
>
>
> *Is this where the problem is?*
>
>
>
> *Thanks*
>
>
>
> *Matt*
>
> So, 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.
>
> So Matt, I noticed you've changed the GPIO pin here:
>
> gpios = < 2 0>;
>
> But not here:
>
> pinctrl-single,pins =  <0x34 0x37 /* gpmc_ad13.gpio1_13,
> OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */ >;
>
> So do keep in mind that I'm no device tree file expert. So I'm not sure if
> that is bad, or not. But it *seems* wrong to me. Maybe I'm wrong ?
>
>
>
> On Mon, Apr 4, 2016 at 5:14 PM, <matthew.redd...@daf.qld.gov.au> wrote:
>
> Hi William and Peter...
>
>
>
> root@beaglebone:~# lsmod
> Module  Size  Used by
> arc41691  2
> zd1211rw   43946  0
>
> mac80211  424813  1 zd1211rw
> cfg80211  354018  2 mac80211,zd1211rw
> rfkill 16672  2 cfg80211
> g_multi50407  2
> libcomposite   15028  1 g_multi
> omap_rng4062  0
> mt7601Usta639170  0
>
>
>
>
>
> Using the modprobe w1-gpio produces no output.
>
>
>
> Is this where the problem is?
>
>
>
> Thanks
>
>
>
> Matt
>
>
>
>
> On Tuesday, April 5, 2016 at 10:08:36 AM UTC+10, William Hermans wrote:
>
> william@beaglebone:~$ sudo modprobe w1-gpio
> william@beaglebone:~$ lsmod
> Module  Size  Used by
> w1_gpio 3069  0
> wire   27112  1 w1_gpio
> . . .
>
> *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.*
>
> So, perhaps, but if there is something wrong with the device tree blob
> file, the driver wont auto load. Which would give us an indication as to
> what's wrong.
>
>
>
>
>
> On Mon, Apr 4, 2016 at 5:01 PM, Peter Lawler <relwa...@gmail.com> wrote:
>
>
>
> On 2016/04/05 9:49 AM, William Hermans wrote:
>
>   Ok, so the device tree seems to load but where is
> the output of lsmod ? It should look something like( more or less ) with
> hopefully the generic one-wire module also loaded.
>
>
> 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.
>
> P.
>
>
>
> --
> For more options, visit http://beagleboard.org/discuss
> --- You received this message because you are subscribed to the Google
> Group

Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread Robert Nelson
Guys, or just use v4.1.x, i have a nice example using P9.12:

https://github.com/beagleboard/bb.org-overlays/blob/master/examples/BB-W1-P9.12/example.sh

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread REDDING Matthew
Eagle eyes!

I’ll try changing that back and see what happens.
I must confess, I don’t even know what gpios = < 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: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of William Hermans
Sent: Tuesday, 5 April 2016 10:22 AM
To: beagleboard@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.

Is this where the problem is?

Thanks

Matt
So, 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.
So Matt, I noticed you've changed the GPIO pin here:

gpios = < 2 0>;
But not here:
pinctrl-single,pins =  <0x34 0x37 /* gpmc_ad13.gpio1_13, OMAP_PIN_INPUT_PULLUP 
| OMAP_MUX_MODE7 - w1-gpio */ >;
So do keep in mind that I'm no device tree file expert. So I'm not sure if that 
is bad, or not. But it *seems* wrong to me. Maybe I'm wrong ?

On Mon, Apr 4, 2016 at 5:14 PM, 
<matthew.redd...@daf.qld.gov.au<mailto:matthew.redd...@daf.qld.gov.au>> wrote:
Hi William and Peter...


root@beaglebone:~# lsmod
Module  Size  Used by
arc41691  2
zd1211rw   43946  0

mac80211  424813  1 zd1211rw
cfg80211  354018  2 mac80211,zd1211rw
rfkill 16672  2 cfg80211
g_multi50407  2
libcomposite   15028  1 g_multi
omap_rng4062  0
mt7601Usta639170  0


Using the modprobe w1-gpio produces no output.

Is this where the problem is?

Thanks

Matt


On Tuesday, April 5, 2016 at 10:08:36 AM UTC+10, William Hermans wrote:
william@beaglebone:~$ sudo modprobe w1-gpio
william@beaglebone:~$ lsmod
Module  Size  Used by
w1_gpio 3069  0
wire   27112  1 w1_gpio
. . .
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.
So, perhaps, but if there is something wrong with the device tree blob file, 
the driver wont auto load. Which would give us an indication as to what's wrong.


On Mon, Apr 4, 2016 at 5:01 PM, Peter Lawler 
<relwa...@gmail.com<mailto:relwa...@gmail.com>> wrote:


On 2016/04/05 9:49 AM, William Hermans wrote:
  Ok, so the device tree seems to load but where is
the output of lsmod ? It should look something like( more or less ) with
hopefully the generic one-wire module also loaded.

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.

P.


--
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<mailto:beagleboard...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscr...@googlegroups.com<mailto:beagleboard+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
For more options, visit http://beagleboard.org/discuss
---
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+unsubscr...@googlegroups.com<mailto:beagleboard+unsubscr...@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 co

RE: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread REDDING Matthew
OK, I don't think this is a module I've got control over:

root@beaglebone:~# modprobe -r w1-gpio
FATAL: Module w1_gpio is builtin.
root@beaglebone:~# modprobe -v w1-gpio
<>

-Original Message-
From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Peter Lawler
Sent: Tuesday, 5 April 2016 10:19 AM
To: beagleboard@googlegroups.com
Subject: Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on 
BBB, debian, kernel: 3.8.13-bone70



On 2016/04/05 10:14 AM, matthew.redd...@daf.qld.gov.au wrote:
> Hi William and Peter...
> 
>
> Using the modprobe w1-gpio produces no output.
>
'modprobe -v w1-gpio' would produce more detail (to test, use modprobe -r 
w1-gpio to unload the module first).

However I'm just reading up and what William refers to seems to be if the DTO 
loads properly it SHOULD load up the module, thus the module not loading is a 
symptom of the DTO not being correct.

I'm currently looking at some other stuff that's indicating that maybe my 
wiring isn't the best.

--
For more options, visit http://beagleboard.org/discuss
---
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+unsubscr...@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.
--

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread William Hermans
>
> *Using the modprobe w1-gpio produces no output.*
>
> *Is this where the problem is?*
>
> *Thanks*
>
> *Matt*

So, 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.

So Matt, I noticed you've changed the GPIO pin here:

gpios = < 2 0>;

But not here:
pinctrl-single,pins =  <0x34 0x37 /* gpmc_ad13.gpio1_13,
OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */ >;

So do keep in mind that I'm no device tree file expert. So I'm not sure if
that is bad, or not. But it *seems* wrong to me. Maybe I'm wrong ?

On Mon, Apr 4, 2016 at 5:14 PM,  wrote:

> Hi William and Peter...
>
>
> root@beaglebone:~# lsmod
> Module  Size  Used by
> arc41691  2
> zd1211rw   43946  0
>
> mac80211  424813  1 zd1211rw
> cfg80211  354018  2 mac80211,zd1211rw
> rfkill 16672  2 cfg80211
> g_multi50407  2
> libcomposite   15028  1 g_multi
> omap_rng4062  0
> mt7601Usta639170  0
>
>
> Using the modprobe w1-gpio produces no output.
>
> Is this where the problem is?
>
> Thanks
>
> Matt
>
>
> On Tuesday, April 5, 2016 at 10:08:36 AM UTC+10, William Hermans wrote:
>>
>> william@beaglebone:~$ sudo modprobe w1-gpio
>> william@beaglebone:~$ lsmod
>> Module  Size  Used by
>> w1_gpio 3069  0
>> wire   27112  1 w1_gpio
>> . . .
>>
>> *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.*
>>
>> So, perhaps, but if there is something wrong with the device tree blob
>> file, the driver wont auto load. Which would give us an indication as to
>> what's wrong.
>>
>>
>> On Mon, Apr 4, 2016 at 5:01 PM, Peter Lawler  wrote:
>>
>>>
>>>
>>> On 2016/04/05 9:49 AM, William Hermans wrote:
>>>
   Ok, so the device tree seems to load but where is
 the output of lsmod ? It should look something like( more or less ) with
 hopefully the generic one-wire module also loaded.

>>>
>>> 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.
>>>
>>> P.
>>>
>>>
>>> --
>>> 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.
>>>
>>
>> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread REDDING Matthew
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

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of REDDING Matthew
Sent: Tuesday, 5 April 2016 10:14 AM
To: BeagleBoard
Subject: Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on 
BBB, debian, kernel: 3.8.13-bone70

Hi William and Peter...


root@beaglebone:~# lsmod
Module  Size  Used by
arc41691  2
zd1211rw   43946  0

mac80211  424813  1 zd1211rw
cfg80211  354018  2 mac80211,zd1211rw
rfkill 16672  2 cfg80211
g_multi50407  2
libcomposite   15028  1 g_multi
omap_rng4062  0
mt7601Usta639170  0


Using the modprobe w1-gpio produces no output.

Is this where the problem is?

Thanks

Matt


On Tuesday, April 5, 2016 at 10:08:36 AM UTC+10, William Hermans wrote:
william@beaglebone:~$ sudo modprobe w1-gpio
william@beaglebone:~$ lsmod
Module  Size  Used by
w1_gpio 3069  0
wire   27112  1 w1_gpio
. . .
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.
So, perhaps, but if there is something wrong with the device tree blob file, 
the driver wont auto load. Which would give us an indication as to what's wrong.


On Mon, Apr 4, 2016 at 5:01 PM, Peter Lawler <relwa...@gmail.com> 
wrote:


On 2016/04/05 9:49 AM, William Hermans wrote:
  Ok, so the device tree seems to load but where is
the output of lsmod ? It should look something like( more or less ) with
hopefully the generic one-wire module also loaded.

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.

P.


--
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.

--
For more options, visit http://beagleboard.org/discuss
---
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+unsubscr...@googlegroups.com<mailto:beagleboard+unsubscr...@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.
--

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread Peter Lawler



On 2016/04/05 10:14 AM, matthew.redd...@daf.qld.gov.au wrote:

Hi William and Peter...


Using the modprobe w1-gpio produces no output.

'modprobe -v w1-gpio' would produce more detail (to test, use modprobe 
-r w1-gpio to unload the module first).


However I'm just reading up and what William refers to seems to be if 
the DTO loads properly it SHOULD load up the module, thus the module not 
loading is a symptom of the DTO not being correct.


I'm currently looking at some other stuff that's indicating that maybe 
my wiring isn't the best.


--
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread matthew . redding
Hi William and Peter...


root@beaglebone:~# lsmod
Module  Size  Used by
arc41691  2 
zd1211rw   43946  0 

mac80211  424813  1 zd1211rw
cfg80211  354018  2 mac80211,zd1211rw
rfkill 16672  2 cfg80211
g_multi50407  2 
libcomposite   15028  1 g_multi
omap_rng4062  0 
mt7601Usta639170  0 


Using the modprobe w1-gpio produces no output.

Is this where the problem is?

Thanks

Matt


On Tuesday, April 5, 2016 at 10:08:36 AM UTC+10, William Hermans wrote:
>
> william@beaglebone:~$ sudo modprobe w1-gpio
> william@beaglebone:~$ lsmod
> Module  Size  Used by
> w1_gpio 3069  0
> wire   27112  1 w1_gpio
> . . .
>
> *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.*
>
> So, perhaps, but if there is something wrong with the device tree blob 
> file, the driver wont auto load. Which would give us an indication as to 
> what's wrong.
>
>
> On Mon, Apr 4, 2016 at 5:01 PM, Peter Lawler  > wrote:
>
>>
>>
>> On 2016/04/05 9:49 AM, William Hermans wrote:
>>
>>>   Ok, so the device tree seems to load but where is
>>> the output of lsmod ? It should look something like( more or less ) with
>>> hopefully the generic one-wire module also loaded.
>>>
>>
>> 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.
>>
>> P.
>>
>>
>> -- 
>> 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.
>>
>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread William Hermans
Another thing I was noticing after greping the config, at least for my
kernel version. Is that there is no Dallas One Wire kernel module for that
specific device. So it could be that it is compiled in statically. I've
been in menu config several times, and have noticed a lot of Dallas One
Wire drivers, but could not say if that one exists in the kernel, or not .
. .

On Mon, Apr 4, 2016 at 5:08 PM, William Hermans  wrote:

> william@beaglebone:~$ sudo modprobe w1-gpio
> william@beaglebone:~$ lsmod
> Module  Size  Used by
> w1_gpio 3069  0
> wire   27112  1 w1_gpio
> . . .
>
> *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.*
>
> So, perhaps, but if there is something wrong with the device tree blob
> file, the driver wont auto load. Which would give us an indication as to
> what's wrong.
>
>
> On Mon, Apr 4, 2016 at 5:01 PM, Peter Lawler 
> wrote:
>
>>
>>
>> On 2016/04/05 9:49 AM, William Hermans wrote:
>>
>>>   Ok, so the device tree seems to load but where is
>>> the output of lsmod ? It should look something like( more or less ) with
>>> hopefully the generic one-wire module also loaded.
>>>
>>
>> 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.
>>
>> P.
>>
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread Peter Lawler



On 2016/04/05 10:08 AM, William Hermans wrote:

So, perhaps, but if there is something wrong with the device tree blob
file, the driver wont auto load. Which would give us an indication as to
what's wrong.


ahhh... *grabs another coffee*

--
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread William Hermans
william@beaglebone:~$ sudo modprobe w1-gpio
william@beaglebone:~$ lsmod
Module  Size  Used by
w1_gpio 3069  0
wire   27112  1 w1_gpio
. . .

*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.*

So, perhaps, but if there is something wrong with the device tree blob
file, the driver wont auto load. Which would give us an indication as to
what's wrong.


On Mon, Apr 4, 2016 at 5:01 PM, Peter Lawler  wrote:

>
>
> On 2016/04/05 9:49 AM, William Hermans wrote:
>
>>   Ok, so the device tree seems to load but where is
>> the output of lsmod ? It should look something like( more or less ) with
>> hopefully the generic one-wire module also loaded.
>>
>
> 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.
>
> P.
>
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread Peter Lawler



On 2016/04/05 9:49 AM, William Hermans wrote:

  Ok, so the device tree seems to load but where is
the output of lsmod ? It should look something like( more or less ) with
hopefully the generic one-wire module also loaded.


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.


P.

--
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread William Hermans
>
> *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. *
>

Seems I missed that part. Ok, so the device tree seems to load but where is
the output of lsmod ? It should look something like( more or less ) with
hopefully the generic one-wire module also loaded.

william@beaglebone:~$ lsmod
Module  Size  Used by
bnep   13297  2
rfcomm 52320  0
bluetooth 394459  10 bnep,rfcomm
nfsd  220016  2
sg 24111  0
uas11682  0
usb_storage47695  1 uas
evdev   7956  0
tda998x11683  1
tilcdc 27869  0
omap_rng4346  0
omap_aes   13033  0
rng_core7233  1 omap_rng
omap_sham  19152  0
drm_kms_helper106705  3 tda998x,tilcdc
uio_pdrv_genirq 3313  0
leds_gpio   3102  0
uio 8350  1 uio_pdrv_genirq


On Mon, Apr 4, 2016 at 4:31 PM,  wrote:

> 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.
>
> On Tuesday, April 5, 2016 at 9:26:37 AM UTC+10, William Hermans wrote:
>>
>> Starters for troubleshooting. After issuing the commands this person
>> suggest on that site . . .
>>
>> cp w1-00A0.dtbo /lib/firmware
>> echo w1 > /sys/devices/bone_capemgr.9/slots
>>
>> You should run dmesg | grep w1 to see what the output is. Passed that,
>> are you sure you have the one wire driver loaded ? I've never actually used
>> one wire on Linux personally, but there is a generic one-wire kernel module
>> that I've read about . . .
>>
>>
>> On Mon, Apr 4, 2016 at 3:19 PM, Peter Lawler  wrote:
>>
>>>
>>> On Tuesday, 5 April 2016 08:04:14 UTC+10, matthew...@daf.qld.gov.au
>>> wrote:

 Hello BBB Gurus,


>>> Hi there, I offer no help really... but
>>>
>>> heh funny you raise this as I'm trying to get this sensor to 'work'
>>> under 4.1.18 by first trying to follow the 3.8 way of doing things then
>>> learning how the new way of things is done then intending to forward port.
>>>
>>> Maybe there's someone out there with a 'simple' guide to porting DTO's
>>> and the like (I'm up to the stage of trying to read the "w1_slave" figure
>>> but that just doesn't exist in 4.1.18 so yeah lots more reading for me to
>>> go...). Just figured I'd add a 'me too idk what's going on' so I can keep a
>>> more easy track of this thread :)
>>>
>>> Cheers,
>>>
>>> Pete.
>>>
>>>
>>>
>>>
>>>
 --
>>> 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.
>>>
>>
>> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread matthew . redding
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. 

On Tuesday, April 5, 2016 at 9:26:37 AM UTC+10, William Hermans wrote:
>
> Starters for troubleshooting. After issuing the commands this person 
> suggest on that site . . .
>
> cp w1-00A0.dtbo /lib/firmware
> echo w1 > /sys/devices/bone_capemgr.9/slots
>
> You should run dmesg | grep w1 to see what the output is. Passed that, 
> are you sure you have the one wire driver loaded ? I've never actually used 
> one wire on Linux personally, but there is a generic one-wire kernel module 
> that I've read about . . .
>
>
> On Mon, Apr 4, 2016 at 3:19 PM, Peter Lawler  > wrote:
>
>>
>> On Tuesday, 5 April 2016 08:04:14 UTC+10, matthew...@daf.qld.gov.au 
>> wrote:
>>>
>>> Hello BBB Gurus,
>>>
>>>
>> Hi there, I offer no help really... but 
>>
>> heh funny you raise this as I'm trying to get this sensor to 'work' under 
>> 4.1.18 by first trying to follow the 3.8 way of doing things then learning 
>> how the new way of things is done then intending to forward port.
>>
>> Maybe there's someone out there with a 'simple' guide to porting DTO's 
>> and the like (I'm up to the stage of trying to read the "w1_slave" figure 
>> but that just doesn't exist in 4.1.18 so yeah lots more reading for me to 
>> go...). Just figured I'd add a 'me too idk what's going on' so I can keep a 
>> more easy track of this thread :)
>>
>> Cheers,
>>
>> Pete.
>>
>>
>>
>>
>>
>>> -- 
>> 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.
>>
>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Troubleshooting one-wire DS18B20 detection on BBB, debian, kernel: 3.8.13-bone70

2016-04-04 Thread William Hermans
Starters for troubleshooting. After issuing the commands this person
suggest on that site . . .

cp w1-00A0.dtbo /lib/firmware
echo w1 > /sys/devices/bone_capemgr.9/slots

You should run dmesg | grep w1 to see what the output is. Passed that, are
you sure you have the one wire driver loaded ? I've never actually used one
wire on Linux personally, but there is a generic one-wire kernel module
that I've read about . . .


On Mon, Apr 4, 2016 at 3:19 PM, Peter Lawler  wrote:

>
> On Tuesday, 5 April 2016 08:04:14 UTC+10, matthew...@daf.qld.gov.au wrote:
>>
>> Hello BBB Gurus,
>>
>>
> Hi there, I offer no help really... but
>
> heh funny you raise this as I'm trying to get this sensor to 'work' under
> 4.1.18 by first trying to follow the 3.8 way of doing things then learning
> how the new way of things is done then intending to forward port.
>
> Maybe there's someone out there with a 'simple' guide to porting DTO's and
> the like (I'm up to the stage of trying to read the "w1_slave" figure but
> that just doesn't exist in 4.1.18 so yeah lots more reading for me to
> go...). Just figured I'd add a 'me too idk what's going on' so I can keep a
> more easy track of this thread :)
>
> Cheers,
>
> Pete.
>
>
>
>
>
>> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.