Modem Motorola + driver + Servidor de Fax

Imagen de wily001
0 puntos

Buenas..

Estoy intentando crear un servidor de fax y no puedo instalar el driver del fax.. creo que este es la version del Modem..

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

Modem interrupt assignment and sharing:
11: 28946 0 XT-PIC-XT ohci_hcd:usb1, HDA Intel, nvidia
--- Bootup diagnostics for card in PCI slot 01:06.0 ----
[ 14.683972] ACPI: PCI Interrupt 0000:01:06.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[ 14.684310] 0000:01:06.0: ttyS1 at I/O 0xe808 (irq = 11) is a 16450
[ 14.684498] 0000:01:06.0: ttyS2 at I/O 0xe810 (irq = 11) is a 8250
[ 14.684685] 0000:01:06.0: ttyS3 at I/O 0xe818 (irq = 11) is a 16450
[ 14.684738] Couldn't register serial port 0000:01:06.0: -28

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 1043:8290 Audio device: nVidia Corporation MCP61 High Definition Audio

Modem interrupt assignment and sharing:
11: 28966 0 XT-PIC-XT ohci_hcd:usb1, HDA Intel, nvidia
--- Bootup diagnostics for card in PCI slot 00:05.0 ----
[ 27.093082] ACPI: PCI Interrupt 0000:00:05.0[b] -> Link [LAZA] -> GSI 11 (level, low) -> IRQ 11
[ 27.093099] PCI: Setting latency timer of device 0000:00:05.0 to 64

===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.
PCI slot 00:05.0 has a High Definition Audio Card

The ALSA verion is 1.0.15
The modem cards detected by "aplay -l" are: None

The /proc/asound/pcm file reports:
-----------------------
00-01: ALC662 Digital : ALC662 Digital : playback 1
00-00: ALC662 Analog : ALC662 Analog : playback 1 : capture 1

about /proc/asound/cards:
------------------------
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xdfef8000 irq 11
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive diagnostics for card in bus 01:06.0:
Modem chipset detected on
CLASS="Class 0703: 1057:3052"
NAME="Modem: Motorola SM56 Data Fax Modem "
SUBSYS=1057:3020
PCIDEV=1057:3052
IRQ=11
IDENT=slamr

For candidate modem in: 01:06.0
Class 0703: 1057:3052 Modem: Motorola SM56 Data Fax Modem
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 … 00846.html
http://linmodems.technion.ac.il/bigarch … 00848.html
and Alvaro Aguirre about the ungrab-winmodem fix:
http://linmodems.technion.ac.il/bigarch … 00990.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.

From http://linmodems.technion.ac.il/package … nk/Ubuntu/ ,
download the package slamr-2.6.24-16-generic.tar.gz
Under Linux, open a terminal and unpack with:
$ tar zxvf slamr*.tar.gz
Move into the unpacked folder
$ cd slamr-2.6.24-16-generic
Look around
$ ls
Run the
$ sudo ./setup

Afterwards do:
$ slmodemd --help
$ slmodemd --countrylist &> Clist.txt
If not in the USA, look for your COUNTRY_NAME therein.
Do and edit with:
$ sudo gedit /etc/default/sl-modem-daemon
and therein replace the USA in the line:
SLMODEMD_COUNTRY=USA
This will provide for the correct Country setting in the automated:
slmodemd -c COUNTRY /dev/slamr0

Read the DOCs/Smartlink.txt and DOCs/YourSystem.txt
Writing DOCs/Smartlink.txt
============ end Smartlink section =====================

Predictive diagnostics for card in bus 00:05.0:
Modem chipset not detected on
CLASS="Class 0403: 10de:03f0"
NAME="Audio device: nVidia Corporation MCP61 High Definition Audio "
SUBSYS=1043:8290
PCIDEV=10de:03f0
IRQ=11
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:
sudo wvdialconf /etc/wvdial.conf

For candidate modem in: 00:05.0
Class 0403: 10de:03f0 Audio device: nVidia Corporation MCP61 High Definition Audio
Primary device ID: 10de:03f0
Subsystem PCI_id 1043:8290
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.2.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.2.3
and the compiler used in kernel assembly: 4.2.3

Minimal compiling resources appear complete:
make utility - /usr/bin/make
Compiler version 4.2
linuc_headers base folder /lib/modules/2.6.24-16-generic/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.
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:
-rwsr-xr-- 1 root dip 269256 2007-10-04 15:57 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
http://linmodems.technion.ac.il/linmode … 02637.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
noauth
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 … 04656.html

Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.

Don't worry about the following, it is for experts should trouble shooting be necessary.
==========================================================

# start/stop the daemon when the USB modem is connected
KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
Checking for modem support lines:
--------------------------------------
/device/modem symbolic link: lrwxrwxrwx 1 root root 6 2008-06-11 17:18 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:
Within /etc/udev/ files:
/etc/udev/rules.d/030_sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
/etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
/etc/udev/sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
/etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
Within /etc/modprobe.conf files:
/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
/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/sl-modem-daemon.modutils:install slamr modprobe --ignore-install ungrab-winmodem ; modprobe --ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0)
Within any ancient /etc/devfs files:

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

--------- end modem support lines --------

Me baje el driver winmodem sm56 pero al intentar instalar me da el siguente eror

make all
make[1]: se ingresa al directorio `/sm56'
echo "Writing Version.c"
Writing Version.c
echo "#define UTS_RELEASE \""`uname -r`"\"" >version.c
echo "const char __module_kernel_version[] __attribute__((section(\".modinfo\" ))) = \"kernel_version=\"UTS_RELEASE;">>version.c
echo "#ifdef MODVERSIONS" >>version.c
echo "const char __module_using_checksums[] __attribute__((section(\".modinfo\"))) = \"using_checksums=1\";" >>version.c
echo "#endif">>version.c
echo Compiling version.c
Compiling version.c
gcc -D__KERNEL__ -DMODULE -Wall -O -fomit-frame-pointer -o version.a -c version.c
echo Linking output version.a with Motorola proprietary sm56.lib
Linking output version.a with Motorola proprietary sm56.lib
ld -r -o sm56.a version.a sm56.lib
echo Updating kernel symbols in output sm56.a
Updating kernel symbols in output sm56.a
objcopy --redefine-sym kmalloc=kmalloc_hack --redefine-sym __vmalloc=vmalloc_hack sm56.a sm56_h.a
echo Compiling kmhack.o from input kludge.c
Compiling kmhack.o from input kludge.c
gcc -D__KERNEL__ -DMODULE -Wall -O -I/usr/src/linux-2.4/include -fomit-frame-pointer -o kmhack.o -c kludge.c
kludge.c:13:24: error: linux/slab.h: No existe el fichero ó directorio
kludge.c:14:27: error: linux/vmalloc.h: No existe el fichero ó directorio
kludge.c: En la función ‘kmalloc_hack’:
kludge.c:24: error: ‘GFP_KERNEL’ no se declaró aquí (primer uso en esta función)
kludge.c:24: error: (Cada identificador no declarado solamente se reporta una vez
kludge.c:24: error: para cada funcion en la que aparece.)
kludge.c:29: aviso: declaración implícita de la función ‘kmalloc’
kludge.c:29: aviso: la asignación crea un puntero desde un entero sin una conversión
kludge.c: En el nivel principal:
kludge.c:35: error: expected declaration specifiers or ‘...’ before ‘pgprot_t’
kludge.c: En la función ‘vmalloc_hack’:
kludge.c:40: error: ‘GFP_KERNEL’ no se declaró aquí (primer uso en esta función)
kludge.c:46: aviso: declaración implícita de la función ‘__vmalloc’
kludge.c:46: error: ‘prot’ no se declaró aquí (primer uso en esta función)
kludge.c:46: aviso: la asignación crea un puntero desde un entero sin una conversión
make[1]: *** [all] Error 1
make[1]: se sale del directorio `/sm56'
make: *** [install] Error 2

Saludos