Diego Pablo de la Hera | 2 Mar 01:46 2006
Picon

slmodemd ALSA support

No modem device is shown with aplay -l

[root <at> PRINCIPAL SLMODEMD]# modprobe snd-intel8x0m
[root <at> PRINCIPAL SLMODEMD]# lsmod | grep intel
snd_intel8x0m		15204  0
snd_ac97_codec	83900  2 snd_intel8x0m,snd_trident
snd_pcm			79784  4 snd_intel8x0m,snd_pcm_oss,snd_trident,snd_ac97_codec
snd_page_alloc	  8392  3 snd_intel8x0m,snd_trident,snd_pcm
snd				46116  12 snd_intel8x0m,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_trident,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
[root <at> PRINCIPAL SLMODEMD]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SI7018 [SiS SI7018], device 0: trident_dx_nx [Trident 4DWave]
  Subdevices: 32/32
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
  Subdevice #8: subdevice #8
  Subdevice #9: subdevice #9
  Subdevice #10: subdevice #10
  Subdevice #11: subdevice #11
  Subdevice #12: subdevice #12
  Subdevice #13: subdevice #13
  Subdevice #14: subdevice #14
  Subdevice #15: subdevice #15
  Subdevice #16: subdevice #16
(Continue reading)

Diego Pablo de la Hera | 2 Mar 21:48 2006
Picon

Re: slmodemd ALSA support

Marvin,

First of all, thank you for your reply.  This is the output for the command you asked me to do...

[root <at> PRINCIPAL diego]# lspci | grep audio
00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 02)

Attached goes the ModemData.

Once more, thank you for your help,

DIEGO.

>---- Mensaje Original ----
>De: "Marvin Stodolsky" <marvin.stodolsky <at> gmail.com>
>Para: "Diego Pablo de la Hera" <ddelahera <at> hotmail.com>, "Jacques Goldberg" <Jacques.Goldberg <at> cern.ch>
>Fecha: MiƩ 01 Mar 2006 22:36
>Asunto: Re: slmodemd ALSA support
>
>Jacuqes
> An update
>
>On 3/1/06, Marvin Stodolsky <marvin.stodolsky <at> gmail.com> wrote:
>> Diego,
>>
>> snd-intel8x0 is the audio driver which must be loaded BEFORE modem
>> driver snd-intel8x0m , provided that your modem is a compartible type
>>
>> What is your audio card? Do
>> $ lspci | grep udio
(Continue reading)

Diego Pablo de la Hera | 3 Mar 04:25 2006
Picon

Re: slmodemd ALSA support

Marv,

I'm using Mandriva, so I configure it through its Control Center.  There, it says the best driver for my sound
card is snd-trident.  Anyway,
after your last email, I tried and configured it to use snd-intel8x0.  Then, when I restarted ALSA server it
loaded fine, with snd-intel8x0 it
said.  However, this is what happened when I tried alsamixer and aplay -l...

	[root <at> PRINCIPAL diego]# alsamixer

	alsamixer: function snd_ctl_open failed for default: No such file or directory
	[root <at> PRINCIPAL diego]# aplay -l
	aplay: device_list:218: no soundcards found...

Then, I tried snd-trident again.  So, without loading snd-intel8x0m (as snd-intel8x0 wasn't loaded
either) I tried the following...

	[root <at> PRINCIPAL SLMODEMD]# ./slmodemd -d 1 --alsa hw:0
	SmartLink Soft Modem: version 2.9.9e-pre1 Sep 24 2005 14:47:19
	<820.029747> SmartLink Soft Modem: version 2.9.9e-pre1 Sep 24 2005 14:47:19
	<820.029865> hw:0: startup modem...
	<820.030317> hw:0: update termios...
	symbolic link `/dev/ttySL0' -> `/dev/pts/4' created.
	modem `hw:0' created. TTY is `/dev/pts/4'
	<820.031895> open file: /var/lib/slmodem/data.hw:0...
	<820.031993> cannot open '/var/lib/slmodem/data.hw:0': No such file or directory
	<820.034720> main: rt applyed: SCHED_FIFO, pri 99
	Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

... yes, it seems to have loaded fine, doesn't it?  It's even successfully detected by wvdialconf, as shown below...
(Continue reading)

Diego Pablo de la Hera | 4 Mar 00:38 2006
Picon

Re: slmodemd ALSA support

Marv,

Although I added 'Carrier Check = no' to /etc/wvdial.conf, as you said, anything seems to have changed...

	[root <at> PRINCIPAL SLMODEMD]# wvdial
	--> WvDial: Internet dialer version 1.54.0
	--> Initializing modem.
	--> Sending: ATZ
	ATZ
	OK
	--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
	ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
	OK
	--> Modem initialized.
	--> Sending: ATDT46543887
	--> Waiting for carrier.
	ATDT46543887
	NO DIALTONE
	--> No dial tone.
	--> Disconnecting at Fri Mar  3 20:20:11 2006

Once again, as I said before, the modem doesn't even seem to pick up the line.  I understand that I know nothing
about the issue, but I think
that the fact of listening to the modem signal through the sound card when ATA command is run within kppp
terminal, although no real action
seems to be taken by the modem, may mean that, although there is a connection between kppp or wvdial and
slmodemd, there isn't one 
between slmodemd and the modem.
Anyway, just in case, attached goes my /etc/wvdial.conf.  Thanks Marv,

(Continue reading)

Diego Pablo de la Hera | 4 Mar 18:07 2006
Picon

Re: slmodemd ALSA support

Marv,

I've found that, in my case at least, if I add one command after the other in one same line,

Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0

only the first one is considered.  So, I did this instead,

Init2 = ATQ0
Init3 = ATV1
Init4 = ATE1
Init5 = ATS0=0
Init6 = ATX3
Init7 = AT&C1
Init8 = AT&D2
Init9 = AT+FCLASS=0

That seemed to work, this was the output,

	[root <at> PRINCIPAL SLMODEMD]# wvdial
	--> WvDial: Internet dialer version 1.54.0
	--> Initializing modem.
	--> Sending: ATZ
	ATZ
	OK
	--> Sending: ATQ0
	ATQ0
	OK
	--> Sending: ATV1
	ATV1
(Continue reading)

Diego Pablo de la Hera | 4 Mar 23:47 2006
Picon

Re: slmodemd ALSA support

Marv,

I must say I'm very confused.  This is what I've done.  I've tried uselessly to unload snd_trident, it seems it
just won't do it.  Then, in /etc/modprobe.conf,
I changed 'alias sound-slot-0 snd-trident' to 'alias sound-slot-0 snd-intel8x0', in order to tell ALSA
to use snd-intel8x0 instead of snd-trident.  After doing
so, I ran '/etc/init.d/alsa force-stop' to stop ALSA and then '/etc/init.d/alsa start' to restart it. 
Then, I loaded snd-intel8x0m, after what I did 'lsmod | grep
snd'; this was the output,

	[root <at> PRINCIPAL etc]# lsmod | grep snd
	snd_intel8x0m          15204  0
	snd_seq_dummy           2532  0
	snd_seq_oss            31136  0
	snd_seq_midi_event      5696  1 snd_seq_oss
	snd_seq                46960  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
	snd_seq_device          6828  3 snd_seq_dummy,snd_seq_oss,snd_seq
	snd_pcm_oss            48960  0
	snd_mixer_oss          16896  1 snd_pcm_oss
	snd_intel8x0           29408  0
	snd_ac97_codec         83900  2 snd_intel8x0m,snd_intel8x0
	snd_pcm                79784  4 snd_intel8x0m,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
	snd_timer              20548  2 snd_seq,snd_pcm
	snd_page_alloc          8392  3 snd_intel8x0m,snd_intel8x0,snd_pcm
	snd                    46116  10 snd_intel8x0m,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
	soundcore               7008  1 snd

After that, I ran 'aplay -l'.  However, this is what happened,

	[root <at> PRINCIPAL etc]# aplay -l
(Continue reading)

Philippe Vouters | 6 Mar 16:12 2006
Picon

About sent /etc/wvdial.conf

Hello Mauricio,

Has my /etc/wvdial.conf I mailed you been of any help to you ?
Thank you to keep me as well as discuss <at> linmodems.org informed.
Yours sincerely,
Philippe Vouters (Fontainebleau/France)
http://linmodems.technion.ac.il/packages/Intel/

David Searson | 6 Mar 01:40 2006
Picon

Please help!

I am very new to linx.  I have been a windows user all my life(not by
choice). Anyways I am using Ubuntu and can not get my modem to work. here is
my ModemData.txt file. Can you help me? Thanks in advance.
David Searson
searson73 <at> 295.ca

 DO use the following line as the email Subject Line, to alert cogent experts:
      scanModem, Ubuntu 5.10 "Breezy Badger"  kernel 2.6.12-9-386
 Occassionally reponses are blocked by an Internet Provider mail filters.
 So do in a day also check the Archived responses at DISCUSS <at> linmodems.org
Code updated on:  2006_March_01
------------ --------------  System information ------------------------
 Ubuntu 5.10 "Breezy Badger" 
 on System with processor: i686
 currently under kernel:   2.6.12-9-386
 https://wiki.ubuntu.com/DialupModemHowto has good general guidance.
A /dev/modem symbolic link is not present
 USB modem not detected.

 The kernel was assembled with compiler:  3.4.5
 a gcc-3.4.5  package must be installed to support driver compiling
To support compiling, get the  BreezyGCC_3.4_i386.tar.gz from
http://phep2.technion.ac.il/linmodems/packages/smartlink/ 

 Compiling utility   make   Not found.

Checking for kernel-headers needed for compiling.
 Kernel-header resources needed for compiling are not manifestly ready!
(Continue reading)

Marvin Stodolsky | 6 Mar 21:19 2006
Picon

Re: Please help!

David,

 Goto http://www.linuxant.com/drivers/hsf/full/downloads.php and
through the link
    Ubuntu Breezy (5.10), 5.0.4,  locate the:
 KERNEL_VERSION		Filename
 2.6.12-9-386	hsfmodem_7.43.00.01full_k2.6.12-9-386.deb.zip
 Unpack under Linux with:
 	unzip hsf*.zip
 and install with:
	sudo dpkg -i hsf*.deb
 Subsequently test with:
	sudo wvdialconf /etc/wvdial.conf
At the lines with  ;  use
$ sudo gedit  /etc/wvdial.conf
to put in your personal information, removing the ;  and  <  > sysmbols
Save and try a dialout with:

$ sudo wvdial

THis initially install only provides 14.4 speed service.  There is no
alternative to paying the fee for full speed 56.8 service

Do presently get the the  BreezyGCC_3.4_i386.tar.gz from
http://phep2.technion.ac.il/linmodems/packages/smartlink/

You will need its resources later, when you upgrade your kernel and
may have to compile your own drivers.

MarvS
(Continue reading)

Jacques Goldberg | 6 Mar 21:22 2006
Picon
Picon

Re: Please help!

David,
Your modem is a Conexant modem model HSF
Your Linux distribution is Ubuntu 5.10
Your kernel is 2.6.12-9-386
This is all you need to know to follow the instructions in the attached 
file. Do follow them to quickly find what you need.
You will reach the Web page 
http://www.linuxant.com/drivers/hsf/full/downloads.php
where the last in the Distributions list is your Ubuntu. Click on it, 
download the file for 2.6.12-9
On the left side of the page, in the HSF area, there is a link to 
installation which will guide you step by step.

Jacques

David Searson wrote:
> I am very new to linx.  I have been a windows user all my life(not by
> choice). Anyways I am using Ubuntu and can not get my modem to work. here is
> my ModemData.txt file. Can you help me? Thanks in advance.
> David Searson
> searson73 <at> 295.ca
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
>  DO use the following line as the email Subject Line, to alert cogent experts:
>       scanModem, Ubuntu 5.10 "Breezy Badger"  kernel 2.6.12-9-386
>  Occassionally reponses are blocked by an Internet Provider mail filters.
(Continue reading)


Gmane