[Owfs-developers] I2C concurrent IO?

2013-03-06 Thread Sven Geggus
Hello, I think about the following scenario: [owfs] +- /dev/i2c-1 --I2C-bus--+-- DS248x --w1-bus-- 1-wire devices || other software-++-- other I2C device Is it possible to have "other software" communication with "other I2C d

Re: [Owfs-developers] i2c DS2482 and VGA

2012-04-17 Thread Patryk
Dnia 17.04.2012 o 18:24 Jerry Scharf Jerry Scharf napisał(a): > Patryk, > > very cool. I need to ponder how to solve the need for greater +5 power > in a reasonable mechanical configuration. The rest could fit nicely > inside the connector shell of the VGA connector. > > One question. Does the

Re: [Owfs-developers] i2c DS2482 and VGA

2012-04-17 Thread Jerry Scharf
Patryk, very cool. I need to ponder how to solve the need for greater +5 power in a reasonable mechanical configuration. The rest could fit nicely inside the connector shell of the VGA connector. One question. Does the 2482-800 look like 8 different buses or one bus plus a switch? If I send a

Re: [Owfs-developers] i2c DS2482 and VGA

2012-04-17 Thread Patryk
Dnia 08.04.2012 o 16:56 Patryk Patryk napisał(a): There was a bug when using --i2c=ALL:ALL which Paul corrected. Now it works and enumerates all /dev/i2c in search for suitable 1-wire master. However the problem in my case was that I mistakenly used 60 Ohm resistors too pull up SDA and SCL

Re: [Owfs-developers] i2c DS2482 and VGA

2012-04-08 Thread Patryk
Dnia 08.04.2012 o 14:55 Paul Alfille Paul Alfille napisał(a): > Well, there certainly shouldn't be a seg fault in the detection code! > > I see that the debug message actually is the culprit. The CVS version is > now corrected. Can you pull from that or should I send you version to > test?

Re: [Owfs-developers] i2c DS2482 and VGA

2012-04-08 Thread Paul Alfille
Well, there certainly shouldn't be a seg fault in the detection code! I see that the debug message actually is the culprit. The CVS version is now corrected. Can you pull from that or should I send you version to test? Paul Alfille On Sun, Apr 8, 2012 at 7:06 AM, Patryk wrote: > I'm trying to

[Owfs-developers] i2c DS2482 and VGA

2012-04-08 Thread Patryk
I'm trying to get DS2482-800(i2c-1wire) co runnings. The easiest way to test it seemed to be using VGA connector i2c. I connected it all on a breadboard but when I start owfs I get errors. modprobe i2c-dev owfs --debug --i2c=ALL:ALL /mnt/owfs I get no valid devices found If I run it with debug I g

Re: [Owfs-developers] i2c host adapter reconnect

2011-04-25 Thread Jan Kandziora
Am Montag 25 April 2011, 03:28:27 schrieb Paul Alfille: > > I2C is a little different. It isn't enumerated by the kernel, and I'm > not what needs to be "reconnected". Do you think just closing and > reopening the device would do the trick? What kind of errors do you > see that indicate the i2c co

Re: [Owfs-developers] i2c host adapter reconnect

2011-04-24 Thread Paul Alfille
Hmm... I2C is a little different. It isn't enumerated by the kernel, and I'm not what needs to be "reconnected". Do you think just closing and reopening the device would do the trick? What kind of errors do you see that indicate the i2c connection was lost? Paul Alfille On Sun, Apr 24, 2011 at 4

[Owfs-developers] i2c host adapter reconnect

2011-04-24 Thread Jan Kandziora
Hello Paul (and anyone interested), sorry for being so silent the last year -- my focus in developing drifted a little away from onewire. I vaguely remember a long time ago you have implemented reconnecting OWFS to the USB hostadapter when USB failed. I had a setup where I could trigger it eas

Re: [Owfs-developers] I2C and One-Wire and OWFS

2009-06-29 Thread Paul Alfille
Wow Jan, It sounds like a simple VGA / DS2482-x00 or DVI / DS2482-x00 adapter would be easy to build, and would be supported under OWFS. Each could have 8 1-wire ports. Paul Alfille On Fri, Jun 26, 2009 at 5:36 AM, Jan Kandziora wrote: > If your mainboard doesn't have a pin header for I2C, you

Re: [Owfs-developers] I2C and One-Wire and OWFS

2009-06-26 Thread Jan Kandziora
Am Freitag, 26. Juni 2009 schrieb Gregg C Levine: > That is as I remembered it, regarding the motherboard and its attachment. > But of course not the reasoning behind it. I, myself personally, haven't > chosen an appropriate motherboard for this project. > If your mainboard doesn't have a pin heade

Re: [Owfs-developers] I2C and One-Wire and OWFS

2009-06-25 Thread Gregg C Levine
@lists.sourceforge.net > Subject: Re: [Owfs-developers] I2C and One-Wire and OWFS > > Am Donnerstag, 25. Juni 2009 schrieb Gregg C Levine: > > > > Now my question, how did one of us make use of the features on the DS2482 > > on or around a motherboard to control the

Re: [Owfs-developers] I2C and One-Wire and OWFS

2009-06-25 Thread Jan Kandziora
Am Donnerstag, 25. Juni 2009 schrieb Gregg C Levine: > > Now my question, how did one of us make use of the features on the DS2482 > on or around a motherboard to control the One-Wire access methods? > I use the Kontron KEEX-4000 motherboard as the base for my cash register. This board has the int

[Owfs-developers] I2C and One-Wire and OWFS

2009-06-24 Thread Gregg C Levine
Hello! In a book I have here on Linux and Robotics, the author proposes using One-Wire sensors to do something specific. He accesses them then using the DS2482 via the SMB bus which besides being a subset or even a superset of the I2C bus resides on the DIMM connectors. I believe he's using the dr

Re: [Owfs-developers] i2c DS2482-800 : problem with DS2482_detect_ and with DS2482_channel_select.

2009-02-18 Thread Pascal Baerten
I confirm that p15 solved also the issue about channel selection. !=) thanks 2009/2/18 Paul Alfille : > Very nice! > > You can share the info as you've done here, or > 1. create a diff patch > or > 2, become an owfs developer and get CVS access to add your changes directly. > > It mostly depends

Re: [Owfs-developers] i2c DS2482-800 : problem with DS2482_detect_ and with DS2482_channel_select.

2009-02-17 Thread Paul Alfille
Very nice! You can share the info as you've done here, or 1. create a diff patch or 2, become an owfs developer and get CVS access to add your changes directly. It mostly depends on how actively you plan to add to the program. By the way, you change in in 2.7p15 ! Paul On Tue, Feb 17, 2009 at

Re: [Owfs-developers] i2c DS2482-800 : problem with DS2482_detect_ and with DS2482_channel_select.

2009-02-17 Thread Pascal Baerten
Hi Paul, I already identified and corrected the first enumeration prob. see attached file... by the way, what is the best way to share such info? Pascal 2009/2/17 Paul Alfille : > Thanks for the feedback (It's ha4rd to test without an i2c device). I'll fix > it for the next release (soon). > >

Re: [Owfs-developers] i2c DS2482-800 : problem with DS2482_detect_ and with DS2482_channel_select.

2009-02-17 Thread Paul Alfille
Thanks for the feedback (It's ha4rd to test without an i2c device). I'll fix it for the next release (soon). Paul On Tue, Feb 17, 2009 at 4:16 AM, Pascal Baerten wrote: > Hi, > > I was very happy to see the p14 release that added the APU feature. > However, I should reports some problems. > > My

[Owfs-developers] i2c DS2482-800 : problem with DS2482_detect_ and with DS2482_channel_select.

2009-02-17 Thread Pascal Baerten
Hi, I was very happy to see the p14 release that added the APU feature. However, I should reports some problems. My configuration is a Debian 2.6.26-1-ixp4xx NSLU2 with i²C connection to two DS2482-800 chips (/dev/i2c-0 at adress 0 and 1 ) i2cdetect 0 0 1 2 3 4 5 6 7 8 9 a b c d

Re: [Owfs-developers] i2c

2007-02-06 Thread Paul Alfille
Jan Kandziora's design is now placed at http://www.owfs.org/index.php?page=i2c-parallel-port-design Paul Alfille On 2/6/07, Jan Kandziora <[EMAIL PROTECTED]> wrote: Am Dienstag, 6. Februar 2007 08:30 schrieb Stuart Poulton: > Dear All, > > Does anyone have experience of working i2c interfaces

Re: [Owfs-developers] i2c

2007-02-06 Thread Jan Kandziora
Am Dienstag, 6. Februar 2007 08:30 schrieb Stuart Poulton: > Dear All, > > Does anyone have experience of working i2c interfaces for either > > DS2482-100 , DS2482-800, initially something parallel port based would > be ideal. > I posted a schematic a while ago. To avoid cluttering the list, I mail

[Owfs-developers] i2c

2007-02-05 Thread Stuart Poulton
Dear All, Does anyone have experience of working i2c interfaces for either DS2482-100 , DS2482-800, initially something parallel port based would be ideal. Cheers Stuart - Using Tomcat but need to

Re: [Owfs-developers] i2c

2006-09-21 Thread Jan Kandziora
Am Donnerstag, 21. September 2006 20:20 schrieb Roberto Spadim: > have any PCI card? > Any i2c adapter the linux kernel has drivers for will work. To build an interface card, the Philips PCF8584 chip is your choice. You could hook up a PCF8584 chip to an EPP parallel port, too. Maybe there are

Re: [Owfs-developers] i2c

2006-09-21 Thread Roberto Spadim
have any PCI card? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http

Re: [Owfs-developers] i2c

2006-09-21 Thread Jan Kandziora
Am Donnerstag, 21. September 2006 18:40 schrieb Jan Kandziora: > Am Donnerstag, 21. September 2006 15:19 schrieb Roberto Spadim: > > from where can i get i2c form smbus?? where can i find it in my > > computer?? thanks ;) > > It's somewhere on the mainboard. Usually, one will hook it up to the RAM

Re: [Owfs-developers] i2c

2006-09-21 Thread Jan Kandziora
Am Donnerstag, 21. September 2006 15:19 schrieb Roberto Spadim: > from where can i get i2c form smbus?? where can i find it in my computer?? > thanks ;) > It's somewhere on the mainboard. Usually, one will hook it up to the RAM sockets, where an i2c is put onto for the SPD EEPROM.

Re: [Owfs-developers] i2c

2006-09-21 Thread Roberto Spadim
from where can i get i2c form smbus?? where can i find it in my computer?? thanks ;) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions o

Re: [Owfs-developers] i2c

2006-09-21 Thread Jan Kandziora
Am Donnerstag, 21. September 2006 05:10 schrieb Roberto Spadim: > hello guys have any i2c adapter to pc?? that work with linux > i'm using today 2480, but i want use DS2482-800 or DS2482-800 > can i use then?? > You can make a bit-banging adapter yourself. See /usr/src/linux/Documentation/

Re: [Owfs-developers] i2c

2006-09-20 Thread Paul Alfille
1. DS2481-x00 is supported, fully.2. The PIC (or other microprocessors) have been brought up a few times.I have a proposed serial communication scheme (very light-weight) that we could implement. You have think about how much of the smarts in in your microprocessor, and how much is in the host. 3.

[Owfs-developers] i2c

2006-09-20 Thread Roberto Spadim
can i use pic to make rs232- i2c converter??? does ds2482 allow always 400khz? or we need to change speed??? i don't need we can use pic to make rs232 to i2c but what should we use with owfs? serial or i2c??? anyone want build an pic i2c to usart with me?? i'm very good on pic and have many comp

[Owfs-developers] i2c

2006-09-20 Thread Roberto Spadim
hello guys have any i2c adapter to pc?? that work with linux i'm using today 2480, but i want use DS2482-800 or DS2482-800 can i use then?? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay p

[Owfs-developers] i2c DS2482 now supported

2006-06-02 Thread Paul Alfille
The DS2482-100 and DS2482-800 1-wire adapters are now supported. The DS2482-100 is an i2c adapter with 1 channel of 1-wire support. http://www.owfs.org/index.php?page=ds2482-100_i2c_adapter The DS2482-800 is an i2c adapter with 8 channels of 1-wire support. http://www.owfs.org/index.php?page=d

Re: [Owfs-developers] i2c support again

2006-05-27 Thread Paul Alfille
That is good news. I was getting suspicious when we failed in the 27th call to triplet One thing I didn't include was the test of SM_BUS capabilities. All that would do, if failed, is formally tell us that the i2c adapter isn't documented to support the needed calls. Do you know what i2c chip is

Re: [Owfs-developers] i2c support again

2006-05-27 Thread Daniel Höper
Good news: current version operates without any problem on a x86-machine with a self-made i2c-parallel-port-adapter (see linux/Documentation/i2c/busses/i2c-parport). Tested with a DS2482-100 and a DS2890 digital potentiometer. Reading from and writing to this 1-wire device works fine. Even two

Re: [Owfs-developers] i2c support again

2006-05-23 Thread Paul Alfille
Added more debugging info. It looks like there was a problem reading from the DS2482 status register. This may show why. Paul On 5/23/06, Paul Alfille <[EMAIL PROTECTED]> wrote: Ok, fixed the directory caching problem. Paul On 5/23/06, Paul Alfille <[EMAIL PROTECTED]> wrote: > Thank you, Dani

Re: [Owfs-developers] i2c support again

2006-05-23 Thread Paul Alfille
Ok, fixed the directory caching problem. Paul On 5/23/06, Paul Alfille <[EMAIL PROTECTED]> wrote: Thank you, Daniel! 1. Detection seems to work 2. 1-wire search fails after 27 of 64 steps, Not sure why. 3. Clearly a failed directory listing is getting cached -- unrelated error. I'll make some

Re: [Owfs-developers] i2c support again

2006-05-23 Thread Paul Alfille
Thank you, Daniel! 1. Detection seems to work 2. 1-wire search fails after 27 of 64 steps, Not sure why. 3. Clearly a failed directory listing is getting cached -- unrelated error. I'll make some changes to see if we can figure out why the search is failing. It seems like a timing, hardware or d

Re: [Owfs-developers] i2c support again

2006-05-23 Thread Daniel Höper
Hello Paul, this is the debug output from owserver: ~ $ /usr/bin/owserver --foreground --error_level 9 -p 2000 /dev/i2c-1 CONNECT: Found an i2c device at /dev/i2c-1 address 24 CONNECT: i2c device at /dev/i2c-1 address 24 cannot be reset CONNECT: Found an i2c device at /dev/i2c-1 address 25 CONNEC

Re: [Owfs-developers] i2c support again

2006-05-20 Thread Paul Alfille
Daniel, This is better than I expected. With your modifications, it sounds like: 1. The chip is detected 2. Reset and the start of a device search works. I'm uploading a more heavily "instrumented" version -- more debugging information -- which might help us figure out the problem. Paul On 5/2

Re: [Owfs-developers] i2c support again

2006-05-20 Thread Daniel Höper
My first attempt with the current CVS version failed, owserver did not print anything on the console. I cannot find where DS2482_detect() is called, thus I added the following code to the switch() statement in LibStart(): ... case bus_i2c: ret = DS2482_detect(in); break; ... (Is th

Re: [Owfs-developers] i2c support again

2006-05-19 Thread Paul Alfille
The version in the CVS should be a first step. Run with --foreground --error_level=9 and look at the initial detection. We'll work through it sequentially. Paul On 5/18/06, Jan Kandziora <[EMAIL PROTECTED]> wrote: Am Mittwoch, 17. Mai 2006 22:41 schrieb Paul Alfille: > No Jan, > > I've been squ

Re: [Owfs-developers] i2c support again

2006-05-18 Thread Jan Kandziora
Am Mittwoch, 17. Mai 2006 22:41 schrieb Paul Alfille: > No Jan, > > I've been squashing other bugs. > Let me review --smbus is no good? Must use i2c? > I'm not really sure. Christoph Scheurer mused about this (in message <[EMAIL PROTECTED]>) a couple of weeks ago: > > I see your problem, but on t

Re: [Owfs-developers] i2c support again

2006-05-17 Thread Paul Alfille
No Jan, I've been squashing other bugs. Let me review --smbus is no good? Must use i2c? I have the high-level things in place, but haven't trasfered in al the actual i2c calls. Since you have a test platform, I'll get it done this week. Paul On 5/17/06, Jan Kandziora <[EMAIL PROTECTED]> wrote:

[Owfs-developers] i2c support again

2006-05-17 Thread Jan Kandziora
Hello, I had time to test out OWFS i2c support with latest version (the release of today). The result: It doesn't work. Now my question: Should it work? After the various problems (mostly with sf.net) and fixes in the last weeks, I must admit I'm not really up-to-date with owfs i2c issues. I