Am 26.06.2016 um 17:24 schrieb samuix:
> Hi again,
> after the measurement....
> We tried a linux program to search the 1-wire bus.... -> so we installed 
> digitemp at the same linux pc.
> Sensors and values are found, but with owserver,we still didn´t found the 
> sensors.
>
I hate to say that, but I just rummaged through my boxes of stuff, found
a FTDI-based USB<->RS232 converter and two original DS9097U devices,
hooked them together and... it works for me.

Latest owfs sources from the git archive. Compiled without ftdi support.

# demsg -c
usb 3-1: new full-speed USB device number 4 using ohci-pci
usb 3-1: New USB device found, idVendor=0403, idProduct=6001
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: usb serial converter
usb 3-1: Manufacturer: ftdi
usb 3-1: SerialNumber: ftAKY934
ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected
usb 3-1: Detected FT232BM
usb 3-1: Number of endpoints 2
usb 3-1: Endpoint 1 MaxPacketSize 64
usb 3-1: Endpoint 2 MaxPacketSize 64
usb 3-1: Setting MaxPacketSize 64
usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0

# /opt/owfs/bin/owserver -d /dev/ttyUSB0 --debug
DEBUG MODE
libow version:
        3.1p1
  DEBUG: ow_daemon.c:(170) main thread id = 140019082807040
  DEBUG: ow_inotify.c:(80) No configuration files to monitor
CONNECT: ow_dnssd.c:(81) Zeroconf/Bonjour is disabled since dnssd
library isn't found
   CALL: ow_parsename.c:(104) path=[]
  DEBUG: owlib.c:(77) Global temp limit 0C to 100C (for fake and mock
adapters)
  DEBUG: ow_ds9097U.c:(471) Attempt 0 of 3 to initialize the DS9097U
  DEBUG: ow_ds9097U.c:(565) Send the initial reset to the bus master.
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_net_server.c:(76) ServerAddr: [0.0.0.0] [4304]


$ /opt/owfs/bin/owget /uncached
/uncached/10.AE9C54020800
/uncached/bus.0
/uncached/settings
/uncached/system
/uncached/statistics
/uncached/structure
/uncached/simultaneous
/uncached/alarm

Back at logging terminal:
  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=10 size=0 type=7 sg=0x10A
offset=0
  DEBUG: from_client.c:(74) FromClient (no servermessage) payload=10
size=0 type=7 controlflags=0x10A offset=0
  DEBUG: ow_tcp_read.c:(63) attempt 10 bytes Time: 10.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 10 - 0 = 10
  DEBUG: handler.c:(153) START handler /uncached
   CALL: data.c:(103) DataHandler: parse path=/uncached
  DEBUG: ow_parseobject.c:(163) /uncached
   CALL: ow_parsename.c:(104) path=[/uncached]
  DEBUG: ow_regex.c:(74) Reg Ex expression <^bus\.([[:digit:]]+)/?>
compiled to 0x7f58bb929da0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^settings/?> compiled to
0x7f58bb929d60
  DEBUG: ow_regex.c:(74) Reg Ex expression <^statistics/?> compiled to
0x7f58bb929d20
  DEBUG: ow_regex.c:(74) Reg Ex expression <^structure/?> compiled to
0x7f58bb929ce0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^system/?> compiled to
0x7f58bb929ca0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^interface/?> compiled to
0x7f58bb929c60
  DEBUG: ow_regex.c:(74) Reg Ex expression <^text/?> compiled to
0x7f58bb929c20
  DEBUG: ow_regex.c:(74) Reg Ex expression <^json/?> compiled to
0x7f58bb929be0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^uncached/?> compiled to
0x7f58bb929ba0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^unaliased/?> compiled to
0x7f58bb929b60
  DEBUG: ow_regex.c:(154) Not found
   CALL: data.c:(163) Directory message (all at once)
  DEBUG: dirall.c:(66) OWSERVER Dir-All SpecifiedBus=0 path = /uncached
  DEBUG: ow_dir.c:(80) path=/uncached
   CALL: ow_dir.c:(104) path=/uncached
  DEBUG: ow_search.c:(32) Start of directory path=/uncached device=00 00
00 00 00 00 00 00
  DEBUG: ow_select.c:(70) Selecting a path (and device) path=/uncached
SN=00 00 00 00 00 00 00 00 last path=00 00 00 00 00 00 00 00
  DEBUG: ow_select.c:(81) Clearing root branch
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 2 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 2 - 0 = 2
  DEBUG: ow_transaction.c:(113) send = 0
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_transaction.c:(131) readin = 0
  DEBUG: ow_transaction.c:(208) end = 0
  DEBUG: ow_select.c:(247) No DS2409 microlan hub found at this level
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 1 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 1 - 0 = 1
  DEBUG: ow_tcp_read.c:(63) attempt 16 bytes Time: 5.000000 seconds
  DEBUG: ow_tcp_read.c:(113) read: 16 - 0 = 16
  DEBUG: ow_ds9097U.c:(918) SN found: 10 AE 9C 54 02 08 00 CD
  DEBUG: ow_search.c:(74) Device found: 10 AE 9C 54 02 08 00 CD
  DEBUG: ow_cache.c:(546) Adding device location 10 AE 9C 54 02 08 00 CD
bus=0
  DEBUG: ow_cache.c:(635) Add to cache sn 10 AE 9C 54 02 08 00 CD
pointer=0x7f58bb92a0d4 index=0 size=4
  DEBUG: ow_cache.c:(546) Adding device location 10 AE 9C 54 02 08 00 CD
bus=0
  DEBUG: ow_cache.c:(635) Add to cache sn 10 AE 9C 54 02 08 00 CD
pointer=0x7f58bb92a0d4 index=0 size=4
   CALL: ow_parsename.c:(104) path=[/uncached/10.AE9C54020800]
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(74) Reg Ex expression <^alarm?> compiled to
0x7f58bb929960
  DEBUG: ow_regex.c:(74) Reg Ex expression <^simultaneous/?> compiled to
0x7f58bb929ae0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^thermostat/?> compiled to
0x7f58bb929aa0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^text/?> compiled to
0x7f58bb929a60
  DEBUG: ow_regex.c:(74) Reg Ex expression <^json/?> compiled to
0x7f58bb929a20
  DEBUG: ow_regex.c:(74) Reg Ex expression <^uncached/?> compiled to
0x7f58bb9299e0
  DEBUG: ow_regex.c:(74) Reg Ex expression <^unaliased/?> compiled to
0x7f58bb9299a0
  DEBUG: ow_regex.c:(74) Reg Ex expression
<^([[:xdigit:]]{2})\.?([[:xdigit:]]{12})\.?([[:xdigit:]]{2}){0,1}$>
compiled to 0x7f58bb929de0
  DEBUG: ow_regex.c:(201) 0: 0->15 found <><10.AE9C54020800><>
  DEBUG: ow_regex.c:(201) 1: 0->2 found <><10><.AE9C54020800>
  DEBUG: ow_regex.c:(201) 2: 3->15 found <10.><AE9C54020800><>
  DEBUG: ow_cache.c:(912) Looking for device 10 AE 9C 54 02 08 00 CD
  DEBUG: ow_cache.c:(1070) Search in cache sn 10 AE 9C 54 02 08 00 CD
pointer=0x7f58bb92a0d4 index=0 size=4
  DEBUG: ow_cache.c:(1086) Value found in cache. Remaining life: 120
seconds.
  DEBUG: ow_presence.c:(75) Found device on bus 0
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(201) 0: 0->15 found <><10.AE9C54020800><>
  DEBUG: ow_regex.c:(201) 1: 0->2 found <><10><.AE9C54020800>
  DEBUG: ow_regex.c:(201) 2: 3->15 found <10.><AE9C54020800><>
  DEBUG: ow_parsename.c:(63) /uncached/10.AE9C54020800
  DEBUG: ow_cache.c:(478) Adding directory for 00 00 00 00 00 00 00 00
elements=1
  DEBUG: ow_cache.c:(635) Add to cache sn 00 00 00 00 00 00 00 00
pointer=0x7f58bb92a0e0 index=0 size=8
   CALL: ow_parsename.c:(104) path=[/uncached/bus.0]
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(201) 0: 0->5 found <><bus.0><>
  DEBUG: ow_regex.c:(201) 1: 4->5 found <bus.><0><>
  DEBUG: ow_regex.c:(74) Reg Ex expression <^/bus\.[[:digit:]]+/?>
compiled to 0x7f58bb929b20
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_parsename.c:(63) /uncached/bus.0
   CALL: ow_parsename.c:(104) path=[/uncached/settings]
 DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_parsename.c:(63) /uncached/settings
   CALL: ow_parsename.c:(104) path=[/uncached/system]
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_parsename.c:(63) /uncached/system
   CALL: ow_parsename.c:(104) path=[/uncached/statistics]
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_parsename.c:(63) /uncached/statistics
   CALL: ow_parsename.c:(104) path=[/uncached/structure]
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_parsename.c:(63) /uncached/structure
   CALL: ow_parsename.c:(104) path=[/uncached/simultaneous]
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_parsename.c:(63) /uncached/simultaneous
   CALL: ow_parsename.c:(104) path=[/uncached/alarm]
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_regex.c:(154) Not found
  DEBUG: ow_parsename.c:(63) /uncached/alarm
  DEBUG: ow_dir.c:(199) ret=0
  DEBUG: ow_parsename.c:(63) /uncached
  DEBUG: data.c:(193) DataHandler: FS_ParsedName_destroy done
  DEBUG: data.c:(207) DataHandler: cm.ret=0
  DEBUG: to_client.c:(76) payload=158 size=157, ret=0, sg=0x10A
offset=32770
  DEBUG: data.c:(226) Finished with client request
  DEBUG: handler.c:(135) OWSERVER handler done
  DEBUG: ow_net_server.c:(259) Normal completion.


So... it has to be something in your setup that is different from mine.

As Maxim/Dallas doesn't know a thing about the DS2480R+ but only about
the obsolete DS2480 and the current DS2480B, please go check which chip
is REALLY inside your host adaptor device.

https://www.maximintegrated.com/en/pst/run.mvp?q=ds2480r

Maybe it's something homebrewn which isn't fully compatible to the DS2480B.

Kind regards

        Jan


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to