Odp: Odp: Re: Odp: Re: 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: Odp: Re: Odp: Re: Odp: Openwert 15.05 with kernel 3.18.40 and 1-wire GPIO

sp2ong
I have recompile kernel with CONNECTOR and now owserver start but I can not see my DS18B20 via command owdir

root@OpenWRT:~# cat /sys/bus/w1/drivers/w1_slave_driver/28-0415935d6cff/w1_slave
56 01 4b 46 7f ff 0c 10 7b : crc=7b YES
56 01 4b 46 7f ff 0c 10 7b t=21375
root@OpenWRT:~# owserver --w1 --debug
DEBUG MODE
libow version:
        3.1p4
  DEBUG: ow_daemon.c:(170) main thread id = 2012427024
  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)
  DEBUG: ow_net_server.c:(76) ServerAddr: [0.0.0.0] [4304]
CONNECT: ow_zero.c:(143) Zeroconf not enabled
  DEBUG: ow_w1_list.c:(54) Sending w1 bus master list message
  DEBUG: ow_w1_send.c:(132) Netlink send -----------------
NLMSGHDR: len=48 type=3 (NLMSG_DONE) flags=5 seq=0|1 pid=1234
CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=1 len=12 flags=0
W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=0 id=0
W1_NETLINK_CMD: NULL w1c field
NULL data
  DEBUG: ow_w1_send.c:(143) NETLINK sent seq=1
  DEBUG: ow_w1_dispatch.c:(172) Dispatch loop
  DEBUG: ow_w1_parse.c:(112) Wait to peek at message
  DEBUG: ow_tcp_read.c:(63) attempt 24 bytes Time: 10.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 24 - 0 = 24
  DEBUG: from_client.c:(66) FromClient payload=2 size=0 type=7 sg=0x10A offset=0
  DEBUG: from_client.c:(74) FromClient (no servermessage) payload=2 size=0 type=7 controlflags=0x10A offset=0
  DEBUG: ow_tcp_read.c:(63) attempt 2 bytes Time: 10.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 2 - 0 = 2
  DEBUG: handler.c:(153) START handler /
   CALL: data.c:(103) DataHandler: parse path=/
  DEBUG: ow_parseobject.c:(163) /
   CALL: ow_parsename.c:(104) path=[/]
   CALL: data.c:(163) Directory message (all at once)
  DEBUG: dirall.c:(66) OWSERVER Dir-All SpecifiedBus=0 path = /
  DEBUG: ow_dir.c:(80) path=/
   CALL: ow_dir.c:(104) path=/
  DEBUG: ow_cache.c:(853) Looking for directory 00 00 00 00 00 00 00 00
  DEBUG: ow_cache.c:(866) Get from cache sn 00 00 00 00 00 00 00 00 pointer=0x77f1d104 extension=0
  DEBUG: ow_cache.c:(895) Dir not found in cache
   CALL: ow_parsename.c:(104) path=[/bus.0]
  DEBUG: ow_regex.c:(74) Reg Ex expression <^bus\.([[:digit:]]+)/?> compiled to 0x77f1d7a0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^settings/?> compiled to 0x77f1d780
  DEBUG: ow_regex.c:(74) Reg Ex expression <^statistics/?> compiled to 0x77f1d760
  DEBUG: ow_regex.c:(74) Reg Ex expression <^structure/?> compiled to 0x77f1d740
  DEBUG: ow_regex.c:(74) Reg Ex expression <^system/?> compiled to 0x77f1d720
  DEBUG: ow_regex.c:(74) Reg Ex expression <^interface/?> compiled to 0x77f1d700
  DEBUG: ow_regex.c:(74) Reg Ex expression <^text/?> compiled to 0x77f1d6e0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^json/?> compiled to 0x77f1d6c0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^uncached/?> compiled to 0x77f1d6a0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^unaliased/?> compiled to 0x77f1d680




------------------------------------------------------------------------------
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: Odp: Re: Odp: Re: Odp: Openwert 15.05 with kernel 3.18.40 and 1-wire GPIO

Jan Kandziora
Am 09.11.2016 um 20:14 schrieb Waldek:
> I have recompile kernel with CONNECTOR and now owserver start but I can not see my DS18B20 via command owdir
>
What's the output of

$ owdir /

and

$ owdir /uncached


> root@OpenWRT:~# cat /sys/bus/w1/drivers/w1_slave_driver/28-0415935d6cff/w1_slave
> 56 01 4b 46 7f ff 0c 10 7b : crc=7b YES
> 56 01 4b 46 7f ff 0c 10 7b t=21375
> root@OpenWRT:~# owserver --w1 --debug
> DEBUG MODE
> libow version:
> 3.1p4
>   DEBUG: ow_daemon.c:(170) main thread id = 2012427024
>   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)
>   DEBUG: ow_net_server.c:(76) ServerAddr: [0.0.0.0] [4304]
> CONNECT: ow_zero.c:(143) Zeroconf not enabled
>   DEBUG: ow_w1_list.c:(54) Sending w1 bus master list message
>   DEBUG: ow_w1_send.c:(132) Netlink send -----------------
> NLMSGHDR: len=48 type=3 (NLMSG_DONE) flags=5 seq=0|1 pid=1234
> CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=0|1 ack=1 len=12 flags=0
> W1_NETLINK_MSG: type=6 (W1_LIST_MASTERS) len=0 id=0
> W1_NETLINK_CMD: NULL w1c field
> NULL data
>
This looks as you have a kernel version where w1 netlink is broken.

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