[Asterisk-bsd] Passing opemode parameter to zaptel drivers

Max Khon fjoe at samodelkin.net
Wed Sep 1 05:11:12 CDT 2010


Hi!

On Wed, Sep 1, 2010 at 3:35 PM, giovanni.v <iax at keybits.org> wrote:

Firt thing, I want to say a heartfelt *THANK YOU* to Mark for his effort
> porting and mantaining the Dahdi freeBSD port.
>
> I think it's the right time to revive an old question about setting the
> opermode in wcfxs/wcfxo zaptel kernel modules to meet regional pstn
> requirements.
>

All device driver parameters are exposed as sysctl's and it is possible to
specify them as tunables via "kenv" or /boot/loader.conf.

So you can use one of the following methods to specify e.g. opermode
parameter for wctdm24xxp driver:
- run 'kenv dahdi.wctdm24xxp.opermode="FCC"'
- put 'dahdi.wctdm24xxp.opermode="FCC"' in /boot/loader.conf

You can use 'sysctl -a | grep dahdi.wctdm24xxp' to examine driver parameters
after it is loaded.

Max

PS I've just noticed that opermode sysctl is not correctly defined for
"wctdm" driver. I'll fix it in the next rc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-bsd/attachments/20100901/976398f5/attachment-0001.htm 


More information about the Asterisk-BSD mailing list