[Owfs-developers] OWFS on tmpfs
Hallo all, I am trying to run OWFS on tmpfs, but I do not succeed. I created a mount entry in fstab: tmpfs /mnt/1wire tmpfs nodev,nosuid,size=3M,uid=1004,gid=1005 0 0 the uid and gid are the ones of my own user then I mount and can check the success with df -k which list /mnt/1wire as a tmpfs file system. As well as listing ls -al /mnt/ results i a small t for tmpfs at the entry 1wire when I start now OWFS it does not use the tmpfs created, but seems to unmount and remount. Is there a way to have OWFS use tmpfs and how? I need it, because I am running of raspi with only a sd-card attached. Thanks, Martin -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] OWFS on tmpfs
On 6 Jan 2013, at 13:32, Martin Patzak (GMX) martin.pat...@gmx.de wrote: Hallo all, I am trying to run OWFS on tmpfs, but I do not succeed. I created a mount entry in fstab: tmpfs /mnt/1wire tmpfs nodev,nosuid,size=3M,uid=1004,gid=1005 0 0 the uid and gid are the ones of my own user then I mount and can check the success with df -k which list /mnt/1wire as a tmpfs file system. As well as listing ls -al /mnt/ results i a small t for tmpfs at the entry 1wire when I start now OWFS it does not use the tmpfs created, but seems to unmount and remount. Is there a way to have OWFS use tmpfs and how? I need it, because I am running of raspi with only a sd-card attached. owfs uses FUSE, so it is its own filesystem. It doesn't actually write anything to your SD card. HTH, Chris -- Chris Boot bo...@bootc.net -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] OWFS on tmpfs
I see! Thanks Chris for the quick reply!!! Btw. what does HTH mean? Martin -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] OWFS on tmpfs
got it: HTH - hope that helps YID - yes, it did -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] 1-wire LCD controller
That lcd controller has been supported for quite a while. There is a DS2408 based one from HobbyBoards that also has buttons. On Sat, Jan 5, 2013 at 11:15 AM, Attila bigm...@gmail.com wrote: I'm looking for a solution to use a control panel for my application. I need an LCD, and some push buttons. I found this (http://www.louisswart.co.za/1-Wire_Overview.html), and as I see, OWFS supports this device. Does anyone has any experience with this LCD controller? How can I use the LCD from OWFS, and how can I handle the buttons? As I see, button state switches are cached by the controller PIC itself, and it says: All inputs are sampled at 25mS intervals, any detected change will increment the input's event counter (counts up and down going events). Any experience how can I read these status changes out, how does this event counter work in practice? Thank you, Attila -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] owhttpd problems with LINK on pc-engines WRAP board
I'll test again, but is seems that the serial port is a little non-standard. I'm sure i's just a TIO settings issue and can be fixed. By the way, without setting the owhttpd port, it may be difficult to actually find the working web server's port. On Sat, Jan 5, 2013 at 2:27 AM, Thorsten von Eicken t...@voneicken.comwrote: I'm having a strange issue getting owhttpd to work on a pc-engines WRAP board (an older x86 AMD geode board) using the std serial port and a LINK. I'm running OpenWRT. When I just run owhttpd -d /dev/ttyS0 --debug it hangs (see below). But if I then run minicom I can get to the LINK just fine (e.g. I can type h to get the help). If I then ctrl-a Q out of minicom (exit without resetting the modem) then the same owhttpd command works great. If I run minicom again and exit normally having it reset the modem then owhttpd fails again. This is 100% reproducible. Any ideas as to what could be up here? Linux version 3.3.8 (blogic@buildserver-1) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Nov 13 14:26:41 UTC 2012 root@OpenWrt:~# owhttpd --version owhttpd version: 2.8p13 libow version: 2.8p13 Here's the output when owhttpd fails: root@OpenWrt:~# owhttpd -d /dev/ttyS0 --debug CONNECT: owhttpd.c:main(75) owhttpd will use an ephemeral port DEBUG: ow_daemon.c:EnterBackground(166) main thread id = 3078366864 CONNECT: ow_avahi_link.c:OW_Load_avahi_library(72) No Avahi support. Library libavahi-client couldn't be loaded CONNECT: ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is disabled since dnssd library isn't found CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[] DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for simulated adapters) DEBUG: ow_ds9097U.c:DS2480_initialize_repeatedly(267) Attempt #0 to initialize the DS9097U DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(356) Send the initial reset to the bus master. DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds CONNECT: ow_tcp_read.c:tcp_read(110) TIMEOUT after 0 bytes DEBUG: ow_ds9097U.c:DS2480_configuration_read(434) wrong response (B7 not 00) DEBUG: ow_ds9097U.c:DS2480_set_baud_control(449) Failed first attempt at resetting baud rate of bus master /dev/ttyS0 DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds CONNECT: ow_tcp_read.c:tcp_read(110) TIMEOUT after 0 bytes DEBUG: ow_ds9097U.c:DS2480_configuration_read(434) wrong response (B7 not 00) DEBUG: ow_ds9097U.c:DS2480_set_baud_control(454) Failed second attempt at resetting baud rate of bus master /dev/ttyS0 DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds CONNECT: ow_tcp_read.c:tcp_read(110) TIMEOUT after 0 bytes DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds CONNECT: ow_tcp_read.c:tcp_read(110) TIMEOUT after 0 bytes DEBUG: ow_ds9097U.c:DS2480_configuration_read(434) wrong response (B7 not 00) DEBUG: ow_ds9097U.c:DS2480_set_baud_control(449) Failed first attempt at resetting baud rate of bus master /dev/ttyS0 ... Here's the output when it succeeds: root@OpenWrt:~# owhttpd -d /dev/ttyS0 --debug CONNECT: owhttpd.c:main(75) owhttpd will use an ephemeral port DEBUG: ow_daemon.c:EnterBackground(166) main thread id = 3077707408 CONNECT: ow_avahi_link.c:OW_Load_avahi_library(72) No Avahi support. Library libavahi-client couldn't be loaded CONNECT: ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is disabled since dnssd library isn't found CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[] DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for simulated adapters) DEBUG: ow_ds9097U.c:DS2480_initialize_repeatedly(267) Attempt #0 to initialize the DS9097U DEBUG: ow_ds9097U.c:DS2480_big_reset_serial(356) Send the initial reset to the bus master. DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1 DEBUG: ow_tcp_read.c:tcp_read(64) attempt 1 bytes Time: 5.00 seconds DEBUG: ow_tcp_read.c:tcp_read(114) read: 1 - 0 = 1
Re: [Owfs-developers] owhttpd problems with LINK on pc-engines WRAP board
Paul Alfille paul.alfille at gmail.com writes: I'll test again, but is seems that the serial port is a little non-standard. I'm sure i's just a TIO settings issue and can be fixed. If you have any suggestion, let me know and I'll try it out. I'm a bit stumped. it's not a DTR/RTS power issue, that much I can tell... By the way, without setting the owhttpd port, it may be difficult to actually find the working web server's port. Understood. I was simply using the shortest comand line that shows the issue. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Measuring DC Voltage
W dniu 07.01.2013 o 02:52 Peter Hollenbeck pwhb...@gmail.com pisze:Can someone suggest a a way to measure DC voltage in the range 10 to 14 volts? I know nothing about circuits but do have basic soldering skills and have built a few small kits.At one location I am using owfs to monitor solar, humidity and, barometric pressure using a a Raspberry Pi and HobbyBoards serial master and sensors. The voltage sensor would be on a a different Raspberry Pi. Thank you, Peter You can choose something from thishttp://para.maximintegrated.com/en/search.mvp?fam=batt_stat374=1-Wiretree=masterI can remember the name but I think that the chip form barometer can measure up to 12V.What are you measuring? You can use a voltage divider(look at wikipedia) to lower the voltage for acceptable level not above 12V.-- p4trykx-- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Measuring DC Voltage
I want to measure the voltage of a 12 volt battery system: two 6 volt golf cart batteries charged by micro hydro and solar. Remote, unattended. I have an a2d card with serial interface that used to give me the voltage but it stopped working. I would like to replace it with a 1wire solution. I have looked at the DS2438 but as it is a chip I guess I need a breadboard and at least 1wire and DC connectors, plus the voltage divider. I was hoping to find a kit or pre-built solution but maybe I could do it from parts. Thanks for your reply. Peter Northern California On Sun, Jan 6, 2013 at 6:50 PM, p4trykx p4tr...@gmail.com wrote: ** W dniu 07.01.2013 o 02:52 Peter Hollenbeck pwhb...@gmail.com pisze: Can someone suggest a a way to measure DC voltage in the range 10 to 14 volts? I know nothing about circuits but do have basic soldering skills and have built a few small kits. At one location I am using owfs to monitor solar, humidity and, barometric pressure using a a Raspberry Pi and HobbyBoards serial master and sensors. The voltage sensor would be on a a different Raspberry Pi. Thank you, Peter You can choose something from this http://para.maximintegrated.com/en/search.mvp?fam=batt_stat374=1-Wiretree=master I can remember the name but I think that the chip form barometer can measure up to 12V. What are you measuring? You can use a voltage divider(look at wikipedia) to lower the voltage for acceptable level not above 12V. -- p4trykx -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] Measuring DC Voltage
Something to be careful when measuring batteries is the posibility of ground faults. You should put some kind of isolator in the circuit. I would look at something like: http://www.mouser.com/ProductDetail/Fairchild-Semiconductor/KA331/?qs=sGAEpiMZZMsX%252bY3VKDPZyJCaoDxJE74rPXbbWqbQ96g%3d driving a http://www.us.liteon.com/downloads/LTV-817-827-847.PDF or maybe even an audio transformer over a twisted pair. Then you can use a counter 1-wire or arduino to record the voltage. Looking at the data sheet I think you could easily build this yourself if you have a soldering iron and some veroboard (It's all through hole stuff and cheap even in singles). You might also look at wireless, there are a number of cheap wireless boards out there on 37MHz and 2.4GHz. njh On Sun, Jan 06, 2013 at 07:16:59PM -0800, Peter Hollenbeck wrote: I want to measure the voltage of a 12 volt battery system: two 6 volt golf cart batteries charged by micro hydro and solar. Remote, unattended. I have an a2d card with serial interface that used to give me the voltage but it stopped working. I would like to replace it with a 1wire solution. I have looked at the DS2438 but as it is a chip I guess I need a breadboard and at least 1wire and DC connectors, plus the voltage divider. I was hoping to find a kit or pre-built solution but maybe I could do it from parts. Thanks for your reply. Peter Northern California On Sun, Jan 6, 2013 at 6:50 PM, p4trykx p4tr...@gmail.com wrote: ** W dniu 07.01.2013 o 02:52 Peter Hollenbeck pwhb...@gmail.com pisze: Can someone suggest a a way to measure DC voltage in the range 10 to 14 volts? I know nothing about circuits but do have basic soldering skills and have built a few small kits. At one location I am using owfs to monitor solar, humidity and, barometric pressure using a a Raspberry Pi and HobbyBoards serial master and sensors. The voltage sensor would be on a a different Raspberry Pi. Thank you, Peter You can choose something from this http://para.maximintegrated.com/en/search.mvp?fam=batt_stat374=1-Wiretree=master I can remember the name but I think that the chip form barometer can measure up to 12V. What are you measuring? You can use a voltage divider(look at wikipedia) to lower the voltage for acceptable level not above 12V. -- p4trykx -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers