Project

General

Profile

Bug #2341

osmo-trx -m is broken

Added by msuraev almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/26/2017
Due date:
% Done:

0%

Spec Reference:

Description

I've got following error in latest osmo-trx:


./Transceiver52M/osmo-trx -x -c 2 -m

-- Performing timer loopback test... pass
-- Performing timer loopback test... pass
-- Setting master clock rate selection to 'automatic'.
ALERT 139666585152384 10:32:48.8 UHDDevice.cpp:642:open: Channel setting failed - map::at
ALERT 139666585152384 10:32:48.8 UHDDevice.cpp:642:open: Channel setting failed - map::at
ALERT 139666585152384 10:32:48.8 osmo-trx.cpp:454:main: Failed to create radio device

ALERT 139666585152384 10:32:48.8 osmo-trx.cpp:454:main: Failed to create radio device
Shutting down transceiver...


If I remove -m than it starts as expected.

Associated revisions

Revision f6115690 (diff)
Added by Tom Tsou almost 4 years ago

uhd: Always specify samples-per-symbol for device lookup

Fix MCBTS device setup where the map access was failing on the wrong
assumption that all devices support 1-SPS TX-RX operation. Some devices
and/or configurations such as LIMESDR and MCBTS only support running
at 4-SPS.

Even though certain settings (e.g. number of physical channels or the
FPGA clocking rate) are not dependent on the SPS value, we still need to
specify because we use SPS as a parameter for device classification.

Fixes: OS#2341
Change-Id: I56e939285d585cc38efa6c329e30e3acebb734eb
Signed-off-by: Tom Tsou <>

History

#1 Updated by ttsou almost 4 years ago

  • Status changed from New to Resolved

msuraev wrote:

I've got following error in latest osmo-trx:
[...]
If I remove -m than it starts as expected.

ALERT 139666585152384 10:32:48.8 UHDDevice.cpp:642:open: Channel setting failed - map::at

Patch submitted to Gerrit. https://gerrit.osmocom.org/#/c/3062/

#2 Updated by ttsou almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)