Hi Paul,

Well I've made some good progress in that I now have a Linksys NSLU2 with
OpenWRT 8.09.2 installed

I installed the owfs packages and the version reported is:

owfs version:
        2.7p13
libow version:
        2.7p13

I've installed the FTDI USB drivers and can now see the /dev/ttyUSB0 device
when I connect the LinkUSB adaptor

However when I go to run:

        owserver --link /dev/ttyUSB0 --foreground --error_level=9

It fails to find the LINK adaptor correctly

r...@openwrt:~# owserver --link /dev/ttyUSB0 --foreground --error_level=9
   CALL: PARSENAME path=[]
Byte buffer Attempt serial write:, length=1
--000: 72
   <r>
Byte buffer Serial read:, length=3
--000: 50 0D 0A
   <P..>
  DEBUG: LINK reset ok, devices Present
Byte buffer Attempt serial write:, length=1
--000: 20
   < >
  DEBUG: Checking LINK version
Byte buffer Serial read:, length=11
--000: 4C 69 6E 6B 55 53 42 20 56 31 2E
   <LinkUSB V1.>
Byte buffer Serial read:, length=3
--000: 33 0D 0A
   <3..>
Byte buffer Read version from link, length=36
--000: 4C 69 6E 6B 55 53 42 20 56 31 2E 33 0D 0A 00 00
--016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
--032: 00 00 00 00
   <LinkUSB V1.3........................>
DEFAULT: LINK detection error
CONNECT: Cannot open LINK adapter at /dev/ttyUSB0
  DEBUG: COM_close: flush
  DEBUG: COM_close: restore
  DEBUG: COM_close: close
  DEBUG: main_threadid = 1024
  DEBUG: ServerProcessOut = 1026
  DEBUG: OW_Announce: end

However when I go to run:

        owserver -d /dev/ttyUSB0 --foreground --error_level=9

It seems to work ok and it finds my 1 DS28EA00 sensor on my test setup and
can read the temperature etc just fine.

Any ideas?

Does it matter much if it doesn't work in native LINK mode?

PS I also tried it on another Debian machine running LXDE and owfs 2.7p19
which was compiled from source and I get the same result.

Regards

Alex Shepherd


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to