|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
1-wire and usb delays/hangsHowdy,
I've been using both a DS9097U via USB serial adapter and a USB DS2490. Both work, until I put a hard drive on my USB bus, and the drive occasionally delays the USB bus or causes issues with other usb devices. Problem is that owfs just plain craps out when that happens and doesn't quite seem to recover on its own (or at least not timely). Have others seen this? Is there a 1-wire master adapter I can try that is more resistent to these problems? Thanks, Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ ------------------------------------------------------------------------------ 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: 1-wire and usb delays/hangswell, after usb, i think ds2480 is the most resistent one...
maybe bitbang too but ds2480 must work fine (but with usb-serial i´m having problem)
2012/2/5 Marc MERLIN <marc_news@...> Howdy, Roberto Spadim Spadim Technology / SPAEmpresarial ------------------------------------------------------------------------------ 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: 1-wire and usb delays/hangsWell, it sounds like the USB reconnect (after errors) is not putting the line into the correct bus timing mode. Let me investigate.
Paul On Sat, Feb 4, 2012 at 9:57 PM, Marc MERLIN <marc_news@...> wrote: Howdy, ------------------------------------------------------------------------------ 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: 1-wire and usb delays/hangsi know that my user-serial works in pool mode after each 1ms it pool usb-serial and get all buffer information, but it´s a feature of usb-serial device
2012/2/5 Paul Alfille <paul.alfille@...> Well, it sounds like the USB reconnect (after errors) is not putting the line into the correct bus timing mode. Let me investigate. Roberto Spadim Spadim Technology / SPAEmpresarial ------------------------------------------------------------------------------ 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: 1-wire and usb delays/hangssorry user-serial * = usb-serial
2012/2/5 Roberto Spadim <roberto@...> i know that my user-serial works in pool mode after each 1ms it pool usb-serial and get all buffer information, but it´s a feature of usb-serial device Roberto Spadim Spadim Technology / SPAEmpresarial ------------------------------------------------------------------------------ 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: 1-wire and usb delays/hangscheck here ftdi232 advanced options manual for windows
check here something about usb and latency when using ftdi232 (usb-serial device) maybe there´s something to others usb devices? maybe at usbbus master (not ow converter)? since we test older versions and newers versions of owfs, i don´t know if this is the problem, maybe not, since we didn´t change serial parameters (or change?)
2012/2/5 Roberto Spadim <roberto@...> sorry user-serial * = usb-serial Roberto Spadim Spadim Technology / SPAEmpresarial ------------------------------------------------------------------------------ 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: 1-wire and usb delays/hangsOn Sat, Feb 04, 2012 at 10:18:26PM -0500, Paul Alfille wrote:
> Well, it sounds like the USB reconnect (after errors) is not putting the > line into the correct bus timing mode. Let me investigate. I have a bit more info on this. I moved my drive to sata and I'm doing a very IO intensive full speed copy between 2 drives. owfs worked better, but it still burped while the copy was happening. After that, it went back to normal. root 9507 0.7 0.0 43896 1232 ? Ssl 22:39 0:20 /opt/owfs/bin/owserver -u -F --error_print 3 --error_level 3 --nozero root 9521 0.0 0.0 37500 1084 ? Ssl 22:39 0:00 /opt/owfs/bin/owfs -F -s localhost:4304 /owfs --nozero root 9525 0.0 0.0 2836 992 ? Ss 22:39 0:00 /opt/owfs/bin/owhttpd -F -s localhost:4304 -p 8082 --nozero root 9526 0.0 0.1 9904 8044 ? S 22:39 0:00 /usr/bin/perl -w /usr/bin/xpl-owfs --interface eth1 --owfs-mount /owfs I have code that sees that I can't read data from owfs and that does not assume it will self recover, so it restarts it. My logs look like this: Feb 4 20:13:17 gargamel OWFS[23717]: DEFAULT: ow_reconnect.c:TestConnection(63) tcp bus master reconnected Feb 4 20:13:17 gargamel OWFS[23717]: DEFAULT: ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master! Feb 4 20:13:30 gargamel OWFS[23717]: DEFAULT: ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master! Feb 4 20:13:30 gargamel OWFS[23717]: DEFAULT: ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master! Feb 4 20:14:01 gargamel OWFS[23717]: DEFAULT: ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master! Feb 4 20:14:02 gargamel OWFS[23717]: DEFAULT: ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master! Feb 4 20:14:02 gargamel OWFS[23717]: DEFAULT: ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master! Feb 4 20:14:02 gargamel OWFS[23717]: DEFAULT: ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master! Feb 4 20:14:03 gargamel OWFS[23717]: DEFAULT: ow_reconnect.c:TestConnection(61) Failed to reconnect tcp bus master! Feb 4 20:14:20 gargamel OWFS[26173]: DEFAULT: ow_daemon.c:EnterBackground(143) Entered background mode, quitting. So it seems to be a realtime problem: the owfs code does not seem to deal well with not being scheduled often enough. Of course, when that happens some data has to be dropped, but it looks like it doesn't self recover, or at least timely when that happens. Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ ------------------------------------------------------------------------------ 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: hobby-boards DS9097 is more reliable bus master than DS2490On Sat, Feb 04, 2012 at 10:18:26PM -0500, Paul Alfille wrote:
> Well, it sounds like the USB reconnect (after errors) is not putting the > line into the correct bus timing mode. Let me investigate. While I got my DS9097 and DS2490 from hobby-boards, I don't think my findings are specific to their design but more specific to the chip. I have pretty long network in my house, using cat-5 cable and after what I reported earlier, I tried my USB DS2490 to run my bus (that goes through a hub, also from hobby-boards). Well, while I found that the DS9097 plugged into a keyspan USB/serial adapter was having glitches when apparently interrupts were delayed when my server was busy with high speed disk to disk copies, I found out that the DS2490, contrary to what I expected, is actually worse. The DS2490, when my server is not busy, was routinely causing owfs to miss some devices on my full bus polls every minute. I tried it over a week and I would get 10-20 errors per day. I then put the DS9097 back via the keyspan adapter, and while I don't understand why it would be more reliable, especially with always uncertain voltage from a usb-serial adapter, my bus is 100% stable again: no more daily poll errors. I can't quite explain why, but I thought I'd report it. Marc > Paul > > On Sat, Feb 4, 2012 at 9:57 PM, Marc MERLIN <marc_news@...> wrote: > > > Howdy, > > > > I've been using both a DS9097U via USB serial adapter and a USB DS2490. > > Both work, until I put a hard drive on my USB bus, and the drive > > occasionally delays the USB bus or causes issues with other usb devices. > > > > Problem is that owfs just plain craps out when that happens and doesn't > > quite seem to recover on its own (or at least not timely). > > > > Have others seen this? > > > > Is there a 1-wire master adapter I can try that is more resistent to these > > problems? > > > > Thanks, > > Marc > > -- > > "A mouse is a device used to point at the xterm you want to type in" - > > A.S.R. > > Microsoft is to operating systems .... > > .... what McDonalds is to gourmet > > cooking > > Home page: http://marc.merlins.org/ > > > > > > ------------------------------------------------------------------------------ > > 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 > > > ------------------------------------------------------------------------------ > 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 -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ ------------------------------------------------------------------------------ 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 |
| Free embeddable forum powered by Nabble | Forum Help |