在Ubuntu21.04上,我无法获得hylafax 6.0.7成功探测两个不同的USRobotics调制解调器:一个是一个USB5637和一个通用的“USB2.056KModem”与Conexant芯片组。
我安装了hylafax-server
,并将以下内容附加到/etc/udev/rules.d/50-myusb.rules
中,以便Ubuntu允许写入调制解调器:
KERNEL=="ttyUSB[0-9]*",MODE="0666"
KERNEL=="ttyACM[0-9]*",MODE="0666"
当两个调制解调器都使用cu
时,我得到以下输出:
figs@thinkpad:~$ cu -l ttyACM0
Connected.
at+fclass=?
0,1,8
OK
~.
Disconnected.
figs@thinkpad:~$ cu -l ttyACM1
Connected.
at+fclass=?
0,1,1.0,2,8
OK
~.
Disconnected.
figs@thinkpad:~$
下面是安装在/dev/上的两个调制解调器的权限:
crw-rw-rw- 1 root dialout 166, 0 Jul 22 19:35 ttyACM0
crw-rw-rw- 1 root dialout 166, 1 Jul 22 19:36 ttyACM1
当我运行probemodem
时,两个调制解调器挂起:
figs@thinkpad:/dev$ sudo probemodem
Serial port that modem is connected to []? ttyACM0
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. 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
figs@thinkpad:/dev$ sudo probemodem
Serial port that modem is connected to []? ttyACM1
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. 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
cu
响应查询,但不会完成probemodem
。probemodem
声明没有安装fuser
,但是我发出了fuser
命令,尽管它没有出现在synaptic中,或者给出了从apt-get install fuser
声明的任何输出,但它确实存在。probemodem
成功地探测调制解调器?权限在什么地方搞砸了吗?在互联网的其他地方,有报道说成功地使用了USR5637.我需要在什么地方换东西吗?我漏掉了什么东西还是应该起作用?我是更高级Linux公司的新手,也不知道如何用USB调制解调器运行hylafax。
发布于 2022-10-30 19:17:55
我现在也是一样的:
服务器:Ubuntu22.04.1 LTS
现代美国机器人5637不工作与Hylafax 6.0.7!
服务器挂起faxaddmodem就像使用probemodem一样。两人的行为完全一样。如果您查看使用ps辅助grep调制解调器的进程,两个程序都创建相同的进程。仅在相应的程序名称下。
faxaddmodem在输入所有请求的参数时挂起,程序希望第一次访问和测试调制解调器。
您还可以使用-s开关启动faxaddmodem并指定速度。例如faxaddmodem -s 19200。然后,faxaddmodem在一个没完没了的循环中报告调制解调器没有响应,您应该检查正在发生的事情。这个循环不能中断!
调制解调器在/dev/ttyACM0下自动检测和挂载。这是立即准备使用,没有任何进一步的驱动。对于终端程序minicom,您可以立即使用它。建立联系。来电已发出信号。
但是,如上所述,Hylafax faxaddmodem挂起。然后,它只会帮助终止进程和删除/var/lock/LCK.ttyACM0 0,否则对调制解调器的访问将被阻塞。此外,在/tmp/..faxaddmodem或/tmp/..probemodem下面创建了临时文件,可以删除这些文件(无需重新启动)。
我现在也不知道该怎么办。
更新:同时,这个USB调制解调器工作得很好!解决办法是什么?
非常简单:将它从USB3.0端口插入到USB2.0端口。调制解调器随后立即与Hylafax一起工作。难以置信!因为它与minicom一起工作在USB3.0端口上。
会节省我很多小时的时间来知道这一点。这是我的最新消息。也许这能帮别人节省很长时间的搜索时间。
结论:当连接到USB2.0端口时,USB USR5637在具有Hylafax和minicom的Linux下工作良好。
https://askubuntu.com/questions/1353503
复制相似问题