Re: [Owfs-developers] segfault in owhttp 2.8p2 accessing BAE /910

2010-11-30 Thread Christian Magnusson
I have a cronjob which update the pages at: http://owfs.sourceforge.net/statcvs/2010-11.html The view-source links works correct there. /Christian On Tue, 2010-11-30 at 19:04 -0500, Paul Alfille wrote: > Here are the commits: > http://www.owfs.org/statcvs/commitlog.html > > The transition fro

Re: [Owfs-developers] OWFS roadmap

2010-10-28 Thread Christian Magnusson
I found one major bug which needs to be fixed as soon as possible. The rwlocks have never worked actually!?! If something will make owfs more stable, it's probably by fixing this bug. Strange that nobody have seen this before. void my_rwlock_init(my_rwlock_t * my_rwlock) { _MUTEX_INIT(my_

Re: [Owfs-developers] New Release 2.7p39

2010-07-19 Thread Christian Magnusson
stability problems with P37 > (that was the next posted release?) > Thanks > Bruce > > > ----- Original Message - > From: "Christian Magnusson" > To: "OWFS (One-wire file system) discussion and help" > > Sent: Monday, July 19, 2010 8:25 A

Re: [Owfs-developers] New Release 2.7p39

2010-07-19 Thread Christian Magnusson
I have re-built some new packages, but they still say 2.7p38 since configure.ac isn't updated in the repository. http://owfs.sourceforge.net/nslu2/packages/Packages On Sun, 2010-07-18 at 21:06 -0400, brucek wrote: > nslu2 packages is still at 2.7p37-1. Any chance you can update it any > time s

Re: [Owfs-developers] downgrade OWFS NSLU2 Unslung

2010-05-17 Thread Christian Magnusson
You can always download the old files manually and install them separate with ipkg Something like below... cd /tmp wget http://owfs.sourceforge.net/nslu2/packages/owfs_2.7p32-2_armeb.ipk wget http://owfs.sourceforge.net/nslu2/packages/owlib_2.7p32-2_armeb.ipk wget http://owfs.sourceforge.net/nslu

Re: [Owfs-developers] OWFS for NSLU2

2010-05-16 Thread Christian Magnusson
t Try to access the page and see if it create a core-file under /tmp/core* This core-file could be analyzed with gdb, so send it to me if you can re-create it. Tell me how it goes... /Christian On Sun, 2010-05-16 at 14:45 +, Eduard wrote: > > Christian Magnusson mag.cx> write

Re: [Owfs-developers] OWFS for NSLU2

2010-05-16 Thread Christian Magnusson
Oopps. I failed to upload all files to sourceforge. I started to upload the files again. Will be done in a few minutes.. /Christian On Sun, 2010-05-16 at 07:05 +, Eduard wrote: > Christian Magnusson mag.cx> writes: > > > > > > > I have recompiled the latest

Re: [Owfs-developers] OWFS for NSLU2

2010-05-15 Thread Christian Magnusson
I have recompiled the latest CVS now, and it's uploaded to the dir: http://owfs.sourceforge.net/nslu2/packages/Packages http://owfs.sourceforge.net/nslu2/packages/owfs_2.7p37-1_armeb.ipk.content etc. /Christian On Sat, 2010-05-15 at 15:37 +, Eduard wrote: > Paul Alfille gmail.com> writes:

Re: [Owfs-developers] 2.7p32 release

2010-03-17 Thread Christian Magnusson
I have compiled a new version and uploaded it to sourceforge now. /Christian -Original Message- From: brucek [mailto:bru...@valinet.com] Sent: den 17 mars 2010 01:21 To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] 2.7p32 release I dont seem to be able

Re: [Owfs-developers] owserver stops responding

2010-03-16 Thread Christian Magnusson
utine=0x404350 , Exit=0x402050 ) at ow_net_server.c:349 #3 0x0040223b in main (argc=8, argv=0x7fff792bf808) at owserver.c:162 I hope this will explain things. -Patrik 2010/3/10 Christian Magnusson It really seems like a dead-lock in the code + It seems a bit strange that the handler_

Re: [Owfs-developers] owserver stops responding

2010-03-10 Thread Christian Magnusson
It really seems like a dead-lock in the code + It seems a bit strange that the handler_count inside the brackets are not incremented one by one. This means that you have multiple applications polling the device… I would guess 5-10 shell-scripts filling up the request queue/capacity. # ps –ef |

Re: [Owfs-developers] owfs (owserver) on DNS-323. Will not runin the background.

2010-03-08 Thread Christian Magnusson
rt what happens. Göran Roseen ____ Från: Christian Magnusson [mailto:m...@mag.cx] Skickat: sö 2010-03-07 10:21 Till: 'OWFS (One-wire file system) discussion and help' Ämne: Re: [Owfs-developers] owfs (owserver) on DNS-323. Will not runin the background. I

Re: [Owfs-developers] owfs (owserver) on DNS-323. Will not run in the background.

2010-03-07 Thread Christian Magnusson
I guess your uClibc version contain a bug which result into a non-working daemon() function. (since it call wrong fork() function). Do you know exactly which UCLIBC version you have? There is a workaround to define the daemon() function within the owlib, and that might be possible for you. Oth

Re: [Owfs-developers] 2.7p29 for NSLU available ?

2010-03-02 Thread Christian Magnusson
I recompiled the latest packages yesterday, but I haven't tried them myself though. http://owfs.sourceforge.net/nslu2/packages/Packages http://owfs.sourceforge.net/nslu2/packages/owfs_2.7p30-1_armeb.ipk http://owfs.sourceforge.net/nslu2/packages/owlib_2.7p30-1_armeb.ipk etc. /Christian -Or

Re: [Owfs-developers] Problems building 2.7p29 on OpenBSD. Was 2.7p26

2010-03-02 Thread Christian Magnusson
If getline is not available, you should check the presence with #ifndef HAVE_GETLINE /* getline compat function */ #endif Since in src/include/config.h will look something like this… /* #undef HAVE_GETLINE */ “#if ! HAVE_GETLINE” might fail on some systems since the variabl

Re: [Owfs-developers] BAE docs/man?

2010-02-27 Thread Christian Magnusson
datasheet: http://www.brain4home.eu/attachments/BAE0910%20datasheet.pdf particularly on page 10 you will find the register list with description. just forget about writebyte which was used for testing. Pascal 2010/2/27 Christian Magnusson Sorry for my laziness, but is there any documentation

[Owfs-developers] BAE docs/man?

2010-02-27 Thread Christian Magnusson
Sorry for my laziness, but is there any documentation about all OWFS-files to control the BAE-chip? I could of course try to read the source, but for me it's not obvious what "910/duty1" controls etc... Anyone who can guide me a bit through the files? /Christian ./910 ./910/adc ./910/adcan ./9

Re: [Owfs-developers] PIO problem using NSLU2 (Unslung) , HB 8 channel I/O (DS2408) and owfs - 2.7p21-1

2010-01-23 Thread Christian Magnusson
I have built new packages for NSLU2. The repository is at: http://owfs.sourceforge.net/nslu2/packages/Packages http://owfs.sourceforge.net/nslu2/packages/owlib_2.7p28-1_armeb.ipk etc.. -rw-r--r-- 1 root root 8578 2010-01-23 08:35 owcapi_2.7p28-1_armeb.ipk -rw-r--r-- 1 root root733 2010-01-2

Re: [Owfs-developers] any succes with building latest owfs on latest openbsd ?

2009-10-19 Thread Christian Magnusson
d any real adapter though. /Christian From: Christian Magnusson [mailto:m...@mag.cx] Sent: den 19 oktober 2009 14:14 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] any succes with building latest owfs on latest openbsd ? There was a new introduced typo on owshell/

Re: [Owfs-developers] any succes with building latest owfs on latest openbsd ?

2009-10-19 Thread Christian Magnusson
There was a new introduced typo on owshell/src/c/getaddrinfo.c which caused an open c-comment and a compilation problem. http://owfs.cvs.sourceforge.net/viewvc/owfs/owfs/module/owshell/src/c/getadd rinfo.c?r1=1.9

Re: [Owfs-developers] Improved network performance

2009-10-03 Thread Christian Magnusson
28.8379 32.9642 18.9751 98.43630.357857 real0m0.004s user0m0.000s sys 0m0.004s /Christian From: Christian Magnusson [mailto:m...@mag.cx] Sent: den 3 oktober 2009 09:42 To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] Improved network

[Owfs-developers] Improved network performance

2009-10-03 Thread Christian Magnusson
I made a fix to owserver, where some code was limiting 1 request per 200ms! when persistent connections were used. (Eg. Owserver->owserver or Owfs ->owserver configurations) I added a timed semaphore which should fix the unnecessary delay between two requests within the same persistant connec

Re: [Owfs-developers] [Fwd: OWFS/owfs.spec]

2009-07-09 Thread Christian Magnusson
I have looked a bit on it... and adding mandriva version-suffixes is perhaps not what we want. %mkrel is not available in older releases either. Look at http://wiki.mandriva.com/en/Policies/Release_Tag There are some notes that mkrel could be defined manually if it doesn't exists # define th

Re: [Owfs-developers] Writing tto much to DS2438 memory crashes owserver

2009-07-08 Thread Christian Magnusson
I looked at size and offset in FS_w_page, and it result into a buffer-overflow when writing too many characters. It will try to copy 9 bytes into a buffer which is 8 bytes long. # owwrite /26.80A74200/pages/page.3 123456789 DEBUG: ow_2438.c:FS_w_page(159) size=9 offset=0 That function certai

Re: [Owfs-developers] LinkUSB

2009-07-08 Thread Christian Magnusson
I have successfully used the kernel-module ftdi_sio on foxboards which supports usb->serial chips. It's easy to compile and include into the firmware. I haven't tried LinkUSB myself, but it should be possible to use as I see it. Only start "owserver -d /dev/ttyUSB0" and it will open the serial por

Re: [Owfs-developers] Two owserver problems

2009-07-06 Thread Christian Magnusson
erver problems [Christian Magnusson] > So, what is a suitable limitation when reading from a remoteserver? Should > it be allowed to do 10, 20 or 50 concurrent requests? > As I can see, something must be really wrong if it increase over 20 > concurrent requests for one single 1-wire adapter.

Re: [Owfs-developers] Two owserver problems

2009-07-06 Thread Christian Magnusson
or 50 concurrent requests? As I can see, something must be really wrong if it increase over 20 concurrent requests for one single 1-wire adapter. /Christian -Original Message- From: Christian Magnusson [mailto:m...@mag.cx] Sent: den 6 juli 2009 11:29 To: owfs-developers

Re: [Owfs-developers] Two owserver problems

2009-07-06 Thread Christian Magnusson
h too many requests. Is this ok for you all? /Christian -Original Message----- From: Christian Magnusson [mailto:m...@mag.cx] Sent: den 10 juni 2009 19:36 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Two owserver problems Right now we seldom have more than 1

Re: [Owfs-developers] Install of owfs 2.7p22

2009-07-03 Thread Christian Magnusson
You are installing the new binaries in /opt/owfs/bin/ But you probably have some old installation in /usr/bin/ or /usr/local/bin/. Try "which" to see which binary you have in your path. # which owhttpd And also try to specify the full path. # /opt/owfs/bin/owhttpd -V Try find out which libraries

[Owfs-developers] minor cache-bug

2009-07-01 Thread Christian Magnusson
I noticed that there is probably some minor bug in the cache-timeout... I did some tests with adding a test-device which worked as a clock. The device had files like second, minute, hour, hhmmss, mmdd etc. All timeout values were set to fc_second, which should cache the values for one second.

Re: [Owfs-developers] Two owserver problems

2009-06-10 Thread Christian Magnusson
e.net Subject: Re: [Owfs-developers] Two owserver problems On Wed, Jun 10, 2009 at 2:37 AM, Christian Magnusson wrote: > > Listen() in ow_net_server.c handles #1 automatically, more or less...  It's > set to handle 10 requests today, and according to the man-pages you see > this: >

Re: [Owfs-developers] Two owserver problems

2009-06-09 Thread Christian Magnusson
Listen() in ow_net_server.c handles #1 automatically, more or less... It's set to handle 10 requests today, and according to the man-pages you see this: "If a connection request arrives when the queue is full, the client may receive an error with an indication of ECONNREFUSED or, if the underl

Re: [Owfs-developers] Bug report?

2009-05-29 Thread Christian Magnusson
l.com] Sent: den 30 maj 2009 00:11 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Bug report? Yes, I've has the same problem with the hateful libtool. If ever an example of awkward "design" and unmaintainable code... Anyways, Christian Magnuss

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-24 Thread Christian Magnusson
I haven't follows all latest updates, but I found one pointer bug in ow_presence.c:ReCheckPresence() CheckThisConnection() should not have an integer as in input-argument, it should be a connection_in pointer. I haven't checked in the fix, but this might fix the problem. Perhaps Paul can verify

Re: [Owfs-developers] /simultaneous bug was: Revisited: OWFS "forgets" chips after a while.

2009-05-18 Thread Christian Magnusson
I made two minor updates to the CVS... There was some debug-code in OW_power() which always returned 1, and that doesn't work for unpowered 1-wire buses. Also one compilation was fixed when --disable-cache was used. /Christian From: Paul Alfille [mailto:paul.alfi...@gmail.com] Sent:

Re: [Owfs-developers] owfs for SlugOS BE 5.3

2009-04-23 Thread Christian Magnusson
I created the old packages for openslug 3.1, and they are not compatible with the current version. I will try to look some more into it and see if I can setup a crosscompile environment to compile new binaries for you. Will be back with more info soon, /Christian -Original Message- From

[Owfs-developers] New problem introduced

2009-04-21 Thread Christian Magnusson
Some new problems were recently introduced when listing directories with owdir and owfs when multiple owservers are started. Paul, Do you have any quick ideas where to fix it? /Christian # /opt/owfs/bin/owserver -p 4305 --fake=10 # /opt/owfs/bin/owserver -p 4304 -s 4305 # /opt/o

Re: [Owfs-developers] Interesting Device

2009-02-25 Thread Christian Magnusson
You have always Asus WL-500W which has 2 USB ports, WLAN 802.11n, and 4 LAN ports. I built my own firmware for this at: http://home.mag.cx/openwrt/kamikaze-svn-asus/ In my case I have one 8Gb memory stick and the TV-decoder connected via the USB ports. (Uploading 14 days of EPG channel informatio

Re: [Owfs-developers] Interesting Device

2009-02-25 Thread Christian Magnusson
"The SheevaPlug development kit is available now for $100". But how much is it for one extra unit? Does anyone know? It feels a bit limited to only have 1USB port and 1 network interface on the device, but sure. It wouldn't be any problem to use it for owfs and an USB-adapter, drawing some gr

Re: [Owfs-developers] OWFS on Ubuntu 8.04 adn 8.10

2009-02-25 Thread Christian Magnusson
Just some notice about the needed packages to compile all packages under Ubuntu 8.10. libusb++-dev is not needed. You need the /usr/bin/php binary as well. sudo apt-get install php5-cli Every packages on the same row will be... sudo apt-get install cvs autoconf automake libtool libfuse-dev li

Re: [Owfs-developers] segfault in 2.7p14 owfs, owserver

2009-02-18 Thread Christian Magnusson
There is certainly a bug here... DirblobInit(&(in->connin.usb.alarm)) and usb.main is never called!?! (or set to NULL at least) But in ow_w1.c we can see: /* Initialize dir-at-once structures */ DirblobInit(&(in->connin.w1.main)); DirblobInit(&(in->connin.w1.alarm)); I guess this

[Owfs-developers] Current sensors

2009-02-17 Thread Christian Magnusson
Does anyone have experience of 1-wire Current sensors? I found some sensors here: http://www.homechip.com/catalog/product_info.php?products_id=73 &osCsid=88f1c38977839e9aad52bde5c007c8c9

Re: [Owfs-developers] general protection - Warning!

2008-12-23 Thread Christian Magnusson
Three rows were accidently removed in owshell/src/c/ow_server.c 2 days ago... Those comments removed all output from owdir and owread. I added the rows again in revision 1.24 (Mon Dec 22 09:05:28 2008 UTC) http://owfs.cvs.sourceforge.net/viewvc/owfs/owfs/module/owshell/src/c/ow_ser ver.c?r1=1.23&

Re: [Owfs-developers] general protection

2008-12-23 Thread Christian Magnusson
Paul, I have tried to find any possible memory leaks in the flow below, but I can't find any reason to the memory leak. ==00:01:38:06.536 20943== 360,480 (278,560 direct, 81,920 indirect) bytes in 1,741 blocks are definitely lost in loss record 5 of 5 ==00:01:38:06.536 20943==at 0x4A05809: ma

Re: [Owfs-developers] general protection

2008-12-23 Thread Christian Magnusson
I have tried to stress-test owserver as much as I can here on different platforms, and I can't reproduce the errors. Can you start with the debug-output from all pthread-calls as well.. /usr/sbin/owserver -p 30003 -d /dev/ttyS0 -t 30 --foreground --fatal_debug --fatal_debug_file=/tmp/owserver_fat

Re: [Owfs-developers] general protection

2008-12-22 Thread Christian Magnusson
I'm pretty clue-less why you get this error-message when "memcpy(&(pn->lock), &(opaque->key), sizeof(struct devlock *));" is called. ==00:01:31:14.563 2670== Invalid read of size 8 ==00:01:31:14.563 2670==at 0x4C568B7: LockGet (ow_locks.c:193) ==00:01:31:14.563 2670==by 0x4C5D8A1: FS_r_gi

Re: [Owfs-developers] general protection

2008-12-22 Thread Christian Magnusson
Sorry... I made a typo in the code... the memcpy row should look like this: memcpy(&(pn->lock), &(opaque->key), sizeof(struct devlock *)); Forgot to get the pointer's to the variables, and therefore it ended up with a segmentation fault instead... Can you try to change the row and recompile with

Re: [Owfs-developers] general protection

2008-12-22 Thread Christian Magnusson
Ahh... so you compiled the binaries on a i386 server, and used them on your x86_64 server? That would explain the strange errors with the data-sizes on some internal structures. /Christian -Original Message- From: Serg Oskin [mailto:s...@oskin.ru] Sent: Monday, December 22, 2008 11:23

Re: [Owfs-developers] general protection

2008-12-21 Thread Christian Magnusson
Hi Serg, Interesting log-files... It seems that your compiler generate wrong code... ==00:06:33:57.651 2275== Invalid read of size 8 ==00:06:33:57.651 2275==at 0x4C56559: LockGet (ow_locks.c:195) ==00:06:33:57.651 2275== Address 0x5A0D750 is 0 bytes inside a block of size 32 free'd ==00:06:

Re: [Owfs-developers] general protection

2008-12-20 Thread Christian Magnusson
I found a way to set a cleanup function for the acceptmutex which was locked when I tried to kill the server-process (ow_net_server.c) I have checked in the changes and will try it on all uClibc platforms as well now. /Christian So normal process clean up doesn't reap all the thre

Re: [Owfs-developers] general protection

2008-12-19 Thread Christian Magnusson
Sorry... There are some calls to pthread_cancel() to kill the accept-thread, but it's not working as it was supposed to do... I'll take quick look at it. /Christian -Original Message----- From: Christian Magnusson [mailto:m...@mag.cx] Sent: Friday, December 19, 2008 2:55 P

Re: [Owfs-developers] general protection

2008-12-19 Thread Christian Magnusson
I noticed one "problem" at once when cleaning up the processes... There are no process-list and pthread_cancel() is never called to stop all running threads when you press Ctrl-C. This means that one thread has locked the connection_out->accept_mutex, and the FreeOut() function fails to destroy th

Re: [Owfs-developers] general protection

2008-12-19 Thread Christian Magnusson
I noticed Paul made some minor changes to the mutexes and this might fix your problem. I'm adding some wrapper functions to all mutexes which will make it possible to log any error-codes from the mutex-calls. I guess the first failing mutex-call will log a readable error, and the second error wil

Re: [Owfs-developers] My latest experience...

2008-12-18 Thread Christian Magnusson
I have added some more debug-output, and especially for the writev() commands. I noticed the middle owserver sends 3 blocks, 24+29+16 bytes, but the owserver which has the connected adapter never reads the Token bytes, and therefore it's 16 bytes left on the network which is treated as a new pa

Re: [Owfs-developers] My latest experience...

2008-12-17 Thread Christian Magnusson
63.5712 [r...@home owfs]# owread -s 5000 /10.67C6697351FF/temperature 71.7297 [r...@home owfs]# owread -s 5000 /10.67C6697351FF/temperature 14.1603 [r...@home owfs]# owread -s 5000 /10.67C6697351FF/temperature /Christian From: Christian Magnusson [mailto:m...@mag.cx

[Owfs-developers] My latest experience...

2008-12-17 Thread Christian Magnusson
I have had lots of problems with my 1-wire sensors lately, and I first thought it was related to bad wires or sensors. but after I upgraded to the latest 2.7p11 last night, all sensors are working perfect again. sort of. but only for local readings from the owserver which has the adapter connected.

Re: [Owfs-developers] owfs in background -> fuse hangs

2008-10-30 Thread Christian Magnusson
I'm pretty sure that you have compiled your kamikaze-distribution to use uClibc-0.9.29... libpthread in this version is _very_ broken, and I have told the kamikaze-developers about this problem. Enter the menuconfig and change the uClibc-version and try to recompile everything with uClibc-0.9.28.

Re: [Owfs-developers] --disable-mt not working

2008-09-11 Thread Christian Magnusson
It was something with the thread support in tclsh. When I compiled tcl with --enable-threads, owtcl worked with threads as well. But tclsh hanged when the script is supposed to exit. I needed to patch tcl a bit to call _exit() instead of exit(). -#define TclpExit exit +#define

[Owfs-developers] --disable-mt not working

2008-09-11 Thread Christian Magnusson
I just noticed that -disable-mt didn't work in 2.7p6. Some typos in the code, and owftd is now disabled automatically if -disable-mt is used. since it requires pthread. I checked in the changes to the CVS. I also made some changes to configure-script yesterday. I managed to get owtcl to wo

Re: [Owfs-developers] Fwd: NSLU2 and OWFS

2008-09-08 Thread Christian Magnusson
OWFS will work on other Unslung 6.10 supported devices. It's just a matter of setting up the cross-compile environment and compile it. I could try to compile it for other platforms if you have more exact information about the device you are going to use, but I can't try to run it myself though.

Re: [Owfs-developers] A/D read problems

2008-07-21 Thread Christian Magnusson
Ah. So that's the problem to my problem with the LCD displays. Reading counter.ALL failed when I read through owfs, but worked when I used owread. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Alfille Sent: den 21 juli 2008 04:44 To: owfs-developers@list

Re: [Owfs-developers] DS1923

2008-06-29 Thread Christian Magnusson
There has obviously been some problem with the code since the bus-read/write operations in OW_w_mem() has been split up into multiple operations with lots of debug-output. /* Re-read scratchpad and compare */ /* Note: location of data has now shifted down a byte for E/S register */ //

Re: [Owfs-developers] Lots of configure/Makefile updates

2008-06-17 Thread Christian Magnusson
Which linux-distribution do you have on that server? I have never seen that warning message. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Alfille Sent: den 17 juni 2008 20:42 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] L

Re: [Owfs-developers] Lots of configure/Makefile updates

2008-06-17 Thread Christian Magnusson
developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Lots of configure/Makefile updates So after we fix the alarm bug, are there any outstanding issues before a new release? Paul On Tue, Jun 17, 2008 at 9:16 AM, Christian Magnusson <[EMAIL PROTECTED]> wrote: "Global&qu

[Owfs-developers] Lots of configure/Makefile updates

2008-06-17 Thread Christian Magnusson
I tried to find the problem why the swig/python module didn't work on my 64bit desktop with python2.5, and I finally found the problem. "Global" is a reserved variable-name, so I had to rename it to "Globals" instead. All shared libraries are now compiled with -fPIC to generate position ind

Re: [Owfs-developers] Fedora Core 9 - DS9490R problem

2008-06-17 Thread Christian Magnusson
According to the log, you receive a ETIMEDOUT (110) error after reading/writing to the usb-adapter. DEBUG: Selecting a path (and device) path=/10.008350010800/temperature SN=10 00 83 50 01 08 00 7B last path=00 00 00 00 00 00 00 00 DATA: DS9490_reset DATA: DS9490_reset: error sending rese

Re: [Owfs-developers] BUG: read /alarm

2008-06-12 Thread Christian Magnusson
I can only confirm that I could replicate the bug on my server too. The remote-owserver seems to hang (mutex problem?) after clearing the alarms. The owserver didn't respond to other new connections. Had to kill the process and restart owserver to access the 1-wire adapter again. BTW: I added set_

Re: [Owfs-developers] Fwd: [Owfs-forums] [owfs - Help] Unable to build

2008-06-11 Thread Christian Magnusson
-get install swig python-dev php5 php5-dev tcl8.4-dev Everything build without any errors after these installations. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Magnusson Sent: den 11 juni 2008 18:34 To: owfs-developers@lists.sourceforge.net

Re: [Owfs-developers] Fwd: [Owfs-forums] [owfs - Help] Unable to build

2008-06-11 Thread Christian Magnusson
I'm downloading debian and will try to compile owfs now. Are all 3 DVD images needed to install a simple desktop with gcc? /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Alfille Sent: den 10 juni 2008 18:38 To: owfs-developers@lists.sourceforge.net Subj

Re: [Owfs-developers] Make for owfs fails with invalid Python installation

2008-06-11 Thread Christian Magnusson
If you would have used --disable-owpython, then it will skip the ownet/python directory (not --disable-python) /Christian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lyle Giese Sent: den 9 juni 2008 02:35 To: owfs-developers@lists.sourceforge.net Su

Re: [Owfs-developers] checking fuse.h usability... no

2008-05-23 Thread Christian Magnusson
I guess you are missing the "fuse-devel" package. "yum install fuse-devel" Can you search for the error-text in the fuse-include-files? # grep -i "present but cannot be compiled" /usr/include/fuse* /usr/include/fuse/* Which file contains the text, and why is the #waring statements printed? /Chr

Re: [Owfs-developers] lrint() changes

2008-05-10 Thread Christian Magnusson
f you give me a few days to code and test. On Sat, May 10, 2008 at 1:00 PM, Christian Magnusson <[EMAIL PROTECTED]> wrote: We have to make some more changes in configure.ac after lrint() is used in ow_1821.c. This function is located in libm.so, and this is the first dependency to this

[Owfs-developers] lrint() for embedded...

2008-05-10 Thread Christian Magnusson
I just tried to compile the changes I made for openwrt with uClibc, and I noticed that lrint doesn't exist in libm.so. The patch I made works and revert the behavior to the old rounding code.. When configure is run, it can't find lrint() and HAVE_LRINT is undefined. checking for vsnprintf... y

[Owfs-developers] lrint() changes

2008-05-10 Thread Christian Magnusson
We have to make some more changes in configure.ac after lrint() is used in ow_1821.c. This function is located in libm.so, and this is the first dependency to this library. I think it's a waste of memory to add a new dynamic library if we only use one single function in it from owlib.. Especial

Re: [Owfs-developers] New ipkg-packages

2008-04-10 Thread Christian Magnusson
Hi, Please let me know when the patch is available in 'ipkg' form for the nslu2. Or, if available in CVS in the meantime, and someone knows how to install on nslu2 from CVS, please let me know. Thank you. Steve J. - Original Message ---- From: Christian Magnuss

Re: [Owfs-developers] New ipkg-packages

2008-04-09 Thread Christian Magnusson
I'm trying to build everything now. Are the latest changes stable now? I tried it 2 days ago, and then I got lots of errors with the sidetap changes. /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Alfille Sent: den 9 april 2008 12:49 To: owfs-develope

Re: [Owfs-developers] New ipkg-packages

2008-04-07 Thread Christian Magnusson
library). Yes..doing a 'find / -name ow* -print gives a output that goes on forever Is this directory problem a current bug(do you see it on your system?), or just a bug with my version(s)? Steve J. - Original Message From: Christian Magnusson &l

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.

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

[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] 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

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+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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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

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-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] 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] 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

  1   2   3   4   5   6   >