Newbie problem installing silfreed packages for Fedora

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Newbie problem installing silfreed packages for Fedora

by Robert Hampf :: Rate this Message:

| View Threaded | Show Only this Message

Hi

I've got som problems installing owfs on Fedora 16.

I tried to install owfs by using the silfreed packages for Fedora
16.  I installed owfs-fs.x86_64 0:2.8p13-1.fc16 and owfs-libs.x86_64
0:2.8p13-1.fc16.

When I do systemctl restart owfs.service I don't se any errors but
when I look in /var/log/messages I see:

Jan  2 13:43:28 mur owfs[12782]: Mounting One Wire file system:
DEFAULT: ow_arg.c:ARG_Device(72) Cannot access device /dev/ttyS100
Jan  2 13:43:28 mur owfs[12782]: [  OK  ]

There is no /dev/ttyS100 in /dev.  Should I make it with mknod or
should it be made automatically?

Is there something I have overlooked?  Can somebody point me to some
instructions for installing these packages on Fedora?

TIA

Robert Hampf

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Markus Gaugusch :: Rate this Message:

| View Threaded | Show Only this Message

Hi Robert!

How is your 1wire bus connected to the Fedora machine? Serial port? USB?
You probably need to edit /etc/sysconfig/owserver (or owfs) to set the
right device, but I'm a SuSE person and don't know Fedora that well :)

Try "grep ttyS100 /etc/* /etc/*/*" to find the right file.

br,
Markus

On Jan 2, Robert Hampf <rhampf@...> wrote:

> Hi
>
> I've got som problems installing owfs on Fedora 16.
>
> I tried to install owfs by using the silfreed packages for Fedora
> 16.  I installed owfs-fs.x86_64 0:2.8p13-1.fc16 and owfs-libs.x86_64
> 0:2.8p13-1.fc16.
>
> When I do systemctl restart owfs.service I don't se any errors but
> when I look in /var/log/messages I see:
>
> Jan  2 13:43:28 mur owfs[12782]: Mounting One Wire file system:
> DEFAULT: ow_arg.c:ARG_Device(72) Cannot access device /dev/ttyS100
> Jan  2 13:43:28 mur owfs[12782]: [  OK  ]
>
> There is no /dev/ttyS100 in /dev.  Should I make it with mknod or
> should it be made automatically?
>
> Is there something I have overlooked?  Can somebody point me to some
> instructions for installing these packages on Fedora?
>
> TIA
>
> Robert Hampf
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@...
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
>

--
__________________    /"\
Markus Gaugusch       \ /    ASCII Ribbon Campaign
markus(at)gaugusch.at  X     Against HTML Mail
                       / \

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Robert Hampf :: Rate this Message:

| View Threaded | Show Only this Message

Hi

On Mon, Jan 02, 2012 at 03:13:36PM +0100, Markus Gaugusch wrote:

> Hi Robert!
>
> How is your 1wire bus connected to the Fedora machine? Serial port? USB?
> You probably need to edit /etc/sysconfig/owserver (or owfs) to set the
> right device, but I'm a SuSE person and don't know Fedora that well :)
>
> Try "grep ttyS100 /etc/* /etc/*/*" to find the right file.
>
> br,
> Markus

Thank you very much for your help.  I have a DS9490 on the USB bus.  I
found the file but also realised I have a lot left to do as I can't
find anything in /var/log/messages indicating that that the device is
recognised.

I would need some kind of howto to know what I should do in which
order to get these packages working.  Do you know if such a document
exists or could you maybe write a few lines what I should do?   I have
tried to study the sourceforge documentation but important bits seem
to be missing.

Thank you for your help

Robert Hampf

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Paul Alfille-2 :: Rate this Message:

| View Threaded | Show Only this Message

Well, a DS9490 is a native USB device,

The startup command should be "--usb=all" (or just "-u") rather than "-d /dev/ttyS100".

Basically, the program needs to be told where to find the bus masters, since they usually don't declare themselves.

Paul Alfille

On Wed, Jan 4, 2012 at 8:25 AM, Robert Hampf <rhampf@...> wrote:
Hi

On Mon, Jan 02, 2012 at 03:13:36PM +0100, Markus Gaugusch wrote:
> Hi Robert!
>
> How is your 1wire bus connected to the Fedora machine? Serial port? USB?
> You probably need to edit /etc/sysconfig/owserver (or owfs) to set the
> right device, but I'm a SuSE person and don't know Fedora that well :)
>
> Try "grep ttyS100 /etc/* /etc/*/*" to find the right file.
>
> br,
> Markus

Thank you very much for your help.  I have a DS9490 on the USB bus.  I
found the file but also realised I have a lot left to do as I can't
find anything in /var/log/messages indicating that that the device is
recognised.

I would need some kind of howto to know what I should do in which
order to get these packages working.  Do you know if such a document
exists or could you maybe write a few lines what I should do?   I have
tried to study the sourceforge documentation but important bits seem
to be missing.

Thank you for your help

Robert Hampf

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Robert Hampf :: Rate this Message:

| View Threaded | Show Only this Message

Hi

On Wed, Jan 04, 2012 at 01:02:34PM -0500, Paul Alfille wrote:
> Well, a DS9490 is a native USB device,
>
> The startup command should be "--usb=all" (or just "-u") rather than "-d
> /dev/ttyS100".
>
> Basically, the program needs to be told where to find the bus masters,
> since they usually don't declare themselves.

Thank you for your reply.  I look forward to getting home and trying
this.

Robert Hampf

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Robert Hampf :: Rate this Message:

| View Threaded | Show Only this Message

Hi!

On Wed, Jan 04, 2012 at 01:02:34PM -0500, Paul Alfille wrote:
> Well, a DS9490 is a native USB device,
>
> The startup command should be "--usb=all" (or just "-u") rather than "-d
> /dev/ttyS100".
>
> Basically, the program needs to be told where to find the bus masters,
> since they usually don't declare themselves.

I tried --usb=all and -d and got this:

Jan 30 13:34:03 hlemmur kernel: [1090925.876698] fuse init (API version 7.17)
Jan 30 13:34:04 hlemmur owfs[3962]: Mounting One Wire file system: DEFAULT: owlib.c:SetupSingleInboundConnection(201) Cannot open USB bus master
Jan 30 13:34:04 hlemmur owfs[3962]: DEFAULT: owlib.c:LibStart(54) No valid 1-wire buses found
Jan 30 13:34:04 hlemmur owfs[3962]: [FAILED]
Jan 30 13:34:04 hlemmur systemd[1]: owfs.service: control process exited, code=exited status=1
Jan 30 13:34:04 hlemmur systemd[1]: Unit owfs.service entered failed state.

Do I need to load a module other than fuse?  What module should I
load?  Where should I find it?  I'm asking because it's not quite
clear to me whether I have installed all the necessary packages from
silfreed.  Also, what is the recommended way to load the module(s)?

Thank you

Robert Hampf

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Patryk-6 :: Rate this Message:

| View Threaded | Show Only this Message

Dnia 30-01-2012 o 13:10:32 Robert Hampf <rhampf@...>  
napisał(a):

> Jan 30 13:34:03 hlemmur kernel: [1090925.876698] fuse init (API version  
> 7.17)
> Jan 30 13:34:04 hlemmur owfs[3962]: Mounting One Wire file system:  
> DEFAULT: owlib.c:SetupSingleInboundConnection(201) Cannot open USB bus  
> master
> Jan 30 13:34:04 hlemmur owfs[3962]: DEFAULT: owlib.c:LibStart(54) No  
> valid 1-wire buses found
> Jan 30 13:34:04 hlemmur owfs[3962]: [FAILED]
> Jan 30 13:34:04 hlemmur systemd[1]: owfs.service: control process  
> exited, code=exited status=1
> Jan 30 13:34:04 hlemmur systemd[1]: Unit owfs.service entered failed  
> state.

Maybe it's a dumb advice but did You run it as root or a regular user?
I think someone had similar problem and running as root helped




--
p4trykx

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Gregg Levine :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Jan 30, 2012 at 8:49 AM, p4trykx <p4trykx@...> wrote:

> Dnia 30-01-2012 o 13:10:32 Robert Hampf <rhampf@...>
> napisał(a):
>
>> Jan 30 13:34:03 hlemmur kernel: [1090925.876698] fuse init (API version
>> 7.17)
>> Jan 30 13:34:04 hlemmur owfs[3962]: Mounting One Wire file system:
>> DEFAULT: owlib.c:SetupSingleInboundConnection(201) Cannot open USB bus
>> master
>> Jan 30 13:34:04 hlemmur owfs[3962]: DEFAULT: owlib.c:LibStart(54) No
>> valid 1-wire buses found
>> Jan 30 13:34:04 hlemmur owfs[3962]: [FAILED]
>> Jan 30 13:34:04 hlemmur systemd[1]: owfs.service: control process
>> exited, code=exited status=1
>> Jan 30 13:34:04 hlemmur systemd[1]: Unit owfs.service entered failed
>> state.
>
> Maybe it's a dumb advice but did You run it as root or a regular user?
> I think someone had similar problem and running as root helped
>
>
>
>
> --
> p4trykx
>

Hello!
You're right. Robert try running all of your programs for OWFS under
the su command. I would imagine that during your installation of
Fedora you did create a root user and password. Further I would also
imagine that you've got both the password available and are running
these OWFS programs under your regular user because that's how they
were originally installed.

Hardware access requires root level for it to work properly. Printer
programs are already installed to, ah, take advantage of that function
and that's why a normal user can just print his work from his regular
ID.

So either run your OWFS applications under the su program shell (which
is elevated but it may not cover everything.) or if that fails, try
the root user.

Also set things up to log everything, and post it here.

-----
Gregg C Levine gregg.drwho8@...
"This signature fought the Time Wars, time and again."

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Robert Hampf :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Jan 30, 2012 at 02:49:59PM +0100, p4trykx wrote:
>
> Maybe it's a dumb advice but did You run it as root or a regular user?
> I think someone had similar problem and running as root helped

Thank you for your reply!

I did it as root:

[root@hlemmur ~]# systemctl start owfs.service
Job failed. See system logs and 'systemctl status' for details.

Also:

[root@hlemmur ~]# systemctl status owfs.service
owfs.service - SYSV: OWFS is a userspace virtual filesystem providing access to 1-Wire networks.
               Loaded: loaded (/etc/rc.d/init.d/owfs)
                 Active: failed since Mon, 30 Jan 2012 21:44:02 +0200; 2min 8s ago
                  Process: 5161 ExecStart=/etc/rc.d/init.d/owfs start (code=exited, status=1/FAILURE)
                    CGroup: name=systemd:/system/owfs.service

And /var/log/messages shows:

Jan 30 21:43:48 hlemmur owfs[5155]: DEFAULT: owlib.c:LibStart(54) No valid 1-wire buses found
Jan 30 21:43:48 hlemmur owfs[5155]: [FAILED]
Jan 30 21:43:48 hlemmur systemd[1]: owfs.service: control process exited, code=exited status=1
Jan 30 21:43:48 hlemmur systemd[1]: Unit owfs.service entered failed state.

Robert

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Robert Hampf :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Jan 30, 2012 at 11:10:19AM -0500, Gregg Levine wrote:
>
> Hello!
> You're right. Robert try running all of your programs for OWFS under
> the su command. I would imagine that during your installation of
> Fedora you did create a root user and password. Further I would also
> imagine that you've got both the password available and are running
> these OWFS programs under your regular user because that's how they
> were originally installed.

Thank you for your reply!

I'm sorry for omitting that information.  I run as root for now as I
would like to get some readings out of this before I try to get
something delivered to regular users.

> Hardware access requires root level for it to work properly. Printer
> programs are already installed to, ah, take advantage of that function
> and that's why a normal user can just print his work from his regular
> ID.

On the hardware level I don't quite understand how USB loads drivers
but it seems to me that the necessary drivers should be loaded at boot
time in this case.

> So either run your OWFS applications under the su program shell (which
> is elevated but it may not cover everything.) or if that fails, try
> the root user.
>
> Also set things up to log everything, and post it here.

Is there a way to get more information in the logs from owfs?  Does
owfs have an own log or does it put its output in /var/log/messages?
I can't find anything about it on the man page.

Do you know whether there is more information about how to use these
silfreed packages?  I didn't even know quite which packages to
install when I found them.

I have tried installing from source before but I don't understand what
to do after compiling to be able to get readings.  I hoped the
silfreed packages would solve that but I'm still stuck.

Robert

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Patryk-6 :: Rate this Message:

| View Threaded | Show Only this Message

Dnia 30-01-2012 o 21:17:49 Robert Hampf <rhampf@...>  
napisał(a):

> I have tried installing from source before but I don't understand what
> to do after compiling to be able to get readings.

Maybe it's good idea to compile owfs if there is no other idea why it  
doesn't work. Maybe there is some dependency which does not get installed.
Compilation is fairly easy.
./configure
(look at the output and make sure the usb is enabled)

Compile-time options:
                   Caching is enabled
                       USB is enabled
If USB says DISABLED then You have to install libusb-dev package (I use  
Ubuntu and it is showed under this name in Synaptic)

make
make install
then owfs should be i /opt/owfs/bin
First try to run owserver --debug  instead of owfs to rule out problems  
with fuse. You can get readings from owserver with owread.

Can you post dmesg output after plugging in the 1-wire adapter

--
p4trykx

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Paul Alfille-2 :: Rate this Message:

| View Threaded | Show Only this Message

You can get considerable log information.

Try
sudo /opt/owfs/bin/owfs --debug --usb=all -m /your/directory --allow_other &> /your/logfile

On Mon, Jan 30, 2012 at 3:17 PM, Robert Hampf <rhampf@...> wrote:
Is there a way to get more information in the logs from owfs?  Does
owfs have an own log or does it put its output in /var/log/messages?
I can't find anything about it on the man page.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Robert Hampf :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Jan 30, 2012 at 09:44:01PM +0100, p4trykx wrote:

>
> Maybe it's good idea to compile owfs if there is no other idea why it  
> doesn't work. Maybe there is some dependency which does not get installed.
> Compilation is fairly easy.
> ./configure
> (look at the output and make sure the usb is enabled)
>
> Compile-time options:
>                    Caching is enabled
>                        USB is enabled
> If USB says DISABLED then You have to install libusb-dev package (I use  
> Ubuntu and it is showed under this name in Synaptic)
>
> make
> make install
> then owfs should be i /opt/owfs/bin
> First try to run owserver --debug  instead of owfs to rule out problems  
> with fuse. You can get readings from owserver with owread.
>
> Can you post dmesg output after plugging in the 1-wire adapter

Thank you very much for this advice.  I will try installing from
source again when I get a little quality time with my box.

Robert

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Robert Hampf :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Jan 30, 2012 at 07:12:20PM -0500, Paul Alfille wrote:
> You can get considerable log information.
>
> Try
> sudo /opt/owfs/bin/owfs --debug --usb=all -m /your/directory --allow_other
> &> /your/logfile
>
> On Mon, Jan 30, 2012 at 3:17 PM, Robert Hampf <rhampf@...>wrote:

Thank you very much.  I'll try installing from sources again and try
this.

Robert

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Robert Hampf :: Rate this Message:

| View Threaded | Show Only this Message

Hi

At last I have had time to try installing owfs again.

On Mon, Jan 30, 2012 at 09:44:01PM +0100, p4trykx wrote:
> Dnia 30-01-2012 o 21:17:49 Robert Hampf <rhampf@...>  
> napisał(a):
>
> > I have tried installing from source before but I don't understand what
> > to do after compiling to be able to get readings.

I now found a howto for the whole process of installing and took advice
from it when following your instructions:
http://wiki.temperatur.nu/index.php/OWFS_HowTo (Sorry, it's in Swedish.)

> Maybe it's good idea to compile owfs if there is no other idea why it  
> doesn't work. Maybe there is some dependency which does not get installed.

So I took your advice. A kind of a log is at:
http://www.skutan.com/owfs.txt 

> Compilation is fairly easy.
> ./configure
> (look at the output and make sure the usb is enabled)
>
> Compile-time options:
>                    Caching is enabled
>                        USB is enabled
> If USB says DISABLED then You have to install libusb-dev package (I use  
> Ubuntu and it is showed under this name in Synaptic)

It was enabled but owfs was DISABLED until I installed fuse-devel.

> make
> make install

Here I didn't see any problems.

> then owfs should be i /opt/owfs/bin
> First try to run owserver --debug  instead of owfs to rule out problems  
> with fuse. You can get readings from owserver with owread.

This is the output:

# /opt/owfs/bin/owserver --debug
  DEBUG: ow_daemon.c:(166) main thread id = 140620078417664
CONNECT: ow_avahi_link.c:(72) No Avahi support. Library
  libavahi-client couldn't be loaded
CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd
  library isn't found
   CALL: ow_parsename.c:(95) path=[]
  DEBUG: owlib.c:(79) Globals temp limits 0C 100C (for simulated
  adapters)
DEFAULT: owlib.c:(54) No valid 1-wire buses found
  DEBUG: ow_exit.c:(18) Exit code = 1
   CALL: ow_lib_close.c:(21) Starting Library cleanup
   CALL: ow_lib_stop.c:(23) Clear Cache
  DEBUG: ow_cache.c:(301) Flipping cache tree (purging timed-out data)
  DEBUG: ow_cache.c:(319) flip cache. tdestroy() will be called.
  DEBUG: ow_cache.c:(301) Flipping cache tree (purging timed-out data)
  DEBUG: ow_cache.c:(319) flip cache. tdestroy() will be called.
   CALL: ow_lib_stop.c:(25) Closing input devices
   CALL: ow_lib_stop.c:(27) Closing outout devices
  DEBUG: ow_connect.c:(229) Freeing outbound (null) #0
   CALL: ow_lib_close.c:(34) Finished Library cleanup
  DEBUG: ow_lib_close.c:(42) Libraries closed

There is something about Avahi support missing.  Is that fatal in this
case?

> Can you post dmesg output after plugging in the 1-wire adapter

I can't find anything in /var/log/messages or by running dmesg
that would be the result of plugging in the adapter.  Nothing is
written to messages on the same minute or the closest minutes.

I hope there is something making sense to you as I don't know how to
carry on.

Thank you very much for your help.

Robert

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Robert Hampf :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Jan 30, 2012 at 07:12:20PM -0500, Paul Alfille wrote:
> You can get considerable log information.
>
> Try
> sudo /opt/owfs/bin/owfs --debug --usb=all -m /your/directory --allow_other
> &> /your/logfile

I tried:

# /opt/owfs/bin/owfs --debug --usb=all -m /your/directory --allow_other &> /root/tmp/owfs.log

and got:

# cat /root/tmp/owfs.log
CONNECT: owfs.c:(100) fuse mount point: /your/directory
CONNECT: ow_avahi_link.c:(72) No Avahi support. Library libavahi-client couldn't be loaded
CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd library isn't found
   CALL: ow_parsename.c:(95) path=[]
  DEBUG: owlib.c:(79) Globals temp limits 0C 100C (for simulated adapters)
  DEBUG: ow_ds9490.c:(239) Look for all USB adapters
CONNECT: ow_ds9490.c:(342) No USB DS9490 bus masters used
DEFAULT: owlib.c:(201) Cannot open USB bus master
DEFAULT: owlib.c:(54) No valid 1-wire buses found
  DEBUG: ow_exit.c:(18) Exit code = 1

Here I see a warning about No Avahi support.  Does owfs need Avahi
support?

Thank you very much for your help.  I still hope this will work one
day.

Robert

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Paul Alfille-2 :: Rate this Message:

| View Threaded | Show Only this Message

No Avahi isn't needed. You can start with --nozero to block checking for the libraries.

On Sat, Feb 25, 2012 at 5:16 PM, Robert Hampf <rhampf@...> wrote:
On Mon, Jan 30, 2012 at 07:12:20PM -0500, Paul Alfille wrote:
> You can get considerable log information.
>
> Try
> sudo /opt/owfs/bin/owfs --debug --usb=all -m /your/directory --allow_other
> &> /your/logfile

I tried:

# /opt/owfs/bin/owfs --debug --usb=all -m /your/directory --allow_other &> /root/tmp/owfs.log

and got:

# cat /root/tmp/owfs.log
CONNECT: owfs.c:(100) fuse mount point: /your/directory
CONNECT: ow_avahi_link.c:(72) No Avahi support. Library libavahi-client couldn't be loaded
CONNECT: ow_dnssd.c:(82) Zeroconf/Bonjour is disabled since dnssd library isn't found
  CALL: ow_parsename.c:(95) path=[]
 DEBUG: owlib.c:(79) Globals temp limits 0C 100C (for simulated adapters)
 DEBUG: ow_ds9490.c:(239) Look for all USB adapters
CONNECT: ow_ds9490.c:(342) No USB DS9490 bus masters used
DEFAULT: owlib.c:(201) Cannot open USB bus master
DEFAULT: owlib.c:(54) No valid 1-wire buses found
 DEBUG: ow_exit.c:(18) Exit code = 1

Here I see a warning about No Avahi support.  Does owfs need Avahi
support?

Thank you very much for your help.  I still hope this will work one
day.

Robert

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Patryk-6 :: Rate this Message:

| View Threaded | Show Only this Message

Dnia 25.02.2012 o 23:08 Robert Hampf <rhampf@...> Robert  
Hampf <rhampf@...> napisał(a):


>> Can you post dmesg output after plugging in the 1-wire adapter
>
> I can't find anything in /var/log/messages or by running dmesg
> that would be the result of plugging in the adapter.  Nothing is
> written to messages on the same minute or the closest minutes.

I'm not familiar with Your adapter but I think there should be something  
in dmesg.
Could you remind me what adapter do you use?
What does lsusb show?



--
p4trykx

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Robert Hampf :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Feb 27, 2012 at 01:46:55AM +0100, p4trykx wrote:
>
> I'm not familiar with Your adapter but I think there should be something  
> in dmesg.

It's a DS9490R.

> Could you remind me what adapter do you use?
> What does lsusb show?

lsusb says:

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bc2:3000 Seagate RSS LLC

Can't see anything related to the adaptor.  I connected an harddisk to
the usb to see whether it showed anything else than hubs.  The mouse
is a ps/2.  I'll post lsusb -v at http://www.skutan.com/owfs2.txt.

Should I load any modules to se the adaptor or do you think it is
dead?

Thank you very much for your help.

Robert


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Re: Newbie problem installing silfreed packages for Fedora

by Patryk-6 :: Rate this Message:

| View Threaded | Show Only this Message

Dnia 28.02.2012 o 21:19 Robert Hampf <rhampf@...> Robert  
Hampf <rhampf@...> napisał(a):

> On Mon, Feb 27, 2012 at 01:46:55AM +0100, p4trykx wrote:
> It's a DS9490R.
>
> lsusb says:
>
> # lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 002: ID 0bc2:3000 Seagate RSS LLC
>
> Can't see anything related to the adaptor.  I connected an harddisk to
> the usb to see whether it showed anything else than hubs.  The mouse
> is a ps/2.  I'll post lsusb -v at http://www.skutan.com/owfs2.txt.
>
> Should I load any modules to se the adaptor or do you think it is
> dead?
>
Maybe it's broken.

See here
http://apartment-automation.blogspot.com/2009/09/installing-1-wire-usb-adapter-ds9490r.html
$ dmesg
[1553881.079000] Driver for 1-wire Dallas network protocol.
[1553881.121233] usbcore: registered new interface driver DS9490R
[1553882.700959] w1_master_driver w1_bus_master1: Family 81 for  
81.0000002d0f1d.39 is not registered.

Maybe download Ubuntu and run it as live CD and see if dmesg outputs  
something.
Maybe Your distro does not have the necessary kernel modules?

Have you measured the voltage in r11 connector?


--
p4trykx

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@...
https://lists.sourceforge.net/lists/listinfo/owfs-developers
< Prev | 1 - 2 | Next >