6 Jun 2009 14:19
owshell fails with uclibc and libusb
<news4kmw <at> web.de>
2009-06-06 12:19:14 GMT
2009-06-06 12:19:14 GMT
Hi there,
long story...
compiled owfs, owshell-progs, owhttpd under uclibc (0.9.28) _without_
usb-support; all is running perfect.
compiled the same _with_ libusb; owfs is working well, but not owshell
and owhttpd.
(compiling libusb under uclibc is somewhat difficult, for missing g++.
nevertheless hope it's fine.)
starting httpd is no problem, but next request kills the application,
and it's exactly the same with owserver.
here comes some debugging stuff (please forgive me):
router 3.4.0 # owhttpd --error_level=9 --error_print=2 --foreground -u
-p 8001
CALL: ow_parsename.c:FS_ParsedName_anywhere(109) path=[]
DEBUG: owlib.c:SetupTemperatureLimits(83) Globals temp limits 0C
100C (for simulated adapters)
CALL: ow_parsename.c:FS_ParsedName_anywhere(109) path=[]
usb_set_debug: Setting debugging level to 2 (on)
usb_os_init: Found USB VFS at /proc/bus/usb
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
CONNECT: ow_ds9490.c:USB_next(548) Adapter found: 001/002
USB error: could not detach kernel driver from interface 0: No data
(Continue reading)
RSS Feed