discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] usrp with FreeBSD


From: Berndt Josef Wulf
Subject: Re: [Discuss-gnuradio] usrp with FreeBSD
Date: Fri, 30 Sep 2005 08:24:02 +0930
User-agent: KMail/1.8.2

On Fri, 30 Sep 2005 00:56, LRK wrote:
> When I connect the USRP, FreeBSD sets it at /dev/ugen0, the generic USB
> driver. This uses 'devfs' which is new to FreeBSD 5.x and to me.
>
> If I run something like usrp_fft.py with the default permissions I get
> a failure message on the firmware load. This is expected since I am
> running as the user gr and the device is only writable by root.
>
> I chown the ugen0 device to gr and run the command again. The firmware
> appears to load properly but then the error messages appear showing the
> USRP cannot be found. The message
>
> ugen0: Free Software Folks USRP Rev 2, rev 2.00/1.02, addr 2
>
> appears in the log file but the owner on the /dev/ugen0 has been set back
> to root.
>
> I chown the device again and run the .py again. This gives me slightly
> different error messages.
>
>
> All these errors seem to be related to the "look_for_usrp" step. Usrper
> seems to find the board to load firmware and that seems to work, changing
> the flashing rate of the LED on the USRP and putting the message in the
> log file. If the board is actually loaded, the device owner gets changed
> back to root.
>
>
> I am looking thru everything again but any clues would be appreciated.

G'day,

You also will have to change ownership/mode of the /dev/usb* devices. In my 
case the device is attached as

usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
[...]
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
[...]
ugen0 at uhub4 port 1
ugen0: Free Software Folks USRP Rev 2, rev 2.00/1.02, addr 2

Let me know how it goes,

cheerio Berndt

Attachment: pgptnZi2XElbe.pgp
Description: PGP signature


reply via email to

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