DECT

From Hackerspace ACKspace
Jump to: navigation, search
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.