![如何验证调制解调器是传真调制解调器?](https://linux22.com/image/201656/%E5%A6%82%E4%BD%95%E9%AA%8C%E8%AF%81%E8%B0%83%E5%88%B6%E8%A7%A3%E8%B0%83%E5%99%A8%E6%98%AF%E4%BC%A0%E7%9C%9F%E8%B0%83%E5%88%B6%E8%A7%A3%E8%B0%83%E5%99%A8%EF%BC%9F.png)
HP 8440p 笔记本电脑配备了 Ubuntu 16.04。它有一个 RJ11 电话端口,可能是传真调制解调器。这快速规格usr K-att 提供的文档表明它是传真调制解调器。
目标包括:
从命令行验证所述硬件是传真调制解调器
验证传真软件的驱动程序和其他必要条件是否满足。
实现上述目标的终端命令是什么?
lsusb 返回:
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b15e Chicony Electronics Co., Ltd
Bus 001 Device 003: ID 03f0:231d Hewlett-Packard Broadcom 2070 Bluetooth Combo
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lspci 返回:
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation QM57 Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [NVS 3100M] (rev a2)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
44:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
45:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 06)
45:06.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 25)
45:06.2 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev bb)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
ff:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
ff:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
ff:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
ff:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
ff:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
ff:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
ff:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
ff:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
ff:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
ff:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
ff:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)
答案1
部分答案:
谷歌搜索这台笔记本电脑的调制解调器驱动程序发现这,它提供了“LSI HDA”驱动程序。谷歌搜索“LSI HDA”表明它确实似乎是一个“高清晰度音频”调制解调器,这意味着它可能连接到您的内部声卡(并且您lspci
显示它确实是英特尔 HDA)。
所以下一步是查看编解码器:
cat /proc/asound/card*/codec\#*
看看是否能找到任何看起来像是调制解调器的东西。也许他们只是将通用编解码器的一个合适的引脚连接到 RJ11...
这也可能意味着它是一个“Softmodem”,我假设你只是从电话线获取音频流(我什至无法想象他们如何拨号......生成两个-软件中的音频拨号代码?)。
这尤其意味着所有传真功能也都在软件中。
那里有一些纯软件调制解调器 Linux 的东西,但我上次看时,它还不是很成熟。如果您发现对您有用的东西,请务必在这里留下答案。
查看编解码器转储,以下似乎是您的调制解调器:
Codec: LSI Generic HDMI
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x11c11040
Subsystem Id: 0x103c3066
Revision Id: 0x100200
Modem Function Group: 0x1
(您自己可能会发现,我所做的只是通读转储,并且“LSI”和“调制解调器”这两个词很突出,尽管“HDMI”在这里有点令人困惑)
谷歌搜索供应商 ID 发现显然制造此产品的公司名为杰尔在并入LSI之前,它还发现这位司机,以及各种报告表明这很难发挥作用(例如这里)。
驱动程序代码最后一次更改是在 7 年前,因此它可能适用于当前的内核,也可能不适用于当前的内核。此外,对等 Nvidia HDMI HDA 编解码器不在支持列表。
因此,原则上您拥有完成这项工作的一切条件,但您很可能需要一些 C 和内核技能才能通过小的修改来实际做到这一点。您可能还想进行更多谷歌搜索。
而且我没有详细查看驱动程序,所以我不知道它是否支持传真模式。
也可能相关,来自第 1 个自述文件:
agrmodemlib.o_shipped 在 LSI Inc. 使用 32 位编译器进行预编译。
因此,当前版本与 x86_64(64 位)操作系统不兼容,尽管 x86_64 主板通常支持 32 位仿真,调制解调器应在该仿真下运行。11c11040 支持最初是针对具有 2.6.20 内核的 Red Star Linux 版本。一些志愿者已经完成了更新以保持与新兴内核的兼容性。最新补丁来自 Nikolay Zhuravlev[电子邮件受保护]支持编译成2.6.32内核..
其中包含专有 USB 调制解调器代码。从 2.6.25 内核开始,这会阻止在 Linux 下进行合法编译。 LSI 维护者 Soumyendu Sarkar 已请求提供 USB 无代码变体。但等待它的到来[...]
这解释了为什么它从未成为主线内核。如果您使用 64 位内核,它也可能不起作用。