I don't know if the implementation of w1 works on your board, but we can
try to address any problems.

First, you have to run owfs as root to use w1. Communication is through
netlink and linux only allows that for the root user.
Second, if you run with the "--debug" flag and post the startup sequence we
can get a better idea of what is happening.

Thanks,

Paul Alfille

On Tue, Apr 24, 2012 at 8:13 AM, Ethan Xue <exe...@gmail.com> wrote:

> Hi,
>
> I'm new to this list, please excuse me if this has already been discussed
> here.
>
> I'm working on a AT91SAM9G45 board, and there is a DS2770BE chip
> connected to gpio of the cpu.After add some board-dependent
> modification to kernel source, there are some w1 related message when
> system boot:
>
> [42949374.110000] Driver for 1-wire Dallas network protocol.
>
> [42949374.120000] 1-Wire driver for the DS2760 battery monitor  chip  -
> (c) 2004
> -2005, Szabolcs Gyurko
>
> [42949384.190000] w1_master_driver w1_bus_master1: Family 2e for
> 2e.001000005b99.be is not registered.
>
> # ls /sys/bus/w1/devices/
>
> 2e-001000005b99  w1_bus_master1 :
>
> # ls /sys/bus/w1/devices/2e-001000005b99/
>
> driver     id         name       power      rw         subsystem  uevent
>
> I have compiled fuse.ko & owfs, and fuse.ko was inserted.
>
> # owfs --w1 -m /mnt/owfs
>
> But it's nothing in /mnt/owfs. and after execute:
>
> # mount
>
> There isn't owfs or fuse related iterm.
> I'm using 2.6.27 kernel configured w1_smem, w1_therm, w1_ds2760,
> w1_gpio options.How can i make owfs work, or there are some way to
> read/write /sys/bus/w1/devices/2e...../rw file to control DS2770?
>
> Any Help Will be greatly appreciated.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to