Daniel Use $ sudo slmodemd -c BRAZIL --alsa -s hw:0,1 The -c COUNTRY adjusts the modem to local phone line conditions. MarvS On Jan 8, 2008 6:20 PM, Daniel Victoria <daniel.victoria@xxxxxxxxx> wrote: > Hi Jacques et al, > > Tomorrow I'll re-run the wvdialconf since I forgot to do it after I > changed the call to slmodemd. So then I'll be able to know if > everything is working. I do know that the modem works because I can > ring my cell phone :) > > Meanwhile does the -c USA option means anithing? I'm dialing from Brazil... > > Also, I don't hear the modem audio output (dialing and handshake > noise). Is that normal? Is there a way to turn it on so I can know if > the wvdial is getting to the handshake part? > > Thanks > Daniel > > > On Jan 8, 2008 1:50 PM, Jacques Goldberg <Jacques.Goldberg@xxxxxxx> wrote: > > Daniel, > > > > 1-There is NOTHING to be touched nor done with ppp > > > > 2-In case you have not done it already (you write that you dialed out so > > if you could for example browse the Web, there is nothing more to be > > master with wvdial either): > > After having started slmodemd -c USA --alsa -s hw:0,1 > > which you should not stop before you want to stop using the modem, as > > super user ( = root), with command su to become root: > > wvdialconf /etc/wvdial.com > > Edit /etc/wvdial.conf > > Remove the three ; , the three < , and the three > in the area where > > you set the phone number, username and password given to you by your > > ISP, and replace the names of these 3 variables (which were inside < >) > > by their values. > > Add one line: > > Carrier Check = no > > Exit the editor. > > You will not need to do ANYTHING ELSE in this file until you want to > > change the ISP variables or have more than one ISP. > > > > Start wvdial every time you want to start a modem session and do not > > stop it before you want to stop the session. > > > > slmodemd and wvdial are stopped with typing CTRL-C > > > > Enjoy your modem > > > > Jacques > > > > > > > > Daniel Victoria wrote: > > > It worked!! I was able to dial out using the config you mentioned. > > > Thanks a million!! > > > > > > Now I just need to learn how to master wvdial and the ppp part > > > > > > Cheers > > > Daniel > > > > > > On Jan 8, 2008 11:08 AM, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote: > > >> Dan > > >> > > >> 0:7c = 5349 > > >> 0:7e = 4c27 > > >> translates as SIL27 an Agere Systems codec. Try > > >> $ slmodemd -c USA --alsa -s hw:0,1 > > >> > > >> -s for shortbuffer is need for the ALI5451 hardware > > >> > > >> MarvS > > >> > > >> > > >> On Jan 8, 2008 6:19 AM, Daniel Victoria <daniel.victoria@xxxxxxxxx> wrote: > > >>> Hi MarvS, > > >>> > > >>> I'm attaching the mc97#1-1+reg file. Hope it helps. > > >>> > > >>> Yesterday I tested the modem but it did not work. Maybe because of the > > >>> hw:0,1 thing or, most probably, as you explained, I used an old > > >>> version of slmodemd. > > >>> > > >>> I just downloaded the new version that you mentioned > > >>> (slmodemd.gcc.4.1) and will test it later today. > > >>> > > >>> Many thanks for all your help > > >>> Daniel > > >>> > > >>> > > >>> On Jan 7, 2008 10:53 PM, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote: > > >>>> Daniel > > >>>> > > >>>> 1) Of most importance, check if there is a file > > >>>> /proc/asound/card0/codec97#0/mc97#1-1+reg > > >>>> > > >>>> If so, send me the complete output of: > > >>>> cat /proc/asound/card0/codec97#0/mc97#1-1+regs > > >>>> > > >>>> 2) RE: $ sudo ./slmodemd -a -c BRAZIL hw:0 > > >>>> hw:0 is merely the audio compondent of the card. It will not support COMM. > > >>>> $ sudo ./slmodemd -a -c BRAZIL hw:0,1 > > >>>> would use the modem Subsystem if present > > >>>> > > >>>> 3) version 2.9.9e-pre1 is NOT competent for COMM with current kernels. > > >>>> From http://phep2.technion.ac.il/linmodems/packages/smartlink/ > > >>>> get the SLMODEMD.gcc4.1.tar.gz and use the slmodemd therein of version 2.9.11 > > >>>> > > >>>> I'll do a bugfix for ALI5451 interrogation tonight > > >>>> > > >>>> MarvS > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> On Jan 7, 2008 8:55 AM, Daniel Victoria <daniel.victoria@xxxxxxxxx> wrote: > > >>>>> Hi Marv, > > >>>>> > > >>>>> I did not delete anything from the ModemData.txt output. > > >>>>> > > >>>>> The output from the command you requested is attached. I'm also > > >>>>> attaching the lspci and lspci -nv outputs. > > >>>>> > > >>>>> The good news is that I found a post that directed me to download > > >>>>> slmodemd-2.9.9e-pre1-alsa.tar.gz and running the daemon, apparently my > > >>>>> modem was detected!! I could not do a complete test because I don't > > >>>>> have a land line now, but will test it latter today. The output of the > > >>>>> slmodemd command is: > > >>>>> > > >>>>> daniel@xadrez:~/p2120/SLMODEMD$ sudo ./slmodemd -a -c BRAZIL hw:0 > > >>>>> SmartLink Soft Modem: version 2.9.9e-pre1 Sep 24 2005 14:47:19 > > >>>>> symbolic link `/dev/ttySL0' -> `/dev/pts/1' created. > > >>>>> modem `hw:0' created. TTY is `/dev/pts/1' > > >>>>> Use `/dev/ttySL0' as modem device, Ctrl+C for termination. > > >>>>> > > >>>>> Thanks > > >>>>> Daniel > > >>>>> > > >>>>> > > >>>>> On Jan 7, 2008 11:43 AM, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote: > > >>>>>> Daniel, > > >>>>>> > > >>>>>> Your ModemData.txt is missing large blocks of expected info, Do > > >>>>>> $ bash -x ./scanModem 2>&1 | tee DV.txt > > >>>>>> and send me the DV.txt, so I can do a bug fix if necessary. > > >>>>>> > > >>>>>> If you deliberately deleted some unpleasant info from the ModemData.txt > > >>>>>> PLEASE resend the complete file. At a minimum, return the output of > > >>>>>> $ lspci > > >>>>>> $ lspci -nv > > >>>>>> > > >>>>>> The Si3036 are a base chip, which are customized further. > > >>>>>> They can be finished to serve as Conexant modem chips > > >>>>>> or as chips for several other modems supported by freeware. > > >>>>>> > > >>>>>> MarvS > > >>>>>> scanModem maintainer > > >>>>>> > > >>>>>> > > >>>>>> On Jan 7, 2008 8:00 AM, Daniel Victoria <daniel.victoria@xxxxxxxxx> wrote: > > >>>>>>> Hi, > > >>>>>>> > > >>>>>>> I have a Fujitsu Lifebook and scanmodem tool tells me I have an ALI > > >>>>>>> 5451 but does not output any instructions as to what to do to get it > > >>>>>>> working. I'm attaching the scanModem output. > > >>>>>>> > > >>>>>>> Also, looking at /proc/asound/card0/codec97#0/mc97#1-1 it gives: > > >>>>>>> > > >>>>>>> daniel@xadrez:/proc/asound/card0/codec97#0$ more mc97#1-1 > > >>>>>>> 1-1/0: Silicon Laboratory Si3036,8 rev 7 > > >>>>>>> > > >>>>>>> Extended modem ID: codec=1 LIN1 > > >>>>>>> Modem status : GPIO MREF ADC1 DAC1 PRE(ADC2) PRF(DAC2) PRG(HADC) PRH(HDAC) > > >>>>>>> Line1 rate : 8000Hz > > >>>>>>> > > >>>>>>> Does that mean I have a ALI modem with SIL chipset? What do I do now? > > >>>>>>> > > >>>>>>> Thanks > > >>>>>>> Daniel > > >>>>>>> > > >