On Sat, Feb 10, 2007 at 12:49:04PM +0100, Julien TOUCHE wrote: > Hi > > has someone used digitemp with usb adapter on openbsd ? > i currently test digitemp 3.5.0 on 4.0-stable with a ds9490R usb adapter > and it segfault like this > > $ ./digitemp_DS2490 -s /dev/ttyU1 -w > DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane > GNU Public License v2.0 - http://www.digitemp.com > Found DS2490 device #1 at /dev/usb0//dev/ugen0 > Segmentation fault (core dumped) > > > > thanks a lot > Regards > > > Julien > > note: > - used with libusb-0.1.10ap1 > - no return on dt-general@
There is in kernel support for USB one wire devices post 4.0, perhaps try a snapshot, then you'll be able to read values out of the sysctl tree. Failing that you want to do: gdb ./digitemp_DS2490 core digitemp_DS249.core bt then reproduce the output of that to the author of the software.