Difference between revisions of "DECT"

From Hackerspace ACKspace
Jump to: navigation, search
m (buying COM-ON-AIR's and adapter together)
m (added unused files)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Project
 
{{Project
|State=Planned
+
|State=Stalled
|Members=[[User:Xopr|Xopr]]
+
|Members=xopr
 +
|Picture=coa_front.jpg
 
}}
 
}}
 +
We have DECT in the space using a Fritz!Box, but still want to use a Com-on-air card for DECT provisioning.
 +
Currently, extension [[Extension::109]] is assigned to a handset.
 +
 +
Feel free to add solutions and specs here, and idea's or progress logs on the {{discuss}}.
 +
 
== intro ==
 
== intro ==
DECT, one of the common wireless standards you will find in telephony, is fairly [https://dedected.org/ exploited], and can be a fun playground for phreaks and other geeks :)
+
DECT, one of the common wireless standards you will find in telephony, is [https://dedected.org/ fairly] [http://dect.osmocom.org/ exploited], and can be a fun playground for phreaks and other geeks :)
 
 
KingOfDos, member of [http://wiki.dukesofhackers.eu/ Dukes of Hackers] (space in Den Bosch) pointed me something interesting, which I thought wasn't available anymore.  He had set up a 'buying together' thing for it.
 
  
There is [https://dedected.org/trac/wiki/COM-ON-AIR a card] with a SC14421 chipset which allows you to set up a DECT base station, which could be used in our own [[Telephone_System]], or with the correct [https://dedected.org/trac/wiki/COM-ON-AIR-Linux driver], als usable for (permissory) sniffing of calls.
+
KingOfDos, member of [http://dukesofhackers.eu/ Dukes of Hackers] (space in Den Bosch) pointed me something interesting, which I thought wasn't available anymore.  He had set up a 'buying together' thing for it.
  
== buying COM-ON-AIR's and adapter together ==
+
There is [https://dedected.org/trac/wiki/COM-ON-AIR a card] with a SC14421 chipset which allows you to set up a DECT base station, which could be used in our own [[Telephone_System]], or with the correct driver, also usable for (permissory) sniffing of calls.
'''Note: if you are interested in buying this stuff, ask [[User:Xopr|Xopr]] first, he might have a spare one. Otherwise you have to set up your 'buy-together' again here yourself'''
 
  
[[User:Xopr|Xopr]] 16:30, 10 April 2011 (CEST) bought 4 pieces of [http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=130505429459 COM-ON-AIR] for €110,71, and 2 Cardbus-to-PCI cards for US $16.60 -> €11.79 as of paypal's exchange rate today.
+
== COM-ON-AIR card ==
Cost per COM-ON-AIR thus is: €27.6775 -> €27.68,
+
The cards ordered in the [[#buying hardware together|buying hardware together]] section contain the following chips:
and per PCI adapter: €5.895 -> €5.90
+
* PCM16C010: Configurable PC Card Interface Chip, front left
 +
* '''[[Media:SC14422_datasheet.pdf|SC14421CVF]]''': Complete Baseband Processor for DECT Base Stations, front right (also, see [[Media:SC14425_datasheet.pdf|SC14425]] and [[Media:SC14428 datasheet.pdf|SC14428]])
 +
* '''[[Media:LMX3161 datasheet.pdf|LMX3161]]''': Single Chip Radio Transceiver, inside the HF shielded module on the front
 +
* E622A: Integrated Quad Half-Bridge, inside the HF shielded module on the front
 +
* 2205AF: 3.6V 0.5W RF Power Amplifier IC for DECT, inside the HF shielded module on the front
 +
* VHCT04A: Hex inverter, on the back
 +
* 93LC86: 8K/16K 2.5V Microwire Serial EEPROM, on the back
 +
Click on the chip to view the data sheet.
  
* [[User:Xopr|Xopr]] 3 x €27.68 (1 spare for [[User:LuckY|LuckY]], or the first one interested) DELIVERED
+
The bold printed chips do the magic.
  
* [[User:Prodigity|Prodigity]] (I have an expresscard slot which may support PCMCIA, see italic text below) 1 x €27.68 ORDERED OPEN_PAYMENT
+
Note that there is support for the SC1442x and U2785 Com-on-air cards.
  
 +
<gallery>
 +
File:Coa inside.jpg
 +
File:Coa_back.jpg
 +
</gallery>
  
 +
[[User:Prodigity|Prodigity]] notes:
 
''Because of the lack of backward compatibility, some laptop manufacturers have chosen to release models incorporating both CardBus (PCMCIA, PC Card) and ExpressCard slots. These include certain models of Acer Aspire, Toshiba Satellite, Dell Latitude and Precision, MSI S42x and Lenovo ThinkPad Z60m, R52, T60 and R61.''
 
''Because of the lack of backward compatibility, some laptop manufacturers have chosen to release models incorporating both CardBus (PCMCIA, PC Card) and ExpressCard slots. These include certain models of Acer Aspire, Toshiba Satellite, Dell Latitude and Precision, MSI S42x and Lenovo ThinkPad Z60m, R52, T60 and R61.''
  
 +
== PCI to PCMCIA type III adapter ==
 +
Tested if the DECT card would fit and work, and this is the result:
 +
<pre>
 +
root@persephone:/home/xopr# grep pcmcia /var/log/messages
 +
<...>
 +
Apr 21 20:53:30 persephone kernel: [    7.140936] yenta_cardbus 0000:03:00.0: pcmcia: parent PCI bridge I/O window: 0x4000 - 0x4fff
 +
Apr 21 20:53:30 persephone kernel: [    7.140943] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x4000-0x4fff: clean.
 +
Apr 21 20:53:30 persephone kernel: [    7.141432] yenta_cardbus 0000:03:00.0: pcmcia: parent PCI bridge Memory window: 0x24000000 - 0x29ffffff
 +
Apr 21 20:53:30 persephone kernel: [    7.141439] yenta_cardbus 0000:03:00.0: pcmcia: parent PCI bridge Memory window: 0x20000000 - 0x23ffffff
 +
Apr 21 20:53:30 persephone kernel: [    8.196027] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
 +
Apr 21 20:53:30 persephone kernel: [    8.196048] pcmcia_socket pcmcia_socket0: cs: memory probe 0x24000000-0x29ffffff: excluding 0x24000000-0x281fffff 0x28e00000-0x293fffff
 +
Apr 21 20:53:30 persephone kernel: [    8.197524] pcmcia 0.0: pcmcia: registering new device pcmcia0.0
 +
Apr 21 20:53:30 persephone kernel: [    8.228685] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af:
 +
Apr 21 20:53:30 persephone kernel: [    8.229594] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: clean.
 +
Apr 21 20:53:30 persephone kernel: [    8.229742] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
 +
Apr 21 20:53:30 persephone kernel: [    8.229919] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: clean.
 +
Apr 21 20:53:30 persephone kernel: [    8.230268] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
 +
root@persephone:/home/xopr# lspci
 +
<...>
 +
03:00.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
 +
root@persephone:/home/xopr# pccardctl status
 +
Socket 0:
 +
  5.0V 16-bit PC Card
 +
  Subdevice 0 (function 0) [unbound]
 +
root@persephone:/home/xopr# pccardctl info
 +
PRODID_1="DOSCH-AMAND"
 +
PRODID_2="MMAP PCMCIA"
 +
PRODID_3="MXM500"
 +
PRODID_4="V1.00"
 +
MANFID=0204,0000
 +
FUNCID=254
 +
</pre>
  
A [http://cgi.ebay.com/16-32-Bits-PCMCIA-CardBus-PCI-Adaptor-desktop-PC-/400208213099?pt=LH_DefaultDomain_0&hash=item5d2e44b46b pcmcia pci adapter] ''(updated)'' untested yet for compatibility on the type III cards, but should work
+
* [[User:Xopr|Xopr]] 2 x €5.90 DELIVERED
 
 
* [[User:Xopr|Xopr]] 2 x €5.90 SHIPPED
 
  
 
Hint: add yourself with:  
 
Hint: add yourself with:  
 
  * <nowiki>~~~</nowiki>
 
  * <nowiki>~~~</nowiki>
 +
 +
== buying hardware together ==
 +
'''Note: if you are interested in buying this stuff, ask [[User:Xopr|Xopr]] first, he might have a spare one. Otherwise you have to set up your 'buy-together' again here yourself'''
 +
 +
* The previous [http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=130505429459 COM-ON-AIR] buy together was 10 April 2011, which cost €27.6775,
 +
* The previous [http://cgi.ebay.com/16-32-Bits-PCMCIA-CardBus-PCI-Adaptor-desktop-PC-/400208213099?pt=LH_DefaultDomain_0&hash=item5d2e44b46b pcmcia pci adapter] cost €5.895.
 +
 +
== compiling the drivers ==
 +
* [https://dedected.org dedected source] just doesn't seem to compile on newer kernels.
 +
* The [http://dect.osmocom.org/ osmocom DECT stack] still isn't up and running (at least for [[User:Xopr|Xopr]]), but this source tree will give the best effort/success ratio
 +
After the toolset is compiled successfully, details will follow here
 +
(see Conclusion on the {{discuss}}).
 +
 +
== creating a freeswitch endpoint module ==
 +
I ([[User:Xopr|Xopr]]) find this the 'innovative' part of the project ;)
 +
 +
Just as there is Asterisk module [http://dect.osmocom.org/cgi-bin/gitweb.cgi?p=asterisk.git;a=summary source code] for the DECT stack, there should be something similar for [http://freeswitch.org/ FreeSWITCH].
 +
I [http://wiki.freeswitch.org/wiki/FreeSwitch_Modules haven't seen any], so I'm planning to set it up myself, after I can compile the basics successfully.
 +
There is a lot to do here, so the more people committing, the merrier.
 +
 +
[[Category:Telephony]]

Latest revision as of 13:31, 23 September 2016

Project: DECT
Featured:
State Stalled
Members xopr
GitHub No GitHub project defined. Add your project here.
Description
Picture
Coa front.jpg

We have DECT in the space using a Fritz!Box, but still want to use a Com-on-air card for DECT provisioning. Currently, extension 109 is assigned to a handset.

Feel free to add solutions and specs here, and idea's or progress logs on the discussion page.

intro

DECT, one of the common wireless standards you will find in telephony, is fairly exploited, and can be a fun playground for phreaks and other geeks :)

KingOfDos, member of Dukes of Hackers (space in Den Bosch) pointed me something interesting, which I thought wasn't available anymore. He had set up a 'buying together' thing for it.

There is a card with a SC14421 chipset which allows you to set up a DECT base station, which could be used in our own Telephone_System, or with the correct driver, also usable for (permissory) sniffing of calls.

COM-ON-AIR card

The cards ordered in the buying hardware together section contain the following chips:

  • PCM16C010: Configurable PC Card Interface Chip, front left
  • SC14421CVF: Complete Baseband Processor for DECT Base Stations, front right (also, see SC14425 and SC14428)
  • LMX3161: Single Chip Radio Transceiver, inside the HF shielded module on the front
  • E622A: Integrated Quad Half-Bridge, inside the HF shielded module on the front
  • 2205AF: 3.6V 0.5W RF Power Amplifier IC for DECT, inside the HF shielded module on the front
  • VHCT04A: Hex inverter, on the back
  • 93LC86: 8K/16K 2.5V Microwire Serial EEPROM, on the back

Click on the chip to view the data sheet.

The bold printed chips do the magic.

Note that there is support for the SC1442x and U2785 Com-on-air cards.

Prodigity notes: Because of the lack of backward compatibility, some laptop manufacturers have chosen to release models incorporating both CardBus (PCMCIA, PC Card) and ExpressCard slots. These include certain models of Acer Aspire, Toshiba Satellite, Dell Latitude and Precision, MSI S42x and Lenovo ThinkPad Z60m, R52, T60 and R61.

PCI to PCMCIA type III adapter

Tested if the DECT card would fit and work, and this is the result:

root@persephone:/home/xopr# grep pcmcia /var/log/messages 
<...>
Apr 21 20:53:30 persephone kernel: [    7.140936] yenta_cardbus 0000:03:00.0: pcmcia: parent PCI bridge I/O window: 0x4000 - 0x4fff
Apr 21 20:53:30 persephone kernel: [    7.140943] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x4000-0x4fff: clean.
Apr 21 20:53:30 persephone kernel: [    7.141432] yenta_cardbus 0000:03:00.0: pcmcia: parent PCI bridge Memory window: 0x24000000 - 0x29ffffff
Apr 21 20:53:30 persephone kernel: [    7.141439] yenta_cardbus 0000:03:00.0: pcmcia: parent PCI bridge Memory window: 0x20000000 - 0x23ffffff
Apr 21 20:53:30 persephone kernel: [    8.196027] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
Apr 21 20:53:30 persephone kernel: [    8.196048] pcmcia_socket pcmcia_socket0: cs: memory probe 0x24000000-0x29ffffff: excluding 0x24000000-0x281fffff 0x28e00000-0x293fffff
Apr 21 20:53:30 persephone kernel: [    8.197524] pcmcia 0.0: pcmcia: registering new device pcmcia0.0
Apr 21 20:53:30 persephone kernel: [    8.228685] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af:
Apr 21 20:53:30 persephone kernel: [    8.229594] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: clean.
Apr 21 20:53:30 persephone kernel: [    8.229742] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
Apr 21 20:53:30 persephone kernel: [    8.229919] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: clean.
Apr 21 20:53:30 persephone kernel: [    8.230268] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
root@persephone:/home/xopr# lspci
<...>
03:00.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
root@persephone:/home/xopr# pccardctl status
Socket 0:
  5.0V 16-bit PC Card
  Subdevice 0 (function 0) [unbound]
root@persephone:/home/xopr# pccardctl info
PRODID_1="DOSCH-AMAND"
PRODID_2="MMAP PCMCIA"
PRODID_3="MXM500"
PRODID_4="V1.00"
MANFID=0204,0000
FUNCID=254
  • Xopr 2 x €5.90 DELIVERED

Hint: add yourself with:

* ~~~

buying hardware together

Note: if you are interested in buying this stuff, ask Xopr first, he might have a spare one. Otherwise you have to set up your 'buy-together' again here yourself

compiling the drivers

  • dedected source just doesn't seem to compile on newer kernels.
  • The osmocom DECT stack still isn't up and running (at least for Xopr), but this source tree will give the best effort/success ratio

After the toolset is compiled successfully, details will follow here (see Conclusion on the discussion page).

creating a freeswitch endpoint module

I (Xopr) find this the 'innovative' part of the project ;)

Just as there is Asterisk module source code for the DECT stack, there should be something similar for FreeSWITCH. I haven't seen any, so I'm planning to set it up myself, after I can compile the basics successfully. There is a lot to do here, so the more people committing, the merrier.