i hope this is the right list, because i wasn't able to find a special mISDN-dev mailing list.
we have a setup of one 8S0 and one 2E1 card which are interconnected by a PCM cable. one E1 port is connected to the provider, the other E1 to our old ericsson pbx, the S0 port are connected to some internal a/b adaptors and another interconnect to our ericsson (no connection to a telco provider on the S0 ports) therefore our clocksource for all cards has to be the E1 coming from our telco. the problem is, that because the two E1 chips are behind a pci-bridge (on the 2E1 card), they are the last devices in the pci-device-list and the 8S0 is the first device which is recognised by the hfc_multi kernel module, no matter in which order the cards are put into the pci slots. but, being the first device and having no clocksource the 8S0 card lets fail the hfc_multi kernel-module during initialisation. the problem is, that this piece of code in hfc_multi.c overwrites any settings of 'ignore_pcm_frameclock="yes"' in mISDN.conf without any warning. >#ifdef SINGLE_INTERRUPT > /* > * only first device gets timer interrupt, so the > * others don't have to wait for it > */ > if (HFC_idx > 0) > test_and_set_bit(HFC_CHIP_CLOCK_IGNORE, &hc->chip); >#else > if (type & 0x1000) > test_and_set_bit(HFC_CHIP_CLOCK_IGNORE, &hc->chip); >#endif i don't have any idea, but to undefining SINGLE_INTERRUPT (with all it's disadvantages) or to only enable the else part of this code fragment (but this might enable more then one interrupt). i think there should be an easy possibility in mISDN to make an incoming E1 link to the PCM and clock master of all connected ISDN hardware. any comments / code changes are welcome! regards frank sautter _______________________________________________ Misdn-asterisk mailing list [email protected] http://lists.beronet.com/cgi-bin/mailman/listinfo/misdn-asterisk
