Check at every bootup for modem recognitions with # cat /proc/asound/pcm It a modem line isn't there, you have to free up resources until it appears. Only then there be a success with: # slmodemd --country=USA --alsa modem:1 On Wed, Jun 25, 2008 at 4:05 AM, postid <postid@xxxxxxxxxxxx> wrote: > On Wednesday 25 June 2008 04:20 am, you wrote: >> On 6/24/08, postid <postid@xxxxxxxxxxxx> wrote: >> > On Wednesday 25 June 2008 12:25 am, you wrote: >> >> RE: > # bash: slmodem: command not found >> >> The command is slmodemd , not slmodem >> >> Also use USA, not b5 >> >> >> >> # slmodem --country=USA --alsa modem:1 >> >> >> >> But first do: >> >> # cat /proc/asound/pcm >> >> which ouput should include a line >> >> 01-00: Modem something Intel ICH4 >> > >> > Success! >> > >> > R40:/home/ellsworth# modprobe -r snd-intel8x0m >> > R40:/home/ellsworth# modprobe snd-intel8x0m >> > R40:/home/ellsworth# cat /proc/asound/pcm >> > 00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1 >> > 00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1 >> > 00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1 >> > 00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1 >> > 00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1 >> > 01-00: Intel ICH - Modem : Intel 82801DB-ICH4 Modem - Modem : playback 1 >> > : capture 1 >> > >> > Now what? >> >> Try the command >> # slmodemd --country=USA --alsa modem:1 >> >> and open another terminal/or tab and run >> # wvdialconf /etc/wvdial.conf >> >> should find the modem port /dev/ttySL0 and you should attempt to >> connect and test out the connection. >> >> Report back if the above worked. >> >> Regards, >> >> >> Antonio >> > > Here's the result. > > R40:/home/ellsworth# slmodemd --country=USA --alsa modem:1 > > error: mixer setup: attach hw:1 error: No such file or directory > ALSA lib pcm.c:1947:(snd_pcm_open_conf) Invalid type for PCM modem:1 > definition(id: modem, value: cards.pcm.modem) > error: alsa setup: cannot open playback device 'modem:1': Invalid argument > error: cannot setup device `modem:1' > R40:/home/ellsworth# > > R40:/home/ellsworth# wvdialconf /etc/wvdial.conf > Scanning your serial ports for a modem. > > ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud > ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud > ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. > Port Scan<*1>: S1 S2 S3 S4 S5 S6 S7 S8 > Port Scan<*1>: S9 S10 S11 S12 S13 S14 S15 S16 > Port Scan<*1>: S17 S18 S19 S20 S21 S22 S23 S24 > Port Scan<*1>: S25 S26 S27 S28 S29 S30 S31 S32 > Port Scan<*1>: S33 S34 S35 S36 S37 S38 S39 S40 > Port Scan<*1>: S41 S42 S43 S44 S45 S46 S47 > > > Sorry, no modem was detected! Is it in use by another program? > Did you configure it properly with setserial? > > Please read the FAQ at http://open.nit.ca/wvdial/ > > If you still have problems, send mail to wvdial-list@xxxxxxxxxxxxx > R40:/home/ellsworth# > >> > By the way, the laptop has begun acting strange since I've been trying to >> > get >> > the winmodem working. When I use the kdm menu to shut down the machine, >> > it begins to shut down, then the screen goes blank. The mouse's pointer >> > is still >> > there and moves with the mouse but everything else is gone. I waited a >> > while, >> > then shut down using Alt + SysReq + RSEIUB. Have I changed a setting by >> > accident with one of these commands? Is this a weird coincidence or >> > rather somehow related? >> > >> >> If it is not there, there is a resource conflict. Primary candidates >> >> would be drivers/hardware sharing the IRQ >> >> 11: 135715 XT-PIC yenta, ohci1394, Intel ICH4, ehci_hcd, >> >> >> >> Try blacklisting these drivers. See >> >> http://linmodems.technion.ac.il/bigarch/archive-eighth/msg01842.html >> >> on blacklisting guidance. >> >> >> >> MarvS >> >> >> >> On Tue, Jun 24, 2008 at 9:45 AM, postid <postid@xxxxxxxxxxxx> wrote: >> >> > On Tuesday 24 June 2008 06:53 pm, Antonio Olivares wrote: >> >> >> Many things look fine, you have setup the modem correctly. AT least >> >> >> one problem is >> >> >> >> >> >> /**** scanModem output ****/ >> >> >> Modem interrupt assignment and sharing: >> >> >> 11: 135715 XT-PIC yenta, ohci1394, Intel ICH4, >> >> >> ehci_hcd, >> >> >> uhci_hcd, uhci_hcd, uhci_hcd, eth2, radeon@PCI:1:0:0, eth0 >> >> >> --- Bootup diagnostics for card in PCI slot 0000:00:1f.6 ---- >> >> >> ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 11 (level, low) -> IRQ 11 >> >> >> ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 11 (level, low) -> IRQ 11 >> >> >> >> >> >> Packages needed for support of Advanced Linux Sound Architecture >> >> >> (ALSA) support should be installed: alsa-base and alsa-utilities!! >> >> >> They are necessary for support of ALSA modem drivers, many Conexant >> >> >> chipset modems and success of modem diagnostics for modems requiring >> >> >> slmodemd actions. >> >> >> /**** scanModem output ****/ >> >> >> >> >> >> You do not have packages alsa-base and alsa-utilities. :( >> >> >> Apparently this is what is holding the modem back from functioning. >> >> > >> >> > Pardon me for forgetting to mention that I did follow the instruction >> >> > to install alsa-base and alsa-utils. This computer had OSS installed >> >> > previously. >> >> > >> >> >> If you install those packages and the problem persists, then >> >> >> something else is getting in the way. >> >> > >> >> > When I do as instructed in slmodem-ALSA.txt >> >> > >> >> > # slmodem --country=b5 --alsa hw:1 >> >> > >> >> > or >> >> > >> >> > # slmodem --country=b5 --alsa hw:0 >> >> > >> >> > >> >> > I get the following response: >> >> > >> >> > # bash: slmodem: command not found >> >> > >> >> > I have slmodemd in /usr/sbin and the command produced an error message >> >> > before. What did I do wrong? >> >> > >> >> >> Regards, >> >> >> >> >> >> Antonio >> >> >> >> >> >> On 6/24/08, postid <postid@xxxxxxxxxxxx> wrote: >> >> >> > A few years ago I tried to get this working (see archives for Red >> >> >> > Hat >> >> >> > 2.4.20-20.9 on IBM R40 with Agere softmoden) but the Agere driver >> >> >> > once >> >> >> > available through IBM gave flaky performance. I've been using a >> >> >> > PCMCIA >> >> >> > modem, >> >> >> > but it recently got fried by a campus phone system so I'm back to >> >> >> > looking at the internal modem. This time I'm using Debian Sarge, >> >> >> > but hope to upgrade when Lenny goes stable. >> >> >> > >> >> >> > I ran scanmodem, then followed the directions to download >> >> >> > SLMODEMD.gcc3.3.tar.gz, then followed the directions found there to >> >> >> > install the ALSA packages, then do: >> >> >> > >> >> >> > R40:/home/ellsworth# cp slmodemd /usr/sbin >> >> >> > R40:/home/ellsworth# modprobe snd-intel8x0m >> >> >> > >> >> >> > At the next steps I got errors: >> >> >> > >> >> >> > R40:/home/ellsworth# slmodemd --alsa -c b5 modem:1 >> >> >> > error: mixer setup: attach hw:1 error: No such file or directory >> >> >> > ALSA lib pcm.c:1947:(snd_pcm_open_conf) Invalid type for PCM >> >> >> > modem:1 definition (id: modem, value: cards.pcm.modem) >> >> >> > error: alsa setup: cannot open playback device 'modem:1': Invalid >> >> >> > argument error: cannot setup device `modem:1' >> >> >> > R40:/home/ellsworth# modprobe -r snd-intel8x0m >> >> >> > R40:/home/ellsworth# modprobe snd-intel8x0m >> >> >> > R40:/home/ellsworth# cat /proc/asound/pcm >> >> >> > 00-00: Intel ICH - Modem : Intel 82801DB-ICH4 Modem - Modem : >> >> >> > playback >> >> >> > 1 >> >> >> > >> >> >> > : capture 1 >> >> >> > >> >> >> > R40:/home/ellsworth# slmodemd --alsa -c b5 modem:1 >> >> >> > error: mixer setup: attach hw:1 error: No such file or directory >> >> >> > ALSA lib pcm.c:1947:(snd_pcm_open_conf) Invalid type for PCM >> >> >> > modem:1 definition (id: modem, value: cards.pcm.modem) >> >> >> > error: alsa setup: cannot open playback device 'modem:1': Invalid >> >> >> > argument error: cannot setup device `modem:1' >> >> >> > R40:/home/ellsworth# >> >> >> > >> >> >> > I'm getting in over my head again. Advice? >> >> >> > >> >> >> > >> >> >> > >> >> >> > Only plain text email is forwarded by the Discuss@xxxxxxxxxxxxx >> >> >> > List Server, >> >> >> > as HTML can contain viruses. Use as the email Subject Line: >> >> >> > YourName, YourCountry Debian GNU/Linux 3.1 kernel >> >> >> > 2.6.8-2-686 With this Subject Line cogent experts will be alerted, >> >> >> > and >> >> >> > useful case names >> >> >> > left in the Archive. >> >> >> > YourCountry will enable Country specific guidance. Linux experts >> >> >> > in YourCountry >> >> >> > can be found through: http://www.linux.org/groups/index.html. >> >> >> > They will know your Country's modem code, which may be essential >> >> >> > for dialup service. >> >> >> > Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an >> >> >> > Internet Provider mail filters. >> >> >> > So in a day, also check the Archived responses at >> >> >> > http://www.linmodems.org -------------------------- System >> >> >> > information ---------------------------- CPU=i686, Debian >> >> >> > GNU/Linux 3.1 >> >> >> > Linux version 2.6.8-2-686 (dilinger@xxxxxxxxxxxxxxxxxxxx) (gcc >> >> >> > version >> >> >> > 3.3.5 (Debian 1:3.3.5-6)) #1 Mon Jan 24 03:58:38 EST 2005 >> >> >> > scanModem update of: 2008_06_17 >> >> >> > >> >> >> > There are no blacklisted modem drivers in /etc/modprobe* files >> >> >> > USB modems not recognized >> >> >> > >> >> >> > For candidate card in slot 0000:00:1f.6, firmware information and >> >> >> > bootup diagnostics are: >> >> >> > PCI slot PCI ID SubsystemID Name >> >> >> > ---------- --------- --------- -------------- >> >> >> > 0000:00:1f.6 8086:24c6 1014:0524 Modem: Intel >> >> >> > Corp. >> >> >> > 82801DB/DBL/DBM >> >> >> > >> >> >> > Modem interrupt assignment and sharing: >> >> >> > 11: 135715 XT-PIC yenta, ohci1394, Intel ICH4, >> >> >> > ehci_hcd, uhci_hcd, uhci_hcd, uhci_hcd, eth2, radeon@PCI:1:0:0, >> >> >> > eth0 --- Bootup diagnostics for card in PCI slot 0000:00:1f.6 ---- >> >> >> > ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 11 (level, low) -> IRQ >> >> >> > 11 ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 11 (level, low) -> >> >> >> > IRQ 11 >> >> >> > >> >> >> > >> >> >> > Packages needed for support of Advanced Linux Sound Architecture >> >> >> > (ALSA) support should be installed: alsa-base and alsa-utilities!! >> >> >> > They are necessary for support of ALSA modem drivers, many Conexant >> >> >> > chipset modems and success of modem diagnostics for modems >> >> >> > requiring slmodemd actions. >> >> >> > >> >> >> > === Finished firmware and bootup diagnostics, next deducing cogent >> >> >> > software. === >> >> >> > >> >> >> > Predictive diagnostics for card in bus 0000:00:1f.6: >> >> >> > Modem chipset detected on >> >> >> > NAME="Modem: Intel Corp. 82801DB/DBL/DBM " >> >> >> > CLASS=0703 >> >> >> > PCIDEV=8086:24c6 >> >> >> > SUBSYS=1014:0524 >> >> >> > IRQ=11 >> >> >> > SOFT=8086:24c6.MC97 >> >> >> > CodecArchived=SIL27 >> >> >> > IDENT=slmodemd >> >> >> > SLMODEMD_DEVICE=modem:1 >> >> >> > >> >> >> > For candidate modem in: 0000:00:1f.6 >> >> >> > 0703 Modem: Intel Corp. 82801DB/DBL/DBM >> >> >> > Primary device ID: 8086:24c6 >> >> >> > Subsystem PCI_id 1014:0524 >> >> >> > Softmodem codec or chipset from diagnostics: >> >> >> > from Archives: SIL27, an >> >> >> > LSI/AgereSystems type >> >> >> > >> >> >> > >> >> >> > >> >> >> > Support type needed or chipset: slmodemd >> >> >> > >> >> >> > An ALSA (Advanced Linux Sound Architecture) modem driver: >> >> >> > provides Low Level support enabling contact with the modem >> >> >> > hardware. For all BUT Conexant chip soft modems (using hsfmodem >> >> >> > software) complementary High Level support is through a Smartlink >> >> >> > utility: slmodemd >> >> >> > >> >> >> > Download from http://linmodems.technion.ac.il/packages/smartlink/ >> >> >> > the package SLMODEMD.gcc3.3.tar.gz having a compiled slmodemd. >> >> >> > Unpack >> >> >> > under Linux with: >> >> >> > $ tar zxf SLMODEMD.gcc3.3.tar.gz >> >> >> > and read instructions therein. But briefly, the modem is setup >> >> >> > with command: >> >> >> > slmodemd -c YOUR_COUNTRY --alsa modem:1 >> >> >> > reporting dynamic creation of ports: >> >> >> > /dev/ttySL0 --> /dev/pts/N , with N some number >> >> >> > Read DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow >> >> >> > through guidance. >> >> >> > >> >> >> > ----------------end Softmodem section -------------- >> >> >> > >> >> >> > Writing DOCs/Intel.txt >> >> >> > Writing DOCs/Smartlink.txt >> >> >> > ============ end Smartlink section ===================== >> >> >> > >> >> >> > Completed candidate modem analyses. >> >> >> > >> >> >> > The base of the UDEV device file system is: /dev/.udevdb >> >> >> > >> >> >> > Versions adequately match for the compiler installed: 3.3.5 >> >> >> > and the compiler used in kernel assembly: 3.3.5 >> >> >> > >> >> >> > >> >> >> > >> >> >> > Minimal compiling resources appear complete: >> >> >> > make utility - /usr/bin/make >> >> >> > Compiler version 3.3 >> >> >> > linuc_headers base folder /lib/modules/2.6.8-2-686/build >> >> >> > >> >> >> > However some compilations and executable functions may need >> >> >> > additional files, >> >> >> > in the FileNames.h (so called kernel "h"eaders) collection >> >> >> > installed in /usr/include/ . >> >> >> > For martian_modem, additional required packages are libc6-dev (and >> >> >> > for Debian/Ubuntu, >> >> >> > linux-libc-dev). The also required headers of package libc6 are >> >> >> > commonly installed by default. >> >> >> > Compiling hsfmodem drivers does require linux-libc-dev and >> >> >> > libc6-dev packages, for kernels 2.6.24 and later versions. >> >> >> > In not included on your install CD, search for them at >> >> >> > http://packages.ubuntu.com >> >> >> > or comparable Repository for other Linux distros. >> >> >> > When compiling ALSA drivers, the utility "patch" will also be >> >> >> > needed. >> >> >> > >> >> >> > >> >> >> > >> >> >> > kernel-kbuild is installed >> >> >> > >> >> >> > >> >> >> > If a driver compilation fails, with message including some lack of >> >> >> > some FileName.h (stdio.h for example), then >> >> >> > Some additional kernel-header files need installation to >> >> >> > /usr/include. >> >> >> > The minimal additional packages are libc6-dev >> >> >> > and any of its dependents, under Ubuntu linux-libc-dev >> >> >> > >> >> >> > If an alternate ethernet connection is available, >> >> >> > $ apt-get update >> >> >> > $ apt-get -s install linux-kernel-devel >> >> >> > will install needed packages. >> >> >> > For Debian/Ubuntu related distributions, run the following command >> >> >> > to display >> >> >> > the needed package list: >> >> >> > >> >> >> > Otherwise packages have to be found through >> >> >> > http://packages.ubuntu.com >> >> >> > Once downloaded and transferred into a Linux partition, >> >> >> > they can be installed alltogether with: >> >> >> > $ sudo dpkg -i *.deb >> >> >> > >> >> >> > >> >> >> > Checking pppd properties: >> >> >> > -rwsr-xr-- 1 root dip 265880 2005-03-24 14:21 /usr/sbin/pppd >> >> >> > >> >> >> > In case of an "error 17" "serial loopback" problem, see: >> >> >> > >> >> >> > http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.ht >> >> >> >ml >> >> >> > >> >> >> > To enable dialout without Root permission do: >> >> >> > $ su - root (not for Ubuntu) >> >> >> > chmod a+x /usr/sbin/pppd >> >> >> > or under Ubuntu related Linuxes >> >> >> > chmod a+x /usr/sbin/pppd >> >> >> > >> >> >> > Checking settings of: /etc/ppp/options >> >> >> > asyncmap 0 >> >> >> > auth >> >> >> > crtscts >> >> >> > lock >> >> >> > hide-password >> >> >> > modem >> >> >> > proxyarp >> >> >> > lcp-echo-interval 30 >> >> >> > lcp-echo-failure 4 >> >> >> > noipx >> >> >> > >> >> >> > In case of a message like: >> >> >> > Warning: Could not modify /etc/ppp/pap-secrets: Permission >> >> >> > denied see >> >> >> > http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html >> >> >> > >> >> >> > Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0 >> >> >> > eth1 eth2 >> >> >> > sit0 >> >> >> > Which can interfere with Browser naviagation. >> >> >> > >> >> >> > Don't worry about the following, it is for experts should trouble >> >> >> > shooting be >> >> >> > necessary. >> >> >> > ========================================================== >> >> >> > >> >> >> > Checking for modem support lines: >> >> >> > -------------------------------------- >> >> >> > /device/modem symbolic link: >> >> >> > slmodemd created symbolic link /dev/ttySL0: >> >> >> > Within /etc/udev/ files: >> >> >> > >> >> >> > Within /etc/modprobe.conf files: >> >> >> > >> >> >> > Within any ancient /etc/devfs files: >> >> >> > >> >> >> > Within ancient kernel 2.4.n /etc/module.conf files: >> >> >> > >> >> >> > --------- end modem support lines -------- >