Hello!!

I'm doing my first experiments with owfs and a few one-wire devices.
I made a simple interface with the DS2490 USB-to-one-wire-bridge
according to the application notes from dallas.
I was impressed that everything seems to work very fine at first.
But when i moved the Interface hardware to the target machine
(HP Omnibook XT1000s) there appear strange errors.

It happens obviously while accessing the one-wire bus:

omnibook:/mnt/uncached/10.5B0D3F010800# while cat temperature ;
 do echo; done
23.4375
23.4375
23.4375
23.4375
23.5
cat: temperature: Invalid argument

dmesg looks like this:

usb 1-2.4: USB disconnect, address 4
usb 1-2.1: USB disconnect, address 5
usb 2-1: new full speed USB device using uhci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: usbfs: USBDEVFS_CONTROL failed cmd owfs rqt 64 rq 1 len 0 ret -110
usb 2-1: usbfs: USBDEVFS_CONTROL failed cmd owfs rqt 64 rq 1 len 0 ret -110
usb 2-1: usbfs: USBDEVFS_CONTROL failed cmd owfs rqt 64 rq 1 len 0 ret -110
usb 2-1: usbfs: USBDEVFS_CONTROL failed cmd owfs rqt 64 rq 1 len 0 ret -110
usb 2-1: usbfs: USBDEVFS_CONTROL failed cmd owfs rqt 64 rq 1 len 0 ret -110

After this i have to reload uhci_hcd to get it working again a few times.
Only uhci is loaded since there is no 2.0USB available on this notebook.

If i dis- and reconnect the DS2490 without reloading the module the
following happens:

usb 2-1: USB disconnect, address 3
usb 2-1: new full speed USB device using uhci_hcd and address 4
usb 2-1: device descriptor read/64, error -110
usb 2-1: device descriptor read/64, error -110
usb 2-1: new full speed USB device using uhci_hcd and address 5
usb 2-1: device descriptor read/64, error -110
usb 2-1: device descriptor read/64, error -110
usb 2-1: new full speed USB device using uhci_hcd and address 6
usb 2-1: device not accepting address 6, error -110
usb 2-1: new full speed USB device using uhci_hcd and address 7
usb 2-1: device not accepting address 7, error -110

Some BIOS related Problems where reportet so i did an BIOS Update to the
latest version - with no success.
Kernel is a plain 2.6.21, owfs compiled from 
owfs-2.6p5.tar.gz on debian testing with libusb 0.1.12-6.


Yesterday i've discovered that the problem disappears, if i connect
the ds2490 via my usb-hub to the notebook. This sounds first more like a
hardware problem to me. Probably the usb port of the hub is less picky with
some electrical parameters than the notebook itself?
But in the meantime i've testet the two built ds2490 interfaces on several other
machines and they worked flawlessly there. And i would say that the ifs are
electrically well designed. Additionally every other peripheral like
webcams, cardreader, hdd work on the omnibook with or without the
hub.

This is all very strange to me and i'm a bit helpless where to search the
error. Hardware? Notebook? The DS2490 surrounding hardware? Kernel?
libusb? owfs itself?

Some ideas?


Thank you in advance and sorry for my bad english!
Klaus


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to