Valutazione 4.87/ 5 (100.00%) 5838 voti

Condividi:        

scanModem, debian kernel 2.4.24-xfs

Per tutti i tuoi problemi Linux entra qui e risolvili!

Moderatori: gunter, zendune

scanModem, debian kernel 2.4.24-xfs

Postdi mir » 13/10/04 20:21

Grazie fin da ora a chi vorrà darmi un aiuto.

Da qualche giorno ho installato sulla stessa macchina sulla quale si trova Windows98 SE la versione 1.2.2 di eduKNOPPIX con un kernel linux 2.4.24.

Da alcuni anni Utilizzo senza problemi sotto Windows98 SE un modem esterno Trust ISDN USB (le cui caratteristiche tecniche potete trovare di seguito).

In questi giorni sto cercando di utilizzarlo anche da linux, ma fino ad ora non sono riuscito a farlo funzionare, o meglio non sono riuscito neppure a "far vedere" il modem a linux.

Nei miei tentativi ho seguito le indicazioni presenti nel file Readme.txt (che trovate di seguito) di slmodem-2.9.10 perché mi semrava che lo Smart Link Soft Modem per Linux potesse essere una strada utile, ma forse sono io che sbaglio qualcosa.
In particolare durante la procedura indicata non funziona il seguente comando:
# /usr/sbin/slmodemd --country=ITALY /dev/slusb0
perché il sistema risponde che il device slusb0 non può essere aperto.

Per ulteriori informazioni sulla situazione nella quale mi trovo allego di seguito anche il file ModemData.txt, output di ScanModem.

Grazie per l'attenzione
Mir


CARATTERISTICHE MODEM
Connessione ISDN S/T-connessione ITU-T I.430
ISDN norm DSS1 (Euro ISDN)
Protocollo canale B PPP asincrono-sincrono HDLC trasparente
ITU-T V120/64000 bps
ITU-T V110/56000 bps
ITU-T X.75 / T.70NL / ISO8208
Host-interface Porta USB
Temperatura in uso: 10° tot 55°C, a riposo: da -10° a 70°C
Alimentazione 5 Volt dalla porta USB . Massimo 1 Watt


README.TXT
Smart Link Ltd.
http://www.smlink.com
Sep 30, 2003


Smart Link Soft Modem for Linux
-------------------------------


Introduction
============

This is Smart Link Soft Modem for Linux version 2.9. It provides
full-featured 56K Voice Fax Modem.
This is implemented as generic application (slmodemd) and set of
hardware specific kernel-space drivers (slamr, slusb).
ALSA modem drivers may be used instead of proprietary ones (see ALSA mode).

Features
========

Modem: V.92, V.90, V.34, V.32bis, V.32, V.23, V.22, V.21, Bell 103/212.
Flow control: V.42.
Compression: V.44, V.42bis.
Fax: Class 1.
Voice: V253 like modem.
Multiple modems are supported.


Supported Hardware
==================

HAMR5600 based AMR/CNR/MDC/ACR modem cards on the following Southbridge
chips:
- Intel ICH0,ICH2, ICH3, ICH4
- Via 686A, 686B, 8231, 8233
- SiS 630
- ALI 1535.
SmartPCI56/561/562/563 based PCI modem cards.
SmartUSB56 based USB modem.



Requirements
============

CPU: Intel Pentium II, Celron. AMD K6, Cyrix 500MHz or higher.
Memory: 64MB.

OS: Linux 2.4. You need the kernel header files at least (or full kernel
source tree) installed and configured.
Linux 2.6. You need the full kernel source tree installed and configured.

Note: Most Linux Distributions have 'ready to use' kernel source package -
be sure that this is installed.


Installation
============

1. Unpack tar.gz package file:

$ gzip -dc slmodem-2.9.X.tar.gz | tar xf -

2. 'cd' to package directory:

$ cd slmodem-2.9.X

3. Review and edit 'Makefile' (if need):

In many cases you will need to correct path to your local kernel
source tree:

KERNEL_DIR=/path/to/linux

Default KERNEL_DIR is '/lib/modules/<kerne-version>/build'. Many Linux
Distributions use directory '/usr/src/linux-<version>' also.

Note: If you are using Linux kernel 2.4, only header files should be
available for build in $(KERNEL_DIR)/include

Another way to pass right value KERNEL_DIR is to use command line
parameter while running 'make':

$ make KERNEL_DIR=/path/to/linux ...

4. Run 'make' command to compile package:

$ make

5. Install. As 'root' user run:

# make install

It will install:

- application 'slmodemd' under '/usr/sbin' directory

- hardware specific drivers (kernel modules) 'slamr' and 'slusb'
under conventional kernel modules directory

- character device nodes '/dev/slamr0-3' with major number 212
(for pci modems) and '/dev/slusb0-3' with major number 213
(for usb modems).

- config modules for autoloading (by editing file '/etc/modules.conf')
(only with 2.4 kernels)

6. Config modem country.

Use AT+GCI=<T.35 country code> command to setup country.

Also you can setup default modem country by passing command line
parameter '--country=MY_COUNTRY' to program 'slmodemd'.

See output of 'slmodemd --countrylist' for a list of supported
country names and T.35 country codes (see also 'slmodemd --help').

Note: Command ATI7 shows currently installed country setting.

8. Uninstallation.

In package directory just type:

# make uninstall


Getting Started
===============

After successful installation and configuration:

1. Load modem driver.

Load your modem hardware specific kernel module:

# modprobe slamr

if you are using AMR/CNR/PCI modem, or

# modprobe slusb

if you are using SmartUSB56 Modem.

Note: this will be done automatically when modules were
configured for 'loading on demand'

Note: this is safe to load both 'alamr' and 'slusb' modules.

2. Run soft modem application.

# /usr/sbin/slmodemd [options] <device_name>

Where device name is appropriate device node for your modem
(look at output of 'dmesg' command).
Run '/usr/sbin/slmodemd --help' for details.

Examples:

# /usr/sbin/slmodemd --country=USA /dev/slamr0

, or for SmartUSB56 Modems:

# /usr/sbin/slmodemd --country=ITALY /dev/slusb0

3. Using the modem.

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).

Config your application to use this link '/dev/ttySL0' (or PTY node
itself) as modem port.

Note: Some application want 'to know' that they are working with
pseudo-terminal and may require additional configurations.

Known application notes:

- 'wvdial' requires option 'Carrier Check = no' in config file

- some versions of 'kppp' may not work properly with devices named
like '/dev/ttySL0'. To workaround this you may create symbolic link
'/dev/modem' ( # ln -s /dev/ttySL0 /dev/modem ) and use this link
as modem device with 'kppp'

4. Startup automation.

There are examples of startup scripts in 'scripts' directory.


ALSA mode
=========

ALSA has the built-in modem drivers included in 'alsa-driver' >= 1.0.2
and in Linux kernel >= 2.6.5. Currently there is 'intel8x0m' (snd-intel8x0m)
modem driver, which supports ICH based AC97 modems (MC97).

Recent 'alsa-driver' (>=1.0.6) has also support for NVidia NForce
(snd-intel8x0m) and ATI IXP (snd-atiixp-modem) based modems.

1. Configure your kernel and enable ALSA and ICH based modem support
( 'Device Drivers' -> 'Sound' -> 'Advanced Linux Sound Architecture' ->
'PCI devices' -> 'Intel i8x0/MX440; AMD768/8111 modems' ) .

2. Build and install kernel and modules as usual (make , make modules_install,
etc.). ICH modem driver modem module name is 'snd-intel8x0m'
(if was configured as module).

3. Build application 'slmodemd' with ALSA support. For this in
slmodem-2.9.x dir:

$ cd modem
$ make SUPPORT_ALSA=1

This will build 'slmodemd' with ALSA support. If compilation is failed
review Makefile (near ALSA_SUPPORT condition) and define right library
and/or CFLAGS

4. Use option '--alsa' when running 'slmodemd' and ALSA conventional
device name ('hw:0' or 'hw:1' for instance). If modem support in
the kernel was enabled as module module 'snd-intel8x0m' should be loaded.

Note: Recent version of 'alsa-lib' (>= 1.0.6) has built-in "modem" device
name support ('modem:0', 'modem:1', etc). It is recommended to use
those names with modems (mandatory with ATI IXP modems).

Note: When using ALSA modem driver you don't need to load other
modules ('slamr').



MODEMDATA.TXT

The most recent update of scanModem accessed at http://linmodems.technion.ac.il/packages/scanModem.gz
should ALWAYS be used!! Current UPDATE=2004_Sept_30
URLs to cogent advice are regularly entered and updated, and your problem may be solved therein.
If further help is needed, send a description of your problem to: discuss@linmodems.org
with this ModemData.txt Attached, using the following in the email Subject Line:
scanModem, debian kernel 2.4.24-xfs
Always send this ENTIRE Modem/ModemData.txt. It includes subtle diagnostic ouputs needed to best guide you.
If your PC is a laptop, please provide Make and Modem information.

For instructions to UNSUBSCRIBE from discuss@linmodems.org,
send an email to: discuss-help@linmodems.org

-------------- System information ------------------------
debian testing/unstable
on System with processor: i686
supported by kernel: 2.4.24-xfs
assembled with compiler: 2.95.4
with current System compiler GCC=3.3.3
/usr/bin/gcc -> gcc-3.3
Modem symbolic link is: /dev/modem -> /dev/ttySL0
COMM services are not active
Resident PPP support modules are properly uncompressed .

There are Debian packages with modem drivers from SmartLink:
sl-modem-daemon - SmartLink software modem daemon
sl-modem-source - SmartLink software modem driver - module building source
MANY modem subSystems serving under AC97/MC97 Controllers are also supported.

An AC97 modem codec was not detected

---------- End SIL_id section ---------------

Path to lspci is: /sbin/lspci
--------- lspci scan ----------------
PCI_bus
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 44)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 23)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 10)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 11)
00:07.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 30)
00:0a.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06)
01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01)
-------------------------------------

A modem was not detected among the above PCI devices.
This indicates that the modem, if present has a non-standard or ISA bridge.
Please follow the directions in Modem/General.txt for identifying the modem properties
when booting under Microsoft Windows. Also access any documentation sources
on yourchipset. Guidance can only be provided AFTER
the chipset and/or its drivers have been identified.

======= PCI_ID checking completed ======
Update=2004_Sept_30
A PCMCIA CardBus is not detected on this System.
The following information blocks just query some ppp support items.
====================================================
grep ppp /etc/modules.conf
-------------------------------------
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
### update-modules: start processing /etc/modutils/ppp
alias /dev/ppp ppp_generic
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
### update-modules: end processing /etc/modutils/ppp
-------------------------------------
DEVPPP=crw------- 1 root dip 108, 0 2001-05-15 18:13 /dev/ppp

The current modem symbolic link is: /dev/modem -> /dev/ttySL0
The ports /dev/ttyS0 or 1,2,3 are for standard Controller chip modems


No devfsd.conf file found, indicated absense of the devfsd daemon package
for device file system (devfs) symbolic link support.

DEVFSD=
---- dmesg queries -------
ACPI disabled because your bios is from 00 and too old
You can enable it with acpi=force
Kernel command line: BOOT_IMAGE=Linux ro root=303 hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce
Local APIC disabled by BIOS -- reenabling.
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)

The Modem/DriverCompiling.txt is a MUST READ,
if you are not experienced in configuring kernel-source/
or get "unresolved symbols" upon driver insertion.

Most recent WinModem fixes are in: http://linmodems.technion.ac.il/FAQ.html
mir
Newbie
 
Post: 3
Iscritto il: 02/10/04 19:24

Sponsor
 

Postdi zendune » 13/10/04 23:09

Premetto che non potrò aiutarti :oops:, se non erro la tua versione ha quasi una anno:
la nuova versione di eduKnopix è la 2.0.2.
Hai provato con una nuova versione per verificare che l'hardware sia ora supportato ?
(magari con una distribuzione che supporta kernel di classe 2.6, come la Mandrake 10.1 - giuro non sono un rivenditore Mandrake).
Avatar utente
zendune
Moderatore
 
Post: 1633
Iscritto il: 15/03/03 18:34
Località: Brescia

Re: scanModem, debian kernel 2.4.24-xfs

Postdi mir » 14/10/04 09:43

prova
mir
Newbie
 
Post: 3
Iscritto il: 02/10/04 19:24

Grazie per il suggerimento

Postdi mir » 14/10/04 09:50

Grazie per l'indicazione.
Proverò a procurarmi eduKnoppix 2.0.2

mir
mir
Newbie
 
Post: 3
Iscritto il: 02/10/04 19:24


Torna a Software Linux


Topic correlati a "scanModem, debian kernel 2.4.24-xfs":

CRASH KERNEL POWER 41
Autore: goergul
Forum: Software Windows
Risposte: 1

Chi c’è in linea

Visitano il forum: Nessuno e 2 ospiti