I've tested the current version of OWFS against both the Link and
DS9097U serial adapters.
In short, they both work well in my setup (Ubuntu 10.10 and current
CVS OWFS version) so serial
support isn't fundamentally broken.

Test conditions:
1. Compile with owtraffic to show serial line communication
   ./configure --enable-owtraffic
   sudo make install
2. Physical connection with the PL2303 USB->serial convertor (I don't
have an HL-340 to test).
3. Start with debugging mode:
   sudo /opt/owfs/bin/owhttpd --debug -d /dev/ttyUSB0 -p 4444

I've included the startup sequence so you can compare.

I'd next look to the serial driver or a permissions issue. What's the
output of 'dmesg'?

Paul Alfille




On Thu, Nov 11, 2010 at 9:57 AM, Marcus Priesch <mar...@priesch.priv.at> wrote:
> Hi Wil,
>
> Am Montag, den 08.11.2010, 02:06 -1000 schrieb William Brown:
>> Since upgrading to Ubuntu 10.04 I have had the following problem using
>> rs232 to usb serial adapter (HL-340).
>
> so you are not using a LinkUSB ... maybe things are different for this
> kind of adapter ... what 1w-master are you using behind your USB/serial
> adapter ?!?!
>
> regards,
> marcus.
>
>>
>> Nov 8 01:45:02 Irry OWFS[9566]: CONNECT: ow_com_read.c:COM_read(70)
>> Timeout error (read) serial port: /dev/ttyUSB0
>>
>> Serial adapter works with X10 but not with owfs 2.8p3 (or p2). Was
>> working with Ubuntu 9.10 and owfs 2.7p24. Tried the fixes for Linkusb
>> timout but no joy. Tried owserver with fake=10 and owdir and it was ok.
>> So owserver is working and serial adapter working but not together. Any
>> suggestions?
>>
>> Also had to make these fixes to compile owfs
>>
>> Oct 27 22:08:24 Irry OWFS[856]: CONNECT:
>> ow_avahi_link.c:OW_Load_avahi_library(74) No Avahi support. Library
>> libavahi-client couldn't be loaded
>> looking for /usr/lib/libavahi-client.so but I have
>> /usr/lib/libavahi-client.so.3
>> looking for /usr/lib/libavahi-common.so but I have
>> /usr/lib/libavahi-common.so.3
>>
>> Oct 30 20:25:05 Irry OWFS[914]: CONNECT:
>> ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is disabled since
>> dnssd library isn't found
>> looking for libdns_sd.so but I have libdns_sd.so.1
>>
>> ow_wrap.c:2710: warning: function declaration isn’t a prototype
>> *** -php4 is no longer supported.
>> change php4 to php5
>>
>> ------------------------------------------------------------------------------
>> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
>> David G. Thomson, author of the best-selling book "Blueprint to a
>> Billion" shares his insights and actions to help propel your
>> business during the next growth cycle. Listen Now!
>> http://p.sf.net/sfu/SAP-dev2dev
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
>
> ------------------------------------------------------------------------------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
p...@gateway:~/owfs$ /opt/owfs/bin/owhttpd --debug -d /dev/ttyUSB0 -p 4444
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(77) Avahi support: 
libavahi-client loaded successfully
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(79) Avahi library function 
found: avahi_client_errno
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(80) Avahi library function 
found: avahi_client_free
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(81) Avahi library function 
found: avahi_client_new
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(82) Avahi library function 
found: avahi_client_get_domain_name
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(83) Avahi library function 
found: avahi_entry_group_add_service
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(84) Avahi library function 
found: avahi_entry_group_commit
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(85) Avahi library function 
found: avahi_entry_group_is_empty
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(86) Avahi library function 
found: avahi_entry_group_new
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(87) Avahi library function 
found: avahi_entry_group_reset
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(89) Avahi library function 
found: avahi_service_resolver_free
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(90) Avahi library function 
found: avahi_service_resolver_new
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(91) Avahi library function 
found: avahi_service_browser_free
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(92) Avahi library function 
found: avahi_service_browser_new
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(104) Avahi support: 
libavahi-common loaded successfully.
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(106) Avahi library function 
found: avahi_simple_poll_free
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(107) Avahi library function 
found: avahi_simple_poll_get
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(108) Avahi library function 
found: avahi_simple_poll_loop
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(109) Avahi library function 
found: avahi_simple_poll_new
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(110) Avahi library function 
found: avahi_simple_poll_quit
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(111) Avahi library function 
found: avahi_strerror
   CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[]
  DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for 
simulated adapters)
  DEBUG: ow_ds9097U.c:DS2480_initialize_repeatedly(259) Attempt #0 to 
initialize the DS9097U
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: C1
   <.>
  DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(337) Send the initial reset to 
the bus master.
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 71
   <q>
TRAFFIC IN  <slurp> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 70
   <p>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 0F
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 00
   <.>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: C5
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: DD
   <.>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 71
   <q>
TRAFFIC IN  <slurp> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 70
   <p>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 0F
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 00
   <.>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: C5
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: DD
   <.>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 45
   <E>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 44
   <D>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 5B
   <[>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 5A
   <Z>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 3F
   <?>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 3E
   <>>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 29
   <)>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 28
   <(>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 95
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 97
   <.>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: C5
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: DD
   <.>


p...@gateway:~/owfs$ /opt/owfs/bin/owhttpd --debug -d /dev/ttyUSB0 -p 4444
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(77) Avahi support: 
libavahi-client loaded successfully
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(79) Avahi library function 
found: avahi_client_errno
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(80) Avahi library function 
found: avahi_client_free
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(81) Avahi library function 
found: avahi_client_new
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(82) Avahi library function 
found: avahi_client_get_domain_name
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(83) Avahi library function 
found: avahi_entry_group_add_service
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(84) Avahi library function 
found: avahi_entry_group_commit
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(85) Avahi library function 
found: avahi_entry_group_is_empty
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(86) Avahi library function 
found: avahi_entry_group_new
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(87) Avahi library function 
found: avahi_entry_group_reset
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(89) Avahi library function 
found: avahi_service_resolver_free
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(90) Avahi library function 
found: avahi_service_resolver_new
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(91) Avahi library function 
found: avahi_service_browser_free
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(92) Avahi library function 
found: avahi_service_browser_new
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(104) Avahi support: 
libavahi-common loaded successfully.
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(106) Avahi library function 
found: avahi_simple_poll_free
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(107) Avahi library function 
found: avahi_simple_poll_get
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(108) Avahi library function 
found: avahi_simple_poll_loop
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(109) Avahi library function 
found: avahi_simple_poll_new
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(110) Avahi library function 
found: avahi_simple_poll_quit
  DEBUG: ow_avahi_link.c:OW_Load_avahi_library(111) Avahi library function 
found: avahi_strerror
   CALL: ow_parsename.c:FS_ParsedName_anywhere(90) path=[]
  DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for 
simulated adapters)
  DEBUG: ow_ds9097U.c:DS2480_initialize_repeatedly(259) Attempt #0 to 
initialize the DS9097U
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: C1
   <.>
  DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(337) Send the initial reset to 
the bus master.
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 71
   <q>
TRAFFIC IN  <slurp> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 70
   <p>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 0F
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 00
   <.>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: C5
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: CD
   <.>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 71
   <q>
TRAFFIC IN  <slurp> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 70
   <p>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 0F
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 00
   <.>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: C5
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: CD
   <.>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 45
   <E>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 44
   <D>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 5B
   <[>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 5A
   <Z>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 3F
   <?>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 3E
   <>>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 29
   <)>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 28
   <(>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 95
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: 97
   <.>
TRAFFIC OUT <write> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: C5
   <.>
TRAFFIC IN  <read> bus=0 (/dev/ttyUSB0)
Byte buffer anonymous, length=1
--000: CD
   <.>


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to