The adapter label says its DS9097U and in the past when connected to a 
real serial port it found a DS2480 chip.

I forgot to mention that the error message is from a Perl program using 
OW,pm.

I checked with lsusb and dmesg to verify the device is /dev/ttyUSB1 and 
changed permissions.  I have a ttyUSB0 which is used by my CM11A.  When 
I restart the system it always assigns the same usb addresses to each 
device and always in the same order so it's reasonably correct for my 
system.  Running perl with sudo didn't help, same error.

I will also try with OWFS.

Paul Alfille wrote:
>
>
> On Mon, Jan 5, 2009 at 4:45 AM, William Brown <mahi...@earthlink.net 
> <mailto:mahi...@earthlink.net>> wrote:
>
>     So now I'm getting this error:
>
>     DEFAULT: Cannot detect DS9097 (passive) interface on /dev/ttyUSB1
>
>     Can you tell me what it means?  Will owfs pass through a rs232/usb
>     converter?
>
> I general, yes.
> There is a difference between the DS9097 and the DS9097U (blame Maxim 
> for that).
> One is a passive device that depends on the exact serial pulses to 
> synthesize 1-wire pulses, the other (the 9097U) uses a IC called the 
> DS2480B to manage the 1-wire communication.
>
> If you have a passive 9097 adapter, try --8bit. Some of the serial 
> devices can't create 6-bit communication. That might be the case 
> withthe USB convertor.
>
> You are using /dev/ttyUSB1. I assume you got that from dmesg output. 
> The allocation can change each time and it's often not a symlink. The 
> permissions might not be applied to the actual device.
>
> Can you try your code as root? sudo /opt/owfs/bin/....
>
> Paul Alfille
>
>
>     OS is Ubuntu 8.10.  My USB Adaptor DS9490R works and is set as the
>     owserver 1wire adapter.  All my programs and web page work.  I am now
>     trying to connect a serial DS9097 to my laptop using a HL-340 usb to
>     rs232 adapter which is mounted to ttyUSB1.  Permissions are 777 and
>     group is tty.  But I keep getting the cannot detect error.
>
>     PS the 8.10 upgrade really messed up my system.  If you upgrade go
>     cautiously.  It still has lot's of bugs in it.  I wish I had kept my
>     8.04 install, it worked pretty good. For all the time I spent fixing
>     8.10 I should have re-installed 8.04 but I thought the HL-340
>     would work
>     and it sort of does.
>
>     
> ------------------------------------------------------------------------------
>     _______________________________________________
>     Owfs-developers mailing list
>     Owfs-developers@lists.sourceforge.net
>     <mailto:Owfs-developers@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>   


------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to