Yup. I want to clean some stuff up in the modified init scripts first
(wouldn't want to post garbage out on the internet!). Also, I want to
get rid of that pesky c++ compilier and stdc++ library that's
unneeded. ;) owfs seems to be completely written in C; However, the
configure script complains and dies when I don't have a c++ compilier
installed. Once I do this, I can have it back to roughly 40 megabytes
uncompressed (I'm using squashfs in the meantime). 

The ultimate goal was to get a good "how to" written so that others with
little/no server room monitoring can have quality monitoring for low
cost (with a little elbow grease).

I'm also writing some software to accompany it, but that won't be ready
for awhile. It'll be your typical web search of data, trends, graphs,
etc etc, with configurable alarms.

On Tue, 2005-09-13 at 21:16 -0400, Alfille, Paul H.,M.D. wrote:
> Is your distribution (a 64MB flash for thin client monitoring) something that
> could be shared and posted?
> 
> Paul
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] on behalf of Chris Baechle
> Sent: Fri 9/9/2005 6:37 AM
> To: [email protected]
> Subject: Re: [Owfs-developers] owfs DS9490R usb adapter w/ uclibc buildrootnot
> working
>  
> ok, solved the problem. usb filesystem wasn't mounted and because I
> didn't hotplugging support, it wasn't automatically mounted.
> 
> Added the line to mount my usb filesystem and it works now.
> 
> k thx noob mistake!!
> 
> On Fri, 2005-09-09 at 09:41 +0000, Chris Baechle wrote:
> > On Fri, 2005-09-09 at 08:29 +0200, Christian Magnusson wrote:
> > > On Thu, 2005-09-08 at 14:22 +0000, Chris Baechle wrote:
> > > > I currently have a DS9490R usb adapter that I can not get owfs or
> > > > owhttpd to recognize.
> > > > 
> > > > I have gotten owfs to work with other distributions. However, I can not
> > > > get it to work with uclibc's buildroot using kernel 2.6.13-mm. In my
> > > > kernel, I have disabled all 1-wire support to avoid conflicts. In the
> > > > sys directory, it is seeing the device. When I plug it in, I do get my
> > > > verbose message that I plugged in the usb device.
> > > 
> > > Can you confirm these details about your system?
> > >   uClibc
> > >   processor with MMU
> > >   /etc/mtab is read-only
> > >   /dev/fuse character device is missing
> > > 
> > 
> > - uClibc version is a snapshot from Sept 8th
> > - does have MMU
> > -  /etc/mtab is not read-only. Was a symlink to /proc/mounts but deleted
> > the symlink and copied the whole file.
> > - /dev/fuse does exist. 
> > 
> > I have udev support so /dev/fuse magically appeared. No module support
> > in kernel. Used the -mm patch because fuse has been merged.  
> > 
> > 
> > > Just pointing those on those things since you might need to patch fuse
> > > before compiling it. (if you want to use owfs and not only owhttpd)
> > > 
> > > 
> > > > 
> > > > There are only 2 things left I can think of...
> > > > 
> > > > 1) My kernel config. Under usb, I have usb uhci hcd enabled (it's a via
> > > > itx motherboard), and that's it. Serial is disabled. From what I
> > > > understand, this should be the only thing I need because libusb takes
> > > > care of the rest.
> > > 
> > > I'm not sure if this is any problems...
> > > 
> > > > 
> > > > 2) libusb accesses the device somehow through /dev and the device isn't
> > > > available?? Since I'm not using any sort of hotplug, could the usb
> > > > device name libusb is expecting not exist?
> > > 
> > > If you look in the source for libusb-0.1.10a linux.c:usb_os_init()
> > > you can see it initiates the usb-path to the first found directory which
> > > isn't empty in this order:
> > > 
> > > path set by environment-variable USB_DEVFS_PATH
> > > /proc/bus/usb
> > > /sys/bus/usb
> > > /dev/usb
> > > 
> > 
> > There is no usb in the /dev directory anywhere. Nor in /proc. There
> > is /sys/bus/usb. I set USB_DEVFS_PATH with no luck. I don't have hotplug
> > installed. Udev is in the init scripts and populates /dev at boot time
> > however.
> > 
> > > 
> > > Try to set environment USB_DEBUG before starting owhttpd to get some
> > > debug information from libusb.
> > > 
> > > > export USB_DEBUG=2
> > > > owhttpd --error_level=9 --error_print=2 --foreground -u -p 3001
> > > INFO: PARSENAME path=
> > > 
> > > usb_set_debug: Setting debugging level to 2 (on)
> > > usb_os_init: Found USB VFS at /proc/bus/usb
> > > ....
> > > 
> > 
> > INFO: PARSENAME path=
> > 
> > usb_set_debug: Setting debugging level to 2 (on)
> > usb_os_init: Found USB VFS at /sys/bus/usb
> > usb_os_find_busses: Skipping non bus directory drivers
> > usb_os_find_busses: Skipping non bus directory devices
> > ERR: ServerListen: socket() [Address family not supported by protocol]:
> > Address family not supported by protocol
> > 
> > 
> > 
> > 
> > > Perhaps you should try to set 
> > >  export USB_DEVFS_PATH=/dev/usb
> > > or
> > >  export USB_DEVFS_PATH=/sys/bus/usb
> > > 
> > > before starting owhttpd... Could you make some new tests and tell us
> > > about the results?
> > > 
> > > 
> > > /Christian
> > > 
> > > 
> > > 
> > > 
> > > > 
> > > > Any help or suggestions at this point would be great because I've been
> > > > deadlocked for a few days now and am out of ideas. 
> > > > 
> > > > 




_______________________________________
City of Port St. Lucie
http://www.cityofpsl.com


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to