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]

 



Hi Marvin,

I made it work with network-manager, the selected modem was /dev/modem
(which disappeared), so I just choose /dev/ttySL0.

I keep your vwdial.conf file just in case.

To sum up how to make modem working on a nx7000 with gutsy using
smartlink drivers in alsa mode :
- remove package sl-modem-daemon
- download SLMODEMD.gcc4.1.tgz from the linmodem web site
- extract slmodemd, check it is version 2.9.11 and put it in the
path /usr/sbin/slmodemd
- at startup run these command :
sudo modprobe -r slamr
sudo modprobe -r snd_intel8x0m
sudo modprobe  snd_intel8x0m
sudo slmodemd -d 1 -c YOUR_COUNTRY -a modem:1
and leave slmodemd running
- with network-manager applet, check that the modem device you are using
is /dev/ttySL0


I still have some things unclear like :
- What is the best way to modify startup scripts in order to not do this
every time I wan't to connect?
- why is the /etc/init.d/sl-modem-daemon loading slamr module? In the
case of alsa use, we don't need slamr.
- Is slmodemd 2.9.11 planned in next distributions version?

Anyway thank you so much for your help.
I would be happy to contribute to a wiki if you set one up.

Best Regards





Le lundi 10 mars 2008 à 20:10 -0400, Marvin Stodolsky a écrit :
> Sebek,
> 
> You need
> 
> [Dialer Defaults]
> Init1 = ATZ
> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> Modem Type = Analog Modem
> Baud = 460800
> New PPPD = yes
> Modem = /dev/ttySL0
> ISDN = 0
> Phone = IPnumber
> Username = LoginName
> Password =  LoginPassword
> Carrier Check = no
> 
> MarvS
> 
> 
> 
> 
> On Mon, Mar 10, 2008 at 9:20 AM, Sebek Ab. <sebeeek@xxxxxxxxx> wrote:
> > HI Marvin & List,
> >
> >  Here is the wvdial.conf I am using.
> >
> >  BR
> >
> >  2008/3/10, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>:
> >
> >
> > > Send us your wvdial.conf file
> >  >
> >  >
> >  >
> >  >  On Mon, Mar 10, 2008 at 8:51 AM, Sebek Ab. <sebeeek@xxxxxxxxx> wrote:
> >  >  > Hi Marvin,
> >  >  >
> >  >  >  Thank you for your patience.
> >  >  >  As you though, I still had the slamr module loaded, I am not sure why.
> >  >  >
> >  >  >  I fixed the problem with :
> >  >  >  $ sudo modprobe slamr
> >  >  >
> >  >  > $ sudo modprobe -r snd_intel8x0m
> >  >  >  $ sudo modprobe snd_intel8x0m
> >  >  >
> >  >  >  and now I have slmodemd launching correctly :
> >  >  >
> >  >  >  sebek@bourdon:~$ sudo slmodemd -d 1 -c OMAN -a modem:1
> >  >  >
> >  >  > SmartLink Soft Modem: version 2.9.11 Feb 17 2008 09:31:10
> >  >  >  <419.083677> SmartLink Soft Modem: version 2.9.11 Feb 17 2008 09:31:10
> >  >  >  <419.083740> modem:1: startup modem...
> >  >  >  <419.083853> modem:1: update termios...
> >  >  >  symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
> >  >  >  modem `modem:1' created. TTY is `/dev/pts/1'
> >  >  >  <419.084485> open file: /var/lib/slmodem/data.modem:1...
> >  >  >  <419.084537> cannot open '/var/lib/slmodem/data.modem:1': No such file
> >  >  >  or directory
> >  >  >  <419.085134> main: rt applyed: SCHED_FIFO, pri 99
> >  >  >
> >  >  > Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
> >  >  >
> >  >  >
> >  >  >  But I now have a different problem, I always get a "no carrier"
> >  >  >  message when launching the connection.
> >  >  >  sebek@bourdon:~$ sudo wvdial
> >  >  >  WvDial<*1>: WvDial: Internet dialer version 1.56
> >  >  >  WvModem<*1>: Cannot get information for serial port.
> >  >  >  WvDial<*1>: Initializing modem.
> >  >  >  WvDial<*1>: Sending: ATZ
> >  >  >  WvDial Modem<*1>: ATZ
> >  >  >  WvDial Modem<*1>: OK
> >  >  >  WvDial<*1>: Modem initialized.
> >  >  >  WvDial<*1>: Sending: ATDT122
> >  >  >  WvDial<*1>: Waiting for carrier.
> >  >  >  WvDial Modem<*1>: ATDT122
> >  >  >  WvDial Modem<*1>: CONNECT 40000
> >  >  >  WvDial<*1>: Carrier detected.  Waiting for prompt.
> >  >  >  WvDial<Err>: Connected, but carrier signal lost!  Retrying...
> >  >  >  WvDial<*1>: Sending: ATDT122
> >  >  >  WvDial<*1>: Waiting for carrier.
> >  >  >  WvDial Modem<*1>: Authorized Access Only
> >  >  >  WvDial Modem<*1>: This system is the property of YemenNet PTC
> >  >  >  WvDial Modem<*1>: Disconnect IMMEDIATELY if you are not an authorized user!
> >  >  >  WvDial Modem<*1>: User Access Verification
> >  >  >  WvDial Modem<*1>: Password:
> >  >  >  WvDial Modem<*1>: Password:
> >  >  >  WvDial<*1>: Carrier detected.  Waiting for prompt.
> >  >  >  WvDial<Err>: Connected, but carrier signal lost!  Retrying...
> >  >  >  WvDial<*1>: Sending: ATDT122
> >  >  >  WvDial<*1>: Waiting for carrier.
> >  >  >  WvDial Modem<*1>: NO CARRIER
> >  >  >  WvDial Modem<*1>: ATDT122
> >  >  >  WvDial<Warn>: No Carrier!  Trying again.
> >  >  >  WvDial<*1>: Sending: ATDT122
> >  >  >  WvDial<*1>: Waiting for carrier.
> >  >  >
> >  >  >  and so on ...
> >  >  >
> >  >  >
> >  >  >  Should I blame slmodemd or my wvdial configuration? I have the same
> >  >  >  problem when using "sudo pon". On another ubuntu computer (using
> >  >  >  hsfmodem) I don't have any problems.
> >  >  >
> >  >  >  Please find attached the output of the slmodemd launched with debug :
> >  >  >  slmodemd-output-nocarrier.txt when this no carrier problem occurs.
> >  >  >
> >  >  >  Thank you for any direction you can give me.
> >  >  >
> >  >  >  2008/3/9, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>:
> >  >  >
> >  >  >
> >  >  > > Sebek,
> >  >  >  >
> >  >  >  >  modem:0 (or hw:0)  is your audio card, while modem:1 (or hw:1) is the mode
> >  >  >  >
> >  >  >  >  Use:
> >  >  >  >  $ sudo gedit /etc/default/sl-modem-daemon
> >  >  >  >  to chamge
> >  >  >  >  SLMODEMD_COUNTRY=USA
> >  >  >  >  to
> >  >  >  >  SLMODEMD_COUNTRY=OMAN
> >  >  >  >  also while testing set
> >  >  >  >  DONTSTART=1
> >  >  >  >  as you may have interference from those scripts.  slamr should not be
> >  >  >  >  loaded as it may interfere
> >  >  >  >  When the scripts are working properly, they run a slmodemd setup
> >  >  >  >  during the bootup,
> >  >  >  >  Thus the modem is activated.  But if slamr was used, the --alsa modem
> >  >  >  >  is not set!!
> >  >  >  >
> >  >  >  >  Note that you can do:
> >  >  >  >  $ sudo /etc/init.d/sl-modem-daemon  stop (or start or restart)
> >  >  >  >
> >  >  >  >  The slmodemd installed by the sl-modem-daemon package.  It is
> >  >  >  >  $ slmodemd --version
> >  >  >  >  SmartLink Soft Modem: version 2.9.9e-pre1
> >  >  >  >  ------------
> >  >  >  >
> >  >  >  >  while you need the
> >  >  >  >  $ slmodemd --version
> >  >  >  >
> >  >  >  > SmartLink Soft Modem: version 2.9.11
> >  >  >  >
> >  >  >  > --------------
> >  >  >  >  provided by the SLMODEMD package.
> >  >  >  >  Copy the slmodemd from the SLMODEMD package to /usr/bin/slmodemd and
> >  >  >  >  there should then be version 2.9.11
> >  >  >  >  $ slmodemd --version
> >  >  >  >
> >  >  >  > SmartLink Soft Modem: version 2.9.11
> >  >  >  >
> >  >  >  >
> >  >  >  > CHeck these issues out.
> >  >  >  >
> >  >  >  >  MarvS
> >  >  >  >
> >  >  >  >
> >  >  >  >
> >  >  >  >
> >  >  >  >
> >  >  >  >
> >  >  >  >
> >  >  >  >
> >  >  >  >  On Sun, Mar 9, 2008 at 3:34 AM, Sebek Ab. <sebeeek@xxxxxxxxx> wrote:
> >  >  >  >  > Hi Marvin,
> >  >  >  >  >
> >  >  >  >  >  I can still not launch the dial up connection, slmodemd with modem1
> >  >  >  >  >  give an error message and slmodemd with hw0 gives me a "no carrier"
> >  >  >  >  >  message when launching connection.  I tried to modprobe -r / modprobe
> >  >  >  >  >  many times. I tried rebooting.
> >  >  >  >  >
> >  >  >  >  >  Details below :
> >  >  >  >  >
> >  >  >  >  >  sebek@bourdon:~$ sudo modprobe -r snd-intel8x0m
> >  >  >  >  >  sebek@bourdon:~$ sudo modprobe  snd-intel8x0m
> >  >  >  >  >  sebek@bourdon:~$ 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 have the same error message with modem:0 and hw:1
> >  >  >  >  >
> >  >  >  >  >  With  hw:0 I get :
> >  >  >  >  >  sebek@bourdon:~$ 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/2' created.
> >  >  >  >  >  modem `hw:0' created. TTY is `/dev/pts/2'
> >  >  >  >  >
> >  >  >  >  > Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
> >  >  >  >  >  error: cannot set channels for playback: Invalid argument
> >  >  >  >  >
> >  >  >  >  >  When slmodemd is launched with hw:0, the sound is not working.
> >  >  >  >  >
> >  >  >  >  >  If I launched connection when slmodemd is launched with "hw:0" I get :
> >  >  >  >  >  Mar  9 09:05:29 bourdon chat[6321]: abort on (NO CARRIER)
> >  >  >  >  >  [...]
> >  >  >  >  >  Mar  9 09:05:29 bourdon chat[6321]: timeout set to 75 seconds
> >  >  >  >  >  Mar  9 09:05:29 bourdon chat[6321]: expect (CONNECT)
> >  >  >  >  >  Mar  9 09:05:29 bourdon chat[6321]: ^M
> >  >  >  >  >  Mar  9 09:05:29 bourdon chat[6321]: AT&FH0L3^M^M
> >  >  >  >  >  Mar  9 09:05:29 bourdon chat[6321]: OK^M
> >  >  >  >  >  Mar  9 09:05:29 bourdon chat[6321]: ATDT122^M^M
> >  >  >  >  >  Mar  9 09:05:29 bourdon chat[6321]: NO CARRIER
> >  >  >  >  >  Mar  9 09:05:29 bourdon chat[6321]:  -- failed
> >  >  >  >  >  Mar  9 09:05:29 bourdon chat[6321]: Failed (NO CARRIER)
> >  >  >  >  >  Mar  9 09:05:30 bourdon pppd[6260]: Exit.
> >  >  >  >  >
> >  >  >  >  >  Following recommendations when a "no carrier" error occurs :
> >  >  >  >  >  http://linmodems.technion.ac.il/archive-fifth/msg00552.html
> >  >  >  >  >  I updated my (empty) module.conf and added :
> >  >  >  >  >
> >  >  >  >  >  options snd cards_limit=2
> >  >  >  >  >  alias snd-card-0 snd-intel8x0
> >  >  >  >  >  alias sound-slot-0 snd-intel8x0
> >  >  >  >  >  options snd-intel8x0 index=0
> >  >  >  >  >  alias snd-card-1 snd-intel8x0m
> >  >  >  >  >  alias sound-slot-1 snd-intel8x0m
> >  >  >  >  >  options snd-intel8x0m index=1
> >  >  >  >  >
> >  >  >  >  >  still the same situation.
> >  >  >  >  >
> >  >  >  >  >  Should I still try to use modem0? Or try to fix this no carrier message first?
> >  >  >  >  >
> >  >  >  >  > Thank you for your help,
> >  >  >  >  >  BR
> >  >  >  >  >
> >  >  >  >  >  By the way I don't have access anymore to
> >  >  >  >  >  http://linmodems.technion.ac.il/ (timeout). Is it down or should I
> >  >  >  >  >  blame my very-low dial up connection?
> >  >  >  >  >
> >  >  >  >  >  2008/3/7, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>:
> >  >  >  >  >
> >  >  >  >  >
> >  >  >  >  > > Sebek,
> >  >  >  >  >  >
> >  >  >  >  >  >  Copy the slmodemd into the COMMAND path
> >  >  >  >  >  >  $ sudo cp slmodemd   /usr/sbin/slmodemd
> >  >  >  >  >  >  $ sudo chmod +x  /usr/sbin/slmodemd
> >  >  >  >  >  >
> >  >  >  >  >  >  When the problem below occurs just unload and reload the  driver
> >  >  >  >  >  >  $ sudo modprobe -r snd-intel8x0m
> >  >  >  >  >  >  $ sudo modprobe  snd-intel8x0m
> >  >  >  >  >  >  This usually cures sucj failures (once you have had a success).  It is
> >  >  >  >  >  >  occassionally needed between dialout sessions.
> >  >  >  >  >  >
> >  >  >  >  >  >  MarvS
> >  >  >  >  >  >
> >  >  >  >  >  >
> >  >  >  >  >  >
> >  >  >  >  >  >  On Thu, Mar 6, 2008 at 11:55 AM, Sebek Ab. <sebeeek@xxxxxxxxx> wrote:
> >  >  >  >  >  >  > 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