So choices 1 and 2, right now I'm using #2, running owserver (v 2.7p22) 
on the usb adapter.  I think we decided that this is a usb problem and 
not owfs.

DS9490R in laptop usb port
/opt/owfs/bin/owserver -u all --usb_regulartime --error_level=4

Also have connected using HL-340 usb to serial adapter these

DS9097U on serial/usb adapter at /dev/ttyUSB0
X10 CM11A   on serial/usb adaoter at /dev/ttyUSB1

I get all of these scenarios when restarting computer

~$ lsusb
Bus 002 Device 002: ID 093a:2510 Pixart Imaging, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 1a86:7523  (HL-340 usb to rs232 adapter)
Bus 001 Device 004: ID 1a86:7523  (HL-340 usb to rs232 adapter)
Bus 001 Device 003: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1 
Fob, 1-Wire adapter
Bus 001 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

correct
~$ dmesg | grep 'tty'
[ 3901.797539] usb 1-1.1: ch341-uart converter now attached to ttyUSB0 
(this is ds9097u)
[ 3905.767186] usb 1-1.2: ch341-uart converter now attached to ttyUSB1 
(this is cm11a)

wrong but owserver -u all ok, owserver -d doesn't work
~$ dmesg | grep 'tty'
[    0.004000] console [tty0] enabled
[    2.903213] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    2.914648] tty ptydf: hash matches
[   24.019128] usb 1-1.2: ch341-uart converter now attached to ttyUSB0 
(now this is cm11a)
[  187.626892] type=1503 audit(1248381700.198:6): 
operation="inode_permission" requested_mask="w::" denied_mask="w::" 
fsuid=0 name="/dev/ttyUSB0" pid=7154 profile="/usr/sbin/cupsd"

wrong also but works and most common result
~$ dmesg | grep 'tty'
[    0.004000] console [tty0] enabled
[    2.667649] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[   24.036442] usb 1-1.1: ch341-uart converter now attached to ttyUSB0 
(this is ds9097u)
[   24.072583] usb 1-1.2: ch341-uart converter now attached to ttyUSB1 
(this is cm11a)


Owhttpd bus lists only some devices and  when click on device has usual 
usb adapter error:

Non-existent Device

The 1-wire web server is carefully constrained for security and 
stability. Your requested device is not recognized.

Navigate from the Main page <http://irry:3001/> for best results.



Paul Alfille wrote:
> William,
>
> Can you recap your current scenario?
>
> Typically there are two ways to mix serial and USB:
>
> 1. A serial 1-wire bus master (DS9097U, LINK, HA7E, ...) connected to
> a serial port, which is connected to USB. The serial/USB adapter then
> must be supported by linux and the serial port usually has a name like
> /dev/ttyUSB0. You would use the serial port syntax:
> owfs -d /dev/ttyUSB0
> on the command line.
>
> 2. A pure USB 1-wire bus master. Currently all based on the DS2490
> chip. Libusb is the library that mediates access. Use the syntax:
> -u
>
> 3. (better packaging) Devices like the LinkUSB and pucebabboon. Just
> like option 1 (serial device and usb/serial adapter) but packaged
> together in a single device.
>
> Where do you fit in these choices?
>
> Paul Alfille
>
> On Thu, Jul 23, 2009 at 3:44 PM, William Brown<mahi...@earthlink.net> wrote:
>   
>> For the further amusement of those following my confusion regarding the
>> usb adapter;  I plugged it in again today because my serial adapter
>> died.  Once again I now have a device /dev/ttyS1.  When I unplug the
>> adapter the ttyS1 device is removed.  Using Ubuntu 8.10 but this has
>> happened in previous versions.  Of course I disregard this errata, but
>> initilly it caused great confusion.  PS I have no serial ports on my
>> laptop and all serial devices are connected with usb/rs232 adapters as
>> devices /dev/ttyUSBx.
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> 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
>
>   


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

Reply via email to