discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] USRP on NetBSD


From: Greg Troxel
Subject: [Discuss-gnuradio] USRP on NetBSD
Date: 15 Dec 2005 14:35:30 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

I have the following

  NetBSD-current from within the last few weeks
  GNU Radio 2.6 release (via NetBSD pkgsrc)
  USRP rev 3 (brand new, arrived yesterday) with TVRX and Flex440
  D-Link USB2 cardbus (NEC ehci)
  IBM Thinkpad T30

I can load firmware and see the USRP reattach.  When running the
benchmark, with debugging turned on in libusb, I get the following.
It seems there is a control message vendor write error for GET_CONFIG
value 84 index 0.  This doesn't seem to provoke any gr-level error
printfs.  Then, there's a python type error which indicates probably
at best a missing error check.  I'm digging into this but new at most
of the details so thought I'd send this out to see if it rang any
bells.

Current NetBSD allows muliple opens of the control endpoint.

I saw a comment that when the firmware stalls one gets EPIPE, but it
isn't clear if that's linux-specific behavior.

The dial_tone demo fails opening audio output, not finding /dev/dsp,
but I may just be able to symlink that to /dev/sound; there is a
symlink like that in /emul/linux/dev/dsp but of course I'm running
everything native.

I'm going to be getting set up to run all this from CVS next.

Testing 2MB/sec... usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_devices: Found /dev/ugen0 on /dev/usb5
usb_control_msg: 128 6 512 0 0xbfbfda90 8 1000
usb_control_msg: 128 6 512 0 0x8546800 50 1000
usb_control_msg: 192 160 57824 0 0xbfbfd730 16 1000
usb_control_msg: 192 160 57840 0 0xbfbfd760 16 1000
usb_control_msg: 64 9 0 544 0xbfbfd793 1 1000
usb_control_msg: 64 9 24 544 0xbfbfd793 1 1000
usb_control_msg: 64 9 25 544 0xbfbfd793 1 1000
usb_control_msg: 64 9 35 544 0xbfbfd793 1 1000
usb_control_msg: 64 9 0 1056 0xbfbfd783 1 1000
usb_control_msg: 64 9 24 1056 0xbfbfd783 1 1000
usb_control_msg: 64 9 25 1056 0xbfbfd783 1 1000
usb_control_msg: 64 9 35 1056 0xbfbfd783 1 1000
usb_control_msg: 64 9 13 288 0xbfbfd790 4 1000
usb_control_msg: 64 9 14 288 0xbfbfd790 4 1000
usb_control_msg: 64 9 8 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 10 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 11 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 12 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 13 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 14 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 15 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 16 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 17 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 18 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 19 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 20 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 21 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 22 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 23 544 0xbfbfd823 1 1000
usb_control_msg: 64 9 8 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 10 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 11 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 12 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 13 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 14 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 15 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 16 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 17 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 18 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 19 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 20 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 21 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 22 1056 0xbfbfd813 1 1000
usb_control_msg: 64 9 23 1056 0xbfbfd813 1 1000
usb_control_msg: 64 5 0 0 0x0 0 1000
usb_control_msg: 64 10 1 0 0x0 0 1000
usb_control_msg: 64 10 0 0 0x0 0 1000
usb_control_msg: 64 9 0 288 0xbfbfd800 4 1000
usb_control_msg: 64 8 84 0 0xbfbfd77b 1 1000
USB error: error sending control message: Input/output error
write_cmd: usb_control_msg failed: error sending control message: Input/output 
error
usb_control_msg: 64 9 5 288 0xbfbfd790 4 1000
usb_control_msg: 64 9 9 288 0xbfbfd790 4 1000
usb_control_msg: 64 8 86 0 0xbfbfd77b 1 1000
usb_control_msg: 192 129 86 0 0xbfbfd7d0 32 1000
usb_control_msg: 64 9 7 288 0xbfbfd790 4 1000
usb_control_msg: 64 9 11 288 0xbfbfd790 4 1000
usb_control_msg: 64 9 3 288 0xbfbfd820 4 1000
usb_control_msg: 64 9 20 288 0xbfbfd820 4 1000
usb_control_msg: 64 9 21 288 0xbfbfd820 4 1000
usb_control_msg: 64 9 22 288 0xbfbfd820 4 1000
usb_control_msg: 64 9 26 288 0xbfbfd820 4 1000
usb_control_msg: 64 9 27 288 0xbfbfd820 4 1000
usb_control_msg: 64 9 28 288 0xbfbfd820 4 1000
usb_control_msg: 64 9 18 544 0xbfbfd8b3 1 1000
usb_control_msg: 64 9 19 544 0xbfbfd8b3 1 1000
usb_control_msg: 64 9 18 1056 0xbfbfd8a3 1 1000
usb_control_msg: 64 9 19 1056 0xbfbfd8a3 1 1000
usb_control_msg: 64 9 39 288 0xbfbfd860 4 1000
usb_control_msg: 64 9 32 288 0xbfbfd880 4 1000
usb_control_msg: 64 9 39 288 0xbfbfd860 4 1000
usb_control_msg: 64 9 23 544 0xbfbfd8a3 1 1000
usb_control_msg: 64 9 22 544 0xbfbfd8a3 1 1000
usb_control_msg: 64 9 21 544 0xbfbfd8a3 1 1000
usb_control_msg: 64 9 20 544 0xbfbfd8a3 1 1000
usb_control_msg: 64 9 23 1056 0xbfbfd8a3 1 1000
usb_control_msg: 64 9 22 1056 0xbfbfd8a3 1 1000
usb_control_msg: 64 9 21 1056 0xbfbfd8a3 1 1000
usb_control_msg: 64 9 20 1056 0xbfbfd8a3 1 1000
usb_control_msg: 64 9 7 288 0xbfbfca90 4 1000
usb_control_msg: 64 9 7 288 0xbfbfc950 4 1000
usb_control_msg: 64 9 42 288 0xbfbfc980 4 1000
usb_control_msg: 64 9 16 1056 0xbfbfc823 1 1000
usb_control_msg: 64 9 16 1056 0xbfbfc823 1 1000
usb_control_msg: 64 9 3 288 0xbfbfce00 4 1000
usb_control_msg: 64 9 7 288 0xbfbfcf10 4 1000
usb_control_msg: 64 9 11 288 0xbfbfcf10 4 1000
usb_control_msg: 64 9 26 288 0xbfbfce00 4 1000
usb_control_msg: 64 9 27 288 0xbfbfce00 4 1000
usb_control_msg: 64 9 28 288 0xbfbfce00 4 1000
Traceback (most recent call last):
  File "./benchmark_usb.py", line 106, in ?
    main ()
  File "./benchmark_usb.py", line 96, in main
    ok = run_test (rate, verbose)
  File "./benchmark_usb.py", line 64, in run_test
    fg.connect (data_src, src_head, usrp_tx)
  File "/usr/pkg/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py", 
line 115, in connect
    self._connect (points[i-1], points[i])
  File "/usr/pkg/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py", 
line 120, in _connect
    self._connect_prim (s, d)
  File "/usr/pkg/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py", 
line 126, in _connect_prim
    self._check_valid_dst_port (dst_endpoint)
  File "/usr/pkg/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py", 
line 225, in _check_valid_dst_port
    self._check_port (dst_endpoint.block.input_signature(), dst_endpoint.port)
  File "/usr/pkg/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py", 
line 230, in _check_port
    if signature.max_streams () == -1: # infinite
AttributeError: 'PySwigObject' object has no attribute 'max_streams'
usb_control_msg: 64 9 3 288 0xbfbfd7c0 4 1000
usb_control_msg: 64 9 11 288 0xbfbfd8d0 4 1000
usb_control_msg: 64 9 11 288 0xbfbfd450 4 1000
usb_control_msg: 64 9 7 288 0xbfbfd310 4 1000
usb_control_msg: 64 9 42 288 0xbfbfd340 4 1000
usb_control_msg: 64 9 26 288 0xbfbfd340 4 1000
usb_control_msg: 64 9 8 544 0xbfbfdad3 1 1000
usb_control_msg: 64 9 20 544 0xbfbfdad3 1 1000
usb_control_msg: 64 9 8 1056 0xbfbfdac3 1 1000
usb_control_msg: 64 9 20 1056 0xbfbfdac3 1 1000
usb_control_msg: 64 9 3 288 0xbfbfdad0 4 1000


 
-- 
        Greg Troxel <address@hidden>




reply via email to

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