Fiona RE: bash: SLMODEMD: command not found You can either $ sudo ./slmodemd -c UK --alsa hw:0,6 or copy slmodemd to /usr/sbin/slmodemd putting it on the command PATH. Then there should be a success with: $ sudo slmodemd -c UK --alsa hw:0,6 MarvS On 3/9/07, Fiona James <fiona.james@xxxxxxxxxx> wrote:
Hello, I'm a brand new Linux user and have just installed Ubuntu version 6.10 on a laptop that contains an internal dialup modem. The Scanmodem utility was straight forward) and I've downloaded & unpacked (hopefully the right term?) the relevant smartlink complied driver using the command: $ tar zxf SLMODEMD.gcc4.1.tar.gz and in my 'terminal' session I can move to this directory, but I'm not having any luck executing the file 'SLMODEMD'. I've tried using the command: $ sudo slmodemd -c UK --alsa hw:0,6 but only get the error message: bash: SLMODEMD: command not found I've read through the text files that were packaged with the driver and also tested trying to create a country list (purely for a test, there's already a usable country list bundled with the files) using command: $ SLMODEMD --countrylist &>Clist.tx but get the same error message. I've a nasty feeling that I'm making a novice mistake somewhere and any advice would be appreciated. Best Wishes Fiona ----- ModemData.txt ------- Only plain text email is forwarded by the DISCUSS@xxxxxxxxxxxxx List Server. Do use the following as the email Subject Line: SomeName, YourCountry Ubuntu 6.10 kernel 2.6.17-11-generic This will alert cogent experts, and distinguish cases in the Archives. YourCountry will enable Country Code guidance. Occassionally responses are blocked by an Internet Provider mail filters. So in a day, also check the Archived responses at http://www.linmodems.org . Local Linux experts can be found through: http://www.linux.org/groups/index.html -------------------------- System information ---------------------------- CPU=i686, Ubuntu 6.10 Linux version 2.6.17-11-generic (root@terranova) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Thu Feb 1 19:52:28 UTC 2007 (Ubuntu 2.6.17-11.35-generic) scanModem update of: 2007_March_05 USB modem not detected by lsusb Modem or host audio card candidates have firmware information: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 00:1b.0 8086:27d8 1631:c018 Audio device: Intel Corporation 82801G Modem interrupt assignment and sharing: 233: 652 0 IO-APIC-level HDA Intel --- Bootup diagnositcs for card in PCI slot 00:1b.0 ---- [17179586.236000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 233 [17179586.236000] PCI: Setting latency timer of device 0000:00:1b.0 to 64 === Finished modem firmware and bootup diagnostics section. === === Next deducing cogent software === ALSAversion 1.0.11 8086:27d8 is a High Definition Audio card, possibly hosting a soft modem. For candidate modem in PCI bus: 00:1b.0 Class 0403: 8086:27d8 Audio device: Intel Corporation 82801G Primary PCI_id 8086:27d8 Subsystem PCI_id 1631:c018 Softmodem codec or Vendor from diagnostics: 11c1, an AgereSystems type. from Archives: This is a NEW softmodem case! Please send the output ModemData.txt to DISCUSS@xxxxxxxxxxxxx , even if further assistance is not needed. It will enrich the Archive and help others! ------------------------------------------- Lacking a dsp (digital signal processing) chip, the modem is a software intensive or "softmodem" type. Its primary controller manages the traffic with the CPU. But the software needed is specified in the Subsystem. ----------------------------------------- Support type needed or chipset: slmodemd An ALSA (Advanced Linux Sound Architecture) modem driver: snd-hda-intel 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.gcc4.1.tar.gz having a compiled slmodemd. Unpack under Linux with: $ tar zxf SLMODEMD.gcc4.1.tar.gz and read instructions therein. But briefly, the modem is setup with command: sudo slmodemd -c YOUR_COUNTRY --alsa hw:0,6 reporting dynamic creation of ports: /dev/ttySL0 --> /dev/pts/N , with N some number Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance. Already loaded into the kernel is snd-hda-intel and audio drivers it depends on, displayed by: lsmod | grep snd_hda_intel Module Size Used by ------------------------------------- snd_hda_intel 20116 1 snd_hda_codec 164608 1 snd_hda_intel snd_pcm 84612 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss snd 58372 8 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer snd_page_alloc 11400 2 snd_hda_intel,snd_pcm The diagnostic outputs for this softmodem section have their raw information in folders and text files under /proc/asound/ which you can browse. The information is from files: /proc/asound/pcm ------------------------------- 00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1 00-01: STAC92xx Digital : STAC92xx Digital : playback 1 : capture 1 00-00: STAC92xx Analog : STAC92xx Analog : playback 1 : capture 2 /proc/asound/modules ------------------------------- 0 snd_hda_intel /proc/asound/card0/codec#1 ------------------------------- Codec: Generic 11c1 Si3054 Address: 1 Vendor Id: 0x11c13026 Subsystem Id: 0xc0181631 Revision Id: 0x100700 ------------------------------- Current support status of HDA cards is: Vendor IDs Chip maker Support type ---------- ---------- ------------- 0x14f12bfa Conexant hsfmodem , not slmodemd compatible 0x11c13026 AgereSystems snd-hda-intel, slmodemd supported 0x11c11040 AgereSystems " " , patch needed 0x11c13055 AgereSystems " " , " 0x163c3055 Smartlink " " , " 0x163c3155 " " " , " 0x10573055 Motorola " " , " 0x10573155 " " " , "" as of October 2006. and from the command: aplay -l | grep -i modem card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem] ----------------end Softmodem section -------------- Writing Intel.txt Writing Smartlink.txt ============ end Smartlink section ===================== Completed candidate modem analyses. The base of the UDEV device file system is: /dev/.udev Versions adequately match for the compiler installed: 4.1.2 and the compiler used in kernel assembly: 4.1.2 Compiling resources appear complete: make utility - /usr/bin/make Compiler version 4.1 kernel_headers base folder /lib/modules/2.6.17-11-generic/build Checking pppd properties: -rwsr-xr-- 1 root dip 260920 2006-07-10 20:13 /usr/sbin/pppd In case of an "error 17" "serial loopback" problem, see: http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html To enable dialout without Root permission do: $ su - root (not for Ubuntu) sudo chmod a+x /usr/sbin/pppd or under Ubuntu related Linuxes sudo 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/YourSystem.txt concerning other COMM channels: eth0 Which can interfere with Browser naviagation. Don't worry about the following, it is for the 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: /etc/udev/rules.d/60-symlinks.rules:# Create /dev/modem symlink /etc/udev/rules.d/60-symlinks.rules:KERNEL=="ttyLTM[0-9]*", SYMLINK+="modem" Within /etc/modprobe.conf files: /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2 /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2 /etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem drivers /etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem /etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem Within any ancient /etc/devfs files: Within ancient kernel 2.4.n /etc/module.conf files: --------- end modem support lines --------