On 8/29/05, Alfille, Paul H.,M.D. <[EMAIL PROTECTED]> wrote:
Ok, let's do this systematically.

Remind me how you got owfs (CVS or build and when).

I got OWFS by downloading from the website 2.1.0

What platform/kernel/distribution are you using?
  Fedora Core 3 kernel 2.6.11
2.6.11-1.35_FC3
 
Are you running as root or user?

I have tried running as both users they give exactly the same result however when I try to mount ttyS0 I can only run this as root because of permissions.

Does owhttpd work?

I have tried owhttpd and it appears to run without error but when I try to bring it up in the browser it says connection refused.  Should I be able to see a particular process running when I invoke owfs and owhttpd.  When I look under ps -u user or root I don't see anything in the process list that looks to be owfs.

The later can be tested as:
/opt/owfs/bin/owhttpd --error_level=9 /dev/ttyS0 -p 3001

And using a web browser to open
http://localhost:3001

I know I have the whole system working here, on multiple machines and different
distributions. I hope we can improve the installation by figuring out the
problems you have found.

Paul


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Phil Strong
Sent: Mon 8/29/2005 3:32 PM
To: [email protected]
Subject: Re: Re[2]: [Owfs-developers] trouble with library file libfuse.so.2

[EMAIL PROTECTED] /]# /opt/owfs/bin/owfs --error_level=9 /dev/ttyS0
/mnt/1wire/
INFO: PARSENAME path=

but the same symptoms from before still remain. I have taken the USB->serial
out of the loop but hav e the same outcome. I have tried different RJ11
wires and different devices. I don't have another DS9097U to try but that is
the last hardware thing I can think of.

On 8/29/05, Alfille, Paul H.,M.D. <[EMAIL PROTECTED] > wrote:
>
> -----Original Message-----
> From: [EMAIL PROTECTED] on behalf of Phil Strong
> Sent: Mon 8/29/2005 12:44 PM
> To: [email protected]
> Subject: Re: Re[2]: [Owfs-developers] trouble with library file
> libfuse.so.2
>
> Aug 29 12:06:34 localhost kernel: pl2303 3-2: 1.0: PL-2303 converter
> detected
> Aug 29 12:06:34 localhost kernel: usb 3-2: PL-2303 converter now attached
> to
> ttyUSB0
>
> right and I can ls /dev/ttyUSB0 and it is there. However when I run
> /opt/owfs/bin/owfs /dev/ttyUSB0 /mnt/1wire
>
> I can ls it for like a few seconds and then it reads :
> ls: /mnt/1wire: Transport endpoint is not connected
>
> >>>
> A quick google search on the pl-2303 shows some problems. I don't know if
> they
> have bee nresolved but one in partcular sounds suspcious -- a GPS attached
> to it
> stopped working after a few seconds.
> <<<
>
> Currently I have a DS9097U attached to the PL-2302 and a thermometer
> attached to the DS. How would I mount the DS by itself without the
> usb->serial adapter. Do I have to reboot to get it to recognize the serial
> port?
> >>>
> No, just killall owfs and umount /mnt.1wire
> Serial ports should be "active" at bootup. Most linux implementations make
> char
> devices for the standard serial ports automatically.
>
> Then run /opt/owfs/bin/owfs /dev/ttyS0 /mnt/1wire (or whatever)
>
> 1. You really don't have to kill one instance before starting the other
> (of
> owfs) as long as you mount to different places.
>
> 2. I can't say the PL-2303 is the problem, but if you have serial poirts,
> you
> can simplify the debugging by taking the PL-2303 out of the loop. The
> control
> for the serial port plays some tricks with parity, speed and power and I
> can
> imagine that all USB/serial implementations might not emulate this
> perfectly.
>
> 3. The transport endpoint message just means the program bombed out. You
> can try
> running owfs with more debugging (error-level=9) which may help.
> <<<
>
>
> To give you an idea:
>
> [EMAIL PROTECTED] /]# ls /mnt/1wire/
> 10.0B3540000000 bus.0 simultaneous structure uncached
> alarm settings statistics system
> [EMAIL PROTECTED] /]# ls /mnt/1wire/
> ls: reading directory /mnt/1wire/: Software caused connection abort
> [EMAIL PROTECTED] /]# ls /mnt/1wire/
> ls: /mnt/1wire/: Transport endpoint is not connected
>
> On 8/29/05, Alfille, Paul H., M.D. <[EMAIL PROTECTED]> wrote:
> >
> > Ok, the serial-to-usb is outside the scope of OWFS -- the operating
> ssytem
> > creates a "serial" device over USB and assigns it the correct
> major/minor
> > device numbers. Usally the assignment is something like /dev/ttyUSB0 or
> > whatever. I usually figure it out by plugging and unplugging the
> usb/serial
> > adapter and looking at the /var/log/messages output.
> > More information at http://owfs.sourceforge.net/adapters.html
> > Does this answer the question?
> > Paul
> >
> > -----Original Message-----
> > *From:* [EMAIL PROTECTED] [mailto:
> > [EMAIL PROTECTED] ]*On Behalf Of *Phil Strong
> > *Sent:* Monday, August 29, 2005 11:34 AM
> > *To:* [email protected]
> > *Subject:* Re: Re[2]: [Owfs-developers] trouble with library file
> > libfuse.so.2
> >
> > OK where is this stuff on the website? because it has eluded me thus
> far.
> >
> > On 8/27/05, Alfille, Paul H.,M.D. < [EMAIL PROTECTED]> wrote:
> > >
> > > Since you are running a serial adapter, shouldn't it be
> > > /opt/owfs/bin/owfs /dev/ttyUSB0 /1wire
> > >
> > > i.e. OWFS sees a serial adapter, the usb phase is transparent.
> > >
> > > This at least works with the keyspan usb/serial adapters. The ECLO
> > > adapter has a
> > > builtin serial conversion, but needs a kernel module patch to be
> > > recognized. The
> > > details are on the website and I've submitted the change upstream.
> > >
> > > Paul
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] on behalf of Phil
> > > Strong
> > > Sent: Sat 8/27/2005 1:18 PM
> > > To: [email protected]
> > > Subject: Re: Re[2]: [Owfs-developers] trouble with library file
> > > libfuse.so.2
> > >
> > > Ok so the issue was I needed to run ldconfig to update my library
> > > stuffs. I
> > > also made a symlink for libfuse.so.2 in /usr/lib and /usr/local/lib.
> > >
> > > Now my issue is I need to mount a usb to serial adapter model no.
> > > GUC232A
> > >
> > > Also when I try to mount DS9097U-S09 which is a maxim dallas serial
> > > 1wire
> > > adapter with a 1wire thermostat attached it says:
> > > [EMAIL PROTECTED] bin]# ./owfs -u /home/mythtv/1wire
> > > fusermount: failed to access mountpoint /home/mythtv/1wire: Transport
> > > endpoint is not connected
> > >
> > >
> > > On 8/26/05, Petr <[EMAIL PROTECTED]> wrote:
> > > >
> > > > For me the way was to install all FUSE versions 1.9 - 2.3 first to
> get
> > > > all libraries. I am just a newbie and this was the only way for me,
> > > > how to get OWFS working.
> > > > Petr
> > > > PS> I re downloaded the src for fuse ( 2.3) and reinstalled. I
> > > > PS> reinstalled owfs after that per instructions on the web. I still
> > > > PS> get this error message.
> > > >
> > > > PS> [ [EMAIL PROTECTED] bin]$ ./owfs -u /home/mythtv/1wire
> > > > PS> ./owfs: error while loading shared libraries: libfuse.so.2:
> > > > PS> cannot open shared object file: No such file or directory
> > > >
> > > > PS> On 8/25/05, Alfille, Paul H.,M.D. <[EMAIL PROTECTED]> wrote:
> > > >
> > > > PS> Did you run "make install" from fuse directory?
> > > >
> > > > PS>
> > > >
> > > > PS> Simplest test: try owhttpd.
> > > >
> > > > PS>
> > > >
> > > > PS> Which version of fuse did you install? 2.3 works (I think it is
> > > the
> > > > latest release).
> > > >
> > > > PS>
> > > >
> > > > PS> In what sense do you mean "mounting"? Physical connections?
> > > Software?
> > > >
> > > > PS>
> > > >
> > > > PS> For the later:
> > > >
> > > > PS>
> > > >
> > > > PS> mkdir /home/user/1wire (or whereever)
> > > >
> > > > PS> /opt/owfs/bin/owfs -u /home/user/1wire
> > > >
> > > > PS> ls /home/user/1wire
> > > >
> > > > PS>
> > > >
> > > > PS> Paul
> > > >
> > > > PS>
> > > >
> > > >
> > > > PS> -----Original Message-----
> > > > PS> From: [EMAIL PROTECTED]
> > > > PS> [mailto: [EMAIL PROTECTED] ]On Behalf
> Of
> > > > PS> Phil Strong
> > > > PS> Sent: Thursday, August 25, 2005 1:54 PM
> > > > PS> To: [email protected]
> > > > PS> Subject: [Owfs-developers] trouble with library file
> libfuse.so.2
> > > >
> > > > PS> I installed fuse and it seems to be working
> > > >
> > > > PS> I installed owfs and ran the usual install commands.
> > > >
> > > > PS> when I try to run owfs it tells me it is missing libfuse.so.2
> > > > PS> which I have found to be in <fuse>/lib/.libs/ directory.I
> > > > PS> tried altering the classpath and creating a symlink but to no
> > > > PS> avail.Have any run into and fixed this issue.
> > > >
> > > > PS> Also if any has a link to a quick tutorial on mounting
> > > > PS> 1wire devices that will be helpful providing I get past this
> > > > PS> current issue.FYI: I am running Fedora core 3 and installed
> > > > PS> with the rpm package.
> > > >
> > > > PS> --
> > > > PS> Phil Strong
> > > > PS> Synergetic Data Systems
> > > > PS> (w) 240 793 6565
> > > > PS> [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> > > > Practices
> > > > Agile & Plan-Driven Development * Managing Projects & Teams *
> Testing
> > > & QA
> > > > Security * Process Improvement & Measurement *
> > > http://www.sqe.com/bsce5sf
> > > > _______________________________________________
> > > > Owfs-developers mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> > > >





--
Phil Strong
Synergetic Data Systems
(w) 240 793 6565
[EMAIL PROTECTED]

Reply via email to