Re: [Owfs-developers] Latest patches...

2007-05-23 Thread Christian Magnusson
test patches... > > Hi, > > Christian Magnusson: > > I noticed that bootstrap was changed to use automake-1.9 too... Is > there any > > reason not to use "automake" which should be the latest available > version? > > Sorry -- that slipped through and shoul

Re: [Owfs-developers] Latest patches...

2007-05-23 Thread Christian Magnusson
correctly. our $VERSION='2.6p4' ; Any ideas how it should be done correctly? /Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of Christian > Magnusson > Sent: den 23 maj 2007 12:40 > To: owfs-developers@li

Re: [Owfs-developers] (C) API question

2007-06-04 Thread Christian Magnusson
The problem is in Fowq_output_offset_and_size(). When I looked at the variables, OWQ_size and OWQ_length didn't contain correct values. DEBUG: OWQ_size=0 OWQ_length=-1028883844 length=12 copy_length=12 After this, copy_length is set to 0 since OWQ_size == 0. if ( copy_length > OWQ_size(o

Re: [Owfs-developers] (C) API question

2007-06-05 Thread Christian Magnusson
tains "," instead of white space " ". Also the result always comes back with nothing when it's at the end of the tree. Steve M. On 6/4/07, Christian Magnusson <[EMAIL PROTECTED]> wrote: The problem is in Fowq_output_offset_and_size(). When I looked at the varia

Re: [Owfs-developers] (C) API question

2007-06-05 Thread Christian Magnusson
t; instead of white space " ". Also the result always comes back with nothing when it's at the end of the tree. Steve M. On 6/4/07, Christian Magnusson <[EMAIL PROTECTED]> wrote: The problem is in Fowq_output_offset_and_size(). When I looked at the variables, OWQ_siz

[Owfs-developers] FW: Re: SV: Re: Tcl on OpenWRT

2007-06-05 Thread Christian Magnusson
I found an old article I wrote 2005, and that tcl-code returned spaces between the directories. Should we change owcapi to return spaces instead of "," for the tcl-module? /Christian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian

Re: [Owfs-developers] FW: Re: SV: Re: Tcl on OpenWRT

2007-06-05 Thread Christian Magnusson
From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of Christian > Magnusson > Sent: den 5 juni 2007 10:46 > To: owfs-developers@lists.sourceforge.net > Subject: [Owfs-developers] FW: Re: SV: Re: Tcl on OpenWRT > > I found an old article I wrote 2005, and that tcl

Re: [Owfs-developers] FW: Re: SV: Re: Tcl on OpenWRT

2007-06-05 Thread Christian Magnusson
(return list) structure/ bus.0/ bus.1/ uncached/ settings/ system/ statistics/ 28.4AEC29CDBAAB/ 10.67C6697351FF/ alarm/ simultaneous/ First object in directory list structure/ /Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of C

Re: [Owfs-developers] Fwd: 1-wire (on wrt54g and whiterussian 0.9)

2007-06-05 Thread Christian Magnusson
I just updated one of my routers to 0.9, and it seems to work so far. I upgraded with this firmware: http://downloads.openwrt.org/whiterussian/0.9/default/openwrt-wrt54g-squashf s.bin [EMAIL PROTECTED]:/etc

[Owfs-developers] owperl for openwrt

2007-06-15 Thread Christian Magnusson
I have managed to compile owperl for openwrt. Here are some outputs of the installation and tests. Perl is pretty big, but I managed to install everything on a WRT54G with 4Mb flash and whiterussian 0.9. /Christian [EMAIL PROTECTED]:~# ipkg install owfs Installing owfs (2.6p5-14) to

[Owfs-developers] OpenWRT Kamikaze packages

2007-06-19 Thread Christian Magnusson
Just wanted to tell you all that I have compiled some new owfs-packages for OpenWRT Kamikaze now, and they could be found at: If you use the 2.4.34-kernel, you should use this repository: http://owfs.sourceforge.net/openwrt/kamikaze/packages/ If you use the 2.6.19-kernel, you should use th

Re: [Owfs-developers] 185F reading problem temps

2007-06-21 Thread Christian Magnusson
> > I am actually not using the ground pin (I think pin 1) on the sensors > which > might be an issue. I was using it before and not getting any > exceptions. I > will do a test with pin 1 and 3 connected and see the results. > If you don't have any external power connected to the sensors, yo

Re: [Owfs-developers] ownet/python crashing sporadically in connection.py

2007-06-28 Thread Christian Magnusson
I checked in the changes to the CVS. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Weber Sent: den 28 juni 2007 10:20 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] ownet/python crashing sporadically in connection.py I had

Re: [Owfs-developers] NSLU2 and DS2408

2007-07-03 Thread Christian Magnusson
It sounds like you have the problem with AAG products and USB-adapters like many other people have stumbled into. http://www.aagelectronica.com/aag/en-us/pg_10.html#Q29 You could try to start "owserver -u --altUSB" and then tweek the usb-timings and see if it solves the problem. Edit the file /op

Re: [Owfs-developers] NSLU2 and DS2408

2007-07-03 Thread Christian Magnusson
the changes to the cvs right now... don't know why... But I'll try again tomorrow morning. /Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of Christian > Magnusson > Sent: den 3 juli 2007 15:13 > To: owfs

Re: [Owfs-developers] NSLU2 and DS2408 (flexible speed is now default)

2007-07-04 Thread Christian Magnusson
if your crc-errors disappears? /Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of giuliano > Sent: den 4 juli 2007 11:49 > To: owfs-developers@lists.sourceforge.net > Subject: Re: [Owfs-developers] NSLU2 and DS2408 >

Re: [Owfs-developers] NSLU2 and DS2408 (flexible speed is now default)

2007-07-04 Thread Christian Magnusson
Really strange that your settings are 0 in overdrive.0 (which means regular speed) after startup...?!? Nice to hear that the CRC errors changed... That really looks like some cable or signal problem which should be possible to tune away with the slewrate. # ipkg upgrade Upgradingowfs on root

Re: [Owfs-developers] NSLU2 and DS2408 (flexible speed is now default)

2007-07-04 Thread Christian Magnusson
gt; [EMAIL PROTECTED] On Behalf Of Giuliano > Sent: den 5 juli 2007 02:15 > To: owfs-developers@lists.sourceforge.net > Subject: Re: [Owfs-developers] NSLU2 and DS2408 (flexible speed is now > default) > > Christian Magnusson mag.cx> writes: > > > > > > >

Re: [Owfs-developers] floating point to integer

2007-07-15 Thread Christian Magnusson
Yes. "cut" is probably the only option for you when you don't have "bc" or "gawk" available. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Conway Sent: den 15 juli 2007 01:55 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] float

Re: [Owfs-developers] owserver fails opening tty device on openwrt

2007-07-17 Thread Christian Magnusson
/dev/ttyS0 is probably used as console-port for the kernel. I guess you have to use /dev/ttyS1 instead. Look in dmesg right after rebooting the router. [EMAIL PROTECTED]:~# dmesg | egrep -i "seri|tty" Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd c

Re: [Owfs-developers] owtcl: More meaningful error messages

2007-07-20 Thread Christian Magnusson
If you want to change the version to 0.2, then change two rows in module/swig/tcl/version.h . > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of Jan Kandziora > Sent: den 20 juli 2007 18:07 > To: owfs-developers@lists.sourceforge.net > Subject: Re

Re: [Owfs-developers] owtcl: More meaningful error messages

2007-07-21 Thread Christian Magnusson
o:owfs- > [EMAIL PROTECTED] On Behalf Of Christian > Magnusson > Sent: den 20 juli 2007 22:42 > To: owfs-developers@lists.sourceforge.net > Subject: Re: [Owfs-developers] owtcl: More meaningful error messages > > If you want to change the version to 0.2, then change two rows in

Re: [Owfs-developers] owtcl: More meaningful error messages

2007-07-21 Thread Christian Magnusson
Oops... Sorry for that post... /Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of Christian > Magnusson > Sent: den 21 juli 2007 15:43 > To: owfs-developers@lists.sourceforge.net > Subject: Re: [Owfs-de

Re: [Owfs-developers] DS2423 - "Data Error"

2007-08-09 Thread Christian Magnusson
Is the crc-check failing on this device after you fixed the crc-check for DS2450 ? /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Alfille Sent: den 9 augusti 2007 04:35 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] DS2423 - "Data

Re: [Owfs-developers] DS2760 question

2007-08-19 Thread Christian Magnusson
Can it be the CRC-bug in the 2.6p5 which also effected the voltage-readings for DS2450? Perhaps the new 2.6p6 will fix the problem. /Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: den 20 augusti 2007 01:

Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

2007-08-22 Thread Christian Magnusson
BTW: Does owshell support the ping packets? I have helped Christian Schumann with scripts to control his Solar-panel + rainwater buffer with switches and water-pump. There are several cronjobs which run every minute, and one of the scripts frequently return "Data error" when reading a DS2890.

Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

2007-08-23 Thread Christian Magnusson
Sorry, I copied an old script, and here is a bit more simplified error check. Only test error-status "$?" is needed. #!/bin/ash readsensor () ( VAL=`owread -s 3002 $1/$2 2>&1` ERR=$? [ $ERR != 0 ] && { date >>$DEBUGFILE echo >>$DEBUGFILE "ERROR: owread $1

Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

2007-08-23 Thread Christian Magnusson
graphicdo you happen know if imagemagic runs on an unslung NSLU2 ? Did you implement control of any outputs from a web interface ? thanks for sharing cheers rob - Original Message - From: Christian Magnusson <mailto:[EMAIL PROTECTED]> To: owfs-developers@lists.s

Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

2007-08-24 Thread Christian Magnusson
arge jpegs just convert my 1wire data value into a simple graphic to display. WOW you are a champion ! So I assume I load ghostscript then imagemagic rob - Original Message - From: Christian Magnusson <mailto:[EMAIL PROTECTED]> To: owfs-developers@lists.source

Re: [Owfs-developers] Problem with BR6104KP and OWFS

2007-08-25 Thread Christian Magnusson
In /usr/include/linux/stat.h I have these defines.. #define S_IFCHR 002 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) The macro is called S_ISCHR(), so I don't think there are anything wrong in the source.. Or? /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT

Re: [Owfs-developers] Problem with BR6104KP and OWFS

2007-08-25 Thread Christian Magnusson
.net Subject: Re: [Owfs-developers] Problem with BR6104KP and OWFS On 8/25/07, Christian Magnusson <[EMAIL PROTECTED]> wrote: In /usr/include/linux/stat.h I have these defines.. #define S_IFCHR 002 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) The macro is c

Re: [Owfs-developers] Problem with BR6104KP and OWFS

2007-08-25 Thread Christian Magnusson
; break; default: return -ENODEV; } From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Magnusson Sent: den 25 augusti 2007 13:36 To: owfs-developers@lists.sourceforge.net Subject: Re

Re: [Owfs-developers] Problem with BR6104KP and OWFS

2007-08-25 Thread Christian Magnusson
I guess I'm too tired. I noticed in->Adapter was set in DS2480_reset() pn->in->Adapter = (buf & RB_CHIPID_MASK) >> 2; and I guess you can ignore my two last posts. dohhh. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behal

Re: [Owfs-developers] Problem with BR6104KP and OWFS

2007-08-25 Thread Christian Magnusson
> > midge# owfs --error_level 9 -d /dev/ttyS1 > DEFAULT: Not a "character" device /dev/ttyS1 > DEBUG: owfs: ow_exit(0) > midge# > > midge# ls -la ttyS* > crw---1 root root 4, 64 Jan 1 1970 ttyS > crw-r--r--1 root root 4, 64 Jan 1 2000 ttyS0 > crw-r--r--

Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

2007-08-25 Thread Christian Magnusson
some more before I upload the packages. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Magnusson Sent: den 24 augusti 2007 13:45 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Error trap works great on NSLU2 with owfs I tried

Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

2007-08-25 Thread Christian Magnusson
have a working version for NSLU2 too, but I will change them some more before I upload the packages. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Magnusson Sent: den 24 augusti 2007 13:45 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-deve

Re: [Owfs-developers] Fwd: Problem with BR6104KP and OWFS

2007-08-26 Thread Christian Magnusson
The packages at http://owfs.sourceforge.net/openwrt/packages are compiled for the distribution openwrt whiterussian rc5 or 0.9. They both use kernel 2.4.30 and uClibc 0.9.27, and I would be surprised if you can use those packages without any problems

Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

2007-08-26 Thread Christian Magnusson
.tar.gz and unpacked at /usr/share/ghostscript/fonts/ (I haven't created any package for this yet) /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Magnusson Sent: den 25 augusti 2007 22:22 To: owfs-developers@lists.sourceforge.net Subject: Re:

Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

2007-08-27 Thread Christian Magnusson
I have updated the packages again. Imagemagick is depending on the bzip2 package. You can install it without dependents though. (it should work) # echo "src/gz owfs http://owfs.sourceforge.net/nslu2/packages"; > /etc/ipkg/owfs-feed.conf # ipkg update # ipkg install gsfonts # ipkg install gh

Re: [Owfs-developers] Fwd: Problem with BR6104KP and OWFS

2007-08-27 Thread Christian Magnusson
this can be found here: > http://midge.vlad.org.ua/wiki/Howtos > > > kindly, > Gerrit. > > > > ------- > - > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Christian Magnusson > Sent: zondag 26 augustus 2007 14:41 > To: ow

Re: [Owfs-developers] Fwd: Problem with BR6104KP and OWFS

2007-08-27 Thread Christian Magnusson
l.ipk owshell_2.6p6-3_mipsel.ipk temploggerd_1.3.6-4_mipsel.ipk Can you try the owserver-binary in the owfs-package now? /Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of Christian > Magnusson > Sent: den 27 aug

Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

2007-08-27 Thread Christian Magnusson
ext 50,50 ' Testing'" /website/newcond.jpg convert: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory Will the above example work the same for png files ? That is once I get it working cheers ----- Original Message ---

Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

2007-08-27 Thread Christian Magnusson
rror while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory Will the above example work the same for png files ? That is once I get it working cheers ----- Original Message - From: Christian Magnusson <mailto:[EM

Re: [Owfs-developers] Fwd: Problem with BR6104KP and OWFS

2007-08-27 Thread Christian Magnusson
I hope you installed the packages from http://owfs.sourceforge.net/openwrt/midge/packages/ Did you forget to update the new owlib package? It looks like you only updated the binaries, and not the owlib. I hope you have added the new repository to your config-file. (and make sure you don't have a

Re: [Owfs-developers] Fwd: Problem with BR6104KP and OWFS

2007-08-27 Thread Christian Magnusson
stalled | egrep "ow|fuse" ow-packages should be 2.6p6-3 fuse-packages should be 2.4.2-2 /Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of Christian > Magnusson > Sent: den 27 augusti 2007 22:32 > To: owfs-dev

Re: [Owfs-developers] Error trap works great on NSLU2 with owfs

2007-08-28 Thread Christian Magnusson
lia - Original Message - From: Christian Magnusson <mailto:[EMAIL PROTECTED]> To: owfs-developers@lists.sourceforge.net Sent: Monday, August 27, 2007 10:12 PM Subject: Re: [Owfs-developers] Error trap works great on NSLU2 with owfs Try to remove the softlinks /opt/bin/bzcat

Re: [Owfs-developers] Owfs-developers Digest, Vol 15, Issue 41

2007-08-30 Thread Christian Magnusson
Great news in a way.. The kernel-module could be loaded and unloaded, and the device /dev/ttyS0 is found. I will read the source some more and see if I can find any other problems.. The serial-port might need to be initialized in a different way. But it's hard for me to debug it without any acces

Re: [Owfs-developers] Man pages

2007-09-05 Thread Christian Magnusson
I added a javascript in the owfs-template, and it will redirect to " http://owfs.org/ + uri" if the sitename doesn't look like that. I think it works. Can you try it? /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Alfille Sent: den 5 september 2007 04:25

Re: [Owfs-developers] Man pages

2007-09-05 Thread Christian Magnusson
. all other pages work as far as I see. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Magnusson Sent: den 5 september 2007 13:50 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Man pages I added a javascript in the owfs-temp

Re: [Owfs-developers] MIPS vs MIPSEL in OWFS

2007-09-07 Thread Christian Magnusson
I haven't setup any development-tree with MIPS target yet. I'll see what I can do. and see if I have enough with diskspace to make more targets. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of suman sarkar Sent: den 6 september 2007 22:56 To: owfs-developers@

Re: [Owfs-developers] MIPS vs MIPSEL in OWFS

2007-09-07 Thread Christian Magnusson
I guess it's Atheros with 2.6-kernel you use. It was the only MIPS target I found in kamikaze 7.07. I'm compiling everything for that target right now. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Magnusson Sent: den 7 september 2007 10:4

Re: [Owfs-developers] MIPS vs MIPSEL in OWFS

2007-09-07 Thread Christian Magnusson
BTW: What kind of AP do you have? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of suman sarkar Sent: den 6 september 2007 22:56 To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] MIPS vs MIPSEL in OWFS Hi, I installed openwrt (kamikaze) with MIPS (

Re: [Owfs-developers] MIPS vs MIPSEL in OWFS

2007-09-07 Thread Christian Magnusson
mailto:[EMAIL PROTECTED] On Behalf Of Christian Magnusson Sent: den 7 september 2007 20:05 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] MIPS vs MIPSEL in OWFS I guess it's Atheros with 2.6-kernel you use. It was the only MIPS target I found in kamikaze 7.07. I&

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-11 Thread Christian Magnusson
It's not supported right now. (testing on my wrt54g router) [EMAIL PROTECTED]:~# echo 1 > /tmp/1 [EMAIL PROTECTED]:~# echo 0 > /tmp/0 [EMAIL PROTECTED]:~# owwrite -s 3002 FF.71020100/backlight < /tmp/1 Unpaired entry: FF.71020100/backlight [EMAIL PROTECTED]:~# owwrite -s 3002 F

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-11 Thread Christian Magnusson
I haven't been able to reproduce the crash... # owwrite -s 3001 FF.71020100/line16.0 test # echo -n test > /tmp/1wire/FF.71020100/line16.0 (Both works on my wrt54g router with whiterussian.) # echo test > /tmp/1wire/FF.71020100/line16.0 However: This gives me one garbage character sin

Re: [Owfs-developers] Re :Re: MIPS vs MIPSEL in OWFS

2007-09-11 Thread Christian Magnusson
Yes. I know nvram isn't used.. but I thought it was available anyway. It's working on my kamikaze 7.07 installation on wrt54g. I just wanted to make sure that Asus users DON'T start owfs and read the serial-port which hangs the kernel. and that's not good during a startup. Perhaps I should

Re: [Owfs-developers] Re :Re: Re :Re: MIPS vs MIPSEL in OWFS

2007-09-12 Thread Christian Magnusson
Shouldn't you be able to use Maxim's reference design of a passive 9097 adapter? DTR is there to supply 1-wire bus with power since it's high when serial-port is opened. This could be replaced with Vcc I think. Perhaps an extra 100ohm (just after Vcc) to protect it from short-circuit would be goo

Re: [Owfs-developers] Re :Re: Re :Re: Re :Re: MIPS vs MIPSEL in OWFS

2007-09-12 Thread Christian Magnusson
The original schema looks like this. DTR - GND schottky diods, resistance and zener diods. RXD - TXD - But if you are going to replace DTR with Vcc, I think you should add an extra resistance just after Vcc.

Re: [Owfs-developers] MIPS vs MIPSEL in OWFS

2007-09-15 Thread Christian Magnusson
BTW: isn't your serial interface in TTL levels? Then you have to get a converter, such as MAX3232 http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1068 to connect the ds9097 adapter. Otherwise the signal level will be inverted to the 1-wire devices. The signal is inverted in terms of electrical

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-15 Thread Christian Magnusson
I have compiled the latest cvs-version for WRT54G/Asus (whiterussian rc5, 0.9 and kamikaze). You didn't say which distribution you have. But you might use http://owfs.sourceforge.net/openwrt/packages/ http://owfs.sourceforge.net/openwrt/0.9/packages/ http://owfs.sourceforge.net/openwrt/kam

Re: [Owfs-developers] MIPS vs MIPSEL in OWFS

2007-09-15 Thread Christian Magnusson
in OWFS > > On Sat, 15 Sep 2007, Christian Magnusson wrote: > > > BTW: isn't your serial interface in TTL levels? Then you have to get > a > > converter, such as MAX3232 > > However, the Max232 uses a fair amount of power to drive the charge > pumps, >

Re: [Owfs-developers] MIPS vs MIPSEL in OWFS

2007-09-15 Thread Christian Magnusson
BTW: Replacing DTR with Vcc(+resistance) doesn't work as I suggested. DTR should be between -3 -- -15 when the rs232-port is open and ready. This means that you have to use one max3232 pin for converting the Vcc to the negative signal which is a logical "1". /Christian > -Original Message---

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-18 Thread Christian Magnusson
owserver. > For the record; previous version I tried was 2.6p6-7 and today 2.6p6-8 > of > owfs, owlib and owshell and the box is running whiterussian rc5, 0.9 > Works fine if I restrict the output to a max of 16 chars to line16.0 > and > 16.1 > > Ed > > > Christi

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-19 Thread Christian Magnusson
Paul found a bug, and I have re-compiled the packages. Try the newest packages again. /Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of Christian > Magnusson > Sent: den 18 september 2007 15:09 > T

Re: [Owfs-developers] Fwd: Project to connect WGT634U to 1-wire

2007-09-21 Thread Christian Magnusson
I don't have Steve Morgan's address, so could you forward it Paul? I think the problem with FTDI serial adapter could be solved my starting owserver with parameter "-8bit". The FTDI adapter doesn't seem to like the 6-bit communication. # owserver -8bit -d /dev/usb/tts/0 -p 3002 Could yo

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-24 Thread Christian Magnusson
ile > doesn't give any problems. So, what remains: > - /FF./screen16 doesn't work at all > - cat of file can zombie owserver > > Ed > > > Christian Magnusson-2 wrote: > > > > Paul found a bug, and I have re-compiled the packages. Try the newes

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-24 Thread Christian Magnusson
BTW: you need to give the -force-reinstall flag to install the same version again... # ipkg -force-reinstall install owfs owlib /Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:owfs- > [EMAIL PROTECTED] On Behalf Of Christian > Magnusson > Sent: den 24

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-25 Thread Christian Magnusson
hite Russian - With X-Wrt Extensions 0.9 > Linux 2.4.30 #1 Thu Feb 22 13:58:48 EST 2007 > > > > Christian Magnusson-2 wrote: > > > > That 2.6p9 at http://owfs.sourceforge.net/openwrt/packages/ contained > the > > fix. > > Are you sure you

Re: [Owfs-developers] Shell scripts and OWFS

2007-09-26 Thread Christian Magnusson
x27;0.9', but what is > RC5? > Is that what you are running? > > Ed > > > Christian Magnusson-2 wrote: > > > > > > Ok... I was almost sure that Whiterussian RC5 and 0.9 used the same > libc > > and > > kernel... But there are perhaps so

Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-04 Thread Christian Magnusson
You can always download the packages manually with wget (or ipk directly) from the directory: http://owfs.sourceforge.net/openwrt/kamikaze/packages/ ipkg remove owlib owfs owshell ipkg install http://owfs.sourceforge.net/openwrt/kamikaze/packages/owfs_2.6p6-8_mipsel.ip k http://owfs.sourcefor

Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-05 Thread Christian Magnusson
static int OW_w_pios(const BYTE * data, const size_t size, const struct parsedname *pn) { BYTE formatted_data[formatted_size]; -if ( formatted_data[formatted_data_pointer+1] != ~data[i] ) { +if ( formatted_data[formatted_data_pointer+1] != (BYTE) ~data[i] ) { C

Re: [Owfs-developers] Support for Louis Swart's LCD interface broken in latest version of owfs?

2007-10-07 Thread Christian Magnusson
What kind of router is it? The USB adapter have changed to use flexible speed, and that could effect you if you have an Asus router. On the other hand, you can always change the setting with: # echo 0 > /tmp/1wire/bus.0/system/adapter/overdrive.0 (Regular speed which was used before) # echo

[Owfs-developers] usb-timeout not set at startup

2007-10-21 Thread Christian Magnusson
I found a bug with the usb-timeout which isn't set until DS9490_SetSpeed() is called. which is after DS9490_setup_adapter() is called. This resulted into 0ms timeout during the CTL_RESET_DEVICE command was sent, and it fails on some slower systems. It's fixed in the CVS. /Christian ---

Re: [Owfs-developers] php_ow

2007-11-03 Thread Christian Magnusson
I fixed it in the cvs.. diff -u -r1.29 globals.c --- module/owlib/src/c/globals.c7 Oct 2007 22:57:32 - 1.29 +++ module/owlib/src/c/globals.c4 Nov 2007 07:10:14 - @@ -53,7 +53,7 @@ #endif .opt = 0 , -.progname = "One Wire File System" , +.progname = NUL

Re: [Owfs-developers] owfs will not start automatically on openwrt (WRT54GL V1.1)

2007-12-13 Thread Christian Magnusson
I haven't seen this problem before... Does any of the ow-processes start when you restart your WL-500GP? Or is it only the process owfs which doesn't start completely? Also... Can you look if the module "fuse" is loaded just after starting up your router? This should be done in the startup-scri

Re: [Owfs-developers] owfs will not start automatically on openwrt (WRT54GL V1.1)

2007-12-17 Thread Christian Magnusson
Good to hear that it automatically starts now. I have no idea what it could be... I read some about freifunk, and they seemed to revert to uclibc-0.9.27 8th Aug 2006 to make it compatible to whiterussian rc5. Perhaps you had some old friefunk version which was created before that date? Right now I

Re: [Owfs-developers] owfs python wrapper

2007-12-17 Thread Christian Magnusson
The tree-structure have changed a bit lately, and /system/adapter/name.0 is replaced with /bus.0/interface/settings/name. Patches need to be done in module/swig/python/ow/__init__.py, but it's not only the change above which is needed... I'm no guru at python, but I'll see if I find any obvious pa

Re: [Owfs-developers] owfs will not start automatically onopenwrt (WRT54GL V1.1)

2007-12-17 Thread Christian Magnusson
: "Christian Magnusson" <[EMAIL PROTECTED]> Sent: Monday, December 17, 2007 8:57 PM To: Subject: Re: [Owfs-developers] owfs will not start automatically onopenwrt(WRT54GLV1.1) > Good to hear that it automatically starts now. I have no idea what it > could > be... I read some

Re: [Owfs-developers] owfs python wrapper

2007-12-18 Thread Christian Magnusson
mples/temperature.py --fake=10,10 /10.67C6697351FF 36.4784 /10.4AEC29CDBAAB 51.3401 Download and try the latest CVS version... /Christian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Magnusson Sent: den 17 december 2007 22:53

Re: [Owfs-developers] DS2480 "Cannot detect DS2480 or LINK interface" in 2.7

2007-12-19 Thread Christian Magnusson
I think it would be more interesting to look at a core-file. Could you try to generate a core-file and send the output from gdb too? [EMAIL PROTECTED] mag]# tcsh [EMAIL PROTECTED] mag]# limit coredumpsize unlimited (if you are using bash, it should work with "ulimit -c unlimited") [EMAIL PROTECTE

Re: [Owfs-developers] DS2480 "Cannot detect DS2480 or LINK interface" in 2.7

2007-12-20 Thread Christian Magnusson
It seems like a calloc() fails in your case... Did you run out of memory in your box? The only way FS_ParsedName_destroy() is called from FS_OWQ_create(), is if calloc() returns a null-pointer... Also... Perhaps pn->selected_filetype->ag->elements < 0 for some reason? Thread 1 (process 9294): #0

Re: [Owfs-developers] DS2480 "Cannot detect DS2480 or LINK interface" in 2.7

2007-12-20 Thread Christian Magnusson
I debugged the code before... and I found a pretty serious bug where "void *Tree[6]" was defined, but it should be 7 elements in that array. I have fixed this in the CVS, so perhaps this could result into some overwritten memory. /Christian

[Owfs-developers] New owfs/temploggerd ipk packages.

2007-12-30 Thread Christian Magnusson
Hi all, I just wanted to tell you have I compiled lots of ipk-builds today. The owfs-ipk-packages are updated to version 2.7p2. I have also made some updates to temploggerd, and the current version is now 1.3.8. Temploggerd can now use the owshell-commands instead of fuse+owfs to collect data.

Re: [Owfs-developers] New owfs/temploggerd ipk packages.

2007-12-31 Thread Christian Magnusson
Force will be with you always." Obi-Wan Kenobi   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Magnusson Sent: Monday, December 31, 2007 2:56 AM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] New owfs/temploggerd ipk pac

Re: [Owfs-developers] Fwd: What I did exactly now

2008-01-05 Thread Christian Magnusson
The default mount-point on the NSLU2 is /mnt/1wire/ . This means that you should look under that directory if you want to find your devices. ("ps" didn't should the whole path) Finally to test on the NSLU: ls -l /tmp/1wire/ echo 1 > /tmp/1wire/05.24202C00/PIO echo 0 > /tmp/1wire/05

Re: [Owfs-developers] Fwd: What I did exactly now

2008-01-06 Thread Christian Magnusson
The output of ps was certainly not showing the whole line... and I'm pretty sure the script didn't mount the 1wire filesystem in /tmp/ since the default is to use /tmp/1wire/ on the NSLU2. /Christian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matth

Re: [Owfs-developers] Compiling OWFS on ARM Issue

2008-01-08 Thread Christian Magnusson
Are you cross-compiling the binaries, or do you compile it native on the board? Googling on the "Verneed record" gives me some other users with the same problem. It's more likely to be a libc-bug but you can try some things. Can you copy the binary and library to /tmp and try to start it fr

Re: [Owfs-developers] rrdtool takes extremely long time to generate images for temploggerd on NSLU2 running Debian

2008-01-17 Thread Christian Magnusson
Hi Willard, I have seen this before actually... and I think I know the reason as well... The problem seem to occur during these circumstances: You have a new installed box and reboot it. Owfs-processes is started Temploggerd is started. It scans the 1-wire bus and creates the html-files and rrd-f

Re: [Owfs-developers] Yet another build quirk with owtcl.

2008-02-16 Thread Christian Magnusson
Can you explain a bit more about your environment? How to you build owfs, and from where do you try to start it? The information you gave about "> Show output "ldd ow-0.2.so"..." isn't useful when you don't say which path it's located. If you look at the compiled file, it tries to locate libow

Re: [Owfs-developers] Yet another build quirk with owtcl.

2008-02-16 Thread Christian Magnusson
You can't have it running in both normal installed environment AND in a fakeroot. Have you seen any other dynamic linked applications which work this way? It's NOT possible to have a working library at /fakeroot/usr/lib64/owtcl-0.2/ow-0.2.so if you compile it like. # ./configure # make DESTDIR=/

Re: [Owfs-developers] compiling 2.7p3

2008-02-16 Thread Christian Magnusson
I have fixed this problem in the CVS some time ago... /Christian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: den 16 februari 2008 11:06 To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] compiling 2.7p3 Hi @a

Re: [Owfs-developers] Fwd: 1wire hardware

2008-02-16 Thread Christian Magnusson
I have successfully built owfs for WL-500W with Kamikaze-7.09 and 2.4.34-kernel. I haven't copied these packages to any accessible repository yet though. I got stuck with the incomplete perl-packages in Kamikaze, and then I re-wrote all Makefiles to get a full perl-installation on an external memo

Re: [Owfs-developers] Working Openwrt/Freewrt setup Anybody?

2008-03-19 Thread Christian Magnusson
I bought a WL500w some time ago, and I have built owfs-packages for the kamikaze 7.09 distribution at http://openwrt.org/ . There were no working image for the WL500w due to some hardware changes... and that makes it impossible for me to use the original firmware image at http://downloads.openwrt.

Re: [Owfs-developers] Working Openwrt/Freewrt setup Anybody?

2008-03-19 Thread Christian Magnusson
They are compiled against Whiterussian RC5. Libc is older in this distribution and they will not work on Kamikaze-installations. /Christian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sven Geggus Sent: den 19 mars 2008 10:20 To: owfs-developers@lists

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-03-20 Thread Christian Magnusson
That __pthread_initial_thread_bos is really some ugly hack by me… but it was necessary on several platforms with older uclibc-0.9.28 versions at least.. The mutexes didn’t work after daemon() was called if __pthread_initial_thread_bos wasn’t cleared and _pthread_initialize() was called a secon

Re: [Owfs-developers] OWFS+arm cross compilation problem !!!

2008-04-02 Thread Christian Magnusson
I fixed some problem in the CVS now. Had problem to cross-compile everything. Made some changes in many Makefiles which should add the correct defines in all cases. sem.h was missing in a src/include/Makefile.am as well. Found a bug in rwlock.h, which results into semaphore.h is never used

Re: [Owfs-developers] owfs on openwrt

2008-04-03 Thread Christian Magnusson
I have compiled owfs for my Asus WL-500W Kamikaze-7.09, and owfs, fuse and usb-support worked on that router. I will compile the latest cvs-source and try to upload some new version as soon as possible. Do you use Kamikaze-7.09 for your router as well? /Christian -Original Message- Fr

[Owfs-developers] New ipkg-packages

2008-04-05 Thread Christian Magnusson
Sorry for taking so long to compile new packages for openwrt and nslu2.. I have made major changes in my firewall, since I have installed an ipsec-tunnel to the dev-server where I make most my builds on. And that resulted only lots of scripts-errors and network-problems when I tried to upload all

Re: [Owfs-developers] New ipkg-packages

2008-04-06 Thread Christian Magnusson
w-2.7.so.4: cannot open shared object file: No such file or directory # Steve - Original Message ---- From: Christian Magnusson <[EMAIL PROTECTED]> To: owfs-developers@lists.sourceforge.net Sent: Saturday, April 5, 2008 4:04:36 PM Subject: [Owfs-developers] New ipkg-packages Sor

Re: [Owfs-developers] New ipkg-packages

2008-04-07 Thread Christian Magnusson
ure where to go from here. Steve J. - Original Message ---- From: Christian Magnusson <[EMAIL PROTECTED]> To: owfs-developers@lists.sourceforge.net Sent: Monday, April 7, 2008 12:57:33 AM Subject: Re: [Owfs-developers] New ipkg-packages You are missing the packate owlib-2.

<    1   2   3   4   5   6   >