Author Topic: Yate Failed to open usb Device  (Read 90 times)

rockthestreet81

  • Newbie
  • *
  • Posts: 1
    • View Profile
Yate Failed to open usb Device
« on: November 21, 2018, 10:52:12 AM »
Hello im trying to run Yate with Yate-Bts on Ubuntu16.04 and BladeRF 2.0 xA4

I followed this Script:
https://gist.github.com/smarek/b538465a711edc7e6d7652c82e76d374

I have installed this versions:
an0n@an0n-pc:~$ bladeRF-cli -i
bladeRF> version

  bladeRF-cli version:        1.7.0-git-0bc1f8c
  libbladeRF version:         2.1.0-git-0bc1f8c

  Firmware version:           2.3.1
  FPGA version:               0.9.0 (configured from SPI flash)

bladeRF> info

  Board:                    Nuand bladeRF 2.0 (bladerf2)
  Serial #:                 a7fc90583bab4bddb3b83255b92b5c65
  VCTCXO DAC calibration:   0x1e23
  FPGA size:                49 KLE
  FPGA loaded:              yes
  Flash size:               32 Mbit
  USB bus:                  4
  USB address:              3
  USB speed:                SuperSpeed
  Backend:                  libusb
  Instance:                 0

Starting Yate i become following error's something is wrong with Yate transeiver and USB


I copied only the errors after starting!
an0n@an0n-pc:~$ sudo yate -vv -CDoa

2018-11-21_18:31:07.904076 <javascript:WARN> Failed to parse 'nipc' script: /usr/local/share/yate/scripts/nipc.js
2018-11-21_18:31:07.904110 <ybts:WARN> Failed to load script='nipc', error='Failed to load script from file 'nipc.js'


2018-11-21_18:31:07.915117 <bladerf/1:WARN> Failed to open USB device: USB reset failed - no device found [0x7fe4dc0010f0]
2018-11-21_18:31:07.915227 <gsmtrx:GOON> Failed to create radio interface: USB reset failed - no device found
ALERT 140140529350464 18:31:07.9 TRXManager.cpp:207:sendCommand: RESET failed with status 2 extra: code=524288
2018-11-21_18:31:07.915369 <mbts:WARN> TRXManager.cpp:207:sendCommand: RESET failed with status 2 extra: code=524288
2018-11-21_18:31:07.915418 <ybts-signalling:WARN> Peer fatal stop notification 'RadioError' code=0x80000 (HardwareNotAvailable) operation=RESET [0x15809d0]
ALERT 140140529350464 18:31:08.1 OpenBTS.cpp:251:main: Failed to reset transceiver
2018-11-21_18:31:08.116342 <mbts:WARN> OpenBTS.cpp:251:main: Failed to reset transceiver

Here are the full messages after starting yate!
an0n@an0n-pc:~$ sudo yate -vv -CDoa
[sudo] Passwort für an0n:
Yate (9303) is starting Wed Nov 21 18:49:16 2018
Loaded module MOH
Loaded module ToneDetector
Loaded module OpenSSL - based on OpenSSL 1.0.2g  1 Mar 2016
Loaded module SIP Channel
Loaded module CdrBuild
Loaded module CdrCombine
Loaded module iLBC - based on WebRTC iLBC library version 1.1.1
Loaded module RManager
Loaded module MUX
Loaded module ExtModule
Loaded module Speex - based on libspeex-1.1.16
Loaded module iLBC - based on iLBC reference library
Loaded module Analyzer
Loaded module GVoice
Loaded module Javascript
Loaded module Conference
Loaded module YIAX
Loaded module iSAC floating point - based on WebRTC iSAC library version 4.3.0 (SPL version 1.2.0)
Loaded module RegexRoute
Loaded module ZLib - using zlib library version 1.2.8
Loaded module GSM - based on libgsm-1.0.10
Loaded module YSTUN
Loaded module WaveFile
Loaded module YSOCKS
Loaded module Call Forker
Loaded module ToneGen
Loaded module YJingle
Loaded module CdrFile
Loaded module Call Generator
Loaded module FileInfo
Loaded module File Transfer
Loaded module DumbChannel
Loaded module MsgSniffer
Loaded module YRTP
Loaded module PBX
Loaded module Clustering
Loaded module Queues Notify
Loaded module Late Router
Loaded module Cpu
Loaded module SigTransport
Loaded module MGCP-GW
Loaded module Cisco SM
Loaded module Radius client
Loaded module Event Logs
Loaded module Analog Detector
Loaded module YBTS
Loaded module Users Management
Loaded module Accounts from file
Loaded module SQLite based on 3.11.0
Loaded module Register for database
Loaded module Monitoring
Loaded module Call Parking
Loaded module SIP Features
Loaded module CCongestion
Loaded module GSM Transceiver
Loaded module Cache
Loaded module Signalling Channel
Loaded module Presence
Loaded module Analog Channel
Loaded module SNMP Agent
Loaded module Queues
Loaded module Registration from file
Loaded module MGCP-CA
Loaded module Subscriptions
Loading module LKSCTP
Loaded module MRCP
Loaded module PBX for database
Loaded module Heartbeat
Loaded module DbWave
Loaded module CallCounters
Loaded module Jabber Server Features
Loaded module Jabber Server
Loaded module Radio Test
Loaded module DummyRadio
Loaded module BladeRF using libusb 1.0.20.11004 desc='http://libusb.info'
Initializing plugins
Initializing module BladeRF
Initializing module DummyRadio
Initializing module Jabber Server
Initializing module Jabber Server Features
Initializing module DbWave
Initialize module LKSCTP
Initializing module Subscriptions
Initializing module MGCP Call Agent
Initializing module SQLite
Initializing module Analog Detector
Initializing module Event Logs
Initializing module Cisco SM
Initializing module SigTransport
Initializing module Cpu
Initializing module Clustering
Initializing module CdrFile
Initializing module YSOCKS
Initializing module ZLib
Initializing module Javascript
Initializing module MUX
Initializing module OpenSSL
Initializing module MOH
Initializing module ToneDetector
Initializing module SIP Channel
Initializing module CdrBuild
Initializing module CdrCombine
Initializing module iLBC webrtc
Initializing module RManager
Initializing module ExtModule
Initializing module Analyzer
Initializing module GVoice
Initializing module Conference
Initializing module YIAX
Initializing module iSAC
Initializing module RegexRoute
Initializing module YSTUN
Initializing module WaveFile
Initializing module Call Forker
Initializing module ToneGen
Initializing module YJingle
Initializing module Call Generator
Initializing module FileInfo
Initializing module File Transfer
Initializing module DumbChannel
DumbChannel initialized
Initializing module MsgSniffer
Initializing module YRTP
Initializing module PBX
Initializing module Queues Notify
Initializing module Late Router
Initializing module MGCP Gateway
Initializing module Radius client
Initializing module YBTS
Initializing module Users Management
Initializing module Accounts from file
Initializing module Register for database
Initializing module Monitoring
Initializing module Call Parking
Initializing module SIP Features
Initializing module CCongestion
Initializing module GSM Transceiver
Initializing module Cache
Initializing module Signalling Channel
Initializing module Presence
Initializing module Analog Channel
Initializing module SNMP Agent
Initializing module Queues for database
Initializing module Register from file
Initializing module MrcpSpeech
Initializing module PBX for database
Initializing module Radio Test
Initialization complete
2018-11-21_18:49:16.718760 <javascript:WARN> Failed to parse 'nipc' script: /usr/local/share/yate/scripts/nipc.js
2018-11-21_18:49:16.718800 <ybts:WARN> Failed to load script='nipc', error='Failed to load script from file 'nipc.js'
'
Yate engine is initialized and starting up on an0n-pc
MBTS connected to YBTS
Yate-BTS MBTS Component
Copyright 2008, 2009, 2010 Free Software Foundation, Inc.
Copyright 2010 Kestrel Signal Processing, Inc.
Copyright 2011, 2012, 2013 Range Networks, Inc.
Copyright 2013, 2014 Null Team Impex SRL
Copyright 2014 Legba, Inc.
"OpenBTS" is a registered trademark of Range Networks, Inc.

Contributors:
  SC Null Team Impex SRL:
    Paul Chitescu
  Legba, Inc.
    David Burgess
  Range Networks, Inc.:
    David Burgess, Harvind Samra, Donald Kirker, Doug Brown,
    Pat Thompson, Kurtis Heimerl
  Kestrel Signal Processing, Inc.:
    David Burgess, Harvind Samra, Raffi Sevlian, Roshan Baliga
  GNU Radio:
    Johnathan Corgan
  Others:
    Anne Kwong, Jacob Appelbaum, Joshua Lackey, Alon Levy
    Alexander Chemeris, Alberto Escudero-Pascual
Incorporated L/GPL libraries and components:
  libusb, LGPL 2.1, various copyright holders, www.libusb.org
Incorporated BSD/MIT-style libraries and components:
  A5/1 Pedagogical Implementation, Simplified BSD License,
    Copyright 1998-1999 Marc Briceno, Ian Goldberg, and David Wagner
Incorporated public domain libraries and components:
  sqlite3, released to public domain 15 Sept 2001, www.sqlite.org


This program comes with ABSOLUTELY NO WARRANTY.

Use of this software may be subject to other legal restrictions,
including patent licensing and radio spectrum licensing.
All users of this software are expected to comply with applicable
regulations and laws.  See the LEGAL file in the source code for
more information.

Release 5.0.1 formal build date Nov 19 2018 rev
Starting MBTS...
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.005863] [0000246c] libusb: debug [libusb_get_device_list]
[ 0.005884] [0000246c] libusb: debug [discovered_devs_append] need to increase capacity
[ 0.005893] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005899] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005902] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005905] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005908] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005911] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005914] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005917] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005920] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005923] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005928] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005932] [0000246c] libusb: debug [libusb_get_device_descriptor]
[ 0.005936] [0000246c] libusb: debug [libusb_get_device_descriptor]
2018-11-21_18:49:16.732853 <bladerf/1:WARN> Failed to open USB device: USB reset failed - no device found [0x7fe43c0010f0]
2018-11-21_18:49:16.732961 <gsmtrx:GOON> Failed to create radio interface: USB reset failed - no device found
ALERT 140369874130752 18:49:16.7 TRXManager.cpp:207:sendCommand: RESET failed with status 2 extra: code=524288
2018-11-21_18:49:16.733108 <mbts:WARN> TRXManager.cpp:207:sendCommand: RESET failed with status 2 extra: code=524288
2018-11-21_18:49:16.733144 <ybts-signalling:WARN> Peer fatal stop notification 'RadioError' code=0x80000 (HardwareNotAvailable) operation=RESET [0x1ddb9d0]
ALERT 140369874130752 18:49:16.9 OpenBTS.cpp:251:main: Failed to reset transceiver
2018-11-21_18:49:16.934229 <mbts:WARN> OpenBTS.cpp:251:main: Failed to reset transceiver

I hope someone can help me... thanks

marian

  • Sr. Member
  • ****
  • Posts: 496
    • View Profile
Re: Yate Failed to open usb Device
« Reply #1 on: November 22, 2018, 02:23:57 AM »
With the board plugged in, please type the following command in a console:
lsusb
Post the output here.