Claes,

I've been looking through your error logs, and see libusb is returning
an error 75 (EOVERFLOW) on USB_bulk_read. In an earlier post you say
you are using libusb 0.1.4 which is a little old (released 2001).

I believe the earliest version of libusb tested against owfs is 0.1.8
and even that has errors later fixed. See
http://sourceforge.net/project/showfiles.php?group_id=1674&package_id=1632
for release list.

I can't promise a libusb upgrade will fix the problem, but it would be
the logical place to start. (I must admit, I looked at the earlier
post, interpretted it as libusb 0.1.14 and assumed you were
hypercurrent).

Paul Alfille

On 7/3/06, Paul Alfille <[EMAIL PROTECTED]> wrote:
> Claes,
>
> Can you post the startup code when you start with "--foreground
> --error_level=9" and the current version?
>
> For the DS9490R I get:
>    CALL: PARSENAME path=[]
> CONNECT: Adapter found: 005/005
> DEFAULT: Opened USB DS9490 adapter at 005/005.
>    DATA: DS9490_setup_adapter: done (ret=0)
>    DATA: DS9490_overdrive()
>   DEBUG: Start of directory path= device=00 00 00 00 00 00 00 00
>    DATA: BUS_first: No data will be returned
>   DEBUG: Selecting a path (and device) path= SN=00 00 00 00 00 00 00
> 00 last path=01 00 00 00 00 00 00 00
>   DEBUG: Clearing root branch
>    DATA: DS9490_reset
>    DATA: DS9490_reset: ok
>    DATA: DS9490_reset
>    DATA: DS9490_reset: ok
>   DEBUG: DS9490_next_both SN found: 06 8F D6 2D 00 00 00 6F
>   DEBUG: BUS_next return = 0 06 8F D6 2D 00 00 00 6F
>   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
>    DATA: DS9490_reset
>    DATA: DS9490_reset: ok
>   DEBUG: DS9490_next_both SN found: 01 86 60 BE 09 00 00 7E
>   DEBUG: BUS_next return = 0 01 86 60 BE 09 00 00 7E
> CONNECT: Good DS1421 tag found for 005/005
> DEFAULT: Set DS9490 005/005 unique id to 01 FFFFFF86 60 FFFFFFBE 09 00 00 7E
>
>
> Paul Alfille
>
> On 6/20/06, Vincent Fleming <[EMAIL PROTECTED]> wrote:
> >
> > I had similar problems with the Linux 2.6 kernel's USB driver and the
> > DS9490.  I was really pouring through the code, and it was getting data
> > errors from the USB. On a whim, I tried it with a 2.4 kernel, and it
> > worked perfectly.
> >
> > When experiencing the 2.6 kernel problems, it looked like the 1-wire
> > devices "came and went" from the filesystem.  One second there were
> > there, the next, they were gone.
> >
> > So, if you're using a 2.6 kernel, try a 2.4 kernel!  It works really
> > well.
> >
> > Good luck,
> >
> > Vince
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:owfs-
> > > [EMAIL PROTECTED] On Behalf Of Paul Alfille
> > > Sent: Monday, June 19, 2006 5:51 PM
> > > To: owfs-developers@lists.sourceforge.net
> > > Subject: [Owfs-developers] Fwd: Debug questions
> > >
> > > From: Claes Martinsson
> > > Date: Jun 19, 2006 9:17 AM
> > > Subject: Debug questions
> > > To: [EMAIL PROTECTED]
> > >
> > > Hello Paul
> > >
> > > I have some problems with my 1Wire DS2490 interface (home made
> > > according to Maxim spec).
> > >
> > > It only reads the correct data from the devices (any 1-wire devices)
> > > 30-40 % of the time. Below is a debug output of a failed read session.
> > > Appreciate your feedback on what might be wrong.
> > >
> > > Also I would like to thank you for all your work with OWFS. It's a
> > > great piece of software!
> > >
> > >
> > > Best Regards
> > >
> > > /Claes Martinsson
> > >
> > >
> > >    DATA: DS9490_reset
> > >
> > >    DATA: DS9490_reset: ok
> > >
> > > CONNECT: SELECTION ERROR
> > >
> > >   DEBUG: READ_POSTPOSTPARSE:
> > > /uncached/bus.0/10.75C1EF000800/trimblanket return -22
> > >
> > >   DEBUG: READ_POSTPARSE /uncached/bus.0/10.75C1EF000800/trimblanket
> > return
> > > -22
> > >
> > >   DEBUG: ParsedName_destroy
> > /uncached/bus.0/10.75C1EF000800/trimblanket
> > >
> > >    CALL: PARSENAME path=[/uncached/bus.0/10.75C1EF000800/trimvalid]
> > >
> > >   DEBUG: READ_POSTPARSE /uncached/bus.0/10.75C1EF000800/trimvalid
> > >
> > >   DEBUG: READ_POSTPOSTPARSE /uncached/bus.0/10.75C1EF000800/trimvalid
> > >
> > >   DEBUG: READSEEK
> > >
> > >   DEBUG: READSEEK2 pid=20659 not found in cache
> > >
> > >    CALL: FS_parse_read: format=8 s=1 offset=0
> > >
> > >   DEBUG: Selecting a path (and device)
> > > path=/uncached/bus.0/10.75C1EF000800/trimvalid SN=10 75 C1 EF 00 08 00
> > > C2 last path=00 00 00 00 00 00 00 00
> > >
> > >    DATA: DS9490_reset
> > >
> > >    DATA: DS9490_reset: ok
> > >
> > >    DATA: DS9490_read: failed ret=0
> > >
> > > CONNECT: SELECTION ERROR
> > >
> > >   DEBUG: READ_POSTPOSTPARSE: /uncached/bus.0/10.75C1EF000800/trimvalid
> > > return -22
> > >
> > >   DEBUG: READ_POSTPOSTPARSE /uncached/bus.0/10.75C1EF000800/trimvalid
> > >
> > >   DEBUG: READSEEK
> > >
> > >   DEBUG: READSEEK2 pid=20659 not found in cache
> > >
> > >    CALL: FS_parse_read: format=8 s=1 offset=0
> > >
> > >   DEBUG: Selecting a path (and device)
> > > path=/uncached/bus.0/10.75C1EF000800/trimvalid SN=10 75 C1 EF 00 08 00
> > > C2 last path=00 00 00 00 00 00 00 00
> > >
> > >    DATA: DS9490_reset
> > >
> > >    DATA: DS9490_reset: ok
> > >
> > > CONNECT: SELECTION ERROR
> > >
> > >   DEBUG: READ_POSTPOSTPARSE: /uncached/bus.0/10.75C1EF000800/trimvalid
> > > return -22
> > >
> > >   DEBUG: READ_POSTPOSTPARSE /uncached/bus.0/10.75C1EF000800/trimvalid
> > >
> > >   DEBUG: READSEEK
> > >
> > >   DEBUG: READSEEK2 pid=20659 not found in cache
> > >
> > >    CALL: FS_parse_read: format=8 s=1 offset=0
> > >
> > >   DEBUG: Selecting a path (and device)
> > > path=/uncached/bus.0/10.75C1EF000800/trimvalid SN=10 75 C1 EF 00 08 00
> > > C2 last path=00 00 00 00 00 00 00 00
> > >
> > >    DATA: DS9490_reset
> > >
> > >    DATA: DS9490_reset: ok
> > >
> > >    DATA: DS9490_read: failed ret=0
> > >
> > > CONNECT: SELECTION ERROR
> > >
> > >   DEBUG: READ_POSTPOSTPARSE: /uncached/bus.0/10.75C1EF000800/trimvalid
> > > return -22
> > >
> > >   DEBUG: READ_POSTPARSE /uncached/bus.0/10.75C1EF000800/trimvalid
> > return -
> > > 22
> > >
> > >   DEBUG: ParsedName_destroy /uncached/bus.0/10.75C1EF000800/trimvalid
> > >
> > >    CALL: PARSENAME path=[/uncached/bus.0/10.75C1EF000800/type]
> > >
> > >   DEBUG: READ_POSTPOSTPARSE /uncached/bus.0/10.75C1EF000800/type
> > >
> > >   DEBUG: READSEEK
> > >
> > >   DEBUG: READSEEK2 pid=20659 not found in cache
> > >
> > >    CALL: FS_parse_read: format=6 s=32 offset=0
> > >
> > >   DEBUG: READ_POSTPOSTPARSE: /uncached/bus.0/10.75C1EF000800/type
> > return 7
> > >
> > >   DEBUG: READ_POSTPARSE /uncached/bus.0/10.75C1EF000800/type
> > >
> > >   DEBUG: READ_POSTPOSTPARSE /uncached/bus.0/10.75C1EF000800/type
> > >
> > >   DEBUG: READSEEK
> > >
> > >   DEBUG: READSEEK2 pid=20659 not found in cache
> > >
> > >    CALL: FS_parse_read: format=6 s=7 offset=0
> > >
> > >   DEBUG: READ_POSTPOSTPARSE: /uncached/bus.0/10.75C1EF000800/type
> > return 7
> > >
> > >   DEBUG: READ_POSTPARSE /uncached/bus.0/10.75C1EF000800/type return 7
> > >
> > >   DEBUG: ParsedName_destroy /uncached/bus.0/10.75C1EF000800/type
> > >
> > >   DEBUG: ParsedName_destroy /uncached/bus.0/10.75C1EF000800
> > >
> > >
> > > --
> > >  No virus found in this outgoing message.
> > >  Checked by AVG Free Edition.
> > >  Version: 7.1.394 / Virus Database: 268.9.0/368 - Release Date:
> > 6/16/2006
> > >
> > >
> > > _______________________________________________
> > > Owfs-developers mailing list
> > > Owfs-developers@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> >
> > _______________________________________________
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to