Re: 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]

 



Thank you Marvin for your useful answer,

I downloaded SLMODEMD.gcc4.1, uninstalled the ubuntu slmodem,
extracted the tgz, sudo modprobe snd-intel8x0m, did a sudo ./slmodemd
-c OMAN --alsa modem:1 and parallely to that send a ppp connection
(via network manager).
And actually it worked ! I downloaded my e-mails and was able to surf the web.

Great job ! ... but
Since I rebooted my computer it is not working anymore.

The module is correctly loaded :
sebek@bourdon:~/tmp/SLMODEMD.gcc4.1$ lsmod|grep intel
snd_intel8x0m          18572  0
snd_intel8x0           34972  1
snd_ac97_codec        100644  2 snd_intel8x0m,snd_intel8x0
snd_pcm                80388  4
snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd                    54660  13
snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc         11400  3 snd_intel8x0m,snd_intel8x0,snd_pcm
intel_agp              25620  1
agpgart                35016  2 drm,intel_agp

but when I launch slmodem with the same command than previously, I get
an error message:

sebek@bourdon:~/tmp/SLMODEMD.gcc4.1$ sudo ./slmodemd -c OMAN -a modem:1
error: mixer setup: attach hw:1 error: No such device
ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 1
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM modem:1
error: alsa setup: cannot open playback device 'modem:1': Invalid argument
error: cannot setup device `modem:1'

I tried with modem:0 and modem:1, with hw:0 and with hw:1

Only the hw:1 is launched correctly :
sebek@bourdon:~/tmp/SLMODEMD.gcc4.1$ sudo ./slmodemd -c OMAN -a hw:0
error: mixer setup: Off-hook switch not found for card hw:0
SmartLink Soft Modem: version 2.9.11 Feb 17 2008 09:31:10
symbolic link `/dev/ttySL0' -> `/dev/pts/3' created.
modem `hw:0' created. TTY is `/dev/pts/3'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

but then nothing happens when connecting with network-manager (nothing
in messages). Reading the Slmodem-ALSA.txt I should anyway use the
"modem" and not the "hw".
As you told me in the previous e-mail, I also tried to bring all
network interfaces down and unplug all usb devices. It does not help.

sebek@bourdon:~/tmp/SLMODEMD.gcc4.1$  alsactl --version
alsactl version 1.0.14

sebek@bourdon:~/tmp/SLMODEMD.gcc4.1$ ll /dev/modem
lrwxrwxrwx 1 root root 11 2008-03-06 17:33 /dev/modem -> /dev/ttySL0

Do you have an explanation for this error message when launching
slmodemd while it was working this morning?

Thank you

2008/3/4, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>:
> RE: [  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.
>
>
>
> While slamr is doing a good diagnostic, the
>  mc97 codec is SIL27
>  reveals that slamr is the wrong driver.
>
>
>  Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97
>
> Modem Controller should be support by the driver snd-inte8x0m plus an
>  ALSA competent slmodemd.  For this testing phase remove the
>  sl-modem-daemon package, as it will confuse issues:
>  $ sudo apt-get remove  sl-modem-daemon
>
>  Rather, download from http://linmodems.technion.ac.il/packages/smartlink/
>   the package SLMODEMD.gcc4.1.tar.gz having a compiled slmodemd. Unpack
>  under Linux with:
>         $ tar zxf SLMODEMD.gcc4.1.tar.gz
>   and read instructions therein. But briefly, the modem is setup commands:
>  $  sudo modprobe snd-intel8x0m
>  $   sudo slmodemd -c YOUR_COUNTRY --alsa modem:1
>   reporting dynamic creation of ports:
>         /dev/ttySL0 --> /dev/pts/N   , with N some number
>   Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.
>
>  There may be a problem with
>  -------------------
>  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
>  ----------------------
>  in that the sharing seems to be failing, in particular the
>  radeon@pci:0000:01:00.0 indicates a dominant hold by the video card.
>  Detaching non-essential USB devices and
>  $ sudo ifconfig eth0 down
>  might relieve competition
>
>  Read the Bootup. txt about possible cures. Additionally, we have a
>  report about a modem success under Mandriva whereas the same System
>  under Ubuntu had problems.
>
>  RE The error message "lsmod utility not found!"
>
> is wrong as I am currently using it.
>
> ----------
>  Yes this is a bug I'll fix tonight
>
>  MarvS
>  scanModem maintainer
>
>
>
>
>  On Tue, Mar 4, 2008 at 1:33 AM, Sebek Ab. <sebeeek@xxxxxxxxx> wrote:
>  > 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
>  >
>

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

  Powered by Linux