We're a supplier of the LinkUSB. Let me have a word with iButtonlink and see what they say.

Remember, the LinkUSB is effectively a combination of a LINK45 and an FTDI USB/serial adapter. The LINK45 in turn emulates a DS9097U-S09. So I suspect what the OWFS code is doing is pretending that the LinkUSB is a DS9097U-S09 connected to a virtual serial port (I haven't looked at the code recently so can't confirm or deny this at the moment).

The DS9490R is a completely different beast and I wouldn't be surprised if the code behaves differently with respect to the DS2409.

Anyway, let me have a word with the source of the linkUSB and see what they say.

Nigel

On 16/11/2015 20:12, Stefano Miccoli wrote:
I'm using a LinkUSB interface... no idea what's wrong with your setup, but let me share my configuration.

Here is my owfs.conf:

server: LINK = /dev/linkUSB0
server: port = 4304
server: readonly
server: error_level = 2
server: error_print = 1

/dev/linkUSB0 is a symlink to the actual device. The LinkUSB should appear as /dev/ttyUSB0 (but as everything USB if you have more than FT232 USB UART connected it could end up as /dev/ttyUSBx with any x)

$ ls -l /dev/linkUSB0
lrwxrwxrwx 1 root root 7 Nov 15 16:21 /dev/linkUSB0 -> ttyUSB0
$ ls -l /dev/ttyUSB0
crw-rw---T 1 root owfs 188, 0 Nov 16 18:32 /dev/ttyUSB0

Symlink is created by a udev rule, which also sets the device group (for running owserver as an unprivileged user.)

SUBSYSTEM=="tty", \
ATTRS{product}=="FT232R USB UART", ATTRS{serial}=="here your FT232R serial number", \
    SYMLINK+="linkUSB0", GROUP="owfs"


You can determine your FT232R serial number searching the output of

$ udevadm info -n /dev/ttyUSB0 -a

for the relevant ATTRS lines:

    ATTRS{manufacturer}=="FTDI"
    ATTRS{product}=="FT232R USB UART"
    ATTRS{serial}=="xxxxxxxx"

My linkUSB is the only bus master, so it appears as /bus.0 on owfs, and here is the printout of the interface tree:

/bus.0/interface/settings/address       '/dev/linkUSB0'
/bus.0/interface/settings/ds2404_found   '0'
/bus.0/interface/settings/name           'Other LINK'
/bus.0/interface/settings/overdrive      '0'
/bus.0/interface/settings/reconnect      '0'
/bus.0/interface/settings/version        '          16'
/bus.0/interface/statistics/bus_time     '     85786.9'
/bus.0/interface/statistics/close_errors '           0'
/bus.0/interface/statistics/detect_errors '           0'
/bus.0/interface/statistics/elapsed_time '     1927640'
/bus.0/interface/statistics/errors       '           0'
/bus.0/interface/statistics/locks        '     1202591'
/bus.0/interface/statistics/open_errors  '           0'
/bus.0/interface/statistics/overdrive/attempts '   0'
/bus.0/interface/statistics/overdrive/failures '   0'
/bus.0/interface/statistics/program_errors '           0'
/bus.0/interface/statistics/pullup_errors '           0'
/bus.0/interface/statistics/read_errors  '           0'
/bus.0/interface/statistics/reconnect_errors '   0'
/bus.0/interface/statistics/reconnects   '           1'
/bus.0/interface/statistics/reset_errors '           2'
/bus.0/interface/statistics/resets       '     1594947'
/bus.0/interface/statistics/search_errors/error_pass_1 '         0'
/bus.0/interface/statistics/search_errors/error_pass_2 '         0'
/bus.0/interface/statistics/search_errors/error_pass_3 '         0'
/bus.0/interface/statistics/select_errors '           0'
/bus.0/interface/statistics/shorts       '           0'
/bus.0/interface/statistics/status_errors '           0'
/bus.0/interface/statistics/timeouts     '           0'
/bus.0/interface/statistics/unlocks      '     1202608'
/bus.0/interface/statistics/write_errors '           2'

Hope this helps.

S.


On 16 Nov 2015, at 17:56, Matthias Urlichs <matth...@urlichs.de <mailto:matth...@urlichs.de>> wrote:

Hi,

I asked this a couple weeks ago. No reply, unfortunately.

Does anybody know whether it's possible to fix this? I'd hate to dig
through my home cabling to find+rip out these DS2409 things, they're
buried rather well, behind the newly-installed power wiring ...

On 15.08.2015 16:45, Matthias Urlichs wrote:
Hi,

I have an older 1wire network with a bunch of DS2409 (1st-gen HobbyBoards hub, among others). I just tried to replace a DS9490R with a LinkUSB interface. The
result was ... less than I expected.

# owdir
/1F.0CB204000000
[...]
# owdir /1F.0CB204000000/main
#

... i.e., nothing. Duh? Known limitation?
------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net <mailto:Owfs-developers@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/owfs-developers




------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers



------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140


_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to