I'm recently playing around with trunk, trying to get OWFS to work. I had it already working reasonably well with AA12.09, but needed to switch to trunk for various reasons.
In the new configuration
- OWFS fails if I use the router with extroot (pivot overlay).
- OWFS works, if I don't use extroot.
OLD: AA 12.09 on DIR-505, extrooted, DS9490R attached to USB hub -> working configuration
NEW1: BB r40502 on DIR-505, extrooted, DS9490R attached to USB hub -> not working
NEW2: BB r40502 on DIR-505, DS9490R attached directly to router -> working
NEW3: BB r40502 on DIR-505, DS9490R attached to USB hub -> working
=> extroot makes owfs fail
Failure:
root@DIR-505-2:/mnt# owfs -uall /mnt/1wire/
DEFAULT: ow_usb_msg.c:DS9490_open(276) Opened USB DS9490 bus master at 1:4.
DEFAULT: ow_usb_cycle.c:DS9490_ID_this_master(191) Set DS9490 1:4 unique id to 81 5F 90 31 00 00 00 D0
root@DIR-505-2:/mnt# ls -l 1wire/
drwxrwxrwx 1 root root 8 Apr 16 00:01 28.1CC484040000
drwxrwxrwx 1 root root 8 Apr 16 00:01 81.5F9031000000
drwxr-xr-x 1 root root 8 Apr 16 00:01 alarm
drwxr-xr-x 1 root root 8 Apr 16 00:01 bus.0
drwxr-xr-x 1 root root 8 Apr 16 00:01 settings
drwxrwxrwx 1 root root 8 Apr 16 00:01 simultaneous
drwxr-xr-x 1 root root 8 Apr 16 00:01 statistics
drwxr-xr-x 1 root root 32 Apr 16 00:01 structure
drwxr-xr-x 1 root root 8 Apr 16 00:01 system
drwxr-xr-x 1 root root 8 Apr 16 00:01 uncached
So far, so good, but when I try to get a temperature reading, I get an error:
root@DIR-505-2:/mnt# cat 1wire/28.1CC484040000/temperature12
cat: read error: Invalid argument
and afterwards, the relevant IDs (28.xxx + 81.xxx) are gone:
root@DIR-505-2:/mnt# ls -l 1wire/
drwxr-xr-x 1 root root 8 Apr 16 00:01 bus.0
drwxr-xr-x 1 root root 8 Apr 16 00:01 settings
drwxr-xr-x 1 root root 8 Apr 16 00:01 statistics
drwxr-xr-x 1 root root 32 Apr 16 00:01 structure
drwxr-xr-x 1 root root 8 Apr 16 00:01 system
drwxr-xr-x 1 root root 8 Apr 16 00:01 uncached
I'm clueless about how extroot could possibly influence owfs... any hints / thoughts?
Edit: it's not extroot that makes owfs fail, but rather wireless is the culprit. My extroot had wireless turned on, thus owfs failed when extroot was present and worked when extroot was absent.
Now I'm a little bit futher, but the question remains:
Why does owfs in BB r40502 fail when wireless is enabled, while the same worked with AA12.09?
(Last edited by tmo26 on 15 Apr 2014, 23:38)