Hi there,
I need urgent help to get the Agere HDA modem in my laptop working, as I
have to develop a dial-in solution in the upcoming days.
Please see the attached ModemData.txt for details.
I tried to follow the instructions on
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html,
but I get stuck at step 3.5, when my self- built module snd-hda-intel.ko
will fail to load with the error "snd_hda_intel: no symbol version for
struct_module".
Curiously the new .ko file is 4 times bigger than the original one.
Any help will be appreciated.
Thanks!
Andreas
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.27-9-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=i686,
Linux version 2.6.27-9-generic (buildd@rothera) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Thu Nov 20 21:57:00 UTC 2008
scanModem update of: 2008_11_06
The modem symbolic link is /dev/modem -> ttySL0
There are no blacklisted modem drivers in /etc/modprobe* files
Attached USB devices are:
ID 1d6b:0002 Linux Foundation 2.0 root hub
ID 1d6b:0001 Linux Foundation 1.1 root hub
ID 1d6b:0001 Linux Foundation 1.1 root hub
ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse Plus]
ID 1d6b:0001 Linux Foundation 1.1 root hub
ID 1d6b:0001 Linux Foundation 1.1 root hub
ID 1d6b:0001 Linux Foundation 1.1 root hub
USB modems not recognized
For candidate card in slot 00:14.2, firmware information and bootup diagnostics are:
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:14.2 1002:4383 144d:c036 Audio device: ATI Technologies Inc SBx00 Azalia
Modem interrupt assignment and sharing:
16: 16716 0 IO-APIC-fasteoi ohci_hcd:usb1, HDA Intel
--- Bootup diagnostics for card in PCI slot 00:14.2 ----
[ 2.564426] PCI: 0000:00:14.2 reg 10 64bit mmio: [c0000000, c0003fff]
[ 2.564480] pci 0000:00:14.2: PME# supported from D0 D3hot D3cold
[ 2.564486] pci 0000:00:14.2: PME# disabled
[ 17.538952] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
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 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.17
The modem cards detected by "aplay -l" are: None
The /proc/asound/pcm file reports:
-----------------------
00-00: ALC262 Analog : ALC262 Analog : playback 1 : capture 1
about /proc/asound/cards:
------------------------
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xc0000000 irq 16
PCI slot 00:14.2 has a High Definition Audio Card
The drivers are in the kernel modules tree at:
/lib/modules/2.6.27-7-generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.27-9-generic/kernel/sound/pci/hda/snd-hda-intel.ko
The modem codec file for the HDA card is: /proc/asound/card0/codec#1
--------------------------------------------------------
Codec: LSI ID 1040
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x2118144d
Revision Id: 0x100200
Modem Function Group: 0x1
The audio card hosts a softmodem chip: 0x11c11040
If not a Conexant modem, the driver agrmodem+agrserial+patched_snd-hda-intel with its dependent drivers:
----------
provide audio + modem support with the modem chip residing on the subsystem.
Any particular card can host any one of several soft modem chips.
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===
Predictive diagnostics for card in bus 00:14.2:
Modem chipset detected on
NAME="Audio device: ATI Technologies Inc SBx00 Azalia "
CLASS=0403
PCIDEV=1002:4383
SUBSYS=144d:c036
IRQ=16
HDA=1002:4383
SOFT=1002:4383.HDA
CHIP=0x11c11040
IDENT=11c11040
Driver=agrmodem+agrserial+patched_snd-hda-intel
For candidate modem in: 00:14.2
0403 Audio device: ATI Technologies Inc SBx00 Azalia
Primary device ID: 1002:4383
Subsystem PCI_id 144d:c036
Softmodem codec or chipset from diagnostics: 0x11c11040
from Archives:
The HDA card softmodem chip is 0x11c11040
Support type needed or chipset: 11c11040
----------------end Softmodem section --------------
Vendor 11c1 is Lucent Technologies with modem technology now under LSI Inc.
Their Linux code developer/maintainer is Soumyendu Sarkar. Support for a chipset and its
continued maintenance is only initiated at the request of a major chipset buyer,
or comparable sponsor. Several different modem chipset types are produced:
with varying support under Linux.
Device ID Support Name Comment
--------- ------------- ----------- -----------------------------
0480 serial_drivers Venus controller chipset 1673JV7
0440-045d martian Mars/Apollo DSP (digital signal processing) chipsets
0462 none 56K.V90/ADSL Wildwire
048d none SV2P soft modem
048(c or f) AGRSM SV2P soft modem
0600 none soft modem, very few in the field.
0620 AGRSM Pinball soft modem, in some HP desktop PCs
011c11040 AGRSM hosted on High Definition Audio cards
062(1-3) none SV92PP,Pinball soft modem, in some HP desktop PCs
martian - At http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/
AGRSM - At http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
Compiling resources for a driver module pair: agrmodem.ko + agrserial.ko
Use the agrsm-HDA-20080721-ALSA15.tar.bz2 or agrsm-HDA-20080721.tar.bz2
Read the agrsm_howto.txt. For 11c11040 chips, also the HOWTO-Agere-11c11040-HDA.html
-------------- end Agere Systems section -------------------
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
Minimal compiling resources appear complete:
make utility - /usr/bin/make
Compiler version 4.3
linuc_headers base folder /lib/modules/2.6.27-9-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 needed. 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.
Compressed files at: /usr/src/linux-source-2.6.27.tar.bz2 /usr/src/sl-modem.tar.bz2
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 273064 2008-10-16 03:51 /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: ath0 eth0 wifi0
Which can interfere with Browser naviagation.
Don't worry about the following, it is for 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 2008-12-10 16:43 /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/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 --------