Artur Within the drivers/Makefile, look for the two lines # ARCH64:=$(shell uname -m | sed -e '/amd64/s//x86_64/' | grep -c x86_64)ARCH64:=1 Just change to:ARCH64:=$(shell uname -m | sed -e '/amd64/s//x86_64/' | grep -c x86_64) and slamr.ko will be compiled. Sorry, that was a fix for someone who only needed slusb.koand I forgot to change it back. MarvS On Mon, Aug 11, 2008 at 6:01 PM, Artur Karimov <arturjuma@xxxxxxxxx> wrote:> Hello!> My smartlink modem is working with Kubuntu 8.04 very well. I have installed> openSuSE 10.2 and can't install the slamr driver even though I tried with> smartlink.txt. I have downloaded> http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20080803.tar.gz> but at the compiling with ls command it doesn't show any slamr.ko module ,> only slusb.ko module. I have tried to install SuSE's own support for> smartlink and it has changed the original kernel but no success.> Is there any way to make my modem working?> Thanks!>> Пароль:> artur-desktop:/home/artur/slmodem-2.9.11-20080803 # modprobe ungrab-winmodem> artur-desktop:/home/artur/slmodem-2.9.11-20080803 # modprobe slamr> FATAL: Module slamr not found.> artur-desktop:/home/artur/slmodem-2.9.11-20080803 # slmodemd -c RUSSIA> /dev/sla> mr0> error: mdm setup: cannot stat `/dev/slamr0': No such file or directory> error: cannot setup device `/dev/slamr0'> artur-desktop:/home/artur/slmodem-2.9.11-20080803 # make clean> make -C modem clean && make -C drivers clean && echo "done."> make[1]: Entering directory `/home/artur/slmodem-2.9.11-20080803/modem'> rm -f slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o modem.o> mode> m_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o> modem> _param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o sysdep_common.o> rm -f *~ *.orig *.rej> make[1]: Leaving directory `/home/artur/slmodem-2.9.11-20080803/modem'> make[1]: Entering directory `/home/artur/slmodem-2.9.11-20080803/drivers'> rm -f kernel-ver slusb.o slusb.ko *st7554.o amrmo_init.o sysdep_amr.o> *.mod.*> .*.cmd *~> rm -f -r .tmp_versions> make[1]: Leaving directory `/home/artur/slmodem-2.9.11-20080803/drivers'> done.> artur-desktop:/home/artur/slmodem-2.9.11-20080803 # make> make -C modem all> make[1]: Entering directory `/home/artur/slmodem-2.9.11-20080803/modem'> rebuild profile...> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c> modem_cmdline.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_datafile.o -c> modem_datafile> .c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_at.o -c modem_at.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_timer.o -c modem_timer.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_pack.o -c modem_pack.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_ec.o -c modem_ec.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_comp.o -c modem_comp.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_param.o -c modem_param.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_debug.o -c modem_debug.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o homolog_data.o -c> homolog_data.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_sinus.o -c dp_sinus.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_dummy.o -c dp_dummy.c> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o sysdep_common.o -c> sysdep_common.c> gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o> modem_at.o> modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o> modem_debug.o> homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_test.o -c modem_test.c> gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o> modem_at> .o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o> modem_debug.> o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o> make[1]: Leaving directory `/home/artur/slmodem-2.9.11-20080803/modem'> make -C drivers KERNEL_DIR=/lib/modules/2.6.18.2-34-bigsmp/build> make[1]: Entering directory `/home/artur/slmodem-2.9.11-20080803/drivers'> doing kernel-ver::> cc -I/lib/modules/2.6.18.2-34-bigsmp/build/include -o kernel-ver> kernel-ver.c> make all KERNEL_VER=2.6.18.2-34-bigsmp> make[2]: Entering directory `/home/artur/slmodem-2.9.11-20080803/drivers'> obj-m= slusb.o> slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o> make modules -C /lib/modules/2.6.18.2-34-bigsmp/build> SUBDIRS=/home/artur/slmode> m-2.9.11-20080803/drivers> make[3]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/bigsmp'> make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/i386/bigsmp> module s> CC [M] /home/artur/slmodem-2.9.11-20080803/drivers/st7554.o> LD [M] /home/artur/slmodem-2.9.11-20080803/drivers/slusb.o> Building modules, stage 2.> MODPOST> WARNING: modpost: GPL-incompatible module slusb.ko uses future GPL-only> symbol '> usb_deregister'> WARNING: modpost: GPL-incompatible module slusb.ko uses future GPL-only> symbol '> usb_register_driver'> CC /home/artur/slmodem-2.9.11-20080803/drivers/slusb.mod.o> LD [M] /home/artur/slmodem-2.9.11-20080803/drivers/slusb.ko> make[3]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/bigsmp'> finished all:> make[2]: Leaving directory `/home/artur/slmodem-2.9.11-20080803/drivers'> make[1]: Leaving directory `/home/artur/slmodem-2.9.11-20080803/drivers'> artur-desktop:/home/artur/slmodem-2.9.11-20080803 # ls -l drivers/*.ko> -rw-r--r-- 1 root root 38310 Рвг 12 02:23 drivers/slusb.ko> artur-desktop:/home/artur/slmodem-2.9.11-20080803 #>>> 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> Welcome to openSUSE 10.2 (i586) - Kernel kernel 2.6.18.2-34-bigsmp> 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,> Welcome to openSUSE 10.2 (i586) - Kernel> Linux version 2.6.18.2-34-bigsmp (geeko@buildhost) (gcc version 4.1.2> 20061115 (prerelease) (SUSE Linux)) #1 SMP Mon Nov 27 11:46:27 UTC 2006> scanModem update of: 2008_07_31>> Modem drivers blocked from loading during bootup are listed in> /etc/modprobe* file lines:> /etc/modprobe.d/blacklist:blacklist snd-atiixp-modem> /etc/modprobe.d/blacklist:blacklist snd-via82xx-modem> /etc/modprobe.d/blacklist:blacklist snd-intel8x0m>> Attached USB devices are:> ID 045e:00e1 Microsoft Corp.> ID 0bda:0111 Realtek Semiconductor Corp.> ID 15a9:0004>> USB modems not recognized>> For candidate card in slot 01:0a.0, firmware information and bootup> diagnostics are:> PCI slot PCI ID SubsystemID Name> ---------- --------- --------- --------------> 01:0a.0 1057:3052 1057:3020 Modem: Motorola Unknown> device 3052>> Modem interrupt assignment and sharing:> --- Bootup diagnostics for card in PCI slot 01:0a.0 ----> ACPI: PCI Interrupt 0000:01:0a.0[A] -> Link [APC3] -> GSI 18 (level, low) ->> IRQ 185> 0000:01:0a.0: ttyS0 at I/O 0xcc08 (irq = 185) is a 16450> 0000:01:0a.0: ttyS1 at I/O 0xcc10 (irq = 185) is a 8250> 0000:01:0a.0: ttyS2 at I/O 0xcc18 (irq = 185) is a 16450> 0000:01:0a.0: ttyS3 at I/O 0xcc20 (irq = 185) is a 8250> Couldn't register serial port 0000:01:0a.0: -28> ACPI: PCI interrupt for device 0000:01:0a.0 disabled>> The PCI slot 01:0a.0 of the modem card may be disabled early in> a bootup process, but then enabled later. If modem drivers load> but the modem is not responsive, read DOCs/Bootup.txt about possible> fixes.> Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx> if help is needed.>>> For candidate card in slot 00:05.0, firmware information and bootup> diagnostics are:> PCI slot PCI ID SubsystemID Name> ---------- --------- --------- --------------> 00:05.0 10de:03f0 103c:2a66 Audio device: nVidia> Corporation MCP61 High Definition Audio>> Modem interrupt assignment and sharing:> --- Bootup diagnostics for card in PCI slot 00:05.0 ---->>> 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 01:0a.0:> Modem chipset detected on> NAME="Modem: Motorola Unknown device 3052 "> CLASS=0703> PCIDEV=1057:3052> SUBSYS=1057:3020> IRQ=185> IDENT=slamr>> For candidate modem in: 01:0a.0> 0703 Modem: Motorola Unknown device 3052> Primary device ID: 1057:3052> Support type needed or chipset: slamr>>> ----------------end Softmodem section -------------->> 1057:3052 has a Motorola chipset, poorly supported by Motorola itself> However Zello discovered that drivers written to support Smartlink modems> do support the 1057:3052 chipset!!> It sufficed to add 1057:3052 to the list of modem cards recognized by the> Smartlink slamr driver.> There is a ungrab-winmodem driver used in conjunction with slamr, which> must have 1057:3052> similarly added. See messages from Zello:> http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00846.html> http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00848.html> and Alvaro Aguirre about the ungrab-winmodem fix:> http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00990.html> For general guidance on ungrab-winmodem + slamr usage, read the> DOCs/Smartlink.txt>> The modem is supported by the Smartlink> plus the slmodemd helper utility. Read the> DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through> guidance.>>> For 2.6.18.2-34-bigsmp compiling drivers is necessary. As of October 2007> the current packages at> http://linmodems.technion.ac.il/packages/smartlink/ are the> ungrab-winmodem-20070505.tar.gz and slmodem-2.9.11-20080126.tar.gz>> Writing DOCs/Smartlink.txt> ============ end Smartlink section =====================>>> Predictive diagnostics for card in bus 00:05.0:> Modem chipset not detected on> NAME="Audio device: nVidia Corporation MCP61 High Definition Audio "> CLASS=0403> PCIDEV=10de:03f0> SUBSYS=103c:2a66> IRQ=5> HDA=10de:03f0> SOFT=10de:03f0.HDA>>> High Definition Audio (HDA) cards MAY host a modem chip in their Subsystem,> and many are supported by the ALSA audio+modem driver snd-hda-intel> A modem was not detected on HDA card 10de:03f0.> If another modem card is present, then most likely 10de:03f0 does not host> a modem.> If another modem card has not been detected, then possibilities are:> 1) A Conexant modem chip is present on 10de:03f0, as Conexant chips> are frequently not detectable by ALSA diagnostics> 2) The modem may be of the older non-PCI Controller Chipset> (hardware) type.> Try detection with Root permission:> wvdialconf /etc/wvdial.conf>> For candidate modem in: 00:05.0> 0403 Audio device: nVidia Corporation MCP61 High Definition Audio> Primary device ID: 10de:03f0> Subsystem PCI_id 103c:2a66> Softmodem codec or chipset from diagnostics:> from Archives:>>>> Support type needed or chipset:>> Support can likely be achieved through two mutually exclusive alternatives:> 1) The hsfmodem software for Conexant chipset modems: Read DOCs/Conexant.txt> The following ALSA alternative CANNOT work with Conexant modems.>> 2) An ALSA modem driver plus slmodemd. Read DOCs/Smartlink.txt for details,> and> to test get the package SLMODEMD.gcc4.1.tar.gz from:> http://linmodems.technion.ac.il/packages/smartlink/>> ----------------end Softmodem 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>>>> Minimal compiling resources appear complete:> make utility - /usr/bin/make> Compiler version 4.1> linuc_headers base folder /lib/modules/2.6.18.2-34-bigsmp/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 n. 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.>>>>> 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:> -rwxr-xr-x 1 root dialout 295488 Ноя 26 2006 /usr/sbin/pppd>> In case of an "error 17" "serial loopback" problem, see:> http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html>> 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> noipdefault> noauth> crtscts> lock> modem> asyncmap 0> nodetach> lcp-echo-interval 30> lcp-echo-failure 4> lcp-max-configure 60> lcp-restart 2> idle 600> noipx> file /etc/ppp/filters>> 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>>> 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:> /etc/udev/rules.d/50-udev-default.rules:KERNEL=="mwave",> NAME="modems/%k", GROUP="uucp"> /etc/udev/rules.d/31-network.rules:SUBSYSTEM=="net",> ENV{INTERFACE}=="ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*|bond*|vlan*|modem*|dsl*",> GOTO="skip_ifup"> Within /etc/modprobe.conf files:> /etc/modprobe.conf:# Linux ACP modem (Mwave)> /etc/modprobe.d/blacklist:# ALSA PCI sound/modem modules - should be> configured via yast> /etc/modprobe.d/blacklist:blacklist snd-atiixp-modem> /etc/modprobe.d/blacklist:blacklist snd-via82xx-modem> Within any ancient /etc/devfs files:>> Within ancient kernel 2.4.n /etc/module.conf files:>> --------- end modem support lines -------->>>