Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - pjchavaux

Pages: [1]
1
Hello,
I currently have (4) BTS towers setup and playing well together.  I have (1) BladeRF x115, (1) BladeRF x40, (1) Ettus B205mini and (1) Ettus N210.  All are running on Raspberry Pi. The Ettus products are running OpenBTS and the BladeRF cards are running the latest version of Yate/YateBTS.
I have recently bought a Nuand BladeRF 2.0 micro xA4. I have built Yate/YateBTS on a standard PC running Ubuntu 16.04 and on Raspberry Pi 3B running Jessie (2016-03-18).  Both builds run the x40 and x115 problem free, but when I connect the xA4 board I keep getting a "failed to reset transceiver error" and " Failed to open USB device: USB reset failed - no device found". The board detects perfectly in bladeRF-cli, dmesg and lsusb.  I've tried loading the FPGA just prior to running yate -s -vvv as was suggested in another post but I still get the "failed to reset transceiver error".  I built the the bladeRF library from sources :

git clone https://github.com/Nuand/bladeRF.git bladeRF
cd bladerf
cd host
mkdir build
cd build
cmake ../
make
make install
ldconfig

I've tried running it in three environments, (1) regular PC with USB3 running Ubuntu 16.04, (2) Raspberry Pi 3 B running Jessie (03-16-2016) and in a VirtualBox VM running Ubuntu Xenial and all three give me the same error, "failed to reset transceiver" and " Failed to open USB device: USB reset failed - no device found". When I exit yate and check bladeRF-cli, dmesg and lsusb the Nuand 2.0 micro is there.   

I built my first BTS in 2014 and have built dozens of them using the N210 and BladeRF x115/x40 products and have run into very few problems.  I've exhausted all the posts listed on Google under "bladerf failed to reset transceiver" and " Failed to open USB device: USB reset failed - no device found" and read most of the forum posts on Yate Forum back to 2017 and haven't been able to fix the problem.  There are only about (4) posts on the subjects and none have been any help.

I would appreciate it if anyone who has successfully gotten a BladeRF 2.0 micro xA4 to work with YateBTS could pass on any tricks or tips they used to get it to work.  I would also appreciate it if anyone has any suggestions I could try, that would be a big help.

I'm not boring you with long output logs as I've been using YateBTS installations that work with the other two Nuand BladeRF boards (x40 and x115).  I have tried other versions of Yate back to version 5.0 and they also give the same two errors.  The bladeRF transceiver is set using the web interface and I am using the standard 900mhz frequency and 51 Radio.C0.  I've left all settings to their defaults except OpenRegistration set to .* and RxGain set to 10.  These settings work fine with the other two BladeRF boards.

Thanks in advance for any help you can give me.
Paul C.

2
YateBTS / Reading socket info with PHP
« on: October 16, 2016, 12:56:23 PM »
Hi,
I am trying to retrieve a list of registered users from socket 127.0.0.1 5038 using PHP. This is the code that is failing. Any help would be greatly appreciated.
<?php
$host = "127.0.0.1";
$port = "5038";
 
print "Starting Yates Socket Server...\n";
 
 $sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
 
socket_bind($sock, $host, $port);
$msgsock = socket_accept($sock);
  $msg = "nib list registered";
  sleep(2);
    socket_write($msgsock, $msg, strlen($msg));
   print "Finished writing to socket...\n";
   sleep(2);
socket_listen($sock, 4);
 
$childSocket = socket_accept($sock);
$incomingData = socket_read($childSocket, 2048);
echo "Response".$incomingData;
?>

Pages: [1]