Freebsd下安装Hylafax的补丁

hylafax安装过程没问题,运行faxsetup,后面要求写端口的时候

Serial port that modem is connected to []? cuad0
Hmm, there does not appear to be an fuser command on your machine.
This means that I am unable to ensure that all processes using the
modem have been killed.  I will keep going, but beware that you may
have competition for the modem.

...省略.....

Now we are going to probe the tty port to figure out the type
of modem that is attached.  This takes a few seconds, so be patient.
Note that if you do not have the modem cabled to the port, or the
modem is turned off, this may hang (just go and cable up the modem
or turn it on, or whatever).

Probing for best speed to talk to modem: 38400 OK.
Terminated

About fax classes:

The difference between fax classes has to do with how HylaFAX interacts
with the modem and the fax protocol features that are used when sending
or receiving faxes.  One class isn't inherently better than another;
however, one probably will suit a user's needs better than others.

Class 1 relies on HylaFAX to perform the bulk of the fax protocol.
Class 2 relies on the modem to perform the bulk of the fax protocol.
Class 2.0 is similar to Class 2 but may include more features.
Class 1.0 is similar to Class 1 but may add V.34-fax capability.
Class 2.1 is similar to Class 2.0 but adds V.34-fax capability.

HylaFAX generally will have more features when using Class 1/1.0 than
when using most modems' Class 2 or Class 2.0 implementations.  Generally
any problems encountered in Class 1/1.0 can be resolved by modifications
to HylaFAX, but usually any problems encountered in Class 2/2.0/2.1 will
require the modem manufacturer to resolve it.

If you're unsure and your modem supports it, use Class 1.

Hmm, this looks like a Class 1 modem.

Hmm, something seems to be hung, check your modem eh?
Product code (ATI0) is "1.0".

Hmm, something seems to be hung, check your modem eh?
Other information (ATI3) is "MD56xx".
DTE-DCE flow control scheme [default]?
Hmm, something seems to be hung, check your modem eh?

然后系统就一直提示Hmm, something seems to be hung, check your modem eh?这句话,我看到其他人在freebsd 5.X上也有这个问题,解决不了。


重要的是,这个同样的modem,在debian 3和hylafax的系统上顺利通过。

-----------------------------------------------

现在faxaddmodem可以通过,参考网上的一些信息,我做了个补丁patch-etc-faxaddmodem.sh.in,放在/usr/ports/comms/hylafax/files下面,收发传真的测试成功。 对应的版本为hylafax-4.3.2

etc/faxaddmodem.sh.in如下
---  etc / faxaddmodem.sh. in .orig    Thu Aug  16   16 : 11 : 13   2007
+++  etc / faxaddmodem.sh. in     Thu Aug  16   16 : 11 : 43   2007
@@ 
- 869 , 7   + 869 , 7  @@
     # reset the modem.  If something goes wrong, it
' ll
     # nag the user to check on the problem.
     #
-     (trap  " exit 1 "   1   2   15 ;
+     (trap  " exit 1 "   1   2 ;
      
while   true do
     sleep 
10 ;
     echo 
""
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值