Re: devinfo(3) problem...

2005-10-28 Thread John Baldwin
On Thursday 27 October 2005 11:34 am, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > > Daniel Rudy <[EMAIL PROTECTED]> writes: > : I analyzed the source code for devinfo(8) and used as an example of how > : to use the devinfo(3) library. So I knew it transversed the device t

Re: devinfo(3) problem...

2005-10-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Daniel Rudy <[EMAIL PROTECTED]> writes: : I analyzed the source code for devinfo(8) and used as an example of how : to use the devinfo(3) library. So I knew it transversed the device tree : once, and my code does it twice, first time to locate (is it the

Re: devinfo(3) problem...

2005-10-26 Thread Daniel Rudy
At about the time of 10/26/2005 11:25 AM, John Baldwin stated the following: > On Wednesday 26 October 2005 01:17 pm, Daniel Rudy wrote: > >>At about the time of 10/25/2005 12:50 PM, victor cruceru stated the >> >>following: >> >>>Hi Daniel, >>>Yes, this is the fix. And yes, I think that the bug w

Re: devinfo(3) problem...

2005-10-26 Thread John Baldwin
On Wednesday 26 October 2005 01:17 pm, Daniel Rudy wrote: > At about the time of 10/25/2005 12:50 PM, victor cruceru stated the > > following: > > Hi Daniel, > > Yes, this is the fix. And yes, I think that the bug was reported (at > > least on a mailing list...) > > BTW: I dare to suggest to fully

Re: devinfo(3) problem...

2005-10-26 Thread Daniel Rudy
At about the time of 10/25/2005 12:50 PM, victor cruceru stated the following: > Hi Daniel, > Yes, this is the fix. And yes, I think that the bug was reported (at > least on a mailing list...) > BTW: I dare to suggest to fully upgrade your system to the "latest" > 6.0, it is a huge step forward fro

Re: devinfo(3) problem...

2005-10-25 Thread victor cruceru
Hi Daniel, Yes, this is the fix. And yes, I think that the bug was reported (at least on a mailing list...) BTW: I dare to suggest to fully upgrade your system to the "latest" 6.0, it is a huge step forward from 5.4. Before doing this you may want to give it a try by booting from a CD and check th

Re: devinfo(3) problem...

2005-10-25 Thread Daniel Rudy
At about the time of 10/24/2005 7:28 AM, victor cruceru stated the following: > Daniel, > What is the OS version you are using when this is happening? > Did you try to update the libdevinfo (using cvsup for example) to a > newer version? > I think that under the original 5.4 it is a bug in devinfo(

Re: devinfo(3) problem...

2005-10-24 Thread victor cruceru
> Message: 5 > Date: Sun, 23 Oct 2005 19:57:00 -0700 > From: Daniel Rudy <[EMAIL PROTECTED]> > Subject: devinfo(3) problem... > To: freebsd-hackers@freebsd.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > > Con

devinfo(3) problem...

2005-10-23 Thread Daniel Rudy
Consider the following code fragment: (segment 2) Calling code section: /* get devinfo root nexus */ printf("root ptr: %p\n", root); result = usb_devinfo_root(&root); printf("root ptr: %p\n", root); if (result < 0) { usb_devinfo_close(); return(-1);