Re: [Owfs-developers] OWFS + W1 on Raspberry Pi
Hello Attila, what kind of USB master did you use? I am using the LinkUSBi and it is working very stable for more than 3 months on end (24/7). I did post some settings I did to the raspi to make it more stable, and I can 'dig out' those old posts here, in case you can't find them. However things might have been changed since updates of the raspi packages have been made and I do NOT upgrade, once I have found a stable platform (I am running my house heating system on it, so stability is key) Cheers, Martin On 02/16/2013 08:52 AM, Attila wrote: Greetings, After several tries I found that my USB 1-wire master is not working reliable on Raspberry Pi - seems in some cases USB bus power is not enough (syslog tells this). Before going to use an externally powered USB hub, I tried to use GPIO bitbang method to drive 1-wire. I used w1 libary (w1-gpio and w1-therm), but found that OWFS cannot really work with it. I tried modprobe w1-gpio modprobe w1-therm owserver --w1 -p 4300 owhtpd -s 4300 -p 80 But when I try to connect via HTTP, RPi freezes, and I have to unplug it. Same if I use owfs instead of owhttpd, when I try to go to the mount point. In the same time I'm able to see the files what w1 mounts (/sys/bus/w1/devices) and read values without problem (But I have to say, one time it was frozen using this method as well) I upgraded kernel, packages, but no help. What can be wrong? Thanks, Attila -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] OWFS + W1 on Raspberry Pi
Szia, There were postings about the w1 kernel module being unstable. Not just on RasPi. Vajk On Sat, Feb 16, 2013 at 8:52 AM, Attila bigm...@gmail.com wrote: Greetings, After several tries I found that my USB 1-wire master is not working reliable on Raspberry Pi - seems in some cases USB bus power is not enough (syslog tells this). Before going to use an externally powered USB hub, I tried to use GPIO bitbang method to drive 1-wire. I used w1 libary (w1-gpio and w1-therm), but found that OWFS cannot really work with it. I tried modprobe w1-gpio modprobe w1-therm owserver --w1 -p 4300 owhtpd -s 4300 -p 80 But when I try to connect via HTTP, RPi freezes, and I have to unplug it. Same if I use owfs instead of owhttpd, when I try to go to the mount point. In the same time I'm able to see the files what w1 mounts (/sys/bus/w1/devices) and read values without problem (But I have to say, one time it was frozen using this method as well) I upgraded kernel, packages, but no help. What can be wrong? Thanks, Attila -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] OWFS + W1 on Raspberry Pi
Martin, thanks for your valuable comments. I agree not to upgrade anything once its stable - I made a backup, so it was a kind of safe try... :) And after raspi reboot - does it ALWAYS find the controller? My main problem that mine is only sometimes, especially nowadays :( Syslog says it has not enough power. While I'm using a 2A power supply. I need to play a lot (unplug the bus, plug in USB, reboot, etc) to make it recognised / work, and after a reboot I can start again... I'm using USB9097 bought on pcsensor.com On Sat, Feb 16, 2013 at 9:02 AM, Martin Patzak (GMX) martin.pat...@gmx.dewrote: Hello Attila, what kind of USB master did you use? I am using the LinkUSBi and it is working very stable for more than 3 months on end (24/7). I did post some settings I did to the raspi to make it more stable, and I can 'dig out' those old posts here, in case you can't find them. However things might have been changed since updates of the raspi packages have been made and I do NOT upgrade, once I have found a stable platform (I am running my house heating system on it, so stability is key) Cheers, Martin On 02/16/2013 08:52 AM, Attila wrote: Greetings, After several tries I found that my USB 1-wire master is not working reliable on Raspberry Pi - seems in some cases USB bus power is not enough (syslog tells this). Before going to use an externally powered USB hub, I tried to use GPIO bitbang method to drive 1-wire. I used w1 libary (w1-gpio and w1-therm), but found that OWFS cannot really work with it. I tried modprobe w1-gpio modprobe w1-therm owserver --w1 -p 4300 owhtpd -s 4300 -p 80 But when I try to connect via HTTP, RPi freezes, and I have to unplug it. Same if I use owfs instead of owhttpd, when I try to go to the mount point. In the same time I'm able to see the files what w1 mounts (/sys/bus/w1/devices) and read values without problem (But I have to say, one time it was frozen using this method as well) I upgraded kernel, packages, but no help. What can be wrong? Thanks, Attila -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] OWFS + W1 on Raspberry Pi
Vajk, thx for reminder, Now I remember - that time I did not know what is w1, this is why I did not pay attention... So I need to wait, or find a stable USB adapter... Kosz! On Sat, Feb 16, 2013 at 9:26 AM, Vajk Fekete vaj...@gmail.com wrote: Szia, There were postings about the w1 kernel module being unstable. Not just on RasPi. Vajk On Sat, Feb 16, 2013 at 8:52 AM, Attila bigm...@gmail.com wrote: Greetings, After several tries I found that my USB 1-wire master is not working reliable on Raspberry Pi - seems in some cases USB bus power is not enough (syslog tells this). Before going to use an externally powered USB hub, I tried to use GPIO bitbang method to drive 1-wire. I used w1 libary (w1-gpio and w1-therm), but found that OWFS cannot really work with it. I tried modprobe w1-gpio modprobe w1-therm owserver --w1 -p 4300 owhtpd -s 4300 -p 80 But when I try to connect via HTTP, RPi freezes, and I have to unplug it. Same if I use owfs instead of owhttpd, when I try to go to the mount point. In the same time I'm able to see the files what w1 mounts (/sys/bus/w1/devices) and read values without problem (But I have to say, one time it was frozen using this method as well) I upgraded kernel, packages, but no help. What can be wrong? Thanks, Attila -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] OWFS + W1 on Raspberry Pi
Oops, forgot to tell - I found your earlier comments, and seems you are using a powered USB hub. Does anyone know, if it is safe to power USB devices directly from the same power supply I use to power the RasPi? Eth0 - why you had to disable? I found a problem, when eth0 disconnect (cable disconnect for example) stopped USB working, but after I disabled the daemon (I cant recall its name, its reposnsible to alter networking based on connect-disconnect events), it was resolved. So now I have problem only on reboots. On Sat, Feb 16, 2013 at 2:41 PM, Attila bigm...@gmail.com wrote: Martin, thanks for your valuable comments. I agree not to upgrade anything once its stable - I made a backup, so it was a kind of safe try... :) And after raspi reboot - does it ALWAYS find the controller? My main problem that mine is only sometimes, especially nowadays :( Syslog says it has not enough power. While I'm using a 2A power supply. I need to play a lot (unplug the bus, plug in USB, reboot, etc) to make it recognised / work, and after a reboot I can start again... I'm using USB9097 bought on pcsensor.com On Sat, Feb 16, 2013 at 9:02 AM, Martin Patzak (GMX) martin.pat...@gmx.de wrote: Hello Attila, what kind of USB master did you use? I am using the LinkUSBi and it is working very stable for more than 3 months on end (24/7). I did post some settings I did to the raspi to make it more stable, and I can 'dig out' those old posts here, in case you can't find them. However things might have been changed since updates of the raspi packages have been made and I do NOT upgrade, once I have found a stable platform (I am running my house heating system on it, so stability is key) Cheers, Martin On 02/16/2013 08:52 AM, Attila wrote: Greetings, After several tries I found that my USB 1-wire master is not working reliable on Raspberry Pi - seems in some cases USB bus power is not enough (syslog tells this). Before going to use an externally powered USB hub, I tried to use GPIO bitbang method to drive 1-wire. I used w1 libary (w1-gpio and w1-therm), but found that OWFS cannot really work with it. I tried modprobe w1-gpio modprobe w1-therm owserver --w1 -p 4300 owhtpd -s 4300 -p 80 But when I try to connect via HTTP, RPi freezes, and I have to unplug it. Same if I use owfs instead of owhttpd, when I try to go to the mount point. In the same time I'm able to see the files what w1 mounts (/sys/bus/w1/devices) and read values without problem (But I have to say, one time it was frozen using this method as well) I upgraded kernel, packages, but no help. What can be wrong? Thanks, Attila -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] OWFS + W1 on Raspberry Pi
you should use the same ground of your power supply to provide power to your powered usb hub, if you don't do this, you should consider some problems at usb data +- that anyone here could check easly without your hardware other option could be a isolated power suply and isolate usb data +-, in this case there's no problems about where's the usb hub power supply 2013/2/16 Attila bigm...@gmail.com: Oops, forgot to tell - I found your earlier comments, and seems you are using a powered USB hub. Does anyone know, if it is safe to power USB devices directly from the same power supply I use to power the RasPi? Eth0 - why you had to disable? I found a problem, when eth0 disconnect (cable disconnect for example) stopped USB working, but after I disabled the daemon (I cant recall its name, its reposnsible to alter networking based on connect-disconnect events), it was resolved. So now I have problem only on reboots. On Sat, Feb 16, 2013 at 2:41 PM, Attila bigm...@gmail.com wrote: Martin, thanks for your valuable comments. I agree not to upgrade anything once its stable - I made a backup, so it was a kind of safe try... :) And after raspi reboot - does it ALWAYS find the controller? My main problem that mine is only sometimes, especially nowadays :( Syslog says it has not enough power. While I'm using a 2A power supply. I need to play a lot (unplug the bus, plug in USB, reboot, etc) to make it recognised / work, and after a reboot I can start again... I'm using USB9097 bought on pcsensor.com On Sat, Feb 16, 2013 at 9:02 AM, Martin Patzak (GMX) martin.pat...@gmx.de wrote: Hello Attila, what kind of USB master did you use? I am using the LinkUSBi and it is working very stable for more than 3 months on end (24/7). I did post some settings I did to the raspi to make it more stable, and I can 'dig out' those old posts here, in case you can't find them. However things might have been changed since updates of the raspi packages have been made and I do NOT upgrade, once I have found a stable platform (I am running my house heating system on it, so stability is key) Cheers, Martin On 02/16/2013 08:52 AM, Attila wrote: Greetings, After several tries I found that my USB 1-wire master is not working reliable on Raspberry Pi - seems in some cases USB bus power is not enough (syslog tells this). Before going to use an externally powered USB hub, I tried to use GPIO bitbang method to drive 1-wire. I used w1 libary (w1-gpio and w1-therm), but found that OWFS cannot really work with it. I tried modprobe w1-gpio modprobe w1-therm owserver --w1 -p 4300 owhtpd -s 4300 -p 80 But when I try to connect via HTTP, RPi freezes, and I have to unplug it. Same if I use owfs instead of owhttpd, when I try to go to the mount point. In the same time I'm able to see the files what w1 mounts (/sys/bus/w1/devices) and read values without problem (But I have to say, one time it was frozen using this method as well) I upgraded kernel, packages, but no help. What can be wrong? Thanks, Attila -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list
Re: [Owfs-developers] OWFS + W1 on Raspberry Pi
Attila bigm...@gmail.com wrote: In the same time I'm able to see the files what w1 mounts (/sys/bus/w1/devices) Unfortunately this is a Kernel Bug! See my posting on this list keoaoc$nqs$1...@ultimate100.geggus.net for details. Sven -- and on the third day he rebooted into Linux-1.3.84 (Linus Torvalds, Easter Kernel Release 1996) /me is giggls@ircnet, http://sven.gegg.us/ on the Web -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] OWFS + W1 on Raspberry Pi
Attila bigm...@gmail.com wrote: So I need to wait, or find a stable USB adapter... I would recomend using a DS2483, works best for me so far. My schematic at http://home.geggus.net/pub/raspio.pdf includes an additional IC for galvanic insulation. Sven -- C Is Quirky, Flawed, And An Enormous Success. (Dennis M. Ritchie) /me is giggls@ircnet, http://sven.gegg.us/ on the Web -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] OWFS + W1 on Raspberry Pi
Hello First of all make sure you have the latest kernel run rpi-update(google how to install it). This is a big improvement in usb functioning. I looked at the site and it seems that your adapter is an DS2483 with some usb serial adapter. This is not a good solution. I personally does not have any experience with those but I've read people have problems with usb serial adapters like FT232. Second you could also try to force usb 1.1 this should help however the LAN(it's also on USB bus) performance could be limited. dwc_otg.speed=1 http://raspberrypi.stackexchange.com/questions/1886/what-kernel-parameters-are-available-for-fixing-usb-problems I doubt it's a power problem. If your power supply is truly 2A. You can check the voltage on the board TP1 TP2. Which version of Raspi board do you have? The most recent ones have usb polyfuses removed so there shouldn't be any significant voltage drops with good power supply. I run a power hungry 3G modem directly form little modified first version of Raspi. 1 ohm resistors added over usb polyfuses and some extra caps.Here is the thread with modifications http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63t=8591p=210186#p210186 I have a original power supply from RS Components. I can even plug and unplug the modem and Raspi does not restart. Raspi(v2) usb ports are directly connected to 5V rail so when you connect some device which has ceramic capacitors inside(almost every device) they start to charge. Those caps can charge very fast so for fractions it's like a shot circuit. For more detail information you can read the thread it's explained there why this works. Or ask here I will try to explain it however I'm not an trained electronic engineer. There where sucess reports of usb 1-wire adapters here but I can't rememberer exactly which one it was. Perhaps the native DS2490. -- p4trykx -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers