I'm having troubles running owfs in a virtual machine. I have been  
trying several different distros, Ubuntu, Fedora and Debian.
I have been told to blacklist wire and ds2490 module (which I've also  
done) Owfs compiles without problems.

My current virtual machine (running in vmware server) is Fedora 10 so  
I will give you information from that particular system.
Output of uname -a:
Linux testmachine 2.6.27.19-170.2.35.fc10.i686 #1 SMP Mon Feb 23  
13:21:22 EST 2009 i686 athlon i386 GNU/Linux

And here are some of the rpm's installed:
fuse-2.7.4-2.fc10.i386
fuse-devel-2.7.4-2.fc10.i386
libusb-0.1.12-20.fc10.i386
ibusb-devel-0.1.12-20.fc10.i386

This is how I start owfs:
# /opt/owfs/bin/owfs --usb_regulartime --error_level=9 -u -- 
foreground /mnt/1wire/

I notice that something's wrong when I don't find the master usb  
adapter:
# ls /mnt/1wire
bus.0  settings  statistics  structure  system  uncached

And finally, this is the output from owfs:
# /opt/owfs/bin/owfs --usb_regulartime --error_level=9 -u -- 
foreground /mnt/1wire/
CONNECT: fuse mount point: /mnt/1wire/
    CALL: PARSENAME path=[]
CONNECT: Adapter found: 002/004
DEFAULT: Opened USB DS9490 adapter at 002/004.
    DATA: DS9490_setup_adapter: done (ret=0)
   DEBUG: Start of directory path= device=00 00 00 00 00 00 00 00
   DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00  
00 last path=00 00 00 00 00 00 00 00
   DEBUG: Clearing root branch
    DATA: DS9490_reset
    DATA: DS9490_overdrive() set regular speed
    DATA: DS9490_getstatus: (HAVE_USB_INTERRUPT_READ) error reading  
ret=-110
    DATA: DS9490_reset: ok
    DATA: DS9490_getstatus: (no HAVE_USB_INTERRUPT_READ) error reading  
ret=-110
    DATA: USBsendback control problem ret=-5
   DEBUG:   Transaction send = -5
    DATA: BUS_first failed during connect [002/004] (Probably non- 
DS9490 device and empty bus).
   DEBUG: fuse_mnt_opt=[(null)]
   DEBUG: fuse_open_opt=[(null)]
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.9
flags=0x0000003b
max_readahead=0x00020000
    INIT: 7.8
    flags=0x00000001
    max_readahead=0x00020000
    max_write=0x00020000
    unique: 1, error: 0 (Success), outsize: 40
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56
    CALL: FSTAT path=/
    CALL: PARSENAME path=[/]
    CALL: ATTRIBUTES path=/
   DEBUG: ParsedName_destroy /
    unique: 2, error: 0 (Success), outsize: 112
unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 56
    CALL: FSTAT path=/
    CALL: PARSENAME path=[/]
    CALL: ATTRIBUTES path=/
   DEBUG: ParsedName_destroy /
    unique: 3, error: 0 (Success), outsize: 112
unique: 4, opcode: ACCESS (34), nodeid: 1, insize: 48
ACCESS / 01
    unique: 4, error: -38 (Function not implemented), outsize: 16
unique: 5, opcode: OPENDIR (27), nodeid: 1, insize: 48
    unique: 5, error: 0 (Success), outsize: 32
unique: 6, opcode: READDIR (28), nodeid: 1, insize: 80
    CALL: GETDIR path=/
    CALL: PARSENAME path=[/]
   DEBUG: In FS_dir(/)
    CALL: DIRECTORY path=/
   DEBUG: Cache_Get_Dir 00 00 00 00 00 00 00 00
   DEBUG: Get from cache sn 00 00 00 00 00 00 00 00 pointer=0x88ca7d0  
extension=0
   DEBUG: dir not found in cache
   DEBUG: Start of directory path=/ device=00 00 00 00 00 00 00 00
   DEBUG: Selecting a path (and device) path=/ SN=00 00 00 00 00 00 00  
00 last path=00 00 00 00 00 00 00 00
   DEBUG: Clearing root branch
    DATA: DS9490_reset
    DATA: DS9490_reset: ok
    DATA: DS9490_getstatus: (no HAVE_USB_INTERRUPT_READ) error reading  
ret=-110
    DATA: USBsendback control problem ret=-5
   DEBUG:   Transaction send = -5
    CALL: PARSENAME path=[/bus.0]
   DEBUG: ParsedName_destroy /bus.0
    CALL: PARSENAME path=[/uncached]
   DEBUG: ParsedName_destroy /uncached
    CALL: PARSENAME path=[/settings]
   DEBUG: ParsedName_destroy /settings
    CALL: PARSENAME path=[/system]
   DEBUG: ParsedName_destroy /system
    CALL: PARSENAME path=[/statistics]
   DEBUG: ParsedName_destroy /statistics
    CALL: PARSENAME path=[/structure]
   DEBUG: ParsedName_destroy /structure
   DEBUG: FS_dir_both out ret=-5
   DEBUG: ParsedName_destroy /
    unique: 6, error: 0 (Success), outsize: 288
unique: 7, opcode: LOOKUP (1), nodeid: 1, insize: 46
LOOKUP /bus.0
    CALL: FSTAT path=/bus.0
    CALL: PARSENAME path=[/bus.0]
    CALL: ATTRIBUTES path=/bus.0
   DEBUG: ParsedName_destroy /bus.0
    NODEID: 2
    unique: 7, error: 0 (Success), outsize: 136
unique: 8, opcode: LOOKUP (1), nodeid: 1, insize: 49
LOOKUP /uncached
    CALL: FSTAT path=/uncached
    CALL: PARSENAME path=[/uncached]
    CALL: ATTRIBUTES path=/uncached
   DEBUG: ParsedName_destroy /uncached
    NODEID: 3
    unique: 8, error: 0 (Success), outsize: 136
unique: 9, opcode: LOOKUP (1), nodeid: 1, insize: 49
LOOKUP /settings
    CALL: FSTAT path=/settings
    CALL: PARSENAME path=[/settings]
    CALL: ATTRIBUTES path=/settings
   DEBUG: ParsedName_destroy /settings
    NODEID: 4
    unique: 9, error: 0 (Success), outsize: 136
unique: 10, opcode: LOOKUP (1), nodeid: 1, insize: 47
LOOKUP /system
    CALL: FSTAT path=/system
    CALL: PARSENAME path=[/system]
    CALL: ATTRIBUTES path=/system
   DEBUG: ParsedName_destroy /system
    NODEID: 5
    unique: 10, error: 0 (Success), outsize: 136
unique: 11, opcode: LOOKUP (1), nodeid: 1, insize: 51
LOOKUP /statistics
    CALL: FSTAT path=/statistics
    CALL: PARSENAME path=[/statistics]
    CALL: ATTRIBUTES path=/statistics
   DEBUG: ParsedName_destroy /statistics
    NODEID: 6
    unique: 11, error: 0 (Success), outsize: 136
unique: 12, opcode: LOOKUP (1), nodeid: 1, insize: 50
LOOKUP /structure
    CALL: FSTAT path=/structure
    CALL: PARSENAME path=[/structure]
    CALL: ATTRIBUTES path=/structure
   DEBUG: ParsedName_destroy /structure
    NODEID: 7
    unique: 12, error: 0 (Success), outsize: 136
unique: 13, opcode: READDIR (28), nodeid: 1, insize: 80
    unique: 13, error: 0 (Success), outsize: 16
unique: 14, opcode: RELEASEDIR (29), nodeid: 1, insize: 64
    unique: 14, error: 0 (Success), outsize: 16


Thanks,
-Patrik

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to