Forum: GNU Radio setting hw number

Posted by Frankie Rawlins (Guest)
on 2013-02-16 15:33
(Received via mailing list)
Hi All,

I'm unable to get simple_ra to recognize the USRP1.
I have carried out the check below but do not know how to set the 'hw 
number' in 'simple_ra'

Hope someone is able to help.

Many thanks,

Frank
-------------------------------------------------------
alpha@alpha:~$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfdff8000 irq 44
alpha@alpha:~$

------------------------------------------------------

alpha@alpha:~$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT2020 Analog [VT2020 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: VT2020 HP [VT2020 HP]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Posted by "Martin Lülf" <mail@mluelf.de> (Guest)
on 2013-02-16 15:58
(Received via mailing list)
> Many thanks,
> alpha@alpha:~$ aplay --list-devices
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: VT2020 Analog [VT2020 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 2: VT2020 HP [VT2020 HP]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
>

Hi Frank,

you are checking for Audio devices, the USRP is a regular USB device, 
not
an audio device. You can see information about your USRP hardware with
uhd_find_devices, given you use the UHD to interface your USRP.

Try to find out if simple_ra also works with other devices than sound 
cards.

Martin
Posted by Frankie Rawlins (Guest)
on 2013-02-16 16:29
(Received via mailing list)
Hi Martin,

OK thanks.  I have actually attached a piece of wire to a socket on the 
USRP and found that it is working.
I sent my previous  E mail too soon without checking properly!

Thanks for the information though.

Frank
Posted by Marcus D. Leech (Guest)
on 2013-02-16 17:09
(Received via mailing list)
>
> Frank
USRP doesn't "manifest" as a sound device.

simple_ra takes a "--devid" argument that is in the style of the
gr-osmosdr device specifier.  For USRP1, you'd
 use:

--devid  "uhd=a,type=usrp1"
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.