Stuart Poulton | 1 Mar 2006 08:55
Picon
Picon

Re: Device Support


> I've been in extensive discussions with Evgeniy Polyakov, the kernl modules 
> author about w1 design.
> 
> The current design exports a bare minimum to the sysfs interface. Only a 
> device list, and temperature (and a few memory designs). I'd like a generic 
> interface, allowing OWFS to flourish.
> 
> If Evgeniy Polyakov concurs, linux users will have direct access to supported 
> adapters and all 1-wire edevices. Alternatives would be to write 
> w1_generic.ko myself, or use the i2c code in user space.

This sounds like great news.

Stuart

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Paul Alfille | 3 Mar 2006 02:21
Picon
Favicon

Re: ds1921

Hello Thies,

Let's do this in order.

Where did you mount owfs? 
What happens when you try a directory listing? 
What happens when you add --error_level=9 ?

Paul Alfille

On Thursday 02 March 2006 01:29 pm, you wrote:
> hello paul,
>
>
> i downloaded owfs-2.2p1 and installed it without any problems.
> now i tried to read out an ibutton ds1921 with the serial port (9097u), but
> unfortunately there's the folowing output:
>
> cat: temperature: Device or resource busy
>
> i use kernel 2.4.31-fr with a debian machine.
>
> i would be very thankful for some help!!
>
> cheers,
> thies ehrich

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
(Continue reading)

Thies Ehrich | 3 Mar 2006 10:54
Picon

Re: ds1921

hi paul,
thanks for the fast reply.
directory listing gives me:

drwxr-xr-x  1 root root 1 Mar  3 10:50 21.CE8004004025/
drwxr-xr-x  1 root root 1 Mar  3 10:46 alarm/
drwxr-xr-x  1 root root 1 Mar  3 10:46 bus.0/
drwxr-xr-x  1 root root 1 Mar  3 10:46 settings/
drwxr-xr-x  1 root root 1 Mar  3 10:50 simultaneous/
drwxr-xr-x  1 root root 1 Mar  3 10:46 statistics/
drwxr-xr-x  1 root root 1 Mar  3 10:46 structure/
drwxr-xr-x  1 root root 1 Mar  3 10:46 system/
drwxr-xr-x  1 root root 1 Mar  3 10:46 uncached/

owfs gives me:

ehrich <at> haco78:$ ./owfs -C --error_level=9  -d /dev/ttyS1 ~/1wire
INFO: PARSENAME path=[]

i guess, this is all right?

thies

Paul Alfille wrote:

>Hello Thies,
>
>Let's do this in order.
>
>Where did you mount owfs? 
(Continue reading)

Paul Alfille | 3 Mar 2006 11:27
Picon
Favicon

Re: ds1921

Yes. Perfect.

Ahh...

I looked more closely. You're using the Thermochron. (I processed DS1821). I 
haven't finished support. Give me till next week.

Paul

On Friday 03 March 2006 04:54 am, you wrote:
> hi paul,
> thanks for the fast reply.
> directory listing gives me:
>
> drwxr-xr-x  1 root root 1 Mar  3 10:50 21.CE8004004025/
> drwxr-xr-x  1 root root 1 Mar  3 10:46 alarm/
> drwxr-xr-x  1 root root 1 Mar  3 10:46 bus.0/
> drwxr-xr-x  1 root root 1 Mar  3 10:46 settings/
> drwxr-xr-x  1 root root 1 Mar  3 10:50 simultaneous/
> drwxr-xr-x  1 root root 1 Mar  3 10:46 statistics/
> drwxr-xr-x  1 root root 1 Mar  3 10:46 structure/
> drwxr-xr-x  1 root root 1 Mar  3 10:46 system/
> drwxr-xr-x  1 root root 1 Mar  3 10:46 uncached/
>
> owfs gives me:
>
> ehrich <at> haco78:$ ./owfs -C --error_level=9  -d /dev/ttyS1 ~/1wire
> INFO: PARSENAME path=[]
>
> i guess, this is all right?
(Continue reading)

Gregg C Levine | 4 Mar 2006 07:29
Picon

Resent with new things-Suggestions for current One-Wire FS project

Hello!
Well part of that below has been completed. I am now preparing to
unpack that trial. I suspect however that I won't be able to construct
an appropriate program in Delphi to manage a group of switches. Now
the more relevant question for the group: Does anyone more familiar
with writing Bash shell scripts have any suggestions for coding a
simple script that would send a command to a mounted 1wire file
system? As you can imagine the devices would be those switches.
---
Gregg C Levine hansolofalcon <at> worldnet.att.net
---
"Remember the Force will be with you. Always." Obi-Wan Kenobi 

----
Hello from Gregg C Levine
Now that I've got the issues of building the currently available
releases of the OWFS code settled I now have a new problem.

Basically I need to turn on and off a DS2406 several times a second.
The output it produces would be streamed to a collection of digital
logic that itself is connected to a serially connected apparatus.
Probably many DS2406s would be involved in this, from four to as many
as eight. While the DS2408 would be an excellent choice for this, I do
not want to travel down that path as yet.

I had originally thought of adapting one of the examples that Maxim-IC
itself had written, for Windows of course. That being their Delphi
DS2406 example. But since the emulator for the serially connected
apparatus also runs on Linux, and probably better at that I had
shelved it. (Despite the decision to go ahead and grab a trial from
(Continue reading)

Paul Alfille | 4 Mar 2006 12:00
Picon
Favicon

Re: Resent with new things-Suggestions for current One-Wire FS project

Hi Gregg,

You can still use Delphi!

From Delphi, open and write to the appropriate 1-wire files.

Paul Alfille

On Saturday 04 March 2006 01:29 am, Gregg C Levine wrote:
> Hello!
> Well part of that below has been completed. I am now preparing to
> unpack that trial. I suspect however that I won't be able to construct
> an appropriate program in Delphi to manage a group of switches. Now
> the more relevant question for the group: Does anyone more familiar
> with writing Bash shell scripts have any suggestions for coding a
> simple script that would send a command to a mounted 1wire file
> system? As you can imagine the devices would be those switches.
> ---
> Gregg C Levine hansolofalcon <at> worldnet.att.net
> ---
> "Remember the Force will be with you. Always." Obi-Wan Kenobi
>
> ----
> Hello from Gregg C Levine
> Now that I've got the issues of building the currently available
> releases of the OWFS code settled I now have a new problem.
>
> Basically I need to turn on and off a DS2406 several times a second.
> The output it produces would be streamed to a collection of digital
> logic that itself is connected to a serially connected apparatus.
(Continue reading)

Gregg C Levine | 4 Mar 2006 20:04
Picon

RE: Resent with new things-Suggestions for current One-Wire FS project

Hello!
Makes sense. However Paul the Borland product that behaves in much the
same way as Delphi does for the Windows environment does, was called
Kylix. However it seems that product has become depreciated and indeed
Delphi has taken over that area. However, I'm not too sure which way I
can take my problems. 

However before I definitely not go down the path your suggestion
follows, I'm going to grab a trial for the latest release of the
product for Linux, and see if it wants to install on my platform.
----
Gregg C Levine hansolofalcon <at> worldnet.att.net
---
"Remember the Force will be with you. Always." Obi-Wan Kenobi 

> -----Original Message-----
> From: owfs-developers-admin <at> lists.sourceforge.net
[mailto:owfs-developers-
> admin <at> lists.sourceforge.net] On Behalf Of Paul Alfille
> Sent: Saturday, March 04, 2006 6:01 AM
> To: owfs-developers <at> lists.sourceforge.net
> Subject: Re: [Owfs-developers] Resent with new things-Suggestions
for current
> One-Wire FS project
> 
> Hi Gregg,
> 
> You can still use Delphi!
> 
> From Delphi, open and write to the appropriate 1-wire files.
(Continue reading)

Paul Alfille | 8 Mar 2006 06:18
Picon
Favicon

w1 changes

Just a progress report:

After extensive discussions with Evgeniy Polyakov, it looks like OWFS will be 
able to use the linux kernel 1-wire drivers as a possible 1-wire adapter 
source.

1. The current w1 supports i2c adapters 2804-x00, which is not supported by 
OWFS natively.
2. The current w1 supports a Matrox G400 1-wire adapter that is not supported 
by OWFS natively.
3. w1 also supports the USB adapter (the notorious ds9490r) which is redundant 
for us. I believe that libusb implementation will have advantages for the 
time being, but collaboration might improve the kernel implementation. We'll 
support both.
4. There are old parallel port kernel modules that might be easily updated for 
w1.
5. Serial, LINK, and network support will be handled by current OWFS methods.

The w1 implementation will need bleeding-edge kernels for a while. 2.6.15+

w1 will need some work on alarm handling, program pulse and active pullup, and 
handling for some of the archane adapters like the DS2405. All quite doable.

Considerable internal changes in OWFS need to be done. Each interaction with 
the 1-wire bus needs to be encapsulated as a single "transaction" rather than 
as a variable number of reads and writes.

The "transaction" change will make support for the "crystal-fontz" adapter 
easier, and allow some optimizations for the newer LINKs which have a block 
read function, so there are overall benefits.
(Continue reading)

Stuart Poulton | 8 Mar 2006 09:21
Picon
Picon

Re: w1 changes

Paul,

This is great news.

I've got samples on the way from maxim of the 2804-x00's so hopefully
will have a prototype interface available for testing soon.

Cheers

Stuart

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
DeanCollins | 8 Mar 2006 11:04
Picon
Picon

Little Bit of Help again


Regarding my previous questions, i have beent rying to no avail to be able to
scan the bus constantly for any changes, for one i am stumped to find the
OW.pm perl module as i am quite adept with perl, i was wondering if anyone
has an example of either bash script or perl code that could run constantly
and output any changes it sees? such as PIO change on a 2405, 2406 or 2408,
as well as mabye a device added/removed?
thanks
Dean Collins
--
View this message in context: http://www.nabble.com/Little-Bit-of-Help-again-t1245454.html#a3297656
Sent from the OWFS - Dev forum at Nabble.com.

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Gmane