Paul,

I generated my first patch ever. ;)
I hope it meets the quality standards and is any help.

It is an addition to the man page that specifies the --mountpoint option.
I realise that also the /etc/init.d/owfs script needs a modification, but
I feel that I do not have enough experience to create a patch for that.

patch for src/man/owfs.1
============================
51a52,53
> .SS \-\-mountpoint "mountpoint"
> Specifies the mountpoint. This may be needed in combination with the
"-u" option.
57c59
< owfs -F -u /mnt/1wire
---
> owfs -F -u --mountpoint /mnt/1wire
============================

kind regards,

   Egon


> Andrew,
>
> I'm getting suspicious about your FUSE installation.
> Fuse has a few simple test programs (under "examples" in the source code).
> Can you try them ans see if they work?
>
> Paul Alfille
>
> On 9/13/06, E. Kastelijn <[EMAIL PROTECTED]> wrote:
>>
>>
>> Andrew,
>>
>> Here is my working output:
>>
>> <start>
>> [EMAIL PROTECTED] mnt]# /opt/owfs/bin/owfs -u --mountpoint /mnt/1-wire/
>> --foreground --error_level=9
>> CONNECT: fuse mount point: /mnt/1-wire/
>>    CALL: PARSENAME path=[]
>> CONNECT: Adapter found: 003/002
>> DEFAULT: Opened USB DS9490 adapter at 003/002.
>>    DATA: DS9490_setup_adapter: done (ret=0)
>>    DATA: DS9490_overdrive()
>>   DEBUG: Start of directory path= device=00 00 00 00 00 00 00 00
>>    DATA: BUS_first: No data will be returned
>>   DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00 00
>> last path=01 00 00 00 00 00 00 00
>>   DEBUG: Clearing root branch
>>    DATA: DS9490_reset
>>    DATA: DS9490_reset: ok
>>    DATA: DS9490_reset
>>    DATA: DS9490_reset: ok
>>   DEBUG: DS9490_next_both SN found: 26 95 CD 6C 00 00 00 77
>>   DEBUG: BUS_next return = 0 26 95 CD 6C 00 00 00 77
>>   DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00 00
>> last path=00 00 00 00 00 00 00 00
>>    DATA: DS9490_reset
>>    DATA: DS9490_reset: ok
>>   DEBUG: DS9490_next_both SN found: 81 30 C6 26 00 00 00 80
>>   DEBUG: BUS_next return = 0 81 30 C6 26 00 00 00 80
>> CONNECT: Good DS1421 tag found for 003/002
>> DEFAULT: Set DS9490 003/002 unique id to FFFFFF81 30 FFFFFFC6 26 00 00
>> 00
>> FFFFFF80
>>   DEBUG: fuse_mnt_opt=[(null)]
>>   DEBUG: fuse_open_opt=[(null)]
>> unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
>> INIT: 7.6
>>    INIT: 7.5
>>    unique: 1, error: 0 (Success), outsize: 40
>> </start>
>>
>> I hope it is of any help.
>>
>> Cheers,
>>
>>    Egon
>>
>> > Hi Egon,
>> >
>> > Glad to help.
>> >
>> > I'm still facing a few challenges with OWFS myself.  Basically, I can
>> > start
>> > owfs OK but when I use 'ls', I get nothing or if I use 'tree' I just
>> get
>> a
>> > "dot".  So so far, it's useless to me.
>> >
>> > My shell output is:
>> >
>> > </start>
>> > [EMAIL PROTECTED] onewire]# /opt/owfs/bin/owfs -u --mountpoint
>> /mnt/onewire/
>> > --foreground --error_level=9
>> > CONNECT: fuse mount point: /mnt/onewire/
>> >    CALL: PARSENAME path=[]
>> > CONNECT: Adapter found: 002/002
>> > DEFAULT: Opened USB DS9490 adapter at 002/002.
>> >    DATA: DS9490_setup_adapter: done (ret=0)
>> >    DATA: DS9490_overdrive()
>> >   DEBUG: Start of directory path= device=00 00 00 00 00 00 00 00
>> >    DATA: BUS_first: No data will be returned
>> >   DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00
>> 00
>> > last
>> > path=01 00 00 00 00 00 00 00
>> >   DEBUG: Clearing root branch
>> >    DATA: DS9490_reset
>> >    DATA: DS9490_reset: ok
>> >    DATA: DS9490_reset
>> >    DATA: DS9490_reset: ok
>> >   DEBUG: DS9490_next_both SN found: 81 3C 67 25 00 00 00 8B
>> >   DEBUG: BUS_next return = 0 81 3C 67 25 00 00 00 8B
>> > CONNECT: Good DS1421 tag found for 002/002
>> > DEFAULT: Set DS9490 002/002 unique id to FFFFFF81 3C 67 25 00 00 00
>> > FFFFFF8B
>> >   DEBUG: fuse_mnt_opt=[(null)]
>> >   DEBUG: fuse_open_opt=[(null)]
>> > unique: 2, opcode: INIT (26), nodeid: 0, insize: 44
>> > INIT: 5.1
>> >    INIT: 5.1
>> >    unique: 2, error: 0 (Success), outsize: 24
>> > unique: 3, opcode: STATFS (17), nodeid: 0, insize: 36
>> >    unique: 3, error: 0 (Success), outsize: 64
>> > </start>
>> >
>> > I wondered if you could please post the shell output that you get when
>> you
>> > enter the line:
>> > '/opt/owfs/bin/owfs -u --mountpoint /mnt/1-wire/ --foreground
>> > --error_level=9'
>> >
>> > Thanks,
>> >
>> > Andrew
>> >
>> > On Wednesday 13 September 2006 22:44, E. Kastelijn wrote:
>> >> Andrew,
>> >>
>> >> You made me very happy!
>> >> This solved my problem and owfs now works fine.
>> >>
>> >> Strange enough I could not find the option you mentioned in the owfs
>> man
>> >> page. ;)
>> >>
>> >> Thanx again!
>> >>
>> >> kind regards,
>> >>
>> >>    Egon
>> >>
>> >> > Hi Egon,
>> >> >
>> >> > I had that problem with owfs until I includeed '--mountpoint'
>> before
>> >> the
>> >> > directoy (thanks Paul).  Have you tried that ?
>> >> >
>> >> > example:
>> >> >  /opt/owfs/bin/owfs -u --mountpoint /mnt/1-wire/ --foreground
>> >> > --error_level=9
>> >> >
>> >> > Cheers,
>> >> >
>> >> > Andrew
>> >> >
>> >> > On Wednesday 13 September 2006 15:01, E. Kastelijn wrote:
>> >> >> Paul,
>> >> >>
>> >> >> I untarred the source again and configured with "./configure
>> >> >> --disable_swig". This gives me the same results:
>> >> >>
>> >> >> # /opt/owfs/bin/owfs -u /mnt/1-wire/ --foreground --error_level=9
>> >> >> DEFAULT: Not a "character" device /mnt/1-wire/
>> >> >> DEFAULT: Not a "character" device /mnt/1-wire/
>> >> >> (and many more)
>> >> >>
>> >> >> I have looked into the source code a little and found the message
>> in
>> >> >> owlib/src/c/ow_opt.c on line 393.
>> >> >>
>> >> >> In my opinion the program sees my target mountpoint as an input
>> >> device.
>> >> >> Does it skip the '-u' parameter somehow?
>> >> >>
>> >> >> kind regards,
>> >> >>
>> >> >>    Egon
>> >> >>
>> >> >> ps:
>> >> >> The strange thing is: After I have runned owfs, my digitemp
>> >> application
>> >> >> can also not access my sensors anymore.
>> >> >>
>> >> >> > I'll have to find the location of that libusb dependency.
>> >> >> >
>> >> >> > For now, configure with "./configure --disable_swig"
>> >> >> >
>> >> >> > Paul
>> >> >> >
>> >> >> > On 9/5/06, E. Kastelijn <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> ------------------------------------------------------------------------
>> >> >>- Using Tomcat but need to do more? Need to support web services,
>> >> >> security?
>> >> >> Get stuff done quickly with pre-integrated technology to make your
>> >> job
>> >> >> easier Download IBM WebSphere Application Server v.1.0.1 based on
>> >> Apache
>> >> >> Geronimo
>> >> >>
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >> >> _______________________________________________
>> >> >> Owfs-developers mailing list
>> >> >> [email protected]
>> >> >> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>> >>
>> >>
>> -------------------------------------------------------------------------
>> >> Using Tomcat but need to do more? Need to support web services,
>> >> security?
>> >> Get stuff done quickly with pre-integrated technology to make your
>> job
>> >> easier Download IBM WebSphere Application Server v.1.0.1 based on
>> Apache
>> >> Geronimo
>> >>
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >> _______________________________________________
>> >> Owfs-developers mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>> >
>> >
>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to