Провайдер сломал интернет. Вернее не сломал, но погнул сильно.
Качаю и поставлю сейчас новую версию.
UPD: Поставил, все работает и lsusb завелся.
fuse по прежнему ругается, модули распакованы по инструкции.
PHP Code:
owfs -u --mountpoint=/tmp/var/owfs/ --error_level 12
CONNECT: owfs.c:main(123) fuse mount point: /tmp/var/owfs/
CONNECT: ow_avahi_link.c:OW_Load_avahi_library(72) No Avahi support. Library libavahi-client couldn't be loaded
CONNECT: ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is disabled since dnssd library isn't found
CALL: ow_parsename.c:FS_ParsedName_anywhere(91) path=[]
DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for simulated adapters)
CONNECT: ow_usb_cycle.c:USB_next(68) Bus master found: 1:2
DEFAULT: ow_usb_msg.c:DS9490_open(276) Opened USB DS9490 bus master at 1:2.
CALL: ow_parsename.c:FS_ParsedName_anywhere(91) path=[]
CALL: ow_parsename.c:FS_ParsedName_anywhere(91) path=[/uncached/bus.0]
DEBUG: ow_dir.c:FS_dir(63) path=/uncached/bus.0
CALL: ow_dir.c:FS_dir_both(98) path=/uncached/bus.0
CALL: ow_parsename.c:FS_ParsedName_anywhere(91) path=[/uncached/bus.0/interface]
DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on /uncached/bus.0/interface
DEBUG: ow_parsename.c:FS_ParsedName_destroy(55) /uncached/bus.0/interface
DEBUG: ow_search.c:BUS_first(32) Start of directory path=/uncached/bus.0 device=00 00 00 00 00 00 00 00
DEBUG: ow_ds9490.c:DS9490_next_both(579) Index 0
DEBUG: ow_select.c:BUS_select(78) Selecting a path (and device) path=/uncached/bus.0 SN=00 00 00 00 00 00 00 00 last path=FF 00 00 00 00 00 00 00
DEBUG: ow_select.c:BUS_select(83) Clearing root branch
DATA: ow_ds9490.c:DS9490_SetSpeed(920) set flexible speed
DEBUG: ow_transaction.c:BUS_transaction_single(106) send = 0
DEBUG: ow_transaction.c:BUS_transaction_single(201) end = 0
DEBUG: ow_ds9490.c:DS9490_directory(658) Got 16 bytes from USB search
DEBUG: ow_ds9490.c:DS9490_directory(686) gulp. Adding element 0:28 B0 97 3C 02 00 00 EA
DEBUG: ow_ds9490.c:DS9490_next_both(597) SN found: 28 B0 97 3C 02 00 00 EA
DEBUG: ow_search.c:BUS_next(71) Device found: 28 B0 97 3C 02 00 00 EA
DEBUG: ow_cache.c:Cache_Add_Device(506) Adding device location 28 B0 97 3C 02 00 00 EA bus=0
DEBUG: ow_cache.c:Cache_Add_Common(591) Add to cache sn 28 B0 97 3C 02 00 00 EA pointer=0x2ab821dc index=0 size=4
DEBUG: ow_cache.c:Cache_Add_Device(506) Adding device location 28 B0 97 3C 02 00 00 EA bus=0
DEBUG: ow_cache.c:Cache_Add_Common(591) Add to cache sn 28 B0 97 3C 02 00 00 EA pointer=0x2ab821dc index=0 size=4
CALL: ow_parsename.c:FS_ParsedName_anywhere(91) path=[/uncached/bus.0/28.B0973C020000]
DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on /uncached/bus.0/28.B0973C020000
DEBUG: ow_parsename.c:FS_ParsedName_destroy(55) /uncached/bus.0/28.B0973C020000
DEBUG: ow_ds9490.c:DS9490_next_both(579) Index 1
DEBUG: ow_select.c:BUS_select(78) Selecting a path (and device) path=/uncached/bus.0 SN=00 00 00 00 00 00 00 00 last path=00 00 00 00 00 00 00 00
DEBUG: ow_select.c:BUS_select(86) Continuing root branch
DEBUG: ow_ds9490.c:DS9490_directory(658) Got 16 bytes from USB search
DEBUG: ow_ds9490.c:DS9490_directory(686) gulp. Adding element 0:28 61 87 3C 02 00 00 65
DEBUG: ow_ds9490.c:DS9490_next_both(597) SN found: 28 61 87 3C 02 00 00 65
DEBUG: ow_search.c:BUS_next(71) Device found: 28 61 87 3C 02 00 00 65
DEBUG: ow_cache.c:Cache_Add_Device(506) Adding device location 28 61 87 3C 02 00 00 65 bus=0
DEBUG: ow_cache.c:Cache_Add_Common(591) Add to cache sn 28 61 87 3C 02 00 00 65 pointer=0x2ab821dc index=0 size=4
DEBUG: ow_cache.c:Cache_Add_Device(506) Adding device location 28 61 87 3C 02 00 00 65 bus=0
DEBUG: ow_cache.c:Cache_Add_Common(591) Add to cache sn 28 61 87 3C 02 00 00 65 pointer=0x2ab821dc index=0 size=4
CALL: ow_parsename.c:FS_ParsedName_anywhere(91) path=[/uncached/bus.0/28.61873C020000]
DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on /uncached/bus.0/28.61873C020000
DEBUG: ow_parsename.c:FS_ParsedName_destroy(55) /uncached/bus.0/28.61873C020000
DEBUG: ow_ds9490.c:DS9490_next_both(579) Index 2
DEBUG: ow_select.c:BUS_select(78) Selecting a path (and device) path=/uncached/bus.0 SN=00 00 00 00 00 00 00 00 last path=00 00 00 00 00 00 00 00
DEBUG: ow_select.c:BUS_select(86) Continuing root branch
DEBUG: ow_ds9490.c:DS9490_directory(658) Got 8 bytes from USB search
DEBUG: ow_ds9490.c:DS9490_directory(686) gulp. Adding element 0:81 F6 69 2E 00 00 00 ED
DEBUG: ow_ds9490.c:DS9490_next_both(597) SN found: 81 F6 69 2E 00 00 00 ED
DEBUG: ow_search.c:BUS_next(71) Device found: 81 F6 69 2E 00 00 00 ED
DEBUG: ow_cache.c:Cache_Add_Device(506) Adding device location 81 F6 69 2E 00 00 00 ED bus=0
DEBUG: ow_cache.c:Cache_Add_Common(591) Add to cache sn 81 F6 69 2E 00 00 00 ED pointer=0x2ab821dc index=0 size=4
DEBUG: ow_cache.c:Cache_Add_Device(506) Adding device location 81 F6 69 2E 00 00 00 ED bus=0
DEBUG: ow_cache.c:Cache_Add_Common(591) Add to cache sn 81 F6 69 2E 00 00 00 ED pointer=0x2ab821dc index=0 size=4
CALL: ow_parsename.c:FS_ParsedName_anywhere(91) path=[/uncached/bus.0/81.F6692E000000]
DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on /uncached/bus.0/81.F6692E000000
DEBUG: ow_parsename.c:FS_ParsedName_destroy(55) /uncached/bus.0/81.F6692E000000
DEBUG: ow_ds9490.c:DS9490_next_both(579) Index 3
DEBUG: ow_cache.c:Cache_Add_Dir(429) Adding duirectory for 00 00 00 00 00 00 00 00 elements=3
DEBUG: ow_cache.c:Cache_Add_Common(591) Add to cache sn 00 00 00 00 00 00 00 00 pointer=0x2ab821e0 index=0 size=24
CALL: ow_parsename.c:FS_ParsedName_anywhere(91) path=[/uncached/bus.0/simultaneous]
DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on /uncached/bus.0/simultaneous
DEBUG: ow_parsename.c:FS_ParsedName_destroy(55) /uncached/bus.0/simultaneous
CALL: ow_parsename.c:FS_ParsedName_anywhere(91) path=[/uncached/bus.0/alarm]
DEBUG: ow_usb_cycle.c:DS9490_dir_callback(125) Callback on /uncached/bus.0/alarm
DEBUG: ow_parsename.c:FS_ParsedName_destroy(55) /uncached/bus.0/alarm
DEBUG: ow_dir.c:FS_dir_both(193) ret=0
DEBUG: ow_usb_cycle.c:DS9490_root_dir(156) Finished FS_dir
DEBUG: ow_parsename.c:FS_ParsedName_destroy(55) /uncached/bus.0
DEFAULT: ow_usb_cycle.c:DS9490_ID_this_master(191) Set DS9490 1:2 unique id to 81 F6 69 2E 00 00 00 ED
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 0 OWFS
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 1 /tmp/var/owfs/
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 2 -o
DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 3 direct_io
DEBUG: owfs.c:main(152) fuse_mnt_opt=[(null)]
DEBUG: owfs.c:main(154) fuse_open_opt=[(null)]
fuse: device not found, try 'modprobe fuse' first
В принципе и так все работает, можно забить на fuse, так как есть сервер (owserver), к нему цепляется owhttpd и показывает картинки.
Для того чтобы читать значения (нпример с датчиков температуры) или писать есть owread owwrite.
Набросал скрипт который читает значения с тепературных датчиков и пишет в mysql базу...
Code:
mysql> select * from temperature limit 20;
+-----------------+------------+---------------------+-------------+
| id | Name | Datetimes | Temperature |
+-----------------+------------+---------------------+-------------+
| 28.B0973C020000 | Left back | 2011-02-18 16:33:01 | 44.75 |
| 28.61873C020000 | Right back | 2011-02-18 16:33:01 | 46.375 |
| 28.B0973C020000 | Left back | 2011-02-18 16:35:01 | 44.875 |
| 28.61873C020000 | Right back | 2011-02-18 16:35:01 | 46.4375 |
| 28.B0973C020000 | Left back | 2011-02-18 16:40:01 | 44.8125 |
| 28.61873C020000 | Right back | 2011-02-18 16:40:01 | 46.375 |
| 28.B0973C020000 | Left back | 2011-02-18 16:45:01 | 44.8125 |
| 28.61873C020000 | Right back | 2011-02-18 16:45:01 | 46.375 |
| 28.B0973C020000 | Left back | 2011-02-18 16:50:02 | 44.75 |
| 28.61873C020000 | Right back | 2011-02-18 16:50:02 | 46.375 |
| 28.B0973C020000 | Left back | 2011-02-18 16:55:01 | 44.8125 |
| 28.61873C020000 | Right back | 2011-02-18 16:55:01 | 46.25 |
| 28.B0973C020000 | Left back | 2011-02-18 17:00:01 | 44.6875 |
| 28.61873C020000 | Right back | 2011-02-18 17:00:01 | 46.4375 |
| 28.61873C020000 | Right back | 2011-02-18 17:05:01 | 46.1875 |
| 28.B0973C020000 | Left back | 2011-02-18 17:05:01 | 44.75 |
| 28.B0973C020000 | Left back | 2011-02-18 17:10:01 | 45 |
| 28.61873C020000 | Right back | 2011-02-18 17:10:01 | 46.375 |
| 28.B0973C020000 | Left back | 2011-02-18 17:15:01 | 44.9375 |
| 28.61873C020000 | Right back | 2011-02-18 17:15:01 | 46.25 |
+-----------------+------------+---------------------+-------------+
Так что вашими стараниями owfs побежден и работает.
PS: Возможно я не так понял и надо загрузить модули от RTN? =)
Если у вас fuse явно используется, значит у меня не какой то не тот модуль. Попробую разобраться. Как из командной строки посмотреть версию прошивки?