Can you try this command after you have the problem...
> ls -l /proc/`pidof owserver`/fd/
total 5
lrwx-- 1 root root 64 Jul 7 10:54 0 -> /dev/pts/13
lrwx-- 1 root root 64 Jul 7 10:54 1 -> /dev/pts/13
lrwx-- 1 root root 64 Jul 7 10:54 2 -> /dev/pts/13
lrwx-- 1 root root 64 J
This is strange... I have added some debug-output during the
BUS_select() and BUS_first() before the loop. It seems like it fails
there even if the usb-handler is closed and reopened... and then
it doesn't find any 1-wire devices on the adapter... strange..
I also set the ds1420 id at startup now
Hallo Christian Magnusson, am Donnerstag, 7. Juli 2005 00:17 schriebst du:
> Could you try a couple of things...
> Does your adapter reconnect if you unplug it manually and then
> insert it again?
>
> If you look in owfs/modules/owlib/src/c/ow_ds9490.c, then find following
> comment on row 437 or s
Another thing... Do you get one of those lines in your logfile?
"Set DS9490 [001/008] unique id to 81BC97240048"
I guess not... I think that you never make any full directory search on
the adapter before trigger that EMP problem. If you only do reads
to a specific device on the adapter (and
Could you try a couple of things...
Does your adapter reconnect if you unplug it manually and then
insert it again?
If you look in owfs/modules/owlib/src/c/ow_ds9490.c, then find following
comment on row 437 or something..
LEVEL_DEFAULT("Found device [%s] on adapter [%s] (want: %s)\n", i);
Chang
Am Donnerstag, 30. Juni 2005 15:41 schrieb Christian Magnusson:
> Have you succeeded to use the latest cvs-version yet? Just wondering...
>
Now I had the time to test a bit. I have to say: unfortunately not.
$ /opt/owfs/bin/owserver -u1 -p19160 --foreground --error_level=9
PROTECTED] Behalf Of
> Christian Magnusson
> Sent: Friday, July 01, 2005 5:26 AM
> To: owfs-developers@lists.sourceforge.net
> Cc: Paul Alfille; [EMAIL PROTECTED]
> Subject: Re: [Owfs-developers] More on "Hanging" Problems
>
>
>
> I have done some testing wit
: [Owfs-developers] More on "Hanging" Problems
I have done some testing with it, and have managed to reconnect the
adapter even if it's unplugged manually. It's perhaps not a very
nice solution, but it works at least.
Right now it detects the 1-wire adapters as usual at sta
I have done some testing with it, and have managed to reconnect the
adapter even if it's unplugged manually. It's perhaps not a very
nice solution, but it works at least.
Right now it detects the 1-wire adapters as usual at startup. At the
first 1-wire scan, the serial number of the ds1420 chip (
Am Donnerstag, 30. Juni 2005 21:56 schrieb Christian Magnusson:
> You are right... The kernel thinks the usb adapter is physically
> removed and then inserted again and get a new device number.
> This problem is very fatal and question is if such thing should
> be handled by owfs.
>
Hm. owserver do
You are right... The kernel thinks the usb adapter is physically
removed and then inserted again and get a new device number.
This problem is very fatal and question is if such thing should
be handled by owfs. It could of course be added to detect a new
1-wire adapter if it disappears, but strange
Am Montag, 27. Juni 2005 13:17 schrieb Christian Magnusson:
> Try the latest cvs again... I have fixed a missing
> usb_release_interface() and some other statistics from those errors.
>
> /Christian
>
Sorry for the delay. I had my business partners here, which messed up things a lot.
I've done so
Have you succeeded to use the latest cvs-version yet? Just wondering...
/Christian
On Tue, 2005-06-28 at 16:21 +0200, Jan Kandziora wrote:
> Am Dienstag, 28. Juni 2005 13:54 schrieb Christian Magnusson:
> >
> > When I removed one iButton and really tried to simulate bad connection
> > by movi
rithm.
>
> Paul
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Christian Magnusson
> Sent: Tuesday, June 28, 2005 7:54 AM
> To: owfs-developers@lists.sourceforge.net
> Subject: RE: [Owfs-developers] More on "Hanging&quo
Am Dienstag, 28. Juni 2005 13:54 schrieb Christian Magnusson:
>
> When I removed one iButton and really tried to simulate bad connection
> by moving it around close to the connectors, it failed in the
> BUS_select_low() and DS9490_reset() very often. I found some
> null-pointer bug when the usb-por
Behalf Of
Christian Magnusson
Sent: Tuesday, June 28, 2005 7:54 AM
To: owfs-developers@lists.sourceforge.net
Subject: RE: [Owfs-developers] More on "Hanging" Problems
I feel pretty comfortable with the USB reconnection now. I started
owhttpd and made a loop reading some files from an
gt; that
> > value for embedded systems where precisely tuning delays and utilization is
> > important. Jan can offer some feedback on this.
> >
> > Paul
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behal
t; To: owfs-developers@lists.sourceforge.net
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Owfs-developers] More on "Hanging" Problems
>
>
>
> Try the latest cvs again... I have fixed a missing
> usb_release_interface() and some other statistics from those errors.
>
>
ECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Christian Magnusson
Sent: Monday, June 27, 2005 7:18 AM
To: owfs-developers@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: Re: [Owfs-developers] More on "Hanging" Problems
Try the latest cvs again... I have fixed a missing
usb_release_inter
> In any case, it's great that Jan has a setup where he can consistently
> > trigger
> > the errors.
> >
> > Paul
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of
> > Christian Magnusson
&
usson
Sent: Monday, June 27, 2005 6:20 AM
To: owfs-developers@lists.sourceforge.net
Subject: RE: [Owfs-developers] More on "Hanging" Problems
I noticed there were a missing usb_release_interface() before trying
to reconnect. That was probably why it didn't work as you wanted.
It c
, 2005 5:35 AM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] More on "Hanging" Problems
Am Montag, 27. Juni 2005 05:26 schrieb Gregg C Levine:
> Hello from Gregg C Levine
> Paul, explain this phrase in better detail please:
> "In any case, it'
Try the latest cvs again... I have fixed a missing
usb_release_interface() and some other statistics from those errors.
/Christian
On Mon, 2005-06-27 at 11:34 +0200, Jan Kandziora wrote:
> Am Montag, 27. Juni 2005 05:26 schrieb Gregg C Levine:
> > Hello from Gregg C Levine
> > Paul, explain thi
son
> Sent: Sunday, June 26, 2005 4:31 PM
> To: owfs-developers
> Subject: Re: [Owfs-developers] More on "Hanging" Problems
>
>
>
> This seem to be a god idea... Perhaps a debug counter should be there
> to show how many reconnects there have been too. I'll
Am Montag, 27. Juni 2005 05:26 schrieb Gregg C Levine:
> Hello from Gregg C Levine
> Paul, explain this phrase in better detail please:
> "In any case, it's great that Jan has a setup where he can
> consistently trigger the errors." In an embedded an environment it is
> sometimes considered desirab
> From: [EMAIL PROTECTED]
[mailto:owfs-developers-
> [EMAIL PROTECTED] On Behalf Of Alfille, Paul H.,M.D.
> Sent: Sunday, June 26, 2005 8:40 PM
> To: owfs-developers@lists.sourceforge.net
> Subject: RE: [Owfs-developers] More on "Hanging" Problems
>
> Actually, Jan
ay have changed.
In any case, it's great that Jan has a setup where he can consistently trigger
the errors.
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Christian Magnusson
Sent: Sunday, June 26, 2005 4:31 PM
To: owfs-developers
Subject: Re:
This seem to be a god idea... Perhaps a debug counter should be there
to show how many reconnects there have been too. I'll try to add the
reconnect-code for the serial adapter tomorrow if I get some spare time
at work.
/Christian
On Sun, 2005-06-26 at 06:27, Paul Alfille wrote:
> On Saturday 25
On Saturday 25 June 2005 04:32 am, Jan Kandziora wrote:
> Am Samstag, 25. Juni 2005 05:50 schrieb Paul Alfille:
> > Your logs show mainly "BUS_select_low_errors" increasing.
>
> And DS... errors. But I think that's just a summary, am I right?
>
> > Unfortunately there are 5 places in file ow_bus.c
On Saturday 25 June 2005 04:32 am, Jan Kandziora wrote:
> Am Samstag, 25. Juni 2005 05:50 schrieb Paul Alfille:
> > Your logs show mainly "BUS_select_low_errors" increasing.
>
> And DS... errors. But I think that's just a summary, am I right?
Probably.
>
> > Unfortunately there are 5 places in file
Am Samstag, 25. Juni 2005 05:50 schrieb Paul Alfille:
> Your logs show mainly "BUS_select_low_errors" increasing.
>
And DS... errors. But I think that's just a summary, am I right?
> Unfortunately there are 5 places in file ow_bus.c function BUS_select_low
> where that variable is incremented. I'
Your logs show mainly "BUS_select_low_errors" increasing.
Unfortunately there are 5 places in file ow_bus.c function BUS_select_low
where that variable is incremented. I've added some (temporary) printf's to
run the program in foreground and flip the garbalizer.
Can you pull from the latest CVS
Am Dienstag, 21. Juni 2005 13:18 schrieb Alfille, Paul H.,M.D.:
> DS2480_reset_errors
> DS9097_reset_errors
> DS9490_reset_errors
> (and perhaps if DS2480_read_timeout is large I think...)
>
> if(DS2480_reset_errors || DS9097_reset_errors || DS9490_reset_errors) {
> COM_close(in);
> usleep(1000
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jan
Kandziora
Sent: Tuesday, June 21, 2005 4:12 AM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] More on "Hanging" Problems
Am Dienstag, 21. Juni 2005 04:46 schrieb Pa
DS2480_reset_errors
DS9097_reset_errors
DS9490_reset_errors
(and perhaps if DS2480_read_timeout is large I think...)
if(DS2480_reset_errors || DS9097_reset_errors || DS9490_reset_errors) {
COM_close(in);
usleep(10);
COM_open(in);
if ( DS2480_detect(in) ) {
if ( DS9097_detect(in) )
Am Dienstag, 21. Juni 2005 04:46 schrieb Paul Alfille:
> On Monday 20 June 2005 04:38 pm, Jan Kandziora wrote:
> > Dear Paul,
> >
> > I've investigated further on the problem I described last week (in the
> > thread "owtcl and writing data").
> >
> > It seems to be related to EMC: Nearly every time
Am Dienstag, 21. Juni 2005 08:43 schrieb Christian Magnusson:
> I have actually also noticed some of those problems too... I have one
> of my LCD-displays in my office very close to the lamp-switch, and
> sometimes owserver has hanged at the same time as I entered the room
> and switched on the lam
I have actually also noticed some of those problems too... I have one
of my LCD-displays in my office very close to the lamp-switch, and
sometimes owserver has hanged at the same time as I entered the room
and switched on the lamp and just walked through the room to get a
screwdriver or something
On Monday 20 June 2005 04:38 pm, Jan Kandziora wrote:
> Dear Paul,
>
> I've investigated further on the problem I described last week (in the
> thread "owtcl and writing data").
>
> It seems to be related to EMC: Nearly every time I switch on a large
> 240/24V AC transformer I need for my project,
39 matches
Mail list logo