Hello!
I'm running freshly installed Ubuntu 7.04 (fiesty fawn) on Toshiba
L30-134 laptop.
Trying to get internal modem working... without success yet.
According to 'scanmodem' results my laptop's modem is one of
HDA-soundcard built-in modems.
So, I installed slmodemd, set SLMODEMD_DEVICE to hw:0,6 (other values
were tested, but errors on earlier stages of slmodemd execution occurs)
and started sl-modem-daemon .
Now I see /dev/ttySL0 device and it is usable via "minicom".
But wvdial failed to establish connection.
...
--> Modem initialized.
--> Sending: ATDPXXX
--> Waiting for carrier.
ATDPXXX
NO CARRIER
ERROR
...
If I run slmodemd manually from terminal following error is viewable:
error: period size 48 is not supported by playback (64).
And here I get stuck - googling for such error message gives no results.
Only plain text email is forwarded by the DISCUSS@xxxxxxxxxxxxx List Server.
Do use the following as the email Subject Line:
SomeName, YourCountry Ubuntu 7.04 kernel 2.6.20-15-generic
This will alert cogent experts, and distinguish cases in the Archives.
YourCountry will enable Country Code guidance.
Occassionally responses are blocked by an Internet Provider mail filters.
So in a day, also check the Archived responses at http://www.linmodems.org .
Local Linux experts can be found through: http://www.linux.org/groups/index.html
-------------------------- System information ----------------------------
CPU=i686, Ubuntu 7.04
Linux version 2.6.20-15-generic (root@palmer) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC 2007
scanModem update of: 2007_March_15
The modem symbolic link is /dev/modem -> ttySL0
USB modem not detected by lsusb
Modem or host audio card candidates have firmware information:
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:14.2 1002:437b 1179:ff31 Audio device: ATI Technologies Inc SB450 HDA Audio
Modem interrupt assignment and sharing:
19: 1872 IO-APIC-fasteoi HDA Intel
--- Bootup diagnositcs for card in PCI slot 00:14.2 ----
[ 17.388000] ACPI: PCI Interrupt 0000:00:14.2[A] -> GSI 16 (level, low) -> IRQ 19
[ 127.076000] HDA Intel 0000:00:14.2: suspend
[ 127.084000] ACPI: PCI interrupt for device 0000:00:14.2 disabled
[ 127.132000] HDA Intel 0000:00:14.2: LATE suspend
[ 1740.132000] HDA Intel 0000:00:14.2: EARLY resume
[ 1740.188000] HDA Intel 0000:00:14.2: resuming
[ 1740.204000] PM: Writing back config space on device 0000:00:14.2 at offset f (was 10b, writing b)
[ 1740.204000] PM: Writing back config space on device 0000:00:14.2 at offset 1 (was 4100006, writing 4100002)
[ 1740.204000] ACPI: PCI Interrupt 0000:00:14.2[A] -> GSI 16 (level, low) -> IRQ 19
The PCI slot 00:14.2 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 Bootup.txt about possible fixes.
Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
if help is needed.
=== Finished modem firmware and bootup diagnostics section. ===
=== Next deducing cogent software ===
ALSAversion 1.0.13
1002:437b is a High Definition Audio card, possibly hosting a soft modem.
The VendorID 0x11c11040 softmodem chip is in principle supported by the snd-hda-intel driver
included within the ALSA audio+modem driver set. However recognition of 0x11c11040 first begins with ALSA version 1.0.14rc2. There are instructions for upgrading snd-hda-intel and its
dependent driver set at http://linmodems.technion.ac.il/archive-seventh/msg00282.html
The ? in the device designation in hw:0,? will be manifest after the driver update.
Typically ? is in the range of 0-6 .
There may be novel modem chipset information within the /proc/asound/
files. They have been copied and packed into a file: Modem/11c1.tgz
Please send 11c1.tgz to the scanModem maintainer: Marvin.Stodolsky@xxxxxxxxx
HDAmodemChip=0x11c11040
For candidate modem in PCI bus: 00:14.2
Class 0403: 1002:437b Audio device: ATI Technologies Inc SB450 HDA Audio
Primary PCI_id 1002:437b
Subsystem PCI_id 1179:ff31
Softmodem codec or Vendor from diagnostics: 11c1, an AgereSystems type.
from Archives: 11c1, an AgereSystems type.
The HDA card softmodem chip is 0x11c11040
Lacking a dsp (digital signal processing) chip, the modem is a software
intensive or "softmodem" type. Its primary controller manages the traffic
with the CPU. But the software needed is specified in the Subsystem.
-----------------------------------------
Support type needed or chipset: slmodemd
An ALSA (Advanced Linux Sound Architecture) modem driver: snd-hda-intel
provides Low Level support enabling contact with the modem hardware.
For all BUT Conexant chip soft modems (using hsfmodem software)
complementary High Level support is through a Smartlink utility: slmodemd
Download from http://linmodems.technion.ac.il/packages/smartlink/
the package SLMODEMD.gcc4.1.tar.gz having a compiled slmodemd. Unpack under Linux with:
$ tar zxf SLMODEMD.gcc4.1.tar.gz
and read instructions therein. But briefly, the modem is setup with command:
sudo slmodemd -c YOUR_COUNTRY --alsa hw:0,6
reporting dynamic creation of ports:
/dev/ttySL0 --> /dev/pts/N , with N some number
Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.
Already loaded into the kernel is snd-hda-intel and audio drivers it depends on,
displayed by: lsmod | grep snd_hda_intel
Module Size Used by
-------------------------------------
snd_hda_intel 21912 1
snd_hda_codec 205440 1 snd_hda_intel
snd_pcm 79876 7 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_ac97_codec,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd 54020 16 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_ac97_codec,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 10888 5 snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_hda_intel,snd_pcm
The diagnostic outputs for this softmodem section have their raw information in
folders and text files under /proc/asound/ which you can browse. The information
is from files:
/proc/asound/pcm
-------------------------------
00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
00-00: ALC861VD Analog : ALC861VD Analog : playback 1 : capture 2
/proc/asound/modules
-------------------------------
0 snd_hda_intel
/proc/asound/card0/codec#1
-------------------------------
Codec: Generic 11c1 Si3054
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x11790001
Revision Id: 0x100200
-------------------------------
Current support status of HDA cards is:
Vendor IDs Chip maker Support type
---------- ---------- -------------
0x14f12bfa Conexant hsfmodem , not slmodemd compatible
0x11c13026 AgereSystems snd-hda-intel, slmodemd supported
0x11c11040 AgereSystems " " , patch needed
0x11c13055 AgereSystems " " , "
0x163c3055 Smartlink " " , "
0x163c3155 " " " , "
0x10573055 Motorola " " , "
0x10573155 " " " , ""
as of October 2006.
and from the command:
aplay -l | grep -i modem
каÑ?Ñ?а 0: SB [HDA ATI SB], Ñ?Ñ?Ñ?Ñ?ойÑ?Ñ?во 6: Si3054 Modem [Si3054 Modem]
----------------end Softmodem section --------------
Writing Smartlink.txt
============ end Smartlink section =====================
Completed candidate modem analyses.
The base of the UDEV device file system is: /dev/.udev
Versions adequately match for the compiler installed: 4.1.2
and the compiler used in kernel assembly: 4.1.2
Kernel-header resources needed for compiling are not manifestly ready!
If compiling is necessary packages must be installed, providing:
linux-headers-2.6.20-15-generic
Checking pppd properties:
-rwsr-xr-- 1 root dip 269224 2007-04-05 07:41 /usr/sbin/pppd
In case of an "error 17" "serial loopback" problem, see:
http://phep2.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/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.
Don't worry about the following, it is for the experts
should trouble shooting be necessary.
==========================================================
# start/stop the daemon when the USB modem is connected
KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
Checking for modem support lines:
--------------------------------------
/device/modem symbolic link: lrwxrwxrwx 1 root root 6 2007-04-21 18:36 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:
Within /etc/udev/ files:
/etc/udev/rules.d/030_sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
/etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
/etc/udev/sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
/etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
Within /etc/modprobe.conf files:
/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
/etc/modprobe.d/sl-modem-daemon.modutils:install slamr modprobe --ignore-install ungrab-winmodem ; modprobe --ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0)
/etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
Within any ancient /etc/devfs files:
Within ancient kernel 2.4.n /etc/module.conf files:
--------- end modem support lines --------