I use a DS9490 connected to my server to run a small network of sensors. It tends to work fine but last Saturday when I rebooted the server the owserver did not come up properly. After restarting it a few times I came to the conclusion the adapter seemed dead, not registering on the USB bus at all. I swapped it for another one that seemed to work fine for a little bit and then stopped working again. After plugging it in/out a few times I noticed the adapter doesn't even register properly with the USB bus if the onewire cable isn't connected to it:
without the sensors connected (doesn't connect): [ 2754.666755] usb 3-1: device not accepting address 18, error -71 [ 2777.499004] usb 3-1: new full speed USB device using uhci_hcd and address 19 with the sensors connected (works ok): [ 2777.661660] usb 3-1: configuration #1 chosen from 1 choice [ 2777.667588] 0: addr=81, size=32, dir=IN, type=3 [ 2777.667593] 1: addr=2, size=16, dir=OUT, type=2 [ 2777.667596] 2: addr=83, size=16, dir=IN, type=2 Even after this was working I was still getting errors in owserver about not being able to talk to the adapter. I strace'd it and it was failing in an ioctl after opening the device. After a few more unplug/replug sequences I finally got it to work without actually doing anything new. Scary. It seems to be stable now but it didn't leave me with much confidence about these adapters. Anyone have similar experiences? One possible explanation for the USB problems is that I'm running too old of a kernel (linux 2.6.17). Pedro. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
