Re: Modem

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

 



Dear Joern, Dear MarvS,


1.
The internal 56K modem seems to have some contact with
slmodemd. Next step is, that I need the last number X
of the command:
sudo slmodemd -c GERMANY -a hw:0,X

$ ls proc/asound/card0
shows
codec#2 id oss-mixer pxm0c pcm0p pcm1p
only.
How do I use the command cat, that it shows not
only the end of the file ? (I have Linux only for
three days and neither the handbook nor the command
man shows it.)

2.
I installed Conexant driver as suggested by MarvS
it showed something like no modem or modem in use.
When I connected the external 33,6K modem the
Conexant had contact. wvdial also works. But I cannot
edit the phonenumber and others into wvdial.conf
because of lack of basic knowledge:

$ ls /etc
shows a file called wvdial.conf among others
but
$ sudo gedit /etc/wvdial.conf
results in
cannot open display

Thanks
 Rainer


Joern Wuestenfeld wrote:

Dear Rainer,

the commands, that you used to start slmodemd, are slightly wrong. The
command should look like:

sudo slmodemd -c GERMANY -a hw:0,X

here you have to replace the X by the number of the codec, that the
sound card uses for the modem.This number can be found by looking at the
file sin /proc/asound/card0. There should be two file s starting with
codec#. If you look at these files with cat, they will show at the
beginning some information about the hardware.

For example:


Codec: Generic 11c1 Si3054
Address: 1
Vendor Id: 0x11c13026
Subsystem Id: 0x11c13026
Revision Id: 0x100600
Modem Function Group: 0x1


Normally the file codec#0 describes the sound device (DSP and ADC).
While codec#1 describes the modem.
In addition there should be some directories pcmXx, where X is a number
and x is either 'c' or 'p'.
Normal sound cards hva at least two directories pcm(1/2)c and one pcm1p.
If there is a modem, then there are two more directories pcmX(c/p). The
number X in these directory names has to be used for the X in the above
slmodemd command.


Example: My machine has:

ls /proc/asound/card0
codec#0  codec#1  id  oss_mixer  pcm0c  pcm0p  pcm2c  pcm6c  pcm6p

so I use "slmodemd -c GERMANY -a hw:0,6"

Hope this helps,

Joern



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

  Powered by Linux