Hello Henrik,
If you type this command in a terminal this will give you an idea about your issue:
ldd /usr/lib/asterisk/modules/chan_dect.so
On Aug 11, 2012, at 12:00 PM, linux-dect-request(a)lists.osmocom.org wrote:
> Send linux-dect mailing list submissions to
> linux-dect(a)lists.osmocom.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.osmocom.org/mailman/listinfo/linux-dect
> or, via email, send a message with subject or body 'help' to
> linux-dect-request(a)lists.osmocom.org
>
> You can reach the person managing the list at
> linux-dect-owner(a)lists.osmocom.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of linux-dect digest..."
> Today's Topics:
>
> 1. undefined symbol: dect_mm_endpoint_get (henrik hansen)
> 2. Re: undefined symbol: dect_mm_endpoint_get (Patrick McHardy)
>
> From: henrik hansen <hhansen06(a)googlemail.com>
> Subject: undefined symbol: dect_mm_endpoint_get
> Date: August 10, 2012 4:35:09 PM GMT+02:00
> To: linux-dect(a)lists.osmocom.org
>
>
> Hey,
> my Asterisk got a problem with the chan_dect module.
> I build it like it's written here: http://dect.osmocom.org/trac/dect/wiki/Build%20instructions
>
> debian*CLI> module load chan_dect
> Unable to load module chan_dect
> Command 'module load chan_dect' failed.
> [Aug 10 14:23:41] WARNING[19284]: loader.c:449 load_dynamic_module: Error loading module 'chan_dect': /usr/lib/asterisk/modules/chan_dect.so: undefined symbol: dect_mm_endpoint_get
> [Aug 10 14:23:41] WARNING[19284]: loader.c:839 load_resource: Module 'chan_dect' could not be loaded.
>
> Could someone help me, getting this fixed?
>
> --
> --
> Mit freundlichen Grüßen
> Henrik Hansen
>
>
>
>
> From: Patrick McHardy <kaber(a)trash.net>
> Subject: Re: undefined symbol: dect_mm_endpoint_get
> Date: August 10, 2012 4:37:12 PM GMT+02:00
> To: henrik hansen <hhansen06(a)googlemail.com>
> Cc: linux-dect(a)lists.osmocom.org
>
>
> On Fri, 10 Aug 2012, henrik hansen wrote:
>
>> Hey,
>> my Asterisk got a problem with the chan_dect module.
>> I build it like it's written here:
>> http://dect.osmocom.org/trac/dect/wiki/Build%20instructions
>>
>> debian*CLI> module load chan_dect
>> Unable to load module chan_dect
>> Command 'module load chan_dect' failed.
>> [Aug 10 14:23:41] WARNING[19284]: loader.c:449 load_dynamic_module: Error
>> loading module 'chan_dect': /usr/lib/asterisk/modules/chan_dect.so:
>> undefined symbol: dect_mm_endpoint_get
>> [Aug 10 14:23:41] WARNING[19284]: loader.c:839 load_resource: Module
>> 'chan_dect' could not be loaded.
>>
>> Could someone help me, getting this fixed?
>
> Its basically that chan_dect hasn't been converted to use the new API
> for wideband audio support yet. Just fixing this problem without actually adding wideband support should be relatively easy, I'll try to have a look during the weekend.
>
>
>
>
> _______________________________________________
> linux-dect mailing list
> linux-dect(a)lists.osmocom.org
> https://lists.osmocom.org/mailman/listinfo/linux-dect
Hey,
my Asterisk got a problem with the chan_dect module.
I build it like it's written here:
http://dect.osmocom.org/trac/dect/wiki/Build%20instructions
debian*CLI> module load chan_dect
Unable to load module chan_dect
Command 'module load chan_dect' failed.
[Aug 10 14:23:41] WARNING[19284]: loader.c:449 load_dynamic_module: Error
loading module 'chan_dect': /usr/lib/asterisk/modules/chan_dect.so:
undefined symbol: dect_mm_endpoint_get
[Aug 10 14:23:41] WARNING[19284]: loader.c:839 load_resource: Module
'chan_dect' could not be loaded.
Could someone help me, getting this fixed?
--
--
Mit freundlichen Grüßen
Henrik Hansen
On Aug 9, 2012, at 12:20 AM, Patrick McHardy wrote:
> Updated patch attached
> <usdect.diff>
Ok thank you a lot Patrick.
Here are the results:
with your last patch:
dect-transceiver-list --name trx0
DECT Transceiver trx0@cell0:
Type: vtrx
RF-band: 00000
Events: busy: 0 late: 0
slot 0: <scanning> packet: P00 carrier: 27 (0.000 MHz)
RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
TX: bytes 0 packets 0
*The frequency is always 0 MHz*
The kernel logs seems to be OK:
[15122.889144] vtrx trx0: set carrier: slot: 0 carrier: 23
[15122.899150] vtrx trx0: set carrier: slot: 0 carrier: 24
[15122.909150] vtrx trx0: set carrier: slot: 0 carrier: 25
[15122.919151] vtrx trx0: set carrier: slot: 0 carrier: 26
[15122.929150] vtrx trx0: set carrier: slot: 0 carrier: 27
So I have tried your last patch with mine to force the rf_band to 1:
dect-transceiver-list --name trx0
DECT Transceiver trx0@cell0:
Type: vtrx
RF-band: 00001
Events: busy: 0 late: 0
slot 0: <scanning> packet: P00 carrier: 23 (1921.536 MHz)
RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
TX: bytes 0 packets 0
The channel seems to be ok, but no station are visible during scanning…
My contact in USA is not present, perhaps he is not at home… do not know if its station is on...
About trx2:
dect-transceiver-list --name trx2
DECT Transceiver trx2:
Type: sc1442x
Features: slow-hopping,p64
RF-band: 00001
Events: busy: 0 late: 0
slot 0: <idle>
RX: bytes 0 packets 0 a-crc-errors 0 x-crc-errors 0 z-crc-errors 0
TX: bytes 0 packets 0
(no a-crc-errors)
If I remember well, with only my patch which forces the rf_band to 3 we got for trx2:
dect-transceiver-list --name trx2 I see that slot0 is scanning:
DECT Transceiver trx2@cell0:
Type: sc1442x
Features: slow-hopping,p64
RF-band: 00003
Events: busy: 0 late: 0
slot 0: <scanning> packet: P00 carrier: 5 (1888.704 MHz)
RX: bytes 0 packets 0 a-crc-errors 1629 x-crc-errors 0 z-crc-errors 0
Hello,
I am trying to use a dosh&amand PCI card… this one:
01:03.0 Communication controller: Quicklogic Corporation COM-ON-AIR Dosch&Amand DECT (rev 32)
Subsystem: Device 1786:0001
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 20
Region 0: Memory at ddefe000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: com_on_air_pci
with the dect kernel stack…
I have managed to compile the kernel 3.2.0 with this config:
CONFIG_DECT=m
CONFIG_DECT_DEBUG=y
CONFIG_DECT_CSF=m
CONFIG_DECT_RAW=m
CONFIG_DECT_CCF=m
CONFIG_DECT_LU1_SAP=m
CONFIG_DECTDEVICES=y
CONFIG_DECT_VTRX=m
CONFIG_DECT_COA_PCI=m
CONFIG_DECT_COA=m
CONFIG_DECT_COA_U2785=y
CONFIG_DECT_COA_FIRMWARE=y
CONFIG_DECT_COA_P64=y
The driver seems to work but the issue is that I am trying to use it in USA for an American client, and I did not managed to make this card use the 1.9Mhz band (rf band 3 I guess).
When I run this command:
dect-transceiver-list --name trx2 I see that slot0 is scanning:
DECT Transceiver trx2@cell0:
Type: sc1442x
Features: slow-hopping,p64
RF-band: 00003
Events: busy: 0 late: 0
slot 0: <scanning> packet: P00 carrier: 5 (1888.704 MHz)
RX: bytes 0 packets 0 a-crc-errors 1629 x-crc-errors 0 z-crc-errors 0
but it nevers uses RF band 3 channel.
For you information I have patch the driver this way to set the default debt rf band to 3:
[root@localhost linux-2.6]# git diff
diff --git a/drivers/dect/coa/sc1442x.c b/drivers/dect/coa/sc1442x.c
index 73b9869..89b0a55 100644
--- a/drivers/dect/coa/sc1442x.c
+++ b/drivers/dect/coa/sc1442x.c
@@ -698,6 +698,7 @@ static u64 sc1442x_set_band(const struct dect_transceiver *t
{
struct coa_device *dev = dect_transceiver_priv(trx);
+printk("setting band %d\n", band->band);
return dev->radio_ops->map_band(dev, band);
}
diff --git a/net/dect/transceiver.c b/net/dect/transceiver.c
index 706899d..25278af 100644
--- a/net/dect/transceiver.c
+++ b/net/dect/transceiver.c
@@ -19,6 +19,8 @@
#include <net/dect/mac_csf.h>
#include <net/dect/transceiver.h>
+static int rf_band = 3;
+module_param(rf_band, int, 0);
static LIST_HEAD(dect_transceiver_list);
static int dect_transceiver_notify(struct dect_transceiver *trx,
unsigned long event);
@@ -651,7 +653,7 @@ int dect_register_transceiver(struct dect_transceiver *trx)
if (err < 0)
goto out;
- err = dect_transceiver_set_band(trx, DECT_DEFAULT_BAND);
+ err = dect_transceiver_set_band(trx, rf_band);
if (err < 0)
goto out;
Thank you in advance for any help.
Fred
Is there anyone available for hire to help me get Dedected like CLI
tools working with OcmocomDECT. I have the Com on Air PCI card and
can't figure out how to get the driver to work. I need some guidence
and willing to pay for it.
Please advise,
J
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
Hello List,
I'm new to the osmocomDECT project and just bought 2 com-on-air PCI Cards.
After reading the list archive, i have some questions about the state of
the project.
What features do we suport at the moment?
Can i build a dect cell with asterisk support?
is handover within a cell about multiple basestations supported?
if i can help, test or support the project with hardware, so please tell ;)
--
--
Mit freundlichen Grüßen
Henrik Hansen