Jonathan, Please advise. This is a Debian system. MarvS ---------- Forwarded message ---------- From: Vincent Lefevre <vincent@xxxxxxxxxx> Date: Thu, Jul 9, 2009 at 1:02 PM Subject: Vincent Lefevre, France kernel 2.6.30-1-amd64 To: discuss@xxxxxxxxxxxxx [Note about the machine: DELL Latitude E6400, with Debian/unstable] Hi, According to ModemData.txt (attached), I need the hsfmodem driver. I've tried to install it with the installation program cnxtinstall.run downloaded from http://www.linuxant.com/drivers/hsf/downloads-installer.php but the alsa-driver-linuxant build failed (see attached log). It assumes that there is a directory /usr/src/linux-headers-2.6.30-1-common/alsa-kernel but it is not present in the linux-headers-2.6.30-1-common Debian package. BTW, the generated Modem/1stRead.txt file contains: YourModem.txt - Guidance about operating your particular System, for your benefit It should NOT be sent to Discuss@xxxxxxxxxxxxx but there isn't such a file. In fact, it seems to be YourSystem.txt. Note: I have until tomorrow to install the driver, after which I'll be off. Thanks in advance for any advice. -- Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
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.30-1-amd64 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=x86_64, Linux version 2.6.30-1-amd64 (Debian 2.6.30-2) (waldi@xxxxxxxxxx) (gcc version 4.3.3 (Debian 4.3.3-13) ) #1 SMP Wed Jul 8 12:20:34 UTC 2009 scanModem update of: 2009_07_02 Some modem drivers can only be used in 32 bit modem on x86_64 systems, while some others are competent on x86_64 Systems. Cases are: 1) http://linmodems.technion.ac.il/bigarch/archive-seventh/msg03119.html for the snd-hda-intel audio+modem driver. Also applicable to AC97 modem controllers. In both cases, 32 bit libraries must be installed to support the slmodemd helper having a precompiled 32 bit component. 2) For USB modems using the slusb.ko driver. 32 bit libraries must be installed to support the slmodemd helper having a precompiled 32 bit component 3) The hsfmodem and hcfpcimodem drivers for Conexant chipsest modes are x86_64 competent. 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 0a5c:5800 Broadcom Corp. ID 413c:8156 Dell Computer Corp. ID 413c:8158 Dell Computer Corp. ID 413c:8157 Dell Computer Corp. ID 0a5c:4500 Broadcom Corp. ID 0c45:63f8 Microdia 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:293e 1028:0233 Audio device: Intel Corporation 82801I Modem interrupt assignment and sharing: 21: 300 296 IO-APIC-fasteoi uhci_hcd:usb4, uhci_hcd:usb7, HDA Intel --- Bootup diagnostics for card in PCI slot 00:1b.0 ---- [ 0.346788] pci 0000:00:1b.0: reg 10 64bit mmio: [0xf6fdc000-0xf6fdffff] [ 0.346788] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold [ 0.346788] pci 0000:00:1b.0: PME# disabled [ 15.141232] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21 [ 15.141412] HDA Intel 0000:00:1b.0: setting latency timer to 64 [ 15.238933] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input12 [ 15.285036] input: HDA Intel Mic at Sep Left Jack as /devices/pci0000:00/0000:00:1b.0/input/input13 [ 15.285206] input: HDA Intel Mic at Ext Right Jack as /devices/pci0000:00/0000:00:1b.0/input/input14 [ 15.285370] input: HDA Intel Line Out at Sep Left Jack as /devices/pci0000:00/0000:00:1b.0/input/input15 [ 15.285534] input: HDA Intel HP Out at Ext Right Jack as /devices/pci0000:00/0000:00:1b.0/input/input16 The PCI slot 00:1b.0 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.20 The modem cards detected by "aplay -l" are: None The /proc/asound/pcm file reports: ----------------------- 00-00: STAC92xx Analog : STAC92xx Analog : playback 1 : capture 2 about /proc/asound/cards: ------------------------ 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xf6fdc000 irq 21 PCI slot 00:1b.0 has a High Definition Audio Card The drivers are in the kernel modules tree at: /lib/modules/2.6.30-1-amd64/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.26-2-amd64/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.29-2-amd64/kernel/sound/pci/hda/snd-hda-intel.ko The modem codec file for the HDA card is: /proc/asound/card0/codec#1 -------------------------------------------------------- Codec: Conexant ID 2c06 Address: 1 Function Id: 0x2 Vendor Id: 0x14f12c06 Subsystem Id: 0x14f1000f Revision Id: 0x100000 Modem Function Group: 0x2 The audio card hosts a softmodem chip: 0x14f12c06 14f1 is the Conexant Vendor ID, and 0x14f12c06 a softmodem chipset. Get a hsfmodem package through http://www.linuxant.com If not a Conexant modem, the driver hsfmodem-drivers 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 82801I " CLASS=0403 PCIDEV=8086:293e SUBSYS=1028:0233 IRQ=21 HDA=8086:293e SOFT=8086:293e.HDA HDAchipVendorID=14f1 CHIP=0x14f12c06 IDENT=hsfmodem Driver=hsfmodem-drivers For candidate modem in: 00:1b.0 0403 Audio device: Intel Corporation 82801I Primary device ID: 8086:293e Subsystem PCI_id 1028:0233 Softmodem codec or chipset from diagnostics: 0x14f12c06 from Archives: The HDA card softmodem chip is 0x14f12c06 Support type needed or chipset: hsfmodem Writing DOCs/Intel.txt For owners of a Dell PCs with Conexant HSF modems, a driver source package with full speed enabled is available, but requires driver compiling. Read DOCs/Conexant.txt Start at http://www.linuxant.com/drivers/hsf/downloads-license.php to find the hsfmodem package matching your System. For several Linux distros, there are precompiled drivers matched to specific kernels. These have within the FileName, your KernelVersion: 2.6.30_1_amd64 They can be found through http://www.linuxant.com/drivers/hsf/full/downloads.php A more precise location may be given a few paragraphs below. If an EXACT Match with your your KernelVersion is not found, one of the "Generic packages with source" near the bottom of the page must be used. Downloaded packages must be moved into the Linux partition (home folder is OK) and unzipped with: unzip hsf*.zip The installation command for a .deb suffic packages is, with root/adm permission: dpkg -i hsf*.deb while for .rpm suffix it is, with: rpm -i hsf*.rpm Support for Conexant chips hosted on High Definition Audio cards may require installation of additional packages, one of the alsa-driver-linuxant packages on http://www.linuxant.com/alsa-driver/ At the same time download the alsa-driver-1.0.17-1.patch , in case it prove to be later needed. During the hsfmodem install, there will be a message if there is necessary installation of alsa-driver-linuxant The installation command for a .deb suffic packages is, with root/adm permission: dpkg -i hsf*.deb while for .rpm suffix it is, with: rpm -i hsf*.rpm There may a message that "Dependencies" are not satisfied. In this case the Ubuntu/Debian packages to be installed are linux-libc-dev & libc6-dev. Package names may be different for other Linuxes. If not on your install CD, these packages can be searched for at http://packages.ubuntu.com. After download, they can be coinstalled with: dpkg -i li*.deb Again try the alsa-driver-linuxant There may be a message that the patch must be applied. In this case get the ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.17.tar.bz2 Under Linux, this package is unpacked with: $ tar jxf alsa*.tar.bz2 Next the patch is applied with: $ patch -p0 < alsa-driver-1.0.17-1.patch See http://linmodems.technion.ac.il/bigarch/archive-eighth/msg00838.html for details on compiling and installing replacement snd-hda-intel + its dependent drivers. After the installation is completed, rerun the hsfmodem installation. Reboot and try to detect the modem with Root permission: wvdialconf /etc/wvdial.conf Start at http://www.linuxant.com/drivers/hsf/full for eventually download of a hsfmodem-7.68.00.12full_k.???.zip package with ??? the package type (deb, rpm, tar etc) These packages have compiled drivers but will also compile a driver, if there is a mismatch between the resident kernel and provided driver. The generic hsfmodem-7.68.00.12full.tar.gz package only provides compiling support Read DOCs/Conexant.txt Writing DOCs/Conexant.txt Completed candidate modem analyses. The base of the UDEV device file system is: /dev/.udev Versions adequately match for the compiler installed: 4.3.3 and the compiler used in kernel assembly: 4.3.3 Minimal compiling resources appear complete: make utility - /usr/bin/make Compiler version 4.3 linuc_headers base folder /lib/modules/2.6.30-1-amd64/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. For Debian and some related distributions, a package kernel-kbuild-2.6-30 may be needed to support driver compiling. 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 settings of: /etc/ppp/options asyncmap 0 auth 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: eth0 wlan0 wmaster0 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-blacklist.conf:# Uncomment these entries in order to blacklist unwanted modem drivers /etc/modprobe.d/alsa-base-blacklist.conf:# blacklist snd-atiixp-modem /etc/modprobe.d/alsa-base-blacklist.conf:# blacklist snd-via82xx-modem /etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2 /etc/modprobe.d/alsa-base.conf: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 -------- For Debian users, the linux-headers-2.6.30-1-amd64.deb can be used instead of kernel-source/
rm -f .depend *.o snd.map* rm -f /*.ver rm -f modules/*.o modules/*.ko rm -f *~ out.txt *.orig *.rej .#* .gdb_history rm -f doc/*~ rm -f config.cache config.log config.status Makefile.conf rm -f utils/alsa-driver.spec rm -f `find alsa-kernel -name "*~"` rm -f `find alsa-kernel -name "*.orig"` rm -f `find alsa-kernel -name "*.rej"` rm -f `find alsa-kernel -name ".#*"` rm -f `find alsa-kernel -name "out.txt"` rm -f `find . -name "Module.markers"` rm -f `find . -name "modules.order"` rm -rf autom4te.cache rm -f alsa-kernel/include/version.h rm -f include/sound rm -fr .tmp_versions rm -f Module.symvers find . -name "*.in" -a ! -name "configure.in" | sed 's/.in$//g' | xargs rm -f rm -fr builds checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/lib/alsa-driver-linuxant checking cross compile... checking for directory with kernel source... /lib/modules/2.6.30-1-amd64/source checking for directory with kernel build... /lib/modules/2.6.30-1-amd64/build checking for kernel linux/version.h... yes checking for kernel linux/autoconf.h... yes checking for kernel version... 2.6.30-1-amd64 checking for GCC version... ./configure: eval: line 5073: syntax error near unexpected token `)' ./configure: eval: line 5073: `my_compiler_version=4.3.3-13)' Kernel compiler: gcc 4.3.3 (Debian 4.3.3-13) Used compiler: gcc (Debian 4.3.3-13) 4.3.3 ./configure: line 5098: test: too many arguments ./configure: line 5103: test: too many arguments checking for built-in ALSA... no checking for existing ALSA module... yes checking for Red Hat kernel... auto checking for Red Hat kernel... no checking for SUSE kernel... auto checking for SUSE kernel... no checking for updating alsa-kernel version.h... yes checking for CONFIG_EXPERIMENTAL... yes checking for directory to store kernel modules... /lib/modules/2.6.30-1-amd64/kernel/sound checking for verbose procfs... on checking for verbose printk... on checking for debug level... none checking for ISA support in kernel... no checking for processor type... x86_64 checking for ISA DMA API... yes checking for 32bit compat support... yes checking for kernel linux/config.h... no Creating <linux/config.h>... checking for deprecated linux/config.h... checking to modify of kernel linux/kmod.h... no checking for kernel linux/utsrelease.h... yes checking for kernel linux/compiler.h... yes checking for kernel linux/pm.h... yes checking for kernel linux/spinlock.h... yes checking for kernel linux/irq.h... yes checking for kernel linux/threads.h... yes checking for kernel linux/rwsem.h... yes checking for kernel linux/gameport.h... yes checking for kernel media/v4l2-dev.h... yes checking for kernel linux/devfs_fs_kernel.h... no Creating a dummy <linux/devfs_fs_kernel.h>... checking for kernel linux/highmem.h... yes checking for kernel linux/workqueue.h... yes checking for kernel linux/dma-mapping.h... yes checking for kernel asm/hw_irq.h... yes checking for kernel linux/device.h... yes checking for kernel linux/platform_device.h... yes checking for kernel linux/isa.h... yes checking for kernel linux/jiffies.h... yes checking for kernel linux/compat.h... yes checking for kernel linux/log2.h... yes checking for kernel linux/adb.h... yes checking for kernel linux/cuda.h... yes checking for kernel linux/pmu.h... yes checking for kernel linux/io.h... yes checking for kernel linux/moduleparam.h... yes checking for kernel linux/syscalls.h... yes checking for kernel linux/firmware.h... yes checking for kernel linux/err.h... yes checking for kernel linux/bitmap.h... yes checking for kernel linux/mutex.h... yes checking for kernel linux/pm_qos_params.h... yes checking for kernel linux/kthread.h... yes checking for kernel asm/irq_regs.h... yes checking for kernel linux/seq_file.h... yes checking for kernel linux/debugfs.h... yes checking for kernel linux/gpio.h... yes checking for kernel module symbol versions... yes checking for has ioport support... yes checking for PCI support in kernel... yes checking for I2C driver in kernel... module checking for I2C_POWERMAC in kernel... unknown checking for firmware loader... yes checking for input subsystem in kernel... yes checking for pc-speaker platform in kernel... yes checking for SMP... yes checking for Video device support in kernel... yes checking for ISA PnP driver in kernel... yes checking for PnP driver in kernel... yes checking for Kernel ISA-PnP support... no checking for Kernel ISA-PnP module support... no checking for strlcpy... yes checking for snprintf... yes checking for vsnprintf... yes checking for scnprintf... yes checking for sscanf... yes checking for vmalloc_to_page... yes checking for old kmod... no checking for PDE... yes checking for usb_endpoint_dir_in and related functions... yes checking for usb_endpoint_xfer_control... yes checking for pci_set_consistent_dma_mask... yes checking for pci_dev_present... yes checking for fmode_t... yes checking for hrtimer_get_expires... yes checking for msleep... yes checking for msleep_interrupt... yes checking for msecs_to_jiffies... yes checking for tty->count is the atomic type... no checking for video_get_drvdata... yes checking for video_drvdata... yes checking for V4L1 layer... yes checking for V4L2 layer... yes checking for io_remap_pfn_range... yes checking for kcalloc... yes checking for kstrdup... yes checking for kstrndup... yes checking for kzalloc... yes checking for create_workqueue with flags... no checking for pci_ioremap_bar... yes checking for saved_config_space in pci_dev... yes checking for new pci_save_state... yes checking for register_sound_special_device... yes checking for driver extra-version... checking for driver version... 1.0.20 checking for dynamic minor numbers... no checking for sequencer support... yes checking for OSS/Free emulation... yes checking for OSS PCM plugin system inclusion... yes checking for RTC support... no checking for HPET support... yes checking for Procfs support... yes checking for USB support... yes checking for class_simple... no checking for old driver suspend/resume callbacks... no checking for removal of page-reservation for nopage/mmap... no checking for nested class_device... no checking for new IRQ handler... yes checking for gfp_t... yes checking for GFP_DMA32... yes checking for page_to_pfn... yes checking for bool... yes checking for PnP suspend/resume... yes checking for device_create_drvdata... no checking for new unlocked/compat_ioctl... yes checking for builtin _Bool support... yes checking for x86-compatible PC... no checking for High-Res timers... yes checking for kernel PCMCIA checking for PCMCIA support... yes checking for PC9800 support in kernel... no checking for parallel port support... yes checking for power management... yes checking for CONFIG_HAS_DMA... yes checking for cards to compile driver for... all checking for additonal options to compile driver for... all configure: creating ./config.status config.status: creating version config.status: creating Makefile.conf config.status: WARNING: Makefile.conf.in seems to ignore the --datarootdir setting config.status: creating snddevices config.status: creating utils/alsa-driver.spec config.status: creating utils/buildrpm config.status: creating toplevel.config config.status: creating utils/alsasound config.status: creating utils/alsasound.posix config.status: creating include/pci_ids_compat.h config.status: creating include/i2c-id_compat.h config.status: creating include/config.h config.status: creating include/config1.h config.status: creating include/version.h config.status: creating include/autoconf-extra.h Hacking autoconf.h... if [ ! -d include/sound -a ! -L include/sound ]; then \ ln -sf ../alsa-kernel/include include/sound ; \ fi cp -pvf include/version.h include/sound/version.h `include/version.h' -> `include/sound/version.h' make dep make[1]: Entering directory `/usr/lib/alsa-driver-linuxant' #@for d in acore i2c drivers isa synth pci aoa soc usb pcmcia misc; do if ! make -C $d prepare; then exit 1; fi; done make[1]: Leaving directory `/usr/lib/alsa-driver-linuxant' make -C /lib/modules/2.6.30-1-amd64/source SUBDIRS=/usr/lib/alsa-driver-linuxant CPP="gcc -E" CC="gcc" modules make[1]: Entering directory `/usr/src/linux-headers-2.6.30-1-common' ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. WARNING: Symbol version dump /usr/src/linux-headers-2.6.30-1-common/Module.symvers is missing; modules will have no dependencies and modversions. find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': No such file or directory find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': No such file or directory find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': No such file or directory Building modules, stage 2. /usr/src/linux-headers-2.6.30-1-common/scripts/Makefile.modpost:43: include/config/auto.conf: No such file or directory find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': No such file or directory find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': No such file or directory find: `/usr/src/linux-headers-2.6.30-1-common/alsa-kernel/': No such file or directory make[2]: *** No rule to make target `include/config/auto.conf'. Stop. make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-1-common' make: *** [compile] Error 2