From x@x.x Fri Jun 24 23:03:51 2005 Date: Fri, 24 Jun 2005 23:00:22 -0500 From: CJ Kucera Subject: slmodem and NO DIALTONE Status: RO Content-Length: 8213 Lines: 228 Hello list! I've seen this issue brought up a few times across the internet, and even a little earlier in the month on this list, but what I haven't seen is the answer to the problem, so I figured it's my turn to do the asking this time. I've got a laptop whose soundcard uses the ALSA snd-intel8x0 driver, and it's got an attached modem which uses the ALSA snd-intel8x0m driver. Theoretically I should be able to use the slmodem package to use the modem. Currently I've got ALSA compiled straight into the kernel (running 2.6.12.1 at the moment), and in the bootup sequence I get these messages: > ALSA device list: > #0: Intel ICH6 with AD1981B at 0xd0581000, irq 11 > #1: Intel ICH Modem at 0x2400, irq 10 ... and when I run "aplay -l" it looks like everything's been detected correctly: > **** List of PLAYBACK Hardware Devices **** > card 0: ICH6 [Intel ICH6], device 0: Intel ICH [Intel ICH6] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 0: ICH6 [Intel ICH6], device 4: Intel ICH - IEC958 [Intel ICH6 - IEC958] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: Modem [Intel ICH Modem], device 0: Intel ICH - Modem [Intel ICH Modem - Modem] > Subdevices: 1/1 > Subdevice #0: subdevice #0 I can play sound through the soundcard with no problems. Everything also seems fine when I start up slmodemd: > # slmodemd --alsa -g=dialout -d=1 modem:1 > SmartLink Soft Modem: version 2.9.9d Jun 24 2005 22:33:15 > <213.937537> SmartLink Soft Modem: version 2.9.9d Jun 24 2005 22:33:15 > <213.938669> modem:1: startup modem... > <213.939785> modem:1: update termios... > symbolic link `/dev/ttySL0' -> `/dev/pts/6' created. > modem `modem:1' created. TTY is `/dev/pts/6' > <213.943389> open file: /var/lib/slmodem/data.modem:1... > <213.944923> main: rt applyed: SCHED_FIFO, pri 99 > Use `/dev/ttySL0' as modem device, Ctrl+C for termination. Everything seems good at this point, /dev/ttySL0 appears to be created as well: > # ls -lL /dev/ttySL0 > crw-rw---- 1 root dialout 136, 6 Jun 24 22:46 /dev/ttySL0 However, when I run wvdial, without fail I always get a "NO DIALTONE" message (occasionally it'll try again and get the message a second time before giving up). Here's the wvdial output: > $ 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: ATDT1-xxx-xxx-xxxx > --> Waiting for carrier. > ATDT1-xxx-xxx-xxxx > NO DIALTONE > --> No dial tone. > --> Disconnecting at Fri Jun 24 22:32:49 2005 (yes, there's a real phone number there, and not just a bunch of xes.) The wvdial.conf looks like so: > # cat /etc/wvdial.conf > [Dialer Defaults] > Modem = /dev/ttySL0 > Baud = 115200 > Init1 = ATZ > Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 > ISDN = 0 > Modem Type = Analog Modem > Phone = 1-xxx-xxx-xxxx > Username = xxxxxxxx > Password = xxxxxxxx > Carrier Check = no I've tried it with "Carrier Check" set to 'yes' as well, as well as leaving that option out of the file entirely. The debugging output from slmodem mentions a rate of 9600 in there as well (I'll paste in that monster shortly), so I've also tried changing the Baud setting to 9600 (and a few other values as well) which does no good. The above session was run as a user (in the dialout group), but I get identical behavior when I run it as root. I'm not quite sure where to go with this. I'm running slmodem 2.9.9d. I tried out 2.9.9e-pre1 available on the site, and that didn't change the situation at all. My kernel is a vanilla, unpatched 2.6.12.1. wvdial is 1.54.0. Oh, and I *did* make sure that I actually *am* getting a dialtone using all the same cords, etc, so that's not the problem either. I do also get the following messages in dmesg: > codec_semaphore: semaphore is not ready [0x1][0x700300] > codec_read 1: semaphore is not ready for register 0x54 ... though I've read elsewhere that these messages don't necessarily indicate a problem. Any help anyone could give would be greatly appreciated. I'll paste in the massive output from slmodems after my signoff, in case that info is useful as well. On another note, is it possible to use something like minicom to talk to the modem directly over /dev/ttySL0, so I can run the various ATZ and ATDT commands myself so that I can take wvdial out of the picture? That may be helpful. I tried doing so earlier with a number of different comm settings, but I couldn't actually get anything out of the port that way. I presume that has something to do with me putting in invalid settings in minicom, though. Thanks, CJ (slmodem output follows - one odd thing I noticed was that there are two "Its setup is" sections in here): > <364.098728> main: termios changed. > <364.098747> modem:1: update termios... > <364.171952> main: termios changed. > <364.171960> modem:1: update termios... > <364.272002> modem:1: run cmd: ATZ > <364.272009> modem:1: modem reset... > <364.272013> modem:1: modem set state: 1 --> 1... > <364.272020> modem:1: modem set mode: -> 0... > <364.272024> modem:1: modem report result: 0 (OK) > <364.372033> modem:1: run cmd: ATQ0V1E1S0=0&C1&D2+FCLASS=0 > <364.372048> modem:1: modem set mode: -> 0... > <364.372053> modem:1: modem report result: 0 (OK) > <364.472107> modem:1: run cmd: ATDT1-xxx-xxx-xxxx > <364.472117> modem:1: modem dial: T1-xxx-xxx-xxxx... > <364.472122> modem:1: modem_dial_start... > <364.472153> modem:1: modem_start.. > <364.472157> modem:1: modem set state: 1 --> 2... > <364.472162> modem:1: new state: DP_ESTAB > <364.472166> main: alsa_ioctl: cmd 8, arg 3... > <364.472171> modem:1: modem set hook: 0 --> 1... > <364.472175> main: alsa_ioctl: cmd 2, arg 1... > <364.474527> main: alsa_ioctl: cmd 11, arg 0... > <364.474585> main: alsa_ioctl: cmd 4, arg 2580... > <364.474590> main: alsa_ioctl: cmd 7, arg 30... > <364.474594> main: alsa_start... > Hardware PCM card 1 'Intel ICH Modem' device 0 subdevice 0 > > Its setup is: > stream : PLAYBACK > access : RW_INTERLEAVED > format : S16_LE > subformat : STD > channels : 1 > rate : 9600 > exact rate : 9600 (9600/1) > msbits : 16 > buffer_size : 1536 > period_size : 48 > period_time : 5000 > tick_time : 1000 > tstamp_mode : NONE > period_step : 1 > sleep_min : 0 > avail_min : 4 > xfer_align : 4 > start_threshold : 2147483647 > stop_threshold : 1536 > silence_threshold: 0 > silence_size : 0 > boundary : 1610612736 > Hardware PCM card 1 'Intel ICH Modem' device 0 subdevice 0 > > Its setup is: > stream : CAPTURE > access : RW_INTERLEAVED > format : S16_LE > subformat : STD > channels : 1 > rate : 9600 > exact rate : 9600 (9600/1) > msbits : 16 > buffer_size : 1536 > period_size : 48 > period_time : 5000 > tick_time : 1000 > tstamp_mode : NONE > period_step : 1 > sleep_min : 0 > avail_min : 4 > xfer_align : 4 > start_threshold : 2147483647 > stop_threshold : 1536 > silence_threshold: 0 > silence_size : 0 > boundary : 1610612736 > <364.475124> main: startup write: 576... > <369.480254> modem:1: modem_update_status: 16 > <369.480288> modem:1: --> FINISH. > <369.480292> modem:1: modem_hup... > <369.480296> modem:1: modem set state: 2 --> 9... > <369.480300> modem:1: new state: DP_DISC > <369.480304> modem:1: modem_stop.. > <369.480308> main: alsa_stop... > <369.480343> modem:1: modem set hook: 1 --> 0... > <369.480348> main: alsa_ioctl: cmd 2, arg 0... > <369.481518> main: alsa_ioctl: cmd 8, arg 0... > <369.481530> modem:1: modem set state: 9 --> 1... > <369.481534> modem:1: new state: MODEM_IDLE > <369.481538> modem:1: modem report result: 6 (NO DIALTONE) > <369.481545> main: dev write = 0 > <369.581496> main: termios changed. > <369.581503> modem:1: update termios... > <369.581511> main: pty closed. > <372.386997> main: signal 2: mark termination. > <372.387065> modem:1: modem_delete... -- WOW: Kakistocracy | "Happiness isn't good enough for me! I linmodems@apocalyptech.com | demand euphoria!" apocalyptech.com/music/ | - Calvin From x@x.x Sat Jun 25 09:45:33 2005 From: "marvstod@x.x" Date: Sat, 25 Jun 2005 10:45:04 -0400 Subject: RE: slmodem and NO DIALTONE Status: RO Content-Length: 356 Lines: 15 CJ To slmodemd --alsa -g=3Ddialout -d=3D1 modem:1 add in slmodemd --alsa -g=3Ddialout -c YourCountry -d=3D1 modem:1 with YourCountry from output of # slmodemd --countrylist For reasons obscure, this has made a difference in some cases=2E ALso try slmodemd --alsa -g=3Ddialout -c YourCountry -d=3D1 hw:1 Sasha will likely have better guidance MarvS From x@x.x Sat Jun 25 10:21:52 2005 Date: Sat, 25 Jun 2005 10:20:48 -0500 From: CJ Kucera Subject: Re: slmodem and NO DIALTONE Status: RO Content-Length: 762 Lines: 21 marvstod@x.x wrote: > To > slmodemd --alsa -g=dialout -d=1 modem:1 > add in > slmodemd --alsa -g=dialout -c YourCountry -d=1 modem:1 > with YourCountry from output of > # slmodemd --countrylist > For reasons obscure, this has made a difference in some cases. > ALso try > slmodemd --alsa -g=dialout -c YourCountry -d=1 hw:1 Ah, I forgot to mention that I had already tried both of those options, with seemingly no effect. I've just tried them again, though, in case my memory's mistaken, but alas, very little came of it. -CJ -- WOW: Kakistocracy | "The ships hung in the sky in much the same linmodems@apocalyptech.com | way that bricks don't." - Douglas Adams, apocalyptech.com/music/ | _The Hitchhiker's Guide To The Galaxy_ From x@x.x Sun Jun 26 02:46:59 2005 Date: Sun, 26 Jun 2005 11:03:38 +0300 From: Sasha Khapyorsky Subject: Re: slmodem and NO DIALTONE Status: RO Content-Length: 578 Lines: 22 On 10:45 Sat 25 Jun , marvstod@x.x wrote: > > However, when I run wvdial, without fail I always get a "NO DIALTONE" > message (occasionally it'll try again and get the message a second time > before giving up). Here's the wvdial output: > > > $ 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. Try to add 'X3' to wvdial's Init2 string - it disables dialtone detection. Sasha. From x@x.x Mon Jun 27 10:14:00 2005 Date: Mon, 27 Jun 2005 10:12:49 -0500 From: CJ Kucera Subject: Re: slmodem and NO DIALTONE Status: RO Content-Length: 526 Lines: 15 Sasha Khapyorsky wrote: > Try to add 'X3' to wvdial's Init2 string - it disables dialtone > detection. I just gave that a try, and it just caused the initial dial attempt to eventually give a timeout message, and then it just looped through the dial attempt many times rather quickly, exiting with a NO CARRIER every time. -CJ -- WOW: Kakistocracy | "Happiness isn't good enough for me! I linmodems@apocalyptech.com | demand euphoria!" apocalyptech.com/music/ | - Calvin From x@x.x Thu Jun 30 13:51:56 2005 Date: Thu, 30 Jun 2005 13:48:17 -0500 From: CJ Kucera Subject: Re: slmodem and NO DIALTONE Status: RO Content-Length: 22834 Lines: 524 Well, I still haven't had much luck getting this modem to connect. I received an email from someone who had a similar modem who said that he had had the same problems as I did, but then things started working for him when he tried using the 'slamr' module instead of the ALSA version, and using an init string of just plain ATZ instead of the other attributes that I had defined in mine. I haven't had similar luck, personally, but I did notice that the slamr module has an optional "debug" option, so I've got some more info here. My wvdial.conf looks like so currently: > [Dialer Defaults] > Modem = /dev/ttySL0 > Baud = 115200 > Init1 = ATZ > ISDN = 0 > Modem Type = Analog Modem > Phone = 1-xxx-xxx-xxxx > Username = xxxx > Password = xxxx > Carrier Check = no I did also try this with an Init2 of just "X3" but that didn't do anything. The wvdial session itself looks very similar to what had been going on previously: > # wvdial > --> WvDial: Internet dialer version 1.54.0 > --> Initializing modem. > --> Sending: ATZ > ATZ > OK > --> Modem initialized. > --> Sending: ATDT1-xxx-xxx-xxxx > --> Waiting for carrier. > ATDT1-xxx-xxx-xxxx > NO CARRIER > --> No Carrier! Trying again. > --> Sending: ATDT1-xxx-xxx-xxxx > --> Waiting for carrier. > ATDT1-xxx-xxx-xxxx > NO CARRIER > --> No Carrier! Trying again. > --> Sending: ATDT1-xxx-xxx-xxxx > --> Waiting for carrier. > ATDT1-xxx-xxx-xxxx > Caught signal #2! Attempting to exit gracefully... > --> Disconnecting at Thu Jun 30 13:28:28 2005 I had just hit Ctrl-C at the end there. First I'll paste the output of the running slmodemd, and then I'll do the extra debug messages which slamr put into my syslog. This is all going to be rather long, so apologies about that. Some things that I've noticed first, before doing the mass paste deluge. First, I do still see some references to rates of 9600, which makes me wonder if there's some kind of timing issue going on here... I'm also seeing some things about SPEAKERVOL in the module log... It looks like that's getting set to 3 at some point. I never hear any modem nosies from my speaker - could it be that some volume setting is turned down which causes the daemon to not actually get any of the input from the line? Lastly, I'm not sure if this is usual behavior or not, but I do see some messages like "Converter [MI] is dead..." It looks like that may just be occuring inbetween dial attempts, but I felt I should point it out in case it's significant somehow. Okay, on to the debug statements. First slmodemd: > # slmodemd -g=dialout -d=1 -c=USA > SmartLink Soft Modem: version 2.9.9d Jun 24 2005 22:33:15 > <048.719848> SmartLink Soft Modem: version 2.9.9d Jun 24 2005 22:33:15 > <048.720117> slamr0: startup modem... > <048.720427> slamr0: update termios... > symbolic link `/dev/ttySL0' -> `/dev/pts/1' created. > modem `slamr0' created. TTY is `/dev/pts/1' > <048.721619> open file: /var/lib/slmodem/data.slamr0... > <048.722455> main: rt applyed: SCHED_FIFO, pri 99 > Use `/dev/ttySL0' as modem device, Ctrl+C for termination. > <056.899554> main: termios changed. > <056.899571> slamr0: update termios... > <056.972229> main: termios changed. > <056.972238> slamr0: update termios... > <057.072034> slamr0: run cmd: ATZ > <057.072043> slamr0: modem reset... > <057.072047> slamr0: modem set state: 1 --> 1... > <057.072054> slamr0: modem set mode: -> 0... > <057.072058> slamr0: modem report result: 0 (OK) > <057.173534> slamr0: run cmd: ATDT1-xxx-xxx-xxxx > <057.173546> slamr0: modem dial: T1-xxx-xxx-xxxx... > <057.173550> slamr0: modem_dial_start... > <057.173587> slamr0: modem_start.. > <057.173592> slamr0: modem set state: 1 --> 2... > <057.173596> slamr0: new state: DP_ESTAB > <057.173601> main: modemap_ioctl: cmd 8, arg 3... > <057.173621> slamr0: modem set hook: 0 --> 1... > <057.173626> main: modemap_ioctl: cmd 2, arg 1... > <057.176719> main: modemap_ioctl: cmd 11, arg 0... > <057.176782> main: modemap_ioctl: cmd 4, arg 2580... > <057.176791> main: modemap_ioctl: cmd 7, arg 30... > <057.176798> main: modemap_start... > <066.411748> slamr0: 88608: change dp: --> 8... > <069.242269> main: modemap_ioctl: cmd 10, arg 0... > <069.242293> slamr0: 115776: change dp: --> 90... > <069.243931> main: modemap_ioctl: cmd 10, arg 0... > <069.246326> main: change delay -48... > <069.251320> main: change delay -48... > <069.256319> main: change delay -24... > <071.672049> main: change delay +384... > <074.711566> main: change delay -48... > <074.716567> main: change delay -48... > <074.721568> main: change delay -48... > <074.726577> main: change delay -48... > <074.731565> main: change delay -48... > <074.736564> main: change delay -48... > <074.741563> main: change delay -48... > <074.746561> main: change delay -48... > <077.878191> slamr0: modem_update_status: 4 > <077.878206> slamr0: --> FINISH. > <077.878210> slamr0: modem_hup... > <077.878214> slamr0: modem set state: 2 --> 9... > <077.878219> slamr0: new state: DP_DISC > <077.878223> slamr0: modem_stop.. > <077.878228> main: modemap_stop... > <077.878257> slamr0: modem set hook: 1 --> 0... > <077.878262> main: modemap_ioctl: cmd 2, arg 0... > <077.880823> main: modemap_ioctl: cmd 8, arg 0... > <077.880970> slamr0: modem set state: 9 --> 1... > <077.880975> slamr0: new state: MODEM_IDLE > <077.880979> slamr0: modem report result: 3 (NO CARRIER) > <077.880988> main: dev write = 0 > <078.219151> slamr0: run cmd: ATDT1-xxx-xxx-xxxx > <078.219162> slamr0: modem dial: T1-xxx-xxx-xxxx... > <078.219166> slamr0: modem_dial_start... > <078.219199> slamr0: modem_start.. > <078.219203> slamr0: modem set state: 1 --> 2... > <078.219208> slamr0: new state: DP_ESTAB > <078.219211> main: modemap_ioctl: cmd 8, arg 3... > <078.219225> slamr0: modem set hook: 0 --> 1... > <078.219230> main: modemap_ioctl: cmd 2, arg 1... > <078.221724> main: modemap_ioctl: cmd 11, arg 0... > <078.221784> main: modemap_ioctl: cmd 4, arg 2580... > <078.221793> main: modemap_ioctl: cmd 7, arg 30... > <078.221801> main: modemap_start... > <087.936739> slamr0: 93216: change dp: --> 8... > <090.772301> main: modemap_ioctl: cmd 10, arg 0... > <090.772326> slamr0: 120432: change dp: --> 90... > <090.773931> main: modemap_ioctl: cmd 10, arg 0... > <090.777267> main: change delay -48... > <090.782264> main: change delay -48... > <090.787266> main: change delay -24... > <093.162049> main: change delay +384... > <096.646498> main: change delay -48... > <096.651499> main: change delay -48... > <096.656497> main: change delay -48... > <096.661497> main: change delay -48... > <096.666497> main: change delay -48... > <096.671494> main: change delay -48... > <096.676495> main: change delay -48... > <096.681494> main: change delay -48... > <098.802252> main: change delay +384... > <102.216718> main: change delay -48... > <102.221719> main: change delay -48... > <102.226718> main: change delay -48... > <102.231715> main: change delay -48... > <102.236716> main: change delay -48... > <102.241714> main: change delay -48... > <102.246713> main: change delay -48... > <102.251715> main: change delay -48... > <105.382343> slamr0: modem_update_status: 4 > <105.382354> slamr0: --> FINISH. > <105.382358> slamr0: modem_hup... > <105.382362> slamr0: modem set state: 2 --> 9... > <105.382367> slamr0: new state: DP_DISC > <105.382371> slamr0: modem_stop.. > <105.382374> main: modemap_stop... > <105.382404> slamr0: modem set hook: 1 --> 0... > <105.382409> main: modemap_ioctl: cmd 2, arg 0... > <105.384809> main: modemap_ioctl: cmd 8, arg 0... > <105.384954> slamr0: modem set state: 9 --> 1... > <105.384960> slamr0: new state: MODEM_IDLE > <105.384964> slamr0: modem report result: 3 (NO CARRIER) > <105.384972> main: dev write = 0 > <105.724264> slamr0: run cmd: ATDT1-xxx-xxx-xxxx > <105.724273> slamr0: modem dial: T1-xxx-xxx-xxxx... > <105.724277> slamr0: modem_dial_start... > <105.724309> slamr0: modem_start.. > <105.724313> slamr0: modem set state: 1 --> 2... > <105.724318> slamr0: new state: DP_ESTAB > <105.724322> main: modemap_ioctl: cmd 8, arg 3... > <105.724334> slamr0: modem set hook: 0 --> 1... > <105.724339> main: modemap_ioctl: cmd 2, arg 1... > <105.726710> main: modemap_ioctl: cmd 11, arg 0... > <105.726770> main: modemap_ioctl: cmd 4, arg 2580... > <105.726778> main: modemap_ioctl: cmd 7, arg 30... > <105.726786> main: modemap_start... > <108.238914> slamr0: modem_tty_write: hangup... > <108.238925> slamr0: modem_hup... > <108.238929> slamr0: modem set state: 2 --> 9... > <108.238934> slamr0: new state: DP_DISC > <108.238996> main: termios changed. > <108.239002> slamr0: update termios... > <108.239011> main: pty closed. > <108.241891> slamr0: modem_stop.. > <108.241902> main: modemap_stop... > <108.241933> slamr0: modem set hook: 1 --> 0... > <108.241938> main: modemap_ioctl: cmd 2, arg 0... > <108.244838> main: modemap_ioctl: cmd 8, arg 0... > <108.244856> slamr0: modem set state: 9 --> 1... > <108.244861> slamr0: new state: MODEM_IDLE > <108.244865> slamr0: modem report result: 3 (NO CARRIER) > <108.244873> main: dev write = 0 > <112.746352> main: signal 2: mark termination. > <112.746411> slamr0: modem_delete... ... so there's really not much else going on there than had been happening previously, except for using slamr0 instead of modem:1 from ALSA. Now here's a big chunk from syslog from the slamr driver itself (at the end of the session I rmmodded the module, which is why you'll see the DeInitHW messages): > slamr: SmartLink AMRMO modem. > slamr: probe 8086:266d ICH4 card... > ACPI: PCI Interrupt 0000:00:1e.3[B] -> Link [C0EF] -> GSI 10 (level, low) -> IRQ 10 > amrmo_card_create: data d3514000. > tAmrMo::tAmrMo: card d3514000, pci df74b800, irq 10. > StartTable Phys = E8F1000, Lin = CE8F1000, IO 10 > StartTable Phys = E95C000, Lin = CE95C000, IO 0 > PageIn : linear D2D18000, physical 12D18000 > PageOut: linear D3174000, physical 13174000 > amr_create: d3ff8200 (amrmo d3514000) > PCI: Setting latency timer of device 0000:00:1e.3 to 64 > amrmo_card_enable: card c4c71300. > [Hardware instance constructor...] > InitHW > ICH4Card: Initialization...acLinkStatus 700300, acLinkControl C0000002 > AC detection: Primary (Y), Secondary(Y) > MC detection: 99C103C > tAmrMoCard:AC calibration = 100 + 10*0 = 100 > Primary ADS-74, type AC > Secondary SIL-27, type MC > SIL codec(): hxSupported > Additional delay 0 > Delay reduction of 0 > SIL: International chip(0x133), 2 > tSiLabsCodec: Stop MCAL mode... > MC details: Intl, DAA(C) > Using time unit of 40 > slamr: mc97 codec is SIL27 > slamr: mc97 codec is SIL27 > Constructed successfully. > Predefined rates: in 9600, out 9600 > slamr: amrmo_pci_probe: 0 amrmo is d3514000. data c4c71300, io 2400, 2500. > slamr: slamr0 is ICH4 card. > slamr: amrmo_open: 0... > slamr: amrmo_ioctl: cmd 8, arg 3... > amrmo_card_ctl... > amrmo_card: SPEAKERVOL = 3 > slamr: amrmo_ioctl: cmd 2, arg 1... > amrmo_card_ctl... > SIL3024codec::SetHookState(Offhook=1) > slamr: amrmo_ioctl: cmd 11, arg 0... > amrmo_card_ctl... > slamr: amrmo_ioctl: cmd 4, arg 2580... > amrmo_card_ctl... > slamr: amrmo_ioctl: cmd 7, arg 60... > amrmo_card_ctl... > slamr: amrmo_ioctl: cmd 21, arg 0... > amrmo_card_start... > ModemInstance::Start()... > [Modem] > Rate = 9600 x M x 2 > Phys.PTC = 48 s. (96) b. ; Log.PTC = 48 s. (96) b. > [LineIn] > Rate = 9600 x S x 2 > Phys.PTC = 48 s. (192) b. ; Log.PTC = 48 s. (192) b. > [LineOut] > Rate = 9600 x S x 2 > Phys.PTC = 48 s. (192) b. ; Log.PTC = 48 s. (192) b. > Starting Modio: > PTC = (C)48, (P)192 > Sample Rates = (C)9600,(P)9600 > Transfer buffer of 48 sam. * 32 = 3072 b. > PTC clock::Init(Buffer of C00h, PTC of 96 bytes.) > MTLHAL: Finish Modio Setup: > VConverter::Test:=> InputRate =9600, OutputRate =9600, bIsModem =1 > VConverter::Test:=> InputRate =9600, OutputRate =9600, bIsModem =1 > MTLHAL: Mono sampling on output line! > [LineOut] > Rate = 9600 x M x 2 > Phys.PTC = 48 s. (96) b. ; Log.PTC = 48 s. (96) b. > MTLHAL: Mono sampling on input line! > [LineIn] > Rate = 9600 x M x 2 > Phys.PTC = 48 s. (96) b. ; Log.PTC = 48 s. (96) b. > Upon filter created(Simple): 9600/9600 spc, In 48 => Out 48 > Upon filter created(Simple): 9600/9600 spc, In 48 => Out 48 > LineOut forwarding <2>, written 192 b. > <> > [Source side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Target side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Filter](Simple): 9600/9600 spc, In 48 => Out 48 > <> > [Source side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Target side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Filter](Simple): 9600/9600 spc, In 48 => Out 48 > Index 0, count 60, pos 0 > Start waiting from O96, I3072... > VICHCard: Finished CAP loop... > Modio opening (OK) in progress > Buffers = (C)D2D18000, (P)D3174000 > Size = (C)3072, (P)3072 > slamr: amrmo_ioctl: cmd 10, arg 0... > amrmo_card_ctl... > MTLHAL: NTD query 83 > amrmo card: IODELAY = 336. > slamr: amrmo_ioctl: cmd 10, arg 0... > amrmo_card_ctl... > MTLHAL: NTD query 83 > amrmo card: IODELAY = 336. > slamr: amrmo_ioctl: cmd 22, arg 0... > amrmo_card_stop... > ModemInstance::Stop()... > MTLHAL: Cleaning content of output buffer(2688 of 2880) > Converter [MI] is dead... > Converter [MO] is dead... > slamr: amrmo_ioctl: cmd 2, arg 0... > amrmo_card_ctl... > SIL3024codec::SetHookState(Offhook=0) > slamr: amrmo_ioctl: cmd 8, arg 0... > amrmo_card_ctl... > amrmo_card: SPEAKERVOL = 0 > slamr: amrmo_ioctl: cmd 8, arg 3... > amrmo_card_ctl... > amrmo_card: SPEAKERVOL = 3 > slamr: amrmo_ioctl: cmd 2, arg 1... > amrmo_card_ctl... > SIL3024codec::SetHookState(Offhook=1) > slamr: amrmo_ioctl: cmd 11, arg 0... > amrmo_card_ctl... > slamr: amrmo_ioctl: cmd 4, arg 2580... > amrmo_card_ctl... > slamr: amrmo_ioctl: cmd 7, arg 60... > amrmo_card_ctl... > slamr: amrmo_ioctl: cmd 21, arg 0... > amrmo_card_start... > ModemInstance::Start()... > [Modem] > Rate = 9600 x M x 2 > Phys.PTC = 48 s. (96) b. ; Log.PTC = 48 s. (96) b. > [LineIn] > Rate = 9600 x S x 2 > Phys.PTC = 48 s. (192) b. ; Log.PTC = 48 s. (192) b. > [LineOut] > Rate = 9600 x S x 2 > Phys.PTC = 48 s. (192) b. ; Log.PTC = 48 s. (192) b. > Starting Modio: > PTC = (C)48, (P)192 > Sample Rates = (C)9600,(P)9600 > Transfer buffer of 48 sam. * 32 = 3072 b. > PTC clock::Init(Buffer of C00h, PTC of 96 bytes.) > MTLHAL: Finish Modio Setup: > VConverter::Test:=> InputRate =9600, OutputRate =9600, bIsModem =1 > VConverter::Test:=> InputRate =9600, OutputRate =9600, bIsModem =1 > MTLHAL: Mono sampling on output line! > [LineOut] > Rate = 9600 x M x 2 > Phys.PTC = 48 s. (96) b. ; Log.PTC = 48 s. (96) b. > MTLHAL: Mono sampling on input line! > [LineIn] > Rate = 9600 x M x 2 > Phys.PTC = 48 s. (96) b. ; Log.PTC = 48 s. (96) b. > Upon filter created(Simple): 9600/9600 spc, In 48 => Out 48 > Upon filter created(Simple): 9600/9600 spc, In 48 => Out 48 > LineOut forwarding <2>, written 192 b. > <> > [Source side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Target side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Filter](Simple): 9600/9600 spc, In 48 => Out 48 > <> > [Source side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Target side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Filter](Simple): 9600/9600 spc, In 48 => Out 48 > Index 0, count 60, pos 0 > Start waiting from O96, I3072... > VICHCard: Finished CAP loop... > Modio opening (OK) in progress > Buffers = (C)D2D18000, (P)D3174000 > Size = (C)3072, (P)3072 > slamr: amrmo_ioctl: cmd 10, arg 0... > amrmo_card_ctl... > MTLHAL: NTD query 83 > amrmo card: IODELAY = 336. > slamr: amrmo_ioctl: cmd 10, arg 0... > amrmo_card_ctl... > MTLHAL: NTD query 83 > amrmo card: IODELAY = 336. > slamr: amrmo_ioctl: cmd 22, arg 0... > amrmo_card_stop... > ModemInstance::Stop()... > MTLHAL: Cleaning content of output buffer(2688 of 2880) > Converter [MI] is dead... > Converter [MO] is dead... > slamr: amrmo_ioctl: cmd 2, arg 0... > amrmo_card_ctl... > SIL3024codec::SetHookState(Offhook=0) > slamr: amrmo_ioctl: cmd 8, arg 0... > amrmo_card_ctl... > amrmo_card: SPEAKERVOL = 0 > slamr: amrmo_ioctl: cmd 8, arg 3... > amrmo_card_ctl... > amrmo_card: SPEAKERVOL = 3 > slamr: amrmo_ioctl: cmd 2, arg 1... > amrmo_card_ctl... > SIL3024codec::SetHookState(Offhook=1) > slamr: amrmo_ioctl: cmd 11, arg 0... > amrmo_card_ctl... > slamr: amrmo_ioctl: cmd 4, arg 2580... > amrmo_card_ctl... > slamr: amrmo_ioctl: cmd 7, arg 60... > amrmo_card_ctl... > slamr: amrmo_ioctl: cmd 21, arg 0... > amrmo_card_start... > ModemInstance::Start()... > [Modem] > Rate = 9600 x M x 2 > Phys.PTC = 48 s. (96) b. ; Log.PTC = 48 s. (96) b. > [LineIn] > Rate = 9600 x S x 2 > Phys.PTC = 48 s. (192) b. ; Log.PTC = 48 s. (192) b. > [LineOut] > Rate = 9600 x S x 2 > Phys.PTC = 48 s. (192) b. ; Log.PTC = 48 s. (192) b. > Starting Modio: > PTC = (C)48, (P)192 > Sample Rates = (C)9600,(P)9600 > Transfer buffer of 48 sam. * 32 = 3072 b. > PTC clock::Init(Buffer of C00h, PTC of 96 bytes.) > MTLHAL: Finish Modio Setup: > VConverter::Test:=> InputRate =9600, OutputRate =9600, bIsModem =1 > VConverter::Test:=> InputRate =9600, OutputRate =9600, bIsModem =1 > MTLHAL: Mono sampling on output line! > [LineOut] > Rate = 9600 x M x 2 > Phys.PTC = 48 s. (96) b. ; Log.PTC = 48 s. (96) b. > MTLHAL: Mono sampling on input line! > [LineIn] > Rate = 9600 x M x 2 > Phys.PTC = 48 s. (96) b. ; Log.PTC = 48 s. (96) b. > Upon filter created(Simple): 9600/9600 spc, In 48 => Out 48 > Upon filter created(Simple): 9600/9600 spc, In 48 => Out 48 > LineOut forwarding <2>, written 192 b. > <> > [Source side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Target side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Filter](Simple): 9600/9600 spc, In 48 => Out 48 > <> > [Source side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Target side] > 9600 Spc, 1 channels, 16 bits > Queue of 3840 b., Filter size 48 s. > [Filter](Simple): 9600/9600 spc, In 48 => Out 48 > Index 0, count 60, pos 0 > Start waiting from O96, I3072... > VICHCard: Finished CAP loop... > Modio opening (OK) in progress > Buffers = (C)D2D18000, (P)D3174000 > Size = (C)3072, (P)3072 > slamr: amrmo_ioctl: cmd 22, arg 0... > amrmo_card_stop... > ModemInstance::Stop()... > MTLHAL: Cleaning content of output buffer(2400 of 2592) > Converter [MI] is dead... > Converter [MO] is dead... > slamr: amrmo_ioctl: cmd 2, arg 0... > amrmo_card_ctl... > SIL3024codec::SetHookState(Offhook=0) > slamr: amrmo_ioctl: cmd 8, arg 0... > amrmo_card_ctl... > amrmo_card: SPEAKERVOL = 0 > slamr: amrmo_release... > slamr: slamr: exit... > slamr: amrmo: remove d3514000... > amrmo_card_disable: card c4c71300. > Can I destroy the HW Instance? > Yes, > OnHardwareInstanceDestroyed > DeInitHW > and I deleted it! > amrmo_card_delete: card c4c71300. > amr_delete: d3ff8200... > DeInitHW So again, if anyone's got any other ideas to try, I'm all ears. -CJ -- WOW: Kakistocracy | "Happiness isn't good enough for me! I linmodems@apocalyptech.com | demand euphoria!" apocalyptech.com/music/ | - Calvin From x@x.x Thu Jun 30 14:40:52 2005 Date: Thu, 30 Jun 2005 14:39:44 -0500 From: CJ Kucera Subject: Re: slmodem and NO DIALTONE Status: RO Content-Length: 929 Lines: 20 One more thing... I was just testing out more combinations of wvdial.conf entries and it looks like some kind of call *is* being made when I use the slamr module, because when I ctrl-c out of both wvdial and slmodemd during the connect loop that wvdial gets stuck in, my phone line rings and when I pick it up, there's a modem connect tone. I've seen that happen before when you're on a call and the remote end doesn't end up termintating right away... I'll hang up, then immediately the phone will start ringing and when I pick up the receiver I'll be still connceted to the far end. It seems like that's what's happening now... Perhaps the modem's making the call correctly, but the handshaking's not working for whatever reason? -CJ -- WOW: Kakistocracy | "Happiness isn't good enough for me! I pez@apocalyptech.com | demand euphoria!" apocalyptech.com/music/ | - Calvin From x@x.x Fri Jul 1 16:16:41 2005 Date: Fri, 1 Jul 2005 16:14:49 -0500 From: CJ Kucera Subject: Re: slmodem and NO DIALTONE Status: RO Content-Length: 845 Lines: 21 Sasha's been kind enough to be helping me out with this stuff off-list, so I just wanted to mention on-list that I've got at least one working configuration for this modem now, namely: * Use the 'slamr' module from slmodem instead of the ALSA drivers * Include 'AT+MS=34' in the init strings of the modem * Include 'Carrier Check = no' into wvdial.conf (as mentioned in the slmodem docs, but still) With those three options I'm able to connect at 24000 at least, so that's a lot better than nothing. I'll send out another message here if I can get it working at a higher speed. Regardless, thanks a bunch for everyone's input... -CJ -- WOW: Kakistocracy | "Happiness isn't good enough for me! I linmodems@apocalyptech.com | demand euphoria!" apocalyptech.com/music/ | - Calvin From x@x.x Fri Jul 1 17:02:50 2005 Date: Fri, 1 Jul 2005 17:01:47 -0500 From: CJ Kucera Subject: Re: slmodem and NO DIALTONE Status: RO Content-Length: 668 Lines: 15 CJ Kucera wrote: > * Use the 'slamr' module from slmodem instead of the ALSA drivers Continuing my monologue on-list here, it turns out that the version of the ALSA drivers shipped with 2.6.12.1 is 1.0.9rc2, which has a known issue with the intel8x0m driver. Apparently the current drivers actually available from www.alsa-project.org remedy this situation, so I'll give those a try in a bit and continue the deluge of mails here. -CJ -- WOW: Kakistocracy | "The ships hung in the sky in much the same linmodems@apocalyptech.com | way that bricks don't." - Douglas Adams, apocalyptech.com/music/ | _The Hitchhiker's Guide To The Galaxy_ From x@x.x Fri Jul 1 17:27:46 2005 Date: Fri, 1 Jul 2005 17:26:42 -0500 From: CJ Kucera To: discuss@linmodems.org Subject: Re: slmodem and NO DIALTONE Status: RO Content-Length: 753 Lines: 17 CJ Kucera wrote: > Continuing my monologue on-list here, it turns out that the version of > the ALSA drivers shipped with 2.6.12.1 is 1.0.9rc2, which has a known > issue with the intel8x0m driver. Apparently the current drivers actually > available from www.alsa-project.org remedy this situation, so I'll give > those a try in a bit and continue the deluge of mails here. Yep, using alsa-driver 1.0.9b from alsa-project.org lets me use the ALSA driver instead of slamr. I've still got to have the extra Init string, but at least the driver works. -CJ -- WOW: Kakistocracy | "Happiness isn't good enough for me! I linmodems@apocalyptech.com | demand euphoria!" apocalyptech.com/music/ | - Calvin