discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] usb_claim_interface error


From: Javs
Subject: Re: [Discuss-gnuradio] usb_claim_interface error
Date: Wed, 19 Oct 2005 15:11:26 -0700 (PDT)

I found the permissions error in my strace when i run
the 'test_usrp_standard_tx'. Similar error was
previously observed by Larry, but I am not sure if
this was solved. I don't have the usbtest loaded.
Also, i observe that when i run any code the first
time as 'root', the other LED (LED1) glows for a
second or two and shuts off. This does not happen when
i do the same test as 'user'. Is this related to the
USB access? 

Still trying to figure out whats going on. 

Anyway, Here is the clip of the strace, very similar
to the one from Larry.

Javs

clip:
--------------
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
access("/usr/local/share/usrp/rev2/usrp_fpga.rbf",
R_OK) = 0
open("/proc/bus/usb/001/060", O_RDWR)   = -1 EACCES
(Permission denied)
open("/proc/bus/usb/001/060", O_RDONLY) = 3
ioctl(3, USBDEVFS_SETCONFIGURATION, 0xbfffacd4) = -1
EPERM (Operation not permitted)
write(2, "usrp_open_interface: usb_claim_i"...,
56usrp_open_interface: usb_claim_interface: failed
conf 0
) = 56
write(2, "could not set config 1: Operatio"...,
48could not set config 1: Operation not permitted
) = 48
close(3)                                = 0
write(2, "open_nth_cmd_interface: open_cmd"...,
50open_nth_cmd_interface: open_cmd_interface failed
) = 50
write(2, "die: lt-test_usrp_standard_tx: u"..., 54die:
lt-test_usrp_standard_tx: usrp_standard_tx::make
) = 54
exit_group(1)                           = ?

---------------
--- Eric Blossom <address@hidden> wrote:

> On Tue, Oct 18, 2005 at 07:11:21AM -0700, Javs
> wrote:
> > 
> > > What distribution and version of linux are you
> > > running, with which kernel?
> > 
> > I am running the Redhat enterprise linux 4 on a
> 2.6.9
> > kernel.
> > 
> > Tried chmoding all subdirectories and files under
> > /proc/bus/usb. Still doesn't work. 
> > 
> 
> No clue.  Is there anything interesting in the
> kernel logs?
> 
> Eric
> 



        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]