Usrp usb problem with Mandriva 2010.1

Hello-

I am having a usb/USRP issue under x86_64 Mandriva 2010.1 with
gnuradio-3.3.0.

I compiled and installed using the default procedure:
./configure
make
sudo make install

When I try to use usrp_fft.py, I get many errors (see below). The gui
pops up, but no data is displayed:

[[email protected] z.gnuradio]$ usrp_fft.py
fusb::_submit_urb: Bad file descriptor
_submit_urb failed
fusb::_submit_urb: Bad file descriptor
_submit_urb failed
fusb::_submit_urb: Bad file descriptor
.
. many copies of the error above, then…
.
fusb::_submit_urb: Bad file descriptor
_submit_urb failed
fusb::_submit_urb: Bad file descriptor
_submit_urb failed
fusb::_reap: Bad file descriptor
fusb::_reap: Bad file descriptor

I believe this is a distribution-specific error, as I was not able to
duplicate the issue on a different x86_64 Fedora 12 computer using
exactly the same installation procedure and USRP hardware.

Incidentally, I had to modify the udev rules a bit to get it to work
under Mandriva:

[[email protected] z.gnuradio]$ more 10-usrp.rules
ACTION==“add”, SUBSYSTEM==“usb”, ATTRS{idVendor}==“fffe”,
ATTRS{idProduct}==“0002”, GROUP:=“usrp”, MODE:=“0660”
ACTION==“add”, SUBSYSTEM==“usb”, ATTRS{idVendor}==“077d”,
ATTRS{idProduct}==“0410”, GROUP:=“usrp”, MODE:=“0660”

(email formatting broke up what where 2 lines originally)

Any thoughts?

thanks,
eric

On Wed, Aug 11, 2010 at 11:07 AM, [email protected] wrote:

[[email protected] z.gnuradio]$ usrp_fft.py
fusb::_submit_urb: Bad file descriptor
_submit_urb failed
fusb::_submit_urb: Bad file descriptor
_submit_urb failed
fusb::_submit_urb: Bad file descriptor

I’m guessing that this is the result of an attempt to extract the file
descriptor out of a libusb-1.0 handle. The presence of the libusb
compatibility layer - which is incompatible - may have allowed you to
get through configure. Try building with the following option.

./configure --with-fusb-tech=libusb1

I believe this is a distribution-specific error, as I was not able to duplicate the issue on a different x86_64 Fedora 12 computer using exactly the same installation procedure and USRP hardware.

The recent Mandriva releases are among distributions (SUSE may be
another) that drop native support for the older version of libusb,
which gnuradio uses by default. To date, Fedora and Ubuntu have not
made this change.

Thomas

— On Wed, 8/11/10, Thomas T. [email protected] wrote:

I am having a usb/USRP issue under x86_64 Mandriva
[[email protected] z.gnuradio]$ usrp_fft.py
compatibility layer - which is incompatible - may have

Thomas-

thanks so much, that fixed the problem.

eric

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs