On Thu, Apr 16, 2009 at 6:57 PM, <[email protected]> wrote:
> >So if you check the bus.x contents after startup, and select the mapping
> you like, it should stay consistent for that run of OWFS.
>
>
>
> Seems i need to mount it twice..
>
> It sounds like you want to use the filesystem interface (rather than the
network interface). That should make this problem easier: just set up a
system of soft links.
I'd first mount all the USB adapters to a set up directories.
for u in 0 1 2 3 4 5 6 7 8; do owfs -u$u -m /mnt/1w/$u
puts each adapter in a directory 1w/0 1w/1 ...
Then, based on contents:
ln -s /mnt/1w/2 /mnt/1wire/hvac
Setting up the links will be tedious, but not particularly difficult code.
I'd do it in bash. This should be quite robust and expandable.
>
> I want to have owfs process for hvac mounted on /mnt/1wire/hvac. I dont use
> in config and in code usb ports or something. Does it means that i need to
> mount it twice? Or there is (will be) a feature to mount by adapter's ID?
>
>
> >When the first master is taken down and the second activated, the bus will
> be in an undefined state, and all the devices will need to be initialized.
> In general that isn't an issue with 1-wire devices, except perhaps for some
> of your PIO controls.
>
>
>
> I hope any undesirable switchings will not occur?
>
No explicit switching. If power is maintained, no switching at all.
>
>
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers