news4kmw | 6 Jun 2009 14:19
Picon

owshell fails with uclibc and libusb

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)

Paul Alfille | 6 Jun 2009 15:37
Picon

Re: owshell fails with uclibc and libusb

When you say that everything works without libusb, how did you test?
Serial or fake devices for testing?

I'll look through the debug data and to see if I can find the problem.
Which version of owfs are you using?

Paul Alfille

On Sat, Jun 6, 2009 at 8:19 AM,  <news4kmw <at> web.de> wrote:
> 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.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
(Continue reading)

news4kmw | 26 Jun 2009 19:56
Picon

Re: owshell fails with uclibc and libusb

Hello Paul,

> I'll look through the debug data and to see if I can find the
problem.

Found something going wrong or is there need for more support?

TIA'n cheers
Karl M.

------------------------------------------------------------------------------
news4kmw | 6 Jun 2009 19:39
Picon

Re: owshell fails with uclibc and libusb

Hallo Paul,

without libusb I'm using serial DS 9097U-009.
Version is 2.7p21, also tested with p19 and p13, same effect.

Regards
Karl M. Weckler

---
Paul Alfille wrote: 

When you say that everything works without libusb, how did you test?
Serial or fake devices for testing?

I'll look through the debug data and to see if I can find the problem.
Which version of owfs are you using?

Paul Alfille

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get

Gmane