By: joshartman

I have at last managed to compile the OpenWrt version for OWFS on i686. It
basically
runs, see the USB adaptor and all devices hanging on to the 1-wire network.

But after a few minutes, owserver stops seeing the devices on the 1-wire. It
still responds to remote owfs, owdir, owread commands but will not list
devices.
It looks like that the USB device stops responding to any requests from
owserver.
I started it with debug mode full on and see resets and ok's. After a while,
there is only a reset but no ok. From then on nothing happens. If I stop and
start owserver, I get the following error:

[EMAIL PROTECTED]:~# owserver --usb -p 3000 --error_print=2 --foreground
--error_level=9
  CALL: PARSENAME path=[]
CONNECT: Adapter found: 002/002
CONNECT: Failed to set configuration on USB DS9490 adapter at 002/002.
Could not open the USB adapter. Is there a problem with permissions?
DEFAULT: Cannot open USB adapter


As can be seen, all is running as root, so permissions on filesystem level
is
correct ?
[EMAIL PROTECTED]:~# ls -lR /proc/bus/usb/
/proc/bus/usb/:
dr-xr-xr-x    2 root     root            0 Oct 22 22:53 001
dr-xr-xr-x    2 root     root            0 Oct 22 22:53 002
-r--r--r--    1 root     root            0 Oct 22 22:53 devices

/proc/bus/usb/001:
-rw-r--r--    1 root     root           43 Oct 22 22:53 001

/proc/bus/usb/002:
-rw-r--r--    1 root     root           43 Oct 22 22:53 001
-rw-r--r--    1 root     root          147 Oct 22 23:06 002



I am just not sure what is going on as when I run it without debugging etc,
I get the following error in syslog repeatedly:

I have at last managed to compile the OpenWrt version for OWFS on i686. It
basically
runs, see the USB adaptor and all devices hanging on to the 1-wire network.

But after a few minutes, owserver stops seeing the devices on the 1-wire. It
still responds to remote owfs, owdir, owread commands but will not list
devices.
It looks like that the USB device stops responding to any requests from
owserver.
I started it with debug mode full on and see resets and ok's. After a while,
there is only a reset but no ok. From then on nothing happens. If I stop and
start owserver, I get the following error:

[EMAIL PROTECTED]:~# owserver --usb -p 3000 --error_print=2 --foreground
--error_level=9
  CALL: PARSENAME path=[]
CONNECT: Adapter found: 002/002
CONNECT: Failed to set configuration on USB DS9490 adapter at 002/002.
Could not open the USB adapter. Is there a problem with permissions?
DEFAULT: Cannot open USB adapter


As can be seen, all is running as root, so permissions on filesystem level
is
correct ?
[EMAIL PROTECTED]:~# ls -lR /proc/bus/usb/
/proc/bus/usb/:
dr-xr-xr-x    2 root     root            0 Oct 22 22:53 001
dr-xr-xr-x    2 root     root            0 Oct 22 22:53 002
-r--r--r--    1 root     root            0 Oct 22 22:53 devices

/proc/bus/usb/001:
-rw-r--r--    1 root     root           43 Oct 22 22:53 001

/proc/bus/usb/002:
-rw-r--r--    1 root     root           43 Oct 22 22:53 001
-rw-r--r--    1 root     root          147 Oct 22 23:06 002



I am just not sure what is going on as when I run it without debugging etc,
I get the following error in syslog repeatedly:


Oct 22 23:57:48 OpenWrt user.debug kernel: usb 2-2: usbfs: USBDEVFS_CONTROL
failed cmd owserver rqt 64 rq 1 len 0 ret -110
Oct 22 23:58:36 OpenWrt daemon.info OWFS[1093]: Failed to reconnect DS9490
adapter!


Any ideas ? Buggy libusb on i686 and Kernel 2.6 ?

Jos

---------- Forwarded message ----------
From: SourceForge.net <[EMAIL PROTECTED]>

OK, I have an update on this issue.

I changed to a faster EPIAM motherboard which is now 1GHz. So far it is
running
stable with no problems. I have also decided to use kernel 2.6.27.3 which
sort
of compiled. I had to fix one error in mtd kernel code somewhere to make it
compile, other than this no changes.

The previous EPIA is a 500MHz motherboard. Looks like it can be timing,
maybe
a OWFS expert can give advice for me to test maybe.

Jos
-------------------------------------------------------------------------
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

Reply via email to