Hi Paul,

Paul Alfille wrote:
> Although the structure for w1 support is in owfs, the modified kernel module
> wasn't in place until 2.6.30 and so hasn't been tested.
> 
> What kernel version are you using?

I'm using 2.6.32-rc6. I already spotted one problem/bug in OWFS, which
brought me a bit further with the "owfs" program. Will send a patch
tomorrow. "owserver" works a bit better:

  bash-3.2# ./owdir
  /01.1B5F6B130000
  /43.BD5711000000
  /43.6B4011000000
  /bus.0
  /uncached
  /settings
  /system
  /statistics
  /structure
  -bash-3.2# ./owdir /43.BD5711000000
  /43.BD5711000000/address
  /43.BD5711000000/alias
  /43.BD5711000000/crc8
  /43.BD5711000000/family
  /43.BD5711000000/id
  /43.BD5711000000/locator
  /43.BD5711000000/memory
  /43.BD5711000000/pages
  /43.BD5711000000/present
  /43.BD5711000000/r_address
  /43.BD5711000000/r_id
  /43.BD5711000000/r_locator
  /43.BD5711000000/type

But still a few accesses fail:

  -bash-3.2# ./owread /43.BD5711000000/pages/page.0
  ServerRead: Data error on /43.BD5711000000/pages/page.0

Wolfgang.


> On Wed, Dec 2, 2009 at 9:44 AM, Wolfgang Grandegger 
> <w...@grandegger.com>wrote:
> 
>> Hallo,
>>
>> I'm trying to get OWFS running over the W1 netlink interface to a MXC
>> 1-wire bus-master on a ARM i.mx31 based board. The W1 of the kernel
>> works fine and I can see the 1-wire devices:
>>
>> -bash-3.2# ls /sys/bus/w1/devices
>> 01-0000136b5f1b  43-00000011406b  43-0000001157bd  w1_bus_master1
>>
>> Unfortunately, I do not get OWFS to work:
>>
>>  -bash-3.2# owfs --w1 /mnt/1-wire
>>  -bash-3.2# insmod mxc_w1.ko
>>  -bash-3.2# cd /mnt/1-wire
>>  -bash-3.2# ls
>>  settings  statistics  structure  system  uncached
>>
>> owfs seems not so scan for slave devices. I even need to load the 1-wire
>> bus-master driver after starting owfs, otherwise it will not realize the
>> bus masters properly. Are there any known issue?
>>
>> Thanks for help.
>>
>> Wolfgang.
>>
>>
>> ------------------------------------------------------------------------------
>> Join us December 9, 2009 for the Red Hat Virtual Experience,
>> a free event focused on virtualization and cloud computing.
>> Attend in-depth sessions from your desk. Your couch. Anywhere.
>> http://p.sf.net/sfu/redhat-sfdev2dev
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to