Hi,
Until recently, I didn't have much need of my internal modem on my
laptop. But now, it would be very useful for me to be able to send and
receive faxs. So I tried (on two laptop, in fact) to use the
integrated modem under Linux.
On my profesional laptop (an IBM/Lenovo T43), I'm using Windows XP and
Mandriva Linux 2009.1 (or 2009 Spring).
The modem works well under Windows (not so surprising), and is well
discovered by Mandriva, who setup 'alone' the hsf drivers.
alas, even if I don't find any error messages, it is simply impossible
to 'talk' to the /dev/ttySHSF0 device.
Trying with wvdialconf give me this result :
------------
# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: Scanning ttySHSF0 first, /dev/modem is a link to it.
Modem Port Scan<*1>: SHSF0
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3 SHSF1 SHSF2 SHSF3 SHSF4
Modem Port Scan<*1>: SHSF5 SHSF6 SHSF7
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
-----------------
I don't know how to use setserial, so I only did a 'quest' :-) :
--------------------------
# setserial -ga /dev/ttySHSF0
/dev/ttySHSF0, Line 0, UART: unknown, Port: 0x0000, IRQ: 0
Baud_base: 0, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal
---------------------------
minicom also tell me that the device is unavailable.
Under Windows XP, I got the following informations :
-------------------------
ID du mat?riel :
PCI\VEN_8086&DEV_266D&SUBSYS_05741014&REV_03
ATQ0V1E0 R?ussite
AT+GMM +GMM: ThinkPad Integrated 56K Modem
AT+FCLASS=? 0,1
AT#CLS=? COMMANDE NON PRISE EN CHARGE
AT+GCI? +GCI: B5
AT+GCI=? +GCI:
(00,04,07,09,0A,0F,14,16,1B,20,25,26,27,2D,2E,31,35,3C,3D,46,50,51,52,53,54,57,58,59,61,68,69,6C,73,7B,7E,82,85,88,89,8A,8B,9C,9F,A0,A5,A6,A9,AE,B4,B5,B7,B8,BB,BC,F9,FB,FC,FE)
ATI1 255
ATI2 R?ussite
ATI3 SoftK56V B2.1 V7.34.00
ATI4 ThinPad Integrated 56K Modem
ATI5 181
ATI6 SoftK56
CMODEM Version 12
Rksample Version 342
---------------------
I'm a little frustrated, as I think that I should be very near of a
solution...
Finally, you'll find the ModemData.txt file.
Thanks in advance for any advice,
Pascal SCHIRRMANN
Only plain text email is forwarded by the Discuss@xxxxxxxxxxxxx List Server,
as HTML can contain viruses. Use as the email Subject Line:
YourName, YourCountry kernel 2.6.29.3-desktop-1mnb
With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
YourCountry will enable Country specific guidance. Linux experts in YourCountry
can be found through: http://www.linux.org/groups/index.html.
They will know your Country's modem code, which may be essential for dialup service.
Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet Provider mail filters.
So in a day, also check the Archived responses at http://www.linmodems.org
-------------------------- System information ----------------------------
CPU=i686,
Linux version 2.6.29.3-desktop-1mnb (qateam@xxxxxxxxxxxxxxxxxx) (gcc version 4.3.2 (GCC) ) #1 SMP Thu May 14 14:14:48 EDT 2009
scanModem update of: 2009_05_31
The modem symbolic link is /dev/modem -> ttySHSF0
There are no blacklisted modem drivers in /etc/modprobe* files
Potentially useful modem drivers now loaded are:
snd_intel8x0m hsfserial snd_hda_intel
Attached USB devices are:
ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse
ID 04b3:4482 IBM Corp. Serial Converter
If a cellphone is not detected, see http://ubuntuforums.org/archive/index.php/t-878554.html
If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@xxxxxxxxxxxxx
For candidate card in slot 00:1e.3, firmware information and bootup diagnostics are:
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:1e.3 8086:266d 1014:0574 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW
Modem interrupt assignment and sharing:
23: 0 IO-APIC-fasteoi Intel ICH6 Modem
--- Bootup diagnostics for card in PCI slot 00:1e.3 ----
pci 0000:00:1e.3: reg 10 io port: [0x2400-0x24ff]
pci 0000:00:1e.3: reg 14 io port: [0x2000-0x207f]
pci 0000:00:1e.3: PME# supported from D0 D3hot D3cold
pci 0000:00:1e.3: PME# disabled
serial 0000:00:1e.3: PCI INT B -> GSI 23 (level, low) -> IRQ 23
serial 0000:00:1e.3: PCI INT B disabled
Intel ICH Modem 0000:00:1e.3: PCI INT B -> GSI 23 (level, low) -> IRQ 23
Intel ICH Modem 0000:00:1e.3: setting latency timer to 64
The PCI slot 00:1e.3 of the modem card may be disabled early in
a bootup process, but then enabled later. If modem drivers load
but the modem is not responsive, read DOCs/Bootup.txt about possible fixes.
Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
if help is needed.
===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.
The ALSA verion is 1.0.18
The modem cards detected by "aplay -l" are:
card 1: Modem [Intel ICH6 Modem], device 0: Intel ICH - Modem [Intel ICH6 Modem - Modem]
The /proc/asound/pcm file reports:
-----------------------
00-00: Intel ICH : Intel ICH6 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH6 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH6 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH6 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH6 - IEC958 : playback 1
01-00: Intel ICH - Modem : Intel ICH6 Modem - Modem : playback 1 : capture 1
about /proc/asound/cards:
------------------------
0 [ICH6 ]: ICH4 - Intel ICH6
Intel ICH6 with AD1981B at irq 22
1 [Modem ]: ICH-MODEM - Intel ICH6 Modem
Intel ICH6 Modem at irq 23
Modem firmware information is in /proc/asound/card1/codec97#0/mc97#1-1
-----------------------------------------------
Extended modem ID: codec=1 LIN1
Lines in: /proc/asound/card1/codec97#0/mc97#1-1+regs
-------------------------------
0:7c = 4358 and 0:7e = 5423
are translated from hexadecimal code into the modem chip identifier: CXT23
Support is provided only through hsfmodem drivers. Read DOCs/Conexant.txt
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===
Predictive diagnostics for card in bus 00:1e.3:
Modem chipset detected on
NAME="Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW "
CLASS=0703
PCIDEV=8086:266d
SUBSYS=1014:0574
IRQ=23
SOFT=8086:266d.MC97
CodecArchived=CXT
CodecDiagnosed=CXT23
CodecClass=CXT
IDENT=hsfmodem
Driver=hsfmodem-drivers
For candidate modem in: 00:1e.3
0703 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW
Primary device ID: 8086:266d
Subsystem PCI_id 1014:0574
Softmodem codec or chipset from diagnostics: CXT23CXT, a Conexant type using hsfmodem software.
from Archives: CXT, a Conexant type using hsfmodem software.
CXTnn is a generic for all CXTnumbers, with Linuxant hsfmodem software support.
Support type needed or chipset: hsfmodem
Writing DOCs/Intel.txt
For owners of a Dell PCs with Conexant HSF modems, a driver source package with full speed enabled is available, but requires driver compiling. Read DOCs/Conexant.txt
Start at http://www.linuxant.com/drivers/hsf/downloads-license.php to find the
hsfmodem package matching your System. For several Linux distros, there are
precompiled drivers matched to specific kernels. These have within the FileName,
your KernelVersion: 2.6.29.3_desktop_1mnb
They can be found through http://www.linuxant.com/drivers/hsf/full/downloads.php
A more precise location may be given a few paragraphs below.
If an EXACT Match with your your KernelVersion is not found, one of the
"Generic packages with source" near the bottom of the page must be used.
Downloaded packages must be moved into the Linux partition (home folder is OK)
and unzipped with:
unzip hsf*.zip
The installation command for a .deb suffic packages is, with root/adm permission:
dpkg -i hsf*.deb
while for .rpm suffix it is, with:
rpm -i hsf*.rpm
Start at http://www.linuxant.com/drivers/hsf/full for
eventually download of a hsfmodem-7.68.00.12full_k.???.zip package
with ??? the package type (deb, rpm, tar etc)
These packages have compiled drivers but will also compile a driver,
if there is a mismatch between the resident kernel and provided driver.
The generic hsfmodem-7.68.00.12full.tar.gz package only provides compiling support
Read DOCs/Conexant.txt
Writing DOCs/Conexant.txt
Completed candidate modem analyses.
The base of the UDEV device file system is: /dev/.udev
Versions adequately match for the compiler installed: 4.3.2
and the compiler used in kernel assembly: 4.3.2
linux-headers-2.6.29.3-desktop-1mnb resources needed for compiling are not manifestly ready!
If compiling is necessary packages must be installed, providing:
kernel-desktop-devel-2.6.29.3-desktop-1mnb
If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev
If an alternate ethernet connection is available,
$ apt-get update
$ apt-get -s install linux-kernel-devel
will install needed packages.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:
Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb
Checking pppd properties:
-rwsr-xr-t 1 root root 322492 2008-12-17 18:34 /usr/sbin/pppd
In case of an "error 17" "serial loopback" problem, see:
http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html
To enable dialout without Root permission do:
$ su - root (not for Ubuntu)
chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
chmod a+x /usr/sbin/pppd
Checking settings of: /etc/ppp/options
lock
noauth
noipdefault
usepeerdns
In case of a message like:
Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html
Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.
Don't worry about the following, it is for experts should trouble shooting be necessary.
==========================================================
Checking for modem support lines:
--------------------------------------
/device/modem symbolic link: lrwxrwxrwx 1 root root 8 2009-06-15 18:46 /dev/modem -> ttySHSF0
slmodemd created symbolic link /dev/ttySL0:
Within /etc/udev/ files:
/etc/udev/rules.d/00-hsf.rules:KERNEL=="ttySHSF0", SYMLINK="modem"
Within /etc/modprobe.conf files:
Within any ancient /etc/devfs files:
Within ancient kernel 2.4.n /etc/module.conf files:
/etc/modules.conf:alias /dev/modem /dev/ttySHSF
/etc/modules.conf:probeall /dev/ttySHSF hsfpcibasic2 hsfpcibasic3 hsfmc97ich hsfmc97via hsfmc97ali hsfmc97ati hsfmc97sis hsfusbcd2 snd_hda_intel snd-hda-codec-hsfmodem
--------- end modem support lines --------