Package Details: dahdi-linux 3.3.0-1

Git Clone URL: https://aur.archlinux.org/dahdi-linux.git (read-only, click to copy)
Package Base: dahdi-linux
Description: DAHDI drivers for Asterisk (Digium, OpenVox, Allo and Yeastar cards)
Upstream URL: http://www.asterisk.org
Licenses: GPL2
Conflicts: dahdi, zaptel
Provides: dahdi
Submitter: mbroemme
Maintainer: None
Last Packager: MarsSeed
Votes: 24
Popularity: 0.000000
First Submitted: 2015-02-10 19:19 (UTC)
Last Updated: 2024-03-28 16:30 (UTC)

Dependencies (6)

Required by (6)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

yaspoon commented on 2015-08-21 07:32 (UTC)

Package won't build with 4.1 kernels. Needs a small patch to get it to compile with IRQ_SAHRED which was removed in kernel 4.1. Commenting out the IRQ references allows it to compile and works on my system. Not sure what remifications this has though. http://pastebin.com/HmheekZp <- Hack I created to get it to compile http://pastebin.com/tjgB5rR2 <- modified pkgbuild I used

mbroemme commented on 2015-02-10 19:28 (UTC)

@magicrhesus: I like the package a lot but it doesn't include all drivers (only those from Digium). I've created two new packages: https://aur.archlinux.org/packages/dahdi-linux/ https://aur.archlinux.org/packages/dahdi-tools/ They include all drivers from Digium, OpenVox, Allo and Yeastar for their PCI(e) cards and their FXS/FXO modules. Also I've splitted it in two packages as recommended by Digium and kernel modules are installed in extramodules directory so that recompile is not needed on minor kernel upgrades. I will maintain the patches and packages as I own some of the cards and use them with your Asterisk package.

mbroemme commented on 2015-02-09 23:22 (UTC)

@magicrhesus: It looks like it is not possible to install the package anymore on latest Arch Linux. It fails with: error: failed to commit transaction (conflicting files) dahdi: /lib exists in filesystem dahdi: /usr/sbin exists in filesystem Errors occurred, no packages were upgraded. The 'Makefile.patch' is not enough anymore, I've changed the PKGBUILD a bit. I've removed Makefile.patch completely and added in build() section before make the following: sed 's,./configure --with-dahdi=../linux,./configure --with-dahdi=../linux --sbindir=/usr/bin,' -i Makefile sed 's,$(prefix)/sbin,$(prefix)/bin,' -i tools/xpp/Makefile In package() section I've added at the end: mv "${pkgdir}/lib/firmware" "${pkgdir}/usr/lib" mv "${pkgdir}/lib/modules" "${pkgdir}/usr/lib" rmdir "${pkgdir}/lib" PS: What is the reason for keeping 'dahdi.service' as it is not packaged anymore?

itsjapie commented on 2013-04-05 12:29 (UTC)

Patch is available for compile error @ http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=66a300f3387b0832a0c027b1e841630c5c4344e9 Save file as kernel.h.patch and use the following PKGBUILD (updated pkgver to 2.6.2-rc1) # Contributor: Jonathan Liu <net147@gmail.com> pkgname=dahdi pkgver=2.6.2_rc1 _realpkgver=${pkgver/_/-} pkgrel=1 pkgdesc="DAHDI drivers for Asterisk" arch=('i686' 'x86_64') url="http://www.asterisk.org/" license=('GPL2') depends=('kernel26' 'libusb' 'perl') makedepends=('kernel26-headers') conflicts=('zaptel') install="${pkgname}.install" source=("http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/dahdi-linux-${_realpkgver}.tar.gz" "http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-064-1.05.01.tar.gz" "http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-128-1.05.01.tar.gz" "http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-256-1.05.01.tar.gz" "http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-tc400m-MR6.12.tar.gz" "http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-te820-1.76.tar.gz" "http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-hx8-2.06.tar.gz" "http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-vpmoct032-1.12.0.tar.gz" "http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz" "oslec-20110706.patch" "Makefile.patch" "kernel.h.patch") md5sums=('2e33ebc48bf6f4a0f2fc7fde44184e9f' '88db9b7a07d8392736171b1b3e6bcc66' 'c1f1a18d3e20d283f42c71e580a64b5a' '4b3b763fc89f81d569a42da7c9ef0eee' '2ea860bb8a9d8ede2858b9557b74ee3c' '07b389e2a4f2a2513240187f1c295626' 'a7f3886942bb3e9fed349a41b3390c9f' '2c7d5b17c23c34624158ee640818043b' '19a660c2073749641072ca644e983cbc' 'cd9546cbdcb273a0d82f96dc07a8b33e' '5f27b1a1005d41bd74ba9bdfe88223bb' '3c0b6fc8c74f45164a6165d5abf582e3') build() { cd "${srcdir}/dahdi-linux-${_realpkgver}/include/dahdi" patch -i "${srcdir}/kernel.h.patch" cd "${srcdir}" [ -d linux-stable-61d62b0 ] || patch -Np1 -i "${srcdir}/oslec-20110706.patch" cd "${srcdir}/dahdi-linux-${_realpkgver}" mkdir -p drivers/staging cp -a "${srcdir}/linux-stable-61d62b0" drivers/staging/echo ln -sf "${srcdir}"/dahdi-fw*.tar.gz "drivers/dahdi/firmware/" mv "${srcdir}"/dahdi-fw*.bin "drivers/dahdi/firmware/" patch -Np1 -i "${srcdir}/Makefile.patch" make DESTDIR="${pkgdir}" modules } package() { cd "${srcdir}/dahdi-linux-${_realpkgver}" make DYNFS=1 DESTDIR="${pkgdir}" install } # vim:set ts=2 sw=2 et:

ymyasoedov commented on 2013-03-19 14:05 (UTC)

Can't build with the latest kernel 3.8.3 See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699295 CC [M] /tmp/yaourt-tmp-root/aur-dahdi/src/dahdi-linux-2.6.1/drivers/dahdi/wctdm.o /tmp/yaourt-tmp-root/aur-dahdi/src/dahdi-linux-2.6.1/drivers/dahdi/wctdm.c:2604:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wctdm_init_one’ ... cc1: some warnings being treated as errors make[2]: *** [/tmp/yaourt-tmp-root/aur-dahdi/src/dahdi-linux-2.6.1/drivers/dahdi/wctdm.o] Ошибка 1 make[1]: *** [_module_/tmp/yaourt-tmp-root/aur-dahdi/src/dahdi-linux-2.6.1/drivers/dahdi] Error 2 make[1]: Leaving directory `/usr/src/linux-3.8.3-2-ARCH' make: *** [modules] Error 2

gdamjan commented on 2012-11-27 15:51 (UTC)

I'm getting this error while trying to build dahdi with aurget patching file linux-stable-61d62b0/oslec.h patching file linux-stable-61d62b0/TODO patching file Makefile Hunk #1 succeeded at 132 (offset 4 lines). Hunk #2 succeeded at 149 (offset -24 lines). Hunk #3 succeeded at 164 (offset -24 lines). make: *** /.config: Is a directory. Stop. ==> ERROR: A failure occurred in build(). Aborting...

net147 commented on 2012-05-17 10:30 (UTC)

Updated to 2.6.1.

net147 commented on 2012-05-17 10:30 (UTC)

Updated to 2.6.1 and fixed oslec md5sum.