Steve, USA, kernel 3.2.0-59-generic-pae

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm running Ubuntu 12.04 ( kernel is 3.2.*) on a Dell laptop and would like to set it up to be able to connect with  ppp  dialout using its native internal modem, over my landline to my ISP . 

The laptop in question boots from either Windows7 or Ubuntu. When booted from Windows7, the dialout to my ISP works fine, using the driver that is installed by Win7.

About five years ago I did this kind of thing with your help on a different laptop that is dying now. When I recently looked for a precompiled driver file suitable for this newer laptop on your web site, I could see that such files have not been provided there for several years now (Ubuntu 9.x , with a 2.6.* kernel, being the most recent I saw there, I think.)

If it is still possible for me to get a modem driver working for this purpose, please let me know, what steps I should take.

NOTES: 

I've obtained and run the most recent version of scanmodem. See output from scanmodem, below.

Also, optimistically hoping that the tarred source that is available on your site might compile now even though the source was for 2.x kernels, I downloaded the tarred source and used the  'make install' command. 

This _may_ have gone well enough until it advised that I must next run 'hsfconfig' ... which complained of being unable to find smp_lock.h files. Sure enough smp_lock.h is no longer present in gcc compiler revs used for linux 3.x kernel revs. hsfconfig --dumpdiag output is also shown, in part,  below. It is so long I've had trouble trying to paste it into email. I have no idea whether the lack of the two smp_lock.h files is the whole story, versus, a minuscule fraction of the difficulties for someone trying to use this old source code, with a 3.2.* kernel.

So now I am somewhat less optimistic, but, still hopeful.


Thank you,
Steve

from scanModem:
--------------------------  System information ----------------------------

CPU=i686,  Ubuntu ,  ALSA_version=1.0.24
Linux version 3.2.0-59-generic-pae (buildd@aatxe) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #90-Ubuntu SMP Tue Jan 7 23:07:06 UTC 2014
 scanModem update of:  2011_08_08

Distrib_ID=Ubuntu
DistribCodeName=precise
AptRepositoryStem=http://us.archive.ubuntu.com/ubuntu/


The dkms driver upgrade utilities are installed,

 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 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
 ID 0b97:7772 O2 Micro, Inc. OZ776 CCID Smartcard Reader
 ID 0781:5406 SanDisk Corp. Cruzer Micro U3
If a cellphone is not detected, see http://ubuntuforums.org/archive/index.php/t-878554.html
A sample report is:  http://linmodems.technion.ac.il/bigarch/archive-nineth/msg00578.html

If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@xxxxxxxxxxxxx

Candidate PCI devices with modem chips are:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
High Definition Audio cards can host modem chips.

For candidate card in slot 00:1b.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:1b.0	8086:284b	1028:01f9	Audio device: Intel Corporation 82801H 

 Modem interrupt assignment and sharing: 
 45:        745        242   PCI-MSI-edge      snd_hda_intel
 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
[    0.389405] pci 0000:00:1b.0: [8086:284b] type 0 class 0x000403
[    0.389437] pci 0000:00:1b.0: reg 10: [mem 0xf6dfc000-0xf6dfffff 64bit]
[    0.389577] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    0.389585] pci 0000:00:1b.0: PME# disabled
[   23.297732] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[   23.297813] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X
[   23.297850] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[   23.384911] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[   23.385303] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7

 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 modem cards detected by "aplay -l"  are: None


The /proc/asound/pcm file reports:
-----------------------
00-00: STAC92xx Analog : STAC92xx Analog : playback 1 : capture 1
00-01: STAC92xx Digital : STAC92xx Digital : playback 1

about /proc/asound/cards:
------------------------
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf6dfc000 irq 45

 PCI slot 00:1b.0 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 /lib/modules/3.2.0-59-generic-pae/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/3.2.0-23-generic-pae/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
MFG Function Id: 0x2 (unsol 1)
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 82801H "
CLASS=0403
PCIDEV=8086:284b
SUBSYS=1028:01f9
IRQ=45
HDA2=00:1b.0
SOFT=8086:284b.HDA
CodecDiagnosed=Conexant_
HDAchipVendorID=14f1
CHIP=0x14f12c06
IDENT=hsfmodem
Driver=hsfmodem-drivers

 For candidate modem in:  00:1b.0
   0403 Audio device: Intel Corporation 82801H 
      Primary device ID:  8086:284b
    Subsystem PCI_id  1028:01f9 
    Softmodem codec or chipset from diagnostics: Conexant_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


Modem support packages from Linuxant include resources for compiling drivers.  
If an installer package matching your kernel_version  is not provided,
just install a generic code package.

 From  http://www.linuxant.com/drivers/hsf/full/downloads-ubuntu-x86.php
 download hsfmodem-7.80.02.05full_k3.2.0_59_generic_pae_ubuntu_i386.deb.zip 
 Under Linux unpack with:
 $ unzip hsfmodem*.zip
 Then install with:
 $ sudo dpkg -i hsfmodem*.deb
 Subsequently, the modem should be found with
 $ sudo wvdialconf /etc/wvdial.conf
 Edit in your personal information with:
 $ sudo gedit /etc/wvdial.conf
 and try dialing out with:
 $ sudo wvdial.
 See DOCs/Testing.txt  for details.
 
 The directions following below need only be pursued, if the above procedures are not adequate.

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:	3.2.0_59_generic_pae
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:
  sudo dpkg -i hsf*.deb
while for .rpm suffix it is, with:
  rpm -i hsf*.rpm
 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.6.3
             and the compiler used in kernel assembly: 4.6

 linux-headers-3.2.0-59-generic-pae resources needed for compiling are not manifestly ready!

 If compiling is necessary packages must be installed, providing:
	 linux-headers-3.2.0-59-generic-pae


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 273272 Feb  4  2011 /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
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

For guidance on FAX usage, get from http://linmodems.technion.ac.il/packages/  get faxing.tar.gz
It has samples for a modem using port /dev/ttySL0, which must be changed to match your modem's port.

Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0 wlan0
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/blacklist-modem.conf:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem.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 --------

hsfconfig --dumpdiag partial output:

compilation terminated.
make[2]: *** [/usr/lib/hsfmodem/modules/osservices.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-59-generic-pae'
make: *** [all] Error 2

+ cat -v /etc/hsfmodem/log/buildlog-20140302195837.txt
driver version 7.80.02.06full
(cd /lib/modules/3.2.0-59-generic-pae/build && make "CNXT_KERNELSRC=/lib/modules/3.2.0-59-generic-pae/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean)
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-59-generic-pae'
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-59-generic-pae'
(cd /lib/modules/3.2.0-59-generic-pae/build && make "CNXT_KERNELSRC=/lib/modules/3.2.0-59-generic-pae/build" "M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc" "HDA_CFLAGS=-DFOUND_KZALLOC  -DFOUND_TLV   -DFOUND_IRQ_HANDLER_T -DFOUND_DELAYED_WORK  -DFOUND_NO_CTL_ELEM_RW" clean)
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-59-generic-pae'
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-59-generic-pae'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfosspec.mod  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfserial.mod  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfengine.mod  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfpcibasic2.mod  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfpcibasic3.mod  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfhda.mod  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfmc97ich.mod  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfmc97via.mod  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfmc97ali.mod  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfmc97ati.mod  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfmc97sis.mod  /lib/modules/3.2.0-59-generic-pae/build/.tmp_versions/hsfsoar.mod Modules.symvers
 GPL/hda/Modules.symvers Module.symvers GPL/hda/Module.symvers modules.order GPL/hda/modules.order Module.markers GPL/hda/Module.markers
(cd /lib/modules/3.2.0-59-generic-pae/build && make "CNXT_KERNELSRC=/lib/modules/3.2.0-59-generic-pae/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-59-generic-pae'
  CC [M]  /usr/lib/hsfmodem/modules/mod_engine.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_hda.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ali.o
In file included from /usr/lib/hsfmodem/modules/mod_mc97ali.c:32:0:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:49:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ati.o
In file included from /usr/lib/hsfmodem/modules/mod_mc97ati.c:26:0:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:49:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ich.o
In file included from /usr/lib/hsfmodem/modules/mod_mc97ich.c:37:0:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:49:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97sis.o
In file included from /usr/lib/hsfmodem/modules/mod_mc97sis.c:25:0:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:49:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97via.o
In file included from /usr/lib/hsfmodem/modules/mod_mc97via.c:25:0:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:49:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  CC [M]  /usr/lib/hsfmodem/modules/mod_osspec.o
  CC [M]  /usr/lib/hsfmodem/modules/osservices.o
In file included from /usr/lib/hsfmodem/modules/osservices.c:20:0:
/usr/lib/hsfmodem/modules/GPL/oscompat.h:201:57: error: 'SPIN_LOCK_UNLOCKED' undeclared here (not in a function)
/usr/lib/hsfmodem/modules/osservices.c:51:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[2]: *** [/usr/lib/hsfmodem/modules/osservices.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-59-generic-pae'
make: *** [all] Error 2

==========================================






[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux