scanModem does not detect any modem on a HP nx7000 laptop with ubuntu gutsy

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

 



Good Morning List,

 I have a HP compaq nx7000 laptop with an internal modem but I can't
 have the dialup connection working under Ubuntu Gutsy with kernel
 2.6.22-14-generic.

 Lspci shows :
 00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
 AC'97 Modem Controller (rev 01) (prog-if 00 [Generic])
        Subsystem: Compaq Computer Corporation Unknown device 0860
        Flags: bus master, medium devsel, latency 0, IRQ 10
        I/O ports at 4400 [size=256]
        I/O ports at 4800 [size=128]
        Capabilities: [50] Power Management version 2

 scanModem does not create any files like intel.txt or smartlink.txt ...
 I attached the ModemData file created. I also tried to launch the
 scanModem as super user. The error message "lsmod utility not found!"
 is wrong as I am currently using it.

 As I have read on the web that my laptop modem would be working with
 smartlink drivers, I tried to install
 slamr-2.6.22-14-generic.tar.gz  taken from
 http://linmodems.techion.ac.il/packages/smartlink/Ubuntu/
 I copied both kernel modules slamr.ko and ungrab-winmodem.ko to
 /lib/modules/2.6.22-14-generic/ and installed package
 sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5build1_i386.deb.  Modules are
 loaded correctly.

 When I launch the connection with network-manager, it times out :
 (excerpt from messages) :
 Mar  3 11:06:04 bourdon kernel: [ 1875.016000] PPP generic driver version 2.4.2
 Mar  3 11:06:04 bourdon pppd[7457]: pppd 2.4.4 started by root, uid 0
 Mar  3 11:06:05 bourdon chat[7484]: timeout set to 60 seconds
 Mar  3 11:06:05 bourdon chat[7484]: abort on (ERROR)
 Mar  3 11:06:05 bourdon chat[7484]: abort on (BUSY)
 Mar  3 11:06:05 bourdon chat[7484]: abort on (VOICE)
 Mar  3 11:06:05 bourdon chat[7484]: abort on (NO CARRIER)
 Mar  3 11:06:05 bourdon chat[7484]: abort on (NO DIALTONE)
 Mar  3 11:06:05 bourdon chat[7484]: abort on (NO DIAL TONE)
 Mar  3 11:06:05 bourdon chat[7484]: abort on (NO ANSWER)
 Mar  3 11:06:05 bourdon chat[7484]: send (ATZ^M)
 Mar  3 11:06:05 bourdon chat[7484]: send (AT&FH0L3^M)
 Mar  3 11:06:05 bourdon chat[7484]: expect (OK)
 Mar  3 11:06:05 bourdon chat[7484]: ATZ^M^M
 Mar  3 11:06:05 bourdon chat[7484]: OK
 Mar  3 11:06:05 bourdon chat[7484]:  -- got it
 Mar  3 11:06:05 bourdon chat[7484]: send (ATDT122^M)
 Mar  3 11:06:06 bourdon chat[7484]: timeout set to 75 seconds
 Mar  3 11:06:06 bourdon chat[7484]: expect (CONNECT)
 Mar  3 11:06:06 bourdon chat[7484]: ^M
 Mar  3 11:06:06 bourdon chat[7484]: AT&FH0L3^M^M
 Mar  3 11:06:06 bourdon chat[7484]: OK^M
 Mar  3 11:06:06 bourdon chat[7484]: ATDT122^M^M
 Mar  3 11:07:21 bourdon chat[7484]: alarm
 Mar  3 11:07:21 bourdon chat[7484]: Failed
 Mar  3 11:07:22 bourdon pppd[7457]: Exit.

 some more logs :
 sebek@bourdon:~$ dmesg |grep slamr
 [  128.164704] slamr: module license 'Smart Link Ltd.' taints kernel.
 [  128.172292] slamr: SmartLink AMRMO modem.
 [  128.172535] slamr: probe 8086:24c6 ICH4 card...
 [  128.175251] slamr: mc97 codec is SIL27
 [  128.175340] slamr: slamr0 is ICH4 card.

 sebek@bourdon:~$ slmodemd
 error: mdm setup: cannot open dev `/dev/slamr0': Device or resource busy
 error: cannot setup device `/dev/slamr0'

 sebek@bourdon:~$ ll /dev/slamr0
 crw-rw---- 1 root dialout 242, 0 2008-03-04 09:00 /dev/slamr0


 One important point, I am using the same dial up connection with
 another ubuntu laptop and succeed (sony vaio C2S with hsfmodem), so
 the dial up connection is working and I am using the same connection
 info.

 My questions are the following :
 - why is scanModem script not able to detect my modem?
 - is smartlink driver installed correctly?

 Thank you for your help,
 Best Regards
 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.22-14-generic 
 With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
 YourCountry will enable Country specific guidance. Your contry's local Linux experts
 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.22-14-generic (buildd@terranova) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Fri Feb 1 04:59:50 UTC 2008
 scanModem update of:  2008_03_01
The modem symbolic link is /dev/modem -> ttySL0
The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/0

lsmod utility not found! Install the package modutils
 There are no blacklisted modem drivers in /etc/modprobe*  files 

The Advanced Linux Sound Architecture (ALSA) packages providing audio support, 
also includes drivers for some modems. The ALSA diagnostics are written during 
bootup to /proc/asound/ folders.


The ALSA verion is 1.0.14
The modem cards detected by "aplay -l"  are:


The /proc/asound/pcm file reports:
-----------------------
00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1
00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1
00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1
00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1

about /proc/asound/cards:
------------------------
 0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
                      Intel 82801DB-ICH4 with AD1981B at irq 10

USB modem not detected by lsusb

For candidate card in slot 00:1f.6, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:1f.6	8086:24c6	0e11:0860	Modem: Intel Corporation 82801DB/DBL/DBM 

 Modem interrupt assignment and sharing: 
 10:    1469276    XT-PIC-XT        uhci_hcd:usb1, ohci1394, ICH4, Intel 82801DB-ICH4, eth0, radeon@pci:0000:01:00.0
 --- Bootup diagnostics for card in PCI slot 00:1f.6 ----
[   20.037162] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [C0C3] -> GSI 10 (level, low) -> IRQ 10
[   20.037181] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[  147.274899] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [C0C3] -> GSI 10 (level, low) -> IRQ 10
[  147.274939] PCI: Setting latency timer of device 0000:00:1f.6 to 64

 The PCI slot 00:1f.6 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 Bootup.txt about possible fixes.
 Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
 if help is needed.
 


 === Finished modem firmware and bootup diagnostics section. ===
 === Next deducing cogent software ===

 Completed candidate modem analyses.

 The base of the UDEV device file system is: /dev/.udev

 Versions adequately match for the compiler installed: 4.1.3
             and the compiler used in kernel assembly: 4.1.3


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.1
   linuc_headers base folder /lib/modules/2.6.22-14-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 libc6-dev (and for Debian/Ubuntu,  linux-libc-dev). The also required headers of package libc6 are commonly installed by default. 



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 package
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 22: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


 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 2008-03-03 11:18 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:  lrwxrwxrwx 1 root root 10 2008-03-03 11:18 /dev/ttySL0 -> /dev/pts/0
     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/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/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
/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 --------


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

  Powered by Linux