Dear all,
I am trying to install the internal modem of a HP Compaq nx6310 under Ubuntu
6.06.
I have tried installing sl-modem-daemon and snd-hda-intel, but it got pretty
messy and I am not clear about the situation.
I don't dare touch it anymore without outside guidance as I cannot have anyone
to help me but online.
I hope you can help me out.
Benoit
--je parle francais si vous préférez.
Here is my ModemData.txt at the present time:
----------QUOTE
Only plain text email is forwarded by the DISCUSS@xxxxxxxxxxxxx List Server.
Do use the following as the email Subject Line:
SomeName, YourCountry Ubuntu 6.06.1 LTS kernel 2.6.15-27-386
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 ----------------------------
Ubuntu 6.06.1 LTS
Linux version 2.6.15-27-386 (buildd@terranova) (gcc version 4.0.3 (Ubuntu
4.0.3-1ubuntu5)) #1 PREEMPT Fri Dec 8 17:51:56 UTC 2006
scanModem update of: 2006_December_25
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
---------- --------- --------- --------------
0000:00:1b.0 8086:27d8 103c:30aa 0403: Intel Corporation 82801G
Modem interrupt assignment and sharing:
225: 519850 IO-APIC-level uhci_hcd:usb2, HDA Intel
--- Bootup diagnositcs for card in PCI slot 0000:00:1b.0 ----
[17179595.516000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 21 (level, low) ->
IRQ 225
[17179595.516000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
=== Finished modem firmware and bootup diagnostics section. ===
=== Next deducing cogent software ===
8086:27d8 is a High Definition Audio card, possibly hosting a soft modem.
snd-hda-intel may not be competent to read /proc/asound/card0/codec#1
before 2.6.15 kernels, for HDA card 8086:27d8
The VendorID 0x11c13026 softmodem chip is in principle supported by the
snd-hda-intel driver
included within the ALSA audio+modem driver set. However recognition of
0x11c13026 first begins with ALSA version 1.0.13. There are instructions for
upgrading snd-hda-intel and its
dependent driver set at
http://linmodems.technion.ac.il/archive-fourth/msg0????.html
The ? in the device designation in hw:0,? will be manifest after the driver
update.
Typically ? is in the range of 0-6 .
For candidate modem in PCI bus: 0000:00:1b.0
Class 0403: 8086:27d8 0403: Intel Corporation 82801G
Primary PCI_id 8086:27d8
Subsystem PCI_id 103c:30aa
Softmodem codec or Vendor from diagnostics: 11c1, an AgereSystems type.
from Archives: 11c1, an AgereSystems type.
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.tar.gz having a compiled slmodemd. Unpack under
Linux with:
$ tar zxf SLMODEMD.gcc4.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 18964 1
snd_hda_codec 157616 1 snd_hda_intel
snd_pcm 89864 7
snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_ac97_codec,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd 55268 12
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_timer
snd_page_alloc 10632 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-00: AD198x Analog : AD198x Analog : playback 1 : capture 1
00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
/proc/asound/modules
-------------------------------
0 snd_hda_intel
/proc/asound/card0/codec#1
-------------------------------
Codec: Generic 11c1 Si3054
Address: 1
Vendor Id: 0x11c13026
Subsystem Id: 0x103c30aa
Revision Id: 0x100700
-------------------------------
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
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
----------------end Softmodem section --------------
Writing Intel.txt
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.0.3
and the compiler used in kernel assembly: 4.0.3
Compiling resources appear complete:
make utility - /usr/bin/make
Compiler version 4.0
kernel_headers base folder /lib/modules/2.6.15-27-386/build
Checking pppd properties:
-rwsr-xr-- 1 root dip 257720 2006-07-05 20:00 /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
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
Read Modem/YourSystem.txt concerning other COMM channels: eth1
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 2006-12-26 15:23
/dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:
Within /etc/udev/ files:
/etc/udev/rules.d/60-symlinks.rules:# Create /dev/modem symlink
/etc/udev/rules.d/60-symlinks.rules:KERNEL=="ttyLTM[0-9]*", SYMLINK+="modem"
/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/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
/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)
Within any ancient /etc/devfs files:
Within ancient kernel 2.4.n /etc/module.conf files:
--------- end modem support lines --------
------------UNQUOTE