Odp: Openwert 15.05 with kernel 3.18.40 and 1-wire GPIO

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Odp: Openwert 15.05 with kernel 3.18.40 and 1-wire GPIO

sp2ong
I have try complied owfs 3.1p1 and when run with debug

root@OpenWRT:/tmp# owserver --w1 --debug
DEBUG MODE
libow version:
        3.1p1
  DEBUG: ow_daemon.c:(170) main thread id = 2011697936
  DEBUG: ow_inotify.c:(80) No configuration files to monitor
   CALL: ow_parsename.c:(104) path=[]
  DEBUG: owlib.c:(77) Global temp limit 0C to 100C (for fake and mock adapters)
CONNECT: ow_w1_bind.c:(54) [Protocol not supported] Netlink (w1) socket (are you root?)
  DEBUG: ow_w1_monitor.c:(65) [Protocol not supported] Netlink problem -- are you root?
DEFAULT: owlib.c:(52) No valid 1-wire buses found
  DEBUG: ow_exit.c:(17) Exit code = 1
   CALL: ow_lib_close.c:(21) Starting Library cleanup
   CALL: ow_lib_stop.c:(22) Clear Cache
  DEBUG: ow_cache.c:(295) Flipping cache tree (purging timed-out data)
  DEBUG: ow_cache.c:(313) flip cache. tdestroy() will be called.
  DEBUG: ow_cache.c:(295) Flipping cache tree (purging timed-out data)
  DEBUG: ow_cache.c:(313) flip cache. tdestroy() will be called.
   CALL: ow_lib_stop.c:(24) Closing input devices
   CALL: ow_lib_stop.c:(26) Closing output devices
   CALL: ow_lib_stop.c:(28) Clearing compiled expressions
  DEBUG: ow_regex.c:(129) Regex destroy done
   CALL: ow_lib_close.c:(42) Finished Library cleanup
  DEBUG: ow_lib_close.c:(50) Libraries closed

root@OpenWRT:/tmp# cat /sys/bus/w1/drivers/w1_slave_driver/28-0415935d6cff/w1_slave
51 01 4b 46 7f ff 0c 10 ab : crc=ab YES
51 01 4b 46 7f ff 0c 10 ab t=21062






------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Reply | Threaded
Open this post in threaded view
|

Re: Odp: Openwert 15.05 with kernel 3.18.40 and 1-wire GPIO

Jan Kandziora
Am 09.11.2016 um 17:59 schrieb Waldek:

> I have try complied owfs 3.1p1 and when run with debug
>
> root@OpenWRT:/tmp# owserver --w1 --debug
> DEBUG MODE
> libow version:
> 3.1p1
>   DEBUG: ow_daemon.c:(170) main thread id = 2011697936
>   DEBUG: ow_inotify.c:(80) No configuration files to monitor
>    CALL: ow_parsename.c:(104) path=[]
>   DEBUG: owlib.c:(77) Global temp limit 0C to 100C (for fake and mock adapters)
> CONNECT: ow_w1_bind.c:(54) [Protocol not supported] Netlink (w1) socket (are you root?)
>
Most likely the OpenWrt kernel is missing CONFIG_CONNECTOR (Device
Drivers->Connector - unified userspace <-> kernelspace linker)

Kind regards

        Jan


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Owfs-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/owfs-developers