Re: [Owfs-developers] LinkUSB

2009-07-08 Thread lists
Hi I have both FoxBoard and linkusb (it's based on FTDI chip). FTDI is supported by foxboard, so LinkUSB is recognized. > usb 1-2: new full speed USB device using hc-crisv10 and address 2 > ftdi_sio 1-2:1.0: FTDI USB Serial Device converter detected > drivers/usb/serial/ftdi_sio.c: Detected FT23

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

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

2009-07-08 Thread Steinar Midtskogen
For example: 1. owwrite -s server:port 26./page.3 123456789 2. owserver dies owserver should either ignore the extra characters ("9" in this example), or reject the request altogether. I haven't checked if this also applies to writing memory on other DS chips. -- Steinar ; NIL DIFF

Re: [Owfs-developers] LinkUSB

2009-07-08 Thread Paul Alfille
As I recall, the FoxBoard is an embedded computer (Axis etrax cpu) from an Italian company (http://foxlx.acmesystems.it/?id=5) that runs linux. It looks like several build systems are available, many based on fairly modern kernels. uClibc, openmwrt, are all supported by owfs, and specifically, ther

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

2009-07-08 Thread Serg Oskin
Sorry, at this moment I am leaving for vacation. :) Serg. --8<- Date: Wed, 8 Jul 2009 15:16:56 +0200 Message-ID: <330b51fc0907080616j180ffb62h32d39ca9ed847...@mail.gmail.com> Subject: OWFS/owfs.spec From: Rafał Prasał To: s...@oskin.ru Hello I've managed to buil

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

2009-07-08 Thread Steinar Midtskogen
Steinar Midtskogen writes: > For example: > > 1. owwrite -s server:port 26./page.3 123456789 > 2. owserver dies > > owserver should either ignore the extra characters ("9" in this > example), or reject the request altogether. A couple of related problems: 1. It doesn't seem to be po