WinModem

Автор: ФюЛю Дата: 26.04.2004 23:02
помогите с ВИНМодемом

скачал дрова ltmodem-8.26a9

запустил scanmodem он написал :

---
A supported Lucent/Agere DSP chipset modem is identified: PCI_ID=11c1:0440
VENDOR 0x11c1 DEVICE 0x0440
ID are within the serviced ranges for Lucent/Agere DSP modems:
------------------------------------------
LUCENT 0x11c1 0x0440-0x045c
XIRCOM 0x115d 0x0000-0x000F
XIRCOM 0x115d 0x0440-0x045c
XIRCOM 0x115d 0x0010-0x03ff
-------------------------------------------
Drivers and their compiler kits are available at:
[www.heby.de]

For more details read the Recording file.

redhat
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old

потом : ./build_module

To begin compilation of lt_modem.o and lt_serial.o, Enter

Using KCFLAGS for gcc version 3.x
gcc -D__KERNEL__ -I/lib/modules/2.4.22-1.2154.nptl.asp/build/include -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DLT_VERSION=8.26a9 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -c -o ltmodem.a ltmodem.c
ld -r -o lt_modem.o ltmodem.a ltmdmobj.o".gcc3"
Using KCFLAGS for gcc version 3.x
gcc -D__KERNEL__ -I/lib/modules/2.4.22-1.2154.nptl.asp/build/include -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DLT_VERSION=8.26a9 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -c -o serial-lt-2.4.a serial-lt-2.4.c
serial-lt-2.4.c: In function `rs_close':
serial-lt-2.4.c:2994: error: invalid operands to binary ==
serial-lt-2.4.c: At top level:
serial-lt-2.4.c:2584: warning: `rs_break' defined but not used
make: *** [serial-lt-2.4.a] Ошибка 1

Checking for driver products:
-rw-r--r-- 1 root root 543452 Апр 26 22:27 lt_modem.o

Compilation of lt_serial.o failed,
Do assess whether your utilities are up to date as listed within 1ST-READ!
---

как устранить эту ошибку?

Re: WinModem 27.04.2004 21:27iVan
Они же платные! Там серийлик нужен! Забудь про эти дрова. Я кажется на алхимии видел нормальные...
Re: WinModem 29.04.2004 20:17ФюЛю
Где, Где?
Re: WinModem 29.04.2004 21:22iVan
Ну ошибся я! Не на алхимии а на этом [unixzone.h12.ru] сайте видал...

"v.8.30a1 - собраный RPM под стандартное ASP Linux 9.2 ядро (2.4.22-1.2154.nptl), организует отличную работу с LT-модемами. Проверен на Genius GM56PCI-L."

Мне вообще это не нужно, у меня другой модем...

Re: WinModem 09.05.2004 05:02Sapres
немогу поставить дрова к своему модему на асп 9. вот как выходит:
---
[root@localhost root]# cd /tmp/hcfpcimodem-0.99mbsibeta02123100
[root@localhost hcfpcimodem-0.99mbsibeta02123100]# rpm -e hcfpcimodem
ошибка: пакет hcfpcimodem не установлен
[root@localhost hcfpcimodem-0.99mbsibeta02123100]# rpm -e hcfpci
ошибка: пакет hcfpci не установлен
[root@localhost hcfpcimodem-0.99mbsibeta02123100]# make install
make[1]: Вход в каталог `/tmp/hcfpcimodem-0.99mbsibeta02123100/inf'
install -m 644 hcf_linux.cty hcfv90_lan_linux.inf hcfv90_linux.inf hcfv92_linux.inf hcfv92_riptide_linux.inf /etc/hcfpci/inf
make[1]: Выход из каталог `/tmp/hcfpcimodem-0.99mbsibeta02123100/inf'
make[1]: Вход в каталог `/tmp/hcfpcimodem-0.99mbsibeta02123100/scripts'
make[1]: *** Warning: File `/usr/bin' has modification time in the future (2004-05-08 08:10:26 > 2004-05-08 05:25:34.559253)
install -m 755 hcfpciconfig hcfpcistop /usr/sbin
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Выход из каталог `/tmp/hcfpcimodem-0.99mbsibeta02123100/scripts'
make[1]: Вход в каталог `/tmp/hcfpcimodem-0.99mbsibeta02123100/modules'
rm -rf "/usr/lib/hcfpci/config.mak" "/usr/lib/hcfpci/imported" "/usr/lib/hcfpci/modules"
mkdir -m 755 -p /usr/lib/hcfpci/modules
prevsum=""; md5sum `find binaries -type f -print` </dev/null | sort | while read sum file ; do \
if [ "$sum" = "$prevsum" ] && cmp -s "$file" "$prevfile"; then \
rm -f "$file"; \
ln "$prevfile" "$file"; \
else \
prevsum="$sum"; \
prevfile="$file"; \
fi; \
done
(cd .. && find config.mak imported -depth -print | cpio -pdm /usr/lib/hcfpci)
2580 blocks
find . \( -name COPYING -o -name '*.sh' -o -name '*.[ch]' -o -name '*.mak' -o -name '[Mm]akefile' \) -print | cpio -pdm /usr/lib/hcfpci/modules
443 blocks
find binaries -depth -print | cpio -pdm /usr/lib/hcfpci/modules
0 blocks
make[1]: Выход из каталог `/tmp/hcfpcimodem-0.99mbsibeta02123100/modules'
make: *** Нет правила для сборки цели `LICENSE', требуемой для `install'. Останов.
[root@localhost hcfpcimodem-0.99mbsibeta02123100]# hcfpciconfig
Linux HCF controllerless modem drivers, version 0.99mbsibeta02123100

WARNING: this is an EXPERIMENTAL BETA VERSION of the HCF drivers for Linux.
USE AT YOUR OWN RISK! See the file /usr/lib/hcfpci/LICENSE for details.

Conexant Systems neither distributes nor maintains this package.
PLEASE DO NOT CONTACT CONEXANT REGARDING THIS SOFTWARE!!!
If you require assistance or need more information, go to:
[www.mbsi.ca]

Should we attempt to automatically configure your hardware? [yes] no
Is the modem presently installed in your system? [yes] yes

1) PCI device 14f1:1085 (Conexant) (rev Поражён.
2) None of the above

Which PCI communication controller is your HCF modem? (1-2) 1

1) /etc/hcfpci/inf/hcfv90_lan_linux.inf
2) /etc/hcfpci/inf/hcfv90_linux.inf
3) /etc/hcfpci/inf/hcfv92_linux.inf
4) /etc/hcfpci/inf/hcfv92_riptide_linux.inf
5) None of the above

Which INF file would you like to use with your HCF modem? (1-5) 2

Selected PCI VendorID=14F1 DeviceID=1085
and INF file /etc/hcfpci/inf/hcfv90_linux.inf

Supported countries:

ARGENTINA, AUSTRALIA, AUSTRIA, BELGIUM,
BRAZIL, BULGARIA, CANADA, CHILE, CHINA,
CROATIA, CZECH_REPUBLIC, DENMARK, FINLAND, FRANCE,
GERMANY, GREECE, HONG-KONG, HUNGARY, ICELAND,
INDIA, INDONESIA, IRELAND, ISRAEL, ITALY,
JAPAN, KOREA, LUXEMBOURG, MALAYSIA, MEXICO,
NETHERLANDS, NEW_ZEALAND, NORWAY, PHILIPPINES, POLAND,
PORTUGAL, RUSSIA, SINGAPORE, SLOVAKIA, SLOVENIA,
SOUTH_AFRICA, SPAIN, SWEDEN, SWITZERLAND, TAIWAN,
THAILAND, TURKEY, UK, UNITED_ARAB_EMIRATES, USA

Please enter your country name [USA]: RUSSIA

Configuring modem for country: "RUSSIA"
You can change this setting later with the command "hcfpciconfig --country"

This package does not contain pre-built modules suitable for your system:
Distribution: RedHat-9
Kernel arch: i686
Kernel version: linux-2.4.20-9asp

Trying to automatically re-compile the modules..
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.4.20-9asp/build]
---

Re: WinModem 10.05.2004 19:50ФюЛю
>Ну ошибся я! Не на алхимии а на этом [unixzone.h12.ru] сайте видал...

>"v.8.30a1 - собраный RPM под стандартное ASP Linux 9.2 ядро (2.4.22-1.2154.nptl), организует отличную работу с LT-модемами. Проверен на Genius GM56PCI-L."

>Мне вообще это не нужно, у меня другой модем...

Между прочем это ltmodem-8.26a9 дрова только в rpm
поставил , всё прекрасно работает ;-)

Re: WinModem 10.05.2004 20:28Илья И.
>Where is the linux source build directory that matches your running kernel?
>[/lib/modules/2.4.20-9asp/build]

В этом месте следует нажать ВВОД.

Re: WinModem 12.05.2004 00:47Sapres
с ВВОДОМ я конечно же ступил, но проблема осталась вот:
---
[root@localhost root]# hcfpciconfig
Linux HCF controllerless modem drivers, version 0.99mbsibeta02123100

WARNING: this is an EXPERIMENTAL BETA VERSION of the HCF drivers for Linux.
USE AT YOUR OWN RISK! See the file /usr/lib/hcfpci/LICENSE for details.

Conexant Systems neither distributes nor maintains this package.
PLEASE DO NOT CONTACT CONEXANT REGARDING THIS SOFTWARE!!!
If you require assistance or need more information, go to:
[www.mbsi.ca]

Should we attempt to automatically configure your hardware? [yes] yes

Selected PCI VendorID=14F1 DeviceID=1085
and INF file /etc/hcfpci/inf/hcfv90_linux.inf

Supported countries:

ARGENTINA, AUSTRALIA, AUSTRIA, BELGIUM,
BRAZIL, BULGARIA, CANADA, CHILE, CHINA,
CROATIA, CZECH_REPUBLIC, DENMARK, FINLAND, FRANCE,
GERMANY, GREECE, HONG-KONG, HUNGARY, ICELAND,
INDIA, INDONESIA, IRELAND, ISRAEL, ITALY,
JAPAN, KOREA, LUXEMBOURG, MALAYSIA, MEXICO,
NETHERLANDS, NEW_ZEALAND, NORWAY, PHILIPPINES, POLAND,
PORTUGAL, RUSSIA, SINGAPORE, SLOVAKIA, SLOVENIA,
SOUTH_AFRICA, SPAIN, SWEDEN, SWITZERLAND, TAIWAN,
THAILAND, TURKEY, UK, UNITED_ARAB_EMIRATES, USA

Please enter your country name [RUSSIA]:

Configuring modem for country: "RUSSIA"
You can change this setting later with the command "hcfpciconfig --country"

This package does not contain pre-built modules suitable for your system:
Distribution: RedHat-9
Kernel arch: i686
Kernel version: linux-2.4.20-9asp

Trying to automatically re-compile the modules..
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.4.20-9asp/build]

Re-compiling HCF modules for kernel 2.4.20-9asp, using source directory
/lib/modules/2.4.20-9asp/build. Please wait..

ERROR: Module re-compilation and installation failed!
Please examine the log file "/tmp/hcfpciconfig-buildlog.txt" to determine why.
[root@localhost root]#
----------------------------------------------
вот hcfpciconfig-buildlog.txt:
rm -f *.o *.a
make[1]: Aoia a eaoaeia `/usr/lib/hcfpci/modules/osspec'
rm -f *.o *.a
make[1]: Auoia ec eaoaeia `/usr/lib/hcfpci/modules/osspec'
* compiling (gcc) mod_osspec.c
In file included from mod_osspec.c:51:
../modules/osspec/include/oscompat.h:274:5: warning: multi-line string literals are deprecated
../modules/osspec/include/oscompat.h:287:34: warning: multi-line string literals are deprecated
../modules/osspec/include/oscompat.h:288:32: warning: multi-line string literals are deprecated
../modules/osspec/include/oscompat.h:290:24: warning: multi-line string literals are deprecated
../modules/osspec/include/oscompat.h:312:38: warning: multi-line string literals are deprecated
make -C osspec all
make[1]: Aoia a eaoaeia `/usr/lib/hcfpci/modules/osspec'
* compiling (gcc) osstdio.c
In file included from osstdio.c:62:
../../modules/osspec/include/oscompat.h:274:5: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:287:34: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:288:32: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:290:24: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:312:38: warning: multi-line string literals are deprecated
* compiling (gcc) osnvm.c
In file included from osnvm.c:68:
../../modules/osspec/include/oscompat.h:274:5: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:287:34: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:288:32: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:290:24: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:312:38: warning: multi-line string literals are deprecated
* compiling (gcc) osresour.c
In file included from osresour.c:60:
../../modules/osspec/include/oscompat.h:274:5: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:287:34: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:288:32: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:290:24: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:312:38: warning: multi-line string literals are deprecated
* compiling (gcc) osservices.c
In file included from osservices.c:54:
../../modules/osspec/include/oscompat.h:274:5: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:287:34: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:288:32: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:290:24: warning: multi-line string literals are deprecated
../../modules/osspec/include/oscompat.h:312:38: warning: multi-line string literals are deprecated
osservices.c: In function `cnxthcf_mdmthrd':
osservices.c:397: structure has no member named `sigmask_lock'
osservices.c:402: structure has no member named `sig'
osservices.c:412: too many arguments to function `recalc_sigpending_Rfb6af58d'
osservices.c:430: structure has no member named `sigmask_lock'
osservices.c:433: too many arguments to function `recalc_sigpending_Rfb6af58d'
make[1]: *** [osservices.o] Ioeaea 1
make[1]: Auoia ec eaoaeia `/usr/lib/hcfpci/modules/osspec'
make: *** [osspec] Ioeaea 2
---

Re: WinModem 13.05.2004 23:57Voyageur
В этом драйвере у меня тоже была ошибка в коде serial_core.c. Вроде все было правильно но выдавалась ошибка компилятора, пришлось закомментировать одну функцию... Но все работает Улыбка
Re: WinModem 14.05.2004 00:16Sapres
ну кто то может мне помочь?
Re: WinModem 14.01.2005 11:18geney
>>>>>>Между прочем это ltmodem-8.26a9 дрова только в rpm
>>>>>>поставил , всё прекрасно работает ;-)
первый раз никсы поставил, а как собственно этот файл установить?
Re: WinModem 14.01.2005 21:30duck
КОРОЧЕ.... я тоже новичек в этом деле.... у меня ASPLINUX 9.2 (siberia)
kv-2.4.44-1.2154.nptl.asp
и даже модем lucent(agere) на чипе 1648C (т.е 56PCI-LA) вроде Улыбка
так я с ним замучался... долго я еб...ся (неделю) чтобы скомпилить дрова поднего..
качал типа исходники ltmodem-8.26a9.tar.gz и другие но там в файле lt_serial.c вроде как есть баг (надо кое что подправить) Улыбка ... но луче слей себе исходник
ltmodem-8.30a2.tar.gz. и его скомпиль... и все будет ОК.... а потом собери себе свой *.RPM чтоб не еб...ся в дальнейшем... ссылку забыл
а.... вот :
[linmodems.technion.ac.il]
наслаждайся.... Улыбка

RSS-материал