Hi Paul,

At this early phase of development I'm transferring the kernel via tftp and 
doing a nfs mount of the root file system.  There are no users on the system; 
I'm running everything as root and will address permission issues later.  My 
application will have a single process that will access the 1-wire buss via 
owcapi calls, so I disabled network support when I built owfs.  Once owfs is 
mounted, the data I hope to read is static, so I'm only using Linux CLI 
commands over a serial console. 

Here's a screen scrape of the owfs mount, which I think includes all debugging 
info:

root@i:~$ modprobe fuse
adbgko: mod:0x7f00b010 name:fuse core:0x7f000000 state:Coming
fuse init (API version 7.14)
adbgko: mod:0x7f00b010 name:fuse core:0x7f000000 state:Live
root@i:~$ owfs --w1 --error_level 9 /mnt/1wire/
CONNECT: owfs.c:(96) fuse mount point: /mnt/1wire/
CONNECT: ow_avahi_link.c:(72) No Avahi support. Library libavahi-client 
couldn't be loaded
CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd library isn't 
found
   CALL: ow_parsename.c:(98) path=[]
  DEBUG: owlib.c:(82) Globals temp limits 0C 100C (for simulated adapters)
  DEBUG: fuse_line.c:(82) Added FUSE option 0 OWFS
  DEBUG: fuse_line.c:(82) Added FUSE option 1 /mnt/1wire/
  DEBUG: fuse_line.c:(82) Added FUSE option 2 -o
  DEBUG: fuse_line.c:(82) Added FUSE option 3 direct_io
  DEBUG: owfs.c:(121) fuse_mnt_opt=[(null)]
  DEBUG: owfs.c:(123) fuse_open_opt=[(null)]
root@i:~$

I've read the w1 notes in the documentation that indicated it had issues early 
on.  However, the 2.6.35 kernel is widely used in embedded systems and has had 
long term development.  Both Freescale and TI produce embedded CPUs 1-wire bus 
masters in silicon that would use the w1 driver, so I'd expect it to function 
until contrary evidence is seen.  

Thanks,

Larry

From: Paul Alfille [mailto:paul.alfi...@gmail.com] 
Sent: Thursday, February 13, 2014 12:11 PM
To: OWFS (One-wire file system) discussion and help
Subject: Re: [Owfs-developers] 1-wire devices not showing in owfs

2 thoughts:
 
1. w1 must be run as root
2. the w1 kernel drivers had problems in some of the 2.x kernels. Can you run 
with debugging and send me a transscript?
 
Paul


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to