Dear list, I want to enable the integrated softmodem of a Toshibal P200-13i laptop. Ubuntu x86-64 (Feisty then Gutsy then Hardy) ran without a hitch This beast has a softmodem which is *not* detected by scanmodem (see attached ModemData.txt). The softmodem is on slot #1 of the HDA bus (the sound device is identified as an Intel ICH7 High Definition Audio card). It should be noted that the softmodem isn't "seen" by the system : lspci says : 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) and sudo lspci -vv says : > 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High > Definition Audio Controller (rev 02) > Subsystem: Toshiba America Info Systems Unknown device ff03 > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 0, Cache Line Size: 64 bytes > Interrupt: pin A routed to IRQ 22 > Region 0: Memory at de300000 (64-bit, non-prefetchable) [size=16K] > Capabilities: [50] Power Management version 2 > Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot > +,D3cold+) > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ > Queue=0/0 Enable- > Address: 0000000000000000 Data: 0000 > Capabilities: [70] Express Unknown type IRQ 0 > Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag- > Device: Latency L0s <64ns, L1 <1us > Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported- > Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ > Device: MaxPayload 128 bytes, MaxReadReq 128 bytes > Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0 > Link: Latency L0s <64ns, L1 <1us > Link: ASPM Disabled CommClk- ExtSynch- > Link: Speed unknown, Width x0 However : cat /proc/asound/card0/codec#1 Codec: Generic 11c1 ID 1040 Address: 1 Vendor Id: 0x11c11040 Subsystem Id: 0x11790001 Revision Id: 0x100200 Modem Function Group: 0x1 (while /proc/asound/card0/codec#0 is a lengthy description of a semi-vanilla Reltek ALC861-VD sound card). Going back to Windows (vista) for a while, I had been able to collect the following information. The modem driver has been done by Agere an is on slot #1 of the HDA bus. The vendor ID is 11C1, the device ID is 1040, the subsystem ID is 11790001. ATI 3 identifies the modem as "TOSHIBA Software Modem Version 2.1.77", ATI4 says : "Built on 11/26/2006", and ATI5 says "1.1.77, HDA MB, HDA, A3 S-Rev:3 L-/Rev:3.05", ATI7 saying only "HDA MB". After peusing the docs and the mailing list archive, I understand that I should install the 32-bit version of libasound2 then try to use the Debian package sl-modem-daemon. However, this package exists on 64 bit only in "lenny" and requires a version of lib32asound2 > 1.0.16, while the Ubuntu Hardy version is only 1.0.15. The installation of "newer" (= Intrepid) libraries (libasound32 and libasound2) libraries is possible but will entail a manual maintainance of these packages. On the other hand the compilation of the slmodem package for X86-64 is not very clear to me. I understand that it entails grabbing lib32asound2-dev (done), but I have no idea on how to build such a mixed (lib23/lib64) package... What is your opinion on the "best" way ? Or am I barking up the wrong tree and trying to use slmodemd on unsupported hardware ? Sincerely, Emmanuel Charpentier
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.24-20-generic 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=x86_64, Linux version 2.6.24-20-generic (buildd@crested) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Jul 17 15:55:27 UTC 2008 scanModem update of: 2008_07_25 Some modem drivers can only be used in 32 bit modem on x86_64 systems, while some others are competent on x86_64 Systems. Cases are: 1) http://linmodems.technion.ac.il/bigarch/archive-seventh/msg03119.html for the snd-hda-intel audio+modem driver. Also applicable to AC97 modem controllers. In both cases, 32 bit libraries must be installed to support the slmodemd helper having a precompiled 32 bit component. 2) For USB modems using the slusb.ko driver. 32 bit libraries must be installed to support the slmodemd helper having a precompiled 32 bit component 3) The hsfmodem and hcflinmodem drivers for Conexant chipsest modes are x86_64 competent. There are no blacklisted modem drivers in /etc/modprobe* files Attached USB devices are: ID 152d:2339 JMicron Technology Corp. / JMicron USA Technology Corp. ID 04f2:b008 Chicony Electronics Co., Ltd USB modems not recognized For candidate card in slot 00:1b.0, firmware information and bootup diagnostics are: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 00:1b.0 8086:27d8 1179:ff03 Audio device: Intel Corporation 82801G Modem interrupt assignment and sharing: 22: 469329 0 IO-APIC-fasteoi HDA Intel --- Bootup diagnostics for card in PCI slot 00:1b.0 ---- ===== 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. PCI slot 00:1b.0 has a High Definition Audio Card The drivers are in the kernel modules tree at: /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko /lib/modules/2.6.20-16-generic/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.24-16-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-intel.ko /lib/modules/2.6.24-20-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-intel.ko /lib/modules/2.6.24-19-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-intel.ko /lib/modules/2.6.24-17-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-intel.ko /lib/modules/2.6.20-15-generic/kernel/sound/pci/hda/snd-hda-intel.ko The ALSA verion is 1.0.16. The modem cards detected by "aplay -l" are: None The /proc/asound/pcm file reports: ----------------------- 00-00: ALC861VD Analog : ALC861VD Analog : playback 1 : capture 1 about /proc/asound/cards: ------------------------ 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xde300000 irq 22 === Finished firmware and bootup diagnostics, next deducing cogent software. === A candidate modem is not evident among the PCI devices: ------------------------------------------------ 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02) 01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce Go 7600] (rev a1) 04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01) 06:04.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller 06:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) 06:04.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller ------------------------------------------------ with USB and bridge devices not displayed. If your modem is connected by an external serial cable, or mounted internally on an ISA card, scanModem would not access it. Try with Root permission $ sudo wvdialconf /etc/wvdial.conf to detect these modem types and some USB modems. If the detection is successful, read the DOCs/wvdial.txt . Edit the /etc/wvdial.conf with Root permission: sudo gedit /etc/wvdial.conf will be able to dial out with Root permission: sudo wvdial Many modems for which scanModem fails have Conexant chips. From http://www.linuxant.com/drivers/modemident.php get the ListModem tool, which will report on Conexant chipset modems If the above tests fail, please provide any independent information available on your modem. If an alternative boot into Microsoft windows can be done, do mouse clicks on: Start > Settings > Control Panel > Classical View (for Window XP) > System > Hardware > Device Manager > Modems > Click on the + > Modem. Double click to expand the graphic. Manufacturer information may be displayed. For example, CXT stands for Conexant. Click the Diagnostics Tab. Record any hardware ID or vendor and device information. From the Driver Details TAB, copy out the VENdor and DEVice information. Next do the Query Modem and record the ATI specifications displayed such as: ATI3 - Agere SoftModem Version 2.1.22 ATI5 - 2.1.22, AMR Intel MB, AC97 ID:SIL REV:0x27 Try to identify the modem setup file, with name perhaps MODEM.INF. If may contain chipset Vendor informaton. The /proc/asound/ audio+modem diagostics are being copied. Finished copy to Modem/ALSAcharpent.tgz Predictive diagnostics for card in bus 00:1b.0: Modem chipset not detected on NAME="Audio device: Intel Corporation 82801G " CLASS=0403 PCIDEV=8086:27d8 SUBSYS=1179:ff03 IRQ=22 HDA=8086:27d8 SOFT=8086:27d8.HDA High Definition Audio (HDA) cards MAY host a modem chip in their Subsystem, and many are supported by the ALSA audio+modem driver snd-hda-intel A modem was not detected on HDA card 8086:27d8. If another modem card is present, then most likely 8086:27d8 does not host a modem. If another modem card has not been detected, then possibilities are: 1) A Conexant modem chip is present on 8086:27d8, as Conexant chips are frequently not detectable by ALSA diagnostics 2) The modem may be of the older non-PCI Controller Chipset (hardware) type. Try detection with Root permission: sudo wvdialconf /etc/wvdial.conf For candidate modem in: 00:1b.0 0403 Audio device: Intel Corporation 82801G Primary device ID: 8086:27d8 Subsystem PCI_id 1179:ff03 Softmodem codec or chipset from diagnostics: from Archives: Support type needed or chipset: Support can likely be achieved through two mutually exclusive alternatives: 1) The hsfmodem software for Conexant chipset modems: Read DOCs/Conexant.txt The following ALSA alternative CANNOT work with Conexant modems. 2) An ALSA modem driver plus slmodemd. Read DOCs/Smartlink.txt for details, and to test get the package SLMODEMD.gcc4.2.tar.gz from: http://linmodems.technion.ac.il/packages/smartlink/ ----------------end Softmodem section -------------- 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 From http://www.linuxant.com/drivers/hsf/full/downloads-ubuntu-x86.php download hsfmodem-7.68.00.12full_k2.6.24_20_generic_ubuntu_i386.deb.zip Under Linux unpack with: $ unzip hsfmodem*.zip Then install with: $ sudo dpkg -i hsfmodem*.deb Subsequently, the modem should be found with $ sudo wvdialconf /etc/wvdial.conf Edit in your personal information with: $ sudo gedit /etc/wvdial.conf and try dialing out with: $ sudo wvdial. See DOCs/Testing.txt for details. Read DOCs/Conexant.txt Writing DOCs/Conexant.txt Writing DOCs/Smartlink.txt ============ end Smartlink section ===================== The base of the UDEV device file system is: /dev/.udev Versions adequately match for the compiler installed: 4.2.3 and the compiler used in kernel assembly: 4.2.3 Minimal compiling resources appear complete: make utility - /usr/bin/make Compiler version 4.2 linuc_headers base folder /lib/modules/2.6.24-20-generic/build However some compilations and executable functions may need additional files, in the FileNames.h (so called kernel "h"eaders) collection installed in /usr/include/ . For martian_modem, additional required packages are n. The also required headers of package libc6 are commonly installed by default. Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev packages, for kernels 2.6.24 and later versions. In not included on your install CD, search for them at http://packages.ubuntu.com or comparable Repository for other Linux distros. When compiling ALSA drivers, the utility "patch" will also be needed. 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-- 1 root dip 313600 2007-10-04 22:48 /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) sudo chmod a+x /usr/sbin/pppd or under Ubuntu related Linuxes sudo chmod a+x /usr/sbin/pppd Checking settings of: /etc/ppp/options asyncmap 0 noauth crtscts lock hide-password modem proxyarp lcp-echo-interval 30 lcp-echo-failure 4 noipx 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 eth1 wmaster0 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: slmodemd created symbolic link /dev/ttySL0: Within /etc/udev/ files: Within /etc/modprobe.conf files: /etc/modprobe.d/alsa-base.dpkg-old:options snd-atiixp-modem index=-2 /etc/modprobe.d/alsa-base.dpkg-old:options snd-via82xx-modem index=-2 /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2 /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2 /etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem drivers /etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem /etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem Within any ancient /etc/devfs files: Within ancient kernel 2.4.n /etc/module.conf files: --------- end modem support lines --------