Hi, I have a cobbled-together DS2480B-based one-wire master that I want to use for experimenting with a long one-wire bus.
I've been tweaking owfs (2.8p17) to add pulldown slewrate etc. control for a serial bus (am I correct in thinking this is not yet supported?). I've managed to add the beginnings of the device specific code to ow_ds9097U.c (in owlib/), and the fuse hooks into ow_interface.c (using the equivalent usb-specific code as a template, especially for fuse). I can see that the initial device reset calls my bus_timings() function in ow_ds9097U.c, and that if I write to bus.0/interface/settings/serial/pulldownslewrate, the value is successfully stored. I was hoping that a fuse update would automagically trigger a device reset to update the device, but that does not seem to be happening. Looking at the ow_interface.c/ow_write.c code, I don't see any explicit reset calls, but presumably they're happening for usb devices (i.e. a write to bus.0/interface/settings/usb/pulldownslewrate will trigger a reset of the device). Any pointers on how I could get this working for a serial-based device? Thanks, manuel. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers