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

Reply via email to