[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] usb_claim_interface Invalid argument error
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] usb_claim_interface Invalid argument error |
Date: |
Tue, 1 Nov 2005 10:32:37 -0800 |
User-agent: |
Mutt/1.5.6i |
On Tue, Nov 01, 2005 at 12:28:27PM -0500, EDWARD HALL wrote:
> Eric,
>
> To answer your question, nothing should have changed in the code;
> especially not in the kernal. I stopped the running application and
> re-started it after reviewing the python code.
>
> Your mention of -EBUSY might be a clue. While my application was running,
> I accidentally launched a second application that also interfaces with USB
> and the USRP. The second application failed to launch and the original
> application continued to run. It was when I stopped the original
> application and tried to restart it that I began receiving the error
> messages. I'm wondering if the -EBUSY flag is not resetting after the
> conflict for access to the USRP. The problem continues after many computer
> reboots and troubleshooting. Your idea of ignoring -EBUSY in usrp_prims.cc
> may be a good work-around.
Jeff Long tracked it down a week or so ago. I've changed the code in
CVS so that it just ignores the return value from
usb_set_configuration.
Eric