首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >hylafax无法探测USB调制解调器

hylafax无法探测USB调制解调器
EN

Ask Ubuntu用户
提问于 2021-07-23 00:11:28
回答 1查看 524关注 0票数 2

在Ubuntu21.04上,我无法获得hylafax 6.0.7成功探测两个不同的USRobotics调制解调器:一个是一个USB5637和一个通用的“USB2.056KModem”与Conexant芯片组。

我安装了hylafax-server,并将以下内容附加到/etc/udev/rules.d/50-myusb.rules中,以便Ubuntu允许写入调制解调器:

代码语言:javascript
运行
复制
KERNEL=="ttyUSB[0-9]*",MODE="0666"
KERNEL=="ttyACM[0-9]*",MODE="0666"
  1. 这有必要吗?

当两个调制解调器都使用cu时,我得到以下输出:

代码语言:javascript
运行
复制
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:~$
  • 这两个调制解调器都支持传真类1与Hylafax一起工作。

下面是安装在/dev/上的两个调制解调器的权限:

代码语言:javascript
运行
复制
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时,两个调制解调器挂起:

代码语言:javascript
运行
复制
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
  • ttyACM0 (USR5637)物理数据短暂闪烁,然后挂起超过1天,然后我放弃并终止该进程。
  • ttyACM1 (“USB2.056KModem”)也这样做:
代码语言:javascript
运行
复制
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声明的任何输出,但它确实存在。
  1. 如何使probemodem成功地探测调制解调器?权限在什么地方搞砸了吗?在互联网的其他地方,有报道说成功地使用了USR5637.我需要在什么地方换东西吗?

我漏掉了什么东西还是应该起作用?我是更高级Linux公司的新手,也不知道如何用USB调制解调器运行hylafax。

EN

回答 1

Ask Ubuntu用户

发布于 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下工作良好。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1353503

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档