John, I'm not an expert on the agrsm code, but likely: --------------- from /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/HDA.c:23: include/sound/core.h:281: error: ‘SNDRV_CARDS’ undeclared here (not in a function) -------------- this indicates that the dkms package is not backward compartible with your 2.6.24 level kernels. It is giving good service with the Ubuntu Intrepide 2.6.27 series kernels However we do have an otherwise compiled driver package, working only with the 2.6.24-9-generic kernels. So there are three routes you cam take: 1) Upgrade to Ubuntu Intrepid. 2) sudo apt-get install linux-image-2.6.24-9-generic and reboot into the new kernel. THen from http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ get agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz - which will install drivers for that kernel agrsm-tools_0.0.1_all.deb - automates symbolic link setups and deposits info to: /usr/share/doc/agrsm-tools/ 3) Follow the more laborious instructions involving kernel-source: http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html Some more expert on the agrsm code may comment. MarvS On Sat, Feb 28, 2009 at 10:07 PM, John DeArmond <jgd@xxxxxxxxxxxxx> wrote: > On Sat, 2009-02-28 at 20:30 -0500, Marvin Stodolsky wrote: >> John >> >> You seem to ha ve have an alternate Internet access. > > Yes, I have a USR Sportster serial modem. Just hoping not to have to > drag it, the USB/serial adapter and the cables along when I travel. > >> Please install the packages linux-libc-dev and libc6-dev: with >> $ sudo apt-get install libc6-dev >> >> Otherwise you can get these packages manually through http://packages.ubuntu.com >> Which may add potentially needed compiling support. >> >> Then again try: >> $ sudo dpkg -i dkms-agrsm_2.1.80-5_i386.deb >> >> Please then report back. > > They were already installed. Also installed was the package > libc6-dev-amd64. I thought that it might be interfering so I removed > it. Same result as before with the dkms package. > > I did a "sudo find . -name agrmodem.ko -print" across the whole root > partition and came up empty. > > I next looked at the make.log. Here are the contents: > DKMS make.log for agrsm-2.1.80-4mdv2009.0 for kernel 2.6.24-16-generic > (i686) > Sat Feb 28 21:55:19 EST 2009 > make: Entering directory `/usr/src/linux-headers-2.6.24-16-generic' > LD /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/built-in.o > CC [M] /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/agrsoftmodem.o > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/agrsoftmodem.c: In function > ‘x_task_queue_init’: > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/agrsoftmodem.c:458: warning: > assignment from incompatible pointer type > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/agrsoftmodem.c: In function > ‘x_task_queue_init_usb’: > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/agrsoftmodem.c:469: warning: > assignment from incompatible pointer type > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/agrsoftmodem.c: At top > level: > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/agrsoftmodem.c:496: warning: > function declaration isn’t a prototype > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/agrsoftmodem.c:522: warning: > function declaration isn’t a prototype > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/agrsoftmodem.c:532: warning: > function declaration isn’t a prototype > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/agrsoftmodem.c:539: warning: > function declaration isn’t a prototype > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/agrsoftmodem.c:135: warning: > ‘uss_driver’ defined but not used > CC [M] /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/HDA.o > In file included > from /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/HDA.c:23: > include/sound/core.h:281: error: ‘SNDRV_CARDS’ undeclared here (not in a > function) > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/HDA.c:361: error: > redefinition of ‘snd_hda_power_up’ > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/hda_codec.h:756: error: > previous definition of ‘snd_hda_power_up’ was here > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/HDA.c:366: error: > redefinition of ‘snd_hda_power_down’ > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/hda_codec.h:757: error: > previous definition of ‘snd_hda_power_down’ was here > make[1]: *** [/var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/HDA.o] Error 1 > make: *** [_module_/var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build] Error 2 > make: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic' > jgd@neonjohn:/var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build$ > ------------------------------------------------------------ > > My SWAG is that the package is for the wrong kernel revision, perhaps? > > John > >> >> MarvS >> >> >> RE: I don't know what that last part means and/or how to do it. Synaptics >> package manager tells me I have the latest available Kernel >> >> On Sat, Feb 28, 2009 at 5:08 PM, John DeArmond <jgd@xxxxxxxxxxxxx> wrote: >> > On Sat, 2009-02-28 at 10:56 -0500, Marvin Stodolsky wrote: >> >> John, >> >> >> >> For Agere/LSI modem chip >> >> > Codec: Generic 11c1 ID 1040 >> >> > Address: 1 >> >> > Vendor Id: 0x11c11040 >> >> The currently used agrsm code is from updates at >> >> http://linux.zsolttech.com/linmodem/ >> >> see an example at: >> >> http://linmodems.technion.ac.il/bigarch/archive-eighth/msg03863.html >> >> >> >> Also at at http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ >> >> The agrsm-tools package supports driver autoloading, and usage info. >> >> .deb packages can be manually installed with commands like: >> >> $ sudo dpkg -i agrsm*.deb >> >> >> >> The dkms tools work well on current Ubuntu Intrepid systems, Should >> >> you not get service under your earlier kernels, write back and we'll >> >> instruct on alternatives. >> >> >> >> MarvS >> >> >> >> But if you want to maintain your current installation, >> >> install the linux-image-2.6.24-19-generic kernel+image package. >> >> Then >> > >> > I don't know what that last part means and/or how to do it. Synaptics >> > package manager tells me I have the latest available Kernel. >> > >> > Here's what I've done. I fetched dkms-agrsm_2.1.80-5_i386.deb and >> > dkms_2.0.21.1-0ubuntu1_all.deb. >> > >> > sudo dpkg -i dkms_2.0.21.1-0ubuntu1_all.deb generated the following >> > output: >> > >> > (Reading database ... 159596 files and directories currently installed.) >> > Preparing to replace dkms 2.0.20.4-0ubuntu1~hardy1 (using >> > dkms_2.0.21.1-0ubuntu1_all.deb) ... >> > 0 >> > Unpacking replacement dkms ... >> > Setting up dkms (2.0.21.1-0ubuntu1) ... >> > Installing new version of config file /etc/init.d/dkms_autoinstaller ... >> > Installing new version of config file /etc/kernel/prerm.d/dkms ... >> > Installing new version of config >> > file /etc/dkms/template-dkms-mkdeb/debian/postinst ... >> > Installing new version of config file /etc/bash_completion.d/dkms ... >> > * Running DKMS auto installation service for kernel 2.6.24-16-generic >> > * agrsm (2.1.80-4mdv2009.0)... >> > [fail] >> > ------------------ >> > >> > Selecting the dkms package using Synaptics alerted me that it would >> > install an older version. I allowed it to proceed and it appeared to >> > complete successfully. >> > >> > Running the command: >> > >> > sudo dpkg -i dkms-agrsm_2.1.80-5_i386.deb >> > >> > Generated the following output: >> > >> > (Reading database ... 159596 files and directories currently installed.) >> > Preparing to replace dkms-agrsm 2.1.80-5 (using >> > dkms-agrsm_2.1.80-5_i386.deb) ... >> > >> > ------------------------------ >> > Deleting module version: 2.1.80-4mdv2009.0 >> > completely from the DKMS tree. >> > ------------------------------ >> > Done. >> > Unpacking replacement dkms-agrsm ... >> > Setting up dkms-agrsm (2.1.80-5) ... >> > >> > Creating symlink /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/source -> >> > /usr/src/agrsm-2.1.80-4mdv2009.0 >> > >> > DKMS: add Completed. >> > >> > Kernel preparation unnecessary for this kernel. Skipping... >> > >> > Building module: >> > cleaning build area.... >> > make KERNELRELEASE=2.6.24-16-generic >> > -C /lib/modules/2.6.24-16-generic/build >> > M=/var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build....(bad exit status: 2) >> > >> > Error! Bad return status for module build on kernel: 2.6.24-16-generic >> > (i686) >> > Consult the make.log in the build directory >> > /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build/ for more information. >> > 0 >> > 0 >> > >> > Error! Could not locate agrmodem.ko for module agrsm in the DKMS tree. >> > You must run a dkms build for kernel 2.6.24-16-generic (i686) first. >> > >> > --------------------------------- >> > >> > I don't know what "must run a dkms build" means. >> > >> > Thanks, >> > John >> > >> > >> > >> > >> >> >> >> On Sat, Feb 28, 2009 at 4:35 AM, John DeArmond <jgd@xxxxxxxxxxxxx> wrote: >> >> > Hardware is Acer Aspire 3680-2682 >> >> > >> >> > No idea where to go from here. >> >> > >> >> > Thanks >> >> > John >> >> > >> >> > -------------------------- System information >> >> > ---------------------------- >> >> > CPU=i686, >> >> > Linux version 2.6.24-16-generic (buildd@palmer) (gcc version 4.2.3 >> >> > (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 13:23:42 UTC 2008 >> >> > scanModem update of: 2009_02_21 >> >> > Modem >> >> > idVendor >> >> > idProduct >> >> > There are no blacklisted modem drivers in /etc/modprobe* files >> >> > Potentially useful modem drivers now loaded are: >> >> > snd_hda_intel >> >> > >> >> > Attached USB devices are: >> >> > ID 045e:00e1 Microsoft Corp. Wireless Laser Mouse 6000 Reciever >> >> > ID 0ecd:a100 Lite-On IT Corp. >> >> > ID 0424:2507 Standard Microsystems Corp. >> >> > ID 0bc2:3000 Seagate RSS LLC >> >> > ID 4971:cb07 >> >> > ID 04f9:002b Brother Industries, Ltd >> >> > ID 04a9:221e Canon, Inc. CanoScan 8400F >> >> > ID 03f0:3602 Hewlett-Packard >> >> > ID 0424:2507 Standard Microsystems Corp. >> >> > ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port >> >> > If a cellphone is not detected, see >> >> > http://ubuntuforums.org/archive/index.php/t-878554.html >> >> > >> >> > If a USB modem or cellphone is attached and was not detected, please >> >> > provide available information in your request to discuss@xxxxxxxxxxxxx >> >> > >> >> > 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 1025:0110 Audio device: Intel Corporation 82801G >> >> > >> >> > Modem interrupt assignment and sharing: >> >> > 22: 926 IO-APIC-fasteoi HDA Intel >> >> > --- Bootup diagnostics for card in PCI slot 00:1b.0 ---- >> >> > [ 41.692469] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, >> >> > low) -> IRQ 22 >> >> > [ 41.692501] PCI: Setting latency timer of device 0000:00:1b.0 to 64 >> >> > >> >> > >> >> > ===== 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.16 >> >> > The modem cards detected by "aplay -l" are: None >> >> > >> >> > >> >> > The /proc/asound/pcm file reports: >> >> > ----------------------- >> >> > 00-02: ALC883 Analog : ALC883 Analog : capture 1 >> >> > 00-01: ALC883 Digital : ALC883 Digital : playback 1 >> >> > 00-00: ALC883 Analog : ALC883 Analog : playback 1 : capture 1 >> >> > >> >> > about /proc/asound/cards: >> >> > ------------------------ >> >> > 0 [Intel ]: HDA-Intel - HDA Intel >> >> > HDA Intel at 0xd0440000 irq 22 >> >> > >> >> > PCI slot 00:1b.0 has a High Definition Audio Card >> >> > The drivers are in the kernel modules tree at: >> >> > /lib/modules/2.6.24-23-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-intel.ko >> >> > /lib/modules/2.6.24-16-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-intel.ko >> >> > The modem codec file for the HDA card is: /proc/asound/card0/codec#1 >> >> > -------------------------------------------------------- >> >> > Codec: Generic 11c1 ID 1040 >> >> > Address: 1 >> >> > Vendor Id: 0x11c11040 >> >> > Subsystem Id: 0x10250110 >> >> > Revision Id: 0x100200 >> >> > Modem Function Group: 0x1 >> >> > >> >> > The audio card hosts a softmodem chip: 0x11c11040 >> >> > If not a Conexant modem, the driver agrsm 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:1b.0: >> >> > Modem chipset detected on >> >> > NAME="Audio device: Intel Corporation 82801G " >> >> > CLASS=0403 >> >> > PCIDEV=8086:27d8 >> >> > SUBSYS=1025:0110 >> >> > IRQ=22 >> >> > HDA=8086:27d8 >> >> > SOFT=8086:27d8.HDA >> >> > CHIP=0x11c11040 >> >> > IDENT=slmodemd >> >> > Driver=agrsm >> >> > >> >> > For candidate modem in: 00:1b.0 >> >> > 0403 Audio device: Intel Corporation 82801G >> >> > Primary device ID: 8086:27d8 >> >> > Subsystem PCI_id 1025:0110 >> >> > Softmodem codec or chipset from diagnostics: 0x11c11040 >> >> > from Archives: >> >> > The HDA card softmodem chip is 0x11c11040 >> >> > >> >> > >> >> > Support type needed or chipset: slmodemd >> >> > >> >> > ----------------end Softmodem section -------------- >> >> > >> >> > Writing DOCs/Intel.txt >> >> > Writing DOCs/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.2.3 >> >> > and the compiler used in kernel assembly: 4.2.4 >> >> > >> >> > >> >> > >> >> > Minimal compiling resources appear complete: >> >> > make utility - /usr/bin/make >> >> > Compiler version 4.2 >> >> > linuc_headers base folder /lib/modules/2.6.24-16-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. >> >> > >> >> > >> >> > >> >> > >> >> > 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 269256 2007-10-04 15:57 /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: eth2 ppp0 >> >> > vmnet1 vmnet8 >> >> > 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: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 -------- >> >> > >> >> > -- >> >> > John DeArmond >> >> > Tellico Plains, Occupied TN >> >> > http://www.neon-john.com <-- email from here >> >> > http://www.johndearmond.com <-- Best damned Blog on the net >> >> > >> >> > >> >> > >> > -- >> > John DeArmond >> > Tellico Plains, Occupied TN >> > http://www.neon-john.com <-- email from here >> > http://www.johndearmond.com <-- Best damned Blog on the net >> > >> > >> > > -- > John DeArmond > Tellico Plains, Occupied TN > http://www.neon-john.com <-- email from here > http://www.johndearmond.com <-- Best damned Blog on the net > > >