Відповісти

Увага: ця гілка була неактивною принаймні 365 днів!
Будь ласка, подумайте про створення нової гілки, якщо ви не впевнені абсолютно, що хочете відновити обговорення тут.
Ім’я:
Електронна пошта:
Тема:
Іконка:

Код перевірки:
Будь ласка, введіть символи, вказані на малюнку
прослухати / Спробувати інший малюнок

Будь ласка, введіть символи, вказані на малюнку:

скорочення: alt+s — надіслати допис, alt+p — попередній перегляд


Стислий вміст гілки

Автор: Sandr
« : 2008-04-27 02:33:53 »

Та ну його, цей софт-модем!!!!  >:(

Пробував я ВСЕ!!!

Довелося таки лишити на тому компі Вікна...  :(

P.S. Виявилося, що в тих людей є й зовнішній COM'омовський модем, тільки вони мабуть чомусь вважали, що софт модем працюватиме краще...  :P
Автор: yurchor
« : 2008-04-24 07:33:31 »

Боюся навіть запитувати, Ви команду slmodemd запускали з параметрами описаними у README? ;)
Автор: Sandr
« : 2008-04-23 23:43:23 »

Відповідно до опису:

Цитата
When 'slmodemd' is running this creates PTY (pseudo-terminal) to
   emulate modem port device, also this creates symbolic link
   like '/dev/ttySL0' (shown at startup).
Мав би з'явитися файл /dev/ttySL0 , але його не з'являється...

Роблю посилання наступним чином:

# ln -s /dev/slamr0 /dev/modem

Далі запускаю програму kppp створюю новий модем modem0, вибираючи пристрій /dev/modem , і проводжу опитування. Але видається помилка:

Не вдається створити файл блокування модему.
або Не вдається відкрити модем.
Автор: Sandr
« : 2008-04-23 23:25:33 »

Скачав і встановив: ungrab-winmodem-20080126.tar.gz та slmodem-2.9.11-20080401.tar.gz

Команди:

# modprobe ungrab-winmodem
# modprobe slamr

проходять без жодних повідомлень, тобто помилок начебто ж немає.
Автор: yurchor
« : 2008-04-23 22:45:53 »

Гаразд, діємо за пунктами:
1) ungrab-winmodem встановили?
2) Що отримуєте у відповідь на modprobe slamr ?
Автор: Sandr
« : 2008-04-23 19:39:32 »

Після установки пакунка kernel-source скрипт scanModem видає уже дещо інший результат.

Наводжу вміст інформаційного файлу ModemData.txt:

Цитата
Only plain text email is forwarded by the  Discuss@Linmodems.org List Server,
 as HTML can contain viruses. Use as the email Subject Line:
           YourName, YourCountry
Welcome to openSUSE 10.3 (i586) - Kernel  kernel 2.6.22.5-31-default
 With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
 YourCountry will enable Country specific guidance. Your contry's local Linux experts
 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@Linmodems.org 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.3 (i586) - Kernel
Linux version 2.6.22.5-31-default (geeko@buildhost) (gcc version 4.2.1 (SUSE Linux)) #1 SMP 2007/09/21 22:29:00 UTC
 scanModem update of:  2008_04_16

 There are no blacklisted modem drivers in /etc/modprobe*  files
USB modem not detected by lsusb

For candidate card in slot 02:0c.0, firmware information and bootup diagnostics are:
 PCI slot      PCI ID            SubsystemID      Name
 ----------      ---------      ---------      --------------
 02:0c.0      1057:3052      1057:3020      Modem: Motorola SM56 Data Fax Modem

 Modem interrupt assignment and sharing:
 --- Bootup diagnostics for card in PCI slot 02:0c.0 ----
ACPI: PCI Interrupt 0000:02:0c.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
0000:02:0c.0: ttyS2 at I/O 0xc808 (irq = 10) is a 16450
0000:02:0c.0: ttyS3 at I/O 0xc810 (irq = 10) is a 8250
Couldn't register serial port 0000:02:0c.0: -28

=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive diagnostics for card in bus 02:0c.0:
      Modem chipset  detected on
CLASS="Class 0703: 1057:3052"
NAME="Modem: Motorola SM56 Data Fax Modem "
PCIDEV=1057:3052
SUBSYS=1057:3020
IRQ=10
IDENT=slamr

 For candidate modem in:  02:0c.0
   Class 0703: 1057:3052 Modem: Motorola SM56 Data Fax Modem
      Primary PCI_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 Smartlink.txt

The modem is supported by the Smartlink slamr driver
plus the slmodemd helper utility.  Read the
Smartlink.txt and Modem/YourSystem.txt for follow through guidance.


For 2.6.22.5-31-default 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 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.2.1
             and the compiler used in kernel assembly: 4.2.1


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.2
   linuc_headers base folder /lib/modules/2.6.22.5-31-default/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.



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 package
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 298784 2007-09-22 02:41 /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

Read Modem/YourSystem.txt concerning other COMM channels: eth0 modem1
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/50-udev-default.rules:KERNEL=="mwave",            NAME="modems/%k", GROUP="uucp"
/etc/udev/rules.d/77-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)
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------
Автор: Sandr
« : 2008-04-23 19:01:05 »

Скрипт scanModem виводить наступну інформацію:

Цитата
UPDATE=2008_04_16
 Continuing as this update is a only 1 weeks old,
 but the current Update is always at: http://linmodems.technion.ac.il

ALSA sound/drivers/opl3/opl3_lib.c:125: OPL3: stat2 = 0x0
ALSA sound/drivers/opl3/opl3_lib.c:442: OPL2/3 chip not detected at 0xc050/0xc052

Identifying PCI bus slots with candidate modems.
Running PCIbus cases
Analysing card in PCI bus 02:0c.0, writing to scanout.02:0c.0
Using scanout.02:0c.0 data, and writing guidance to ModemData.txt
Read Smartlink.txt
Writing Smartlink.txt

 Writing residual guidance customized to your System.
   A subfolder Modem/  has been written,  containing these files with more detailed Information:
 ------------------------------------------------------------------------------------------
 1stRead.txt   DriverCompiling.txt  InfoGeneral.txt  ModemData.txt
Rational.txt  scanout.02:0c.0      Smartlink.txt    SoftModem.txt
Testing.txt   UNSUBSCRIBE.txt      wvdial.txt       YourSystem.txt
-------------------------------------------------------------------------------------------
       Please read 1stRead.txt first for Guidance.
Автор: Sandr
« : 2008-04-23 18:51:38 »

Отримав ще ось цю інструкцію щодо установки модема:

Цитата
First complete compiling report by installing package
linux-headers-2.6.22.5-31-default or equivalent.

Next from http://linmodems.technion.ac.il/packages/smartlink/  download the
ungrab-winmodem-20080126.tar.gz
slmodem-2.9.11-20080401.tar.gz
Under linux, unpack with:
$ tar zxf  *.tar.gz
Read the directions, compile and install.
Be careful that the device /dev/slamr0 has to be recreated upon each bootup:
#   mknod -m 660 /dev/slamr0 c 242 0 2
until automation is established
Then setup the modem with:
# modprobe ungrab-winmodem
# modprobe  slamr
#  slmodemd -c RUSSIA  /dev/slamr0

For
# lspci -s 02:0c.0  -n
02:0c.0 Class 0703: 1057:3052
get explaining documentation by running:
$ ./scanModem fake  1057:3052

Meanwhile I'll deduce why my automation in scanModem failed.

Допожіть будь ласка її "розшифрувати"!!!
Автор: Sandr
« : 2008-04-23 17:28:10 »

Щось нічого в мене не виходить...  :(

Точніше дещо виходить, але однак не працює. Усе наче установлюється, відображаються й файли slamr0-3 в теці /dev , але модем однак ніяк не реагує і ще й при перезавантаженні все зникає...

Чому ж після перезавантаження автоматично зникають файли: slamr0, slamr1, slamr2, slamr3?
І як зробити, щоб вони не зникали???

P.S. Виявив, що в файлі /lib/modules/2.6.22.5-31-default/modules.unsupported.blacklist містяться наступні рядки:
Цитата
# Blacklist of modules without the supported flag.
blacklist slusb unsupported
blacklist slamr unsupported
blacklist ungrab_winmodem unsupported
Можливо в цьому причина... То я їх закоментував отак:
Цитата
# Blacklist of modules without the supported flag.
#blacklist slusb unsupported
#blacklist slamr unsupported
#blacklist ungrab_winmodem unsupported
Автор: Praporshic
« : 2008-04-23 09:26:58 »

Установив пакунок kernel-source, після чого система почала виконувати команду make без помилок.  :)
Так воно ж одразу про це повідомляло:
Цитата
The kernel was compiled with gcc version 4.2.1 and a compiler is not installed

linux-headers-2.6.22.5-31-default resources needed for compiling are not manifestly ready!

If compiling is necessary packages must be installed, providing:
     gcc-4.2  kernel-source-2.6.22.5-31-default
Автор: Sandr
« : 2008-04-23 08:59:53 »

Установив пакунок kernel-source, після чого система почала виконувати команду make без помилок.  :)
Автор: yurchor
« : 2008-04-23 07:27:58 »

Скоріше за все, не встановлено відповідних повних текстів вихідного коду ядра. Встановіть відповідний пакунок (він досить великий (>200 МБ), але його потім можна бути вилучити).

Ще подивіться на файл compile_example.txt. Там показано зразкову компіляцію. Порівняйте її з Вашими результатами.

P.S. Іноді перед збиранням треба у теці вихідних кодів ядра віддати команду make prepare
Автор: Sandr
« : 2008-04-23 07:16:42 »

Розпакував я архів slmodem-2.9.11-20080401.tar.gz перейшов у папку з файлами та ознайомився з довідковими файлами. Потім задав команду: # make, на що отримав наступні повідомлення системи:
Цитата
make -C modem all
make[1]: Вхожу у каталог "/mnt/linsoft/drivers/sm56/smartlink/slmodem-2.9.11-20080401/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]: Залишаю каталог "/mnt/linsoft/drivers/sm56/smartlink/slmodem-2.9.11-20080401/modem"
make -C drivers KERNEL_DIR=/lib/modules/2.6.22.5-31-default/build
make[1]: Вхожу у каталог "/mnt/linsoft/drivers/sm56/smartlink/slmodem-2.9.11-20080401/drivers"
cc -I/lib/modules/2.6.22.5-31-default/build/include -o kernel-ver kernel-ver.c
kernel-ver.c:9:30: error: linux/utsrelease.h: No such file or directory
make[1]: *** [kernel-ver] Помилка 1
make[1]: Залишаю каталог "/mnt/linsoft/drivers/sm56/smartlink/slmodem-2.9.11-20080401/drivers"
make: *** [drivers] Помилка 2
Автор: yurchor
« : 2008-04-23 00:01:43 »

1. Знесіть до біса старий пакуно для SUSE 9, його ядерний модуль не підходить до Вашого ядра. (Я поспішав і порадив майже не думаючи :-[)

2. Завантажте архів http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20080401.tar.gz

3. Розпакуйте його і уважно прочитайте README

4. Якщо потрібен переклад — не соромтеся спитати. Зберіть все згідно до інструкції.

5. Не лазьте більше по всяких сайтах: у семи няньок... Ну самі знаєте...
Автор: Sandr
« : 2008-04-22 21:04:15 »

Відкопав нарешті уже зовсім схожу проблему:

http://[center]http://linmodems.org/cgi-bin/ezmlm-cgi?1:mss:29824:200804:dllelgebcmmahmabpmfl[/center]
Модем здається такий же самий, як і мій: Motorola SM56 Data Fax Modem  :)

Підкажіть будь ласка, що далі робити?