keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about B100/200/400/800 ISDN BRI Cards

Add a patch for HFC-XS Vddst in hfc_multi.c

15 years 8 months ago #1777 by james.zhu
hello, all of users:
if you want to add a patch to adjust the Vddst, you can patch that.
open the file hfc_multi.c, find out the line 3199, after that line, add :
HFC_outb(hc, R_PWM_MD, V_PWM0_MD*2);
HFC_outb(hc, R_PWM0, 0x10);
HFC_outb(hc, R_PWM1, 0xff);
after editing, the partial of code will be like this:
HFC_outb(hc, A_ST_WR_STATE, a_st_wr_state | V_ST_LD_STA);
udelay(6); /* wait at least 5,21us */
HFC_outb(hc, A_ST_WR_STATE, a_st_wr_state);
r_sci_msk |= 1 << port;
i++;
}
// printk(KERN_INFO "WX TEST ADJUST VDDST.......................");
HFC_outb(hc, R_PWM_MD, V_PWM0_MD*2);
HFC_outb(hc, R_PWM0, 0x10);
HFC_outb(hc, R_PWM1, 0xff);


/* state machine interrupts */
HFC_outb(hc, R_SCI_MSK, r_sci_msk);
} else {
/* E1 */
if (test_bit(HFC_CFG_REPORT_LOS, &hc->chan[16].cfg)) {
HFC_outb(hc, R_LOS0, 255); /* 2 ms */
HFC_outb(hc, R_LOS1, 255); /* 512 ms */
this patch tested under mISDN-1_1_8, if you use other versions, please find the right position to edit that.
regards!
James.zhu

Attachments:
15 years 6 months ago #2211 by vmiro
What is Vddst ? :?
15 years 6 months ago #2217 by SZWX70
Vddst is voltage which adjust the S/T output amplitude.
Time to create page: 0.034 seconds
Powered by Kunena Forum