On 3/9/07, Chris Frey <[EMAIL PROTECTED]> wrote:
>
> Do you still get a timeout with this?  Can you paste the btool -tv output?

(using a fresh copy of code from CVS)

No actually, no timeout -- I get an immediate resource error like so:

      endpoint added to map with bEndpointAddress: 6
        pair.write = 6
        pair.type = 2
        pair added! (read: 133,write: 6,type: 2)
    interface added to map with bInterfaceNumber: 1
  config added to map with bConfigurationValue: 1
USB error: could not set config 1: Device or resource busy
Barry::Error caught: (-16, Device or resource busy): Probe:
SetConfiguration failed

If I run it under strace, a little more info:

open("/dev/bus/usb/005/064", O_RDWR)    = 3
ioctl(3, USBDEVFS_SETCONFIGURATION, 0xbfef2484) = -1 EBUSY (Device or
resource busy)

That /dev/ entry does exist, it's owned by me (but I also tried this
as root), and it's got a symlink at it /dev/bb-usbdev5.64 as expected.
USB Mass Storage is not mounted and all 4 endpoints are showing up in
lsusb -v right now.

Odd, because at one point this *was* working.

-te

-- 
some live, some die
in the way of the samurai

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to