08/11: How to get the modem working on a Toshiba Tecra M2 laptop or
I hoped and prayed in the deepest part of my heart that I would never configure my modem, but, alas, here some instructions on how to access the internet 1998 style if you have a Toshiba Tecra M2 laptop. (Non-nerds can stop reading now if they haven't already.)
Lots of people have documented elsewhere how to get Linux to work nicely on this laptop, but none of the have the joy of using dial up so there are no instructions on what drivers to use for the internal winmodem.
The lspci output for the modem and soundcard looks like this:
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03) 00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)That's not entirely helpful, Intel AC'97 isn't specific enough. If you go get the scanModem script from the linmodem site it will tell you which actual drivers are needed.
PCIDEV=8086:24c6 CLASS="Class 0703: 8086:24c6" NAME="Modem: Intel Corporation 82801DB/DBL/DBM " Vendor=8086 Device=24c6 SUBSYS=1179:0001 SUBNAME=" Toshiba America Info Systems Unknown device 0001" SUBven=1179 IRQ=11 Test="./scanModem test 8086:24c6 1179:0001" SOFT=8086:24c6 CODECd=SIL27 COD=SIL TYPE=ALSA SLMODEMD_DEVICE=modem:1 PORT="modem:1" Driver= DRIVER_= KDRIVER= ASOUND= CODECp=SIL27 CODEC= COD=SIL HDA= IDENT=slmodemd TST=This SIL27 part tells us that you have to use the ALSA AC97 modem drivers with the Smart Link slmodemd helper.
If you have ALSA correctly working you should see output like this in dmesg. (If it is compiled as a module you may need to do 'modprobe snd-intel8x0m' first).
ALSA device list: #0: Intel 82801DB-ICH4 with AD1981B at 0x34000800, irq 11 #1: Intel 82801DB-ICH4 Modem at 0x1400, irq 11If the modem isn't showing up as a device under ALSA you may need to enable support for it in the kernel. You'll need a kernel version >= 2.6.5. The ALSA modem driver is listed as experimental: Intel/SiS/nVidia/AMD MC97 Modem (EXPERIMENTAL) but so far I haven't had any problems with it. These are the kernel config parameters that need to enabled:
SND=y SND_INTEL8X0M=yIf ALSA is correctly detecting your modem, next you need the Smart Link Soft Modem software. You can get the precompiled binary, which makes installation as simple as sticking slmodemd into /usr/sbin. Otherwise it comes with fairly comprehensive compilation and installation instructions.
If you run slmodemd as root with
slmodemd --alsa
it will it will create a device node for the modem in /dev/ttySL0.
You just need to tell wvdial, or whatever dialer program you are using, to use this
device and everything should be ready to go.


