Date: Tue, 7 Feb 2012 07:52:16 +0200 From: Marcel Grandemange <Marcel@innervation.co.za> To: "ports@FreeBSD.org" <ports@FreeBSD.org> Subject: FW: FreeBSD Port: dahdi-kmod-2.4.0rc5_3 Message-ID: <D950CD58947CF84ABB29B233740A55271296FE3AEB@HMC-EXVS2.hmc.local>
next in thread | raw e-mail | index | archive | help
Good Day I don't know where else to post the question but I have a yeastar TDM800 ca= rd and am trying to setup asterisk on FreeBSD, now the card does not get pi= cked up by the dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1 package. Now I know the package has been ported from the linux one and im sure the l= inux driver can be modded to work with bsd version of dahdi. The "driver" file is easily available as ystdm8xx.c FreeBSD has the package "dahdi-kmod-2.4.0rc5_2 Digium/Asterisk Hardware Dev= ice Interface" for this. Now it is a full port of the Linux dahdi and comes= with the usual standard support for Digium based cards but not the TDM800 = from yeastar. Because it's FreeBSD I cannot follow the instruction for incl= uding ystdm8xx as part of the drivers for DAHDI. However after some digging= I noticed the ystdm8xx.c & wctdm.c are virtually the same and because the = TDM400 is supposed to be FULLY compatible with the digium I'm sure I simply= need to patch a file and I will be on my way. I also tried hacking the current drivers to include the device ID of my car= d to see if that works, tied with both base.c of the wct4xxp driver (Which = IS compatible with yeastar TDM400) and wctdm.c Both returned similar results: dahdi: Telephony Interface Registered on major 196 dahdi: Version: 2.4.0-rc5 wct4xxp0: vendor=3De159 device=3D1 subvendor=3D2151 wct4xxp0: <Wildcard TE410P/TE405P (1st Gen)> port 0x2000-0x20ff mem 0xe4140= 000-0xe4140fff irq 18 at device 2.0 on pci7 wct4xxp0: Can't allocate memory resource device_attach: wct4xxp0 attach returned 6 pciconf -lv lists my card as: none2@pci0:7:2:0:=A0=A0=A0=A0=A0=A0 class=3D0x028000 card=3D0x00012151 chip= =3D0x0001e159 rev=3D0x00 hdr=3D0x00 =A0=A0=A0 vendor=A0=A0=A0=A0 =3D 'Tiger Jet Network Inc' =A0=A0=A0 device=A0=A0=A0=A0 =3D 'Multiple devices use this ID: General Pur= pose I/O Controller' =A0=A0=A0 class=A0=A0=A0=A0=A0 =3D network I really hope you have a moment to assist me with this.. Regards
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D950CD58947CF84ABB29B233740A55271296FE3AEB>