Newsgroup: it.comp.os.linux.sys
Titolo: AIUTO MODEM CHIPSET AMBIENT

Salve,
da pochi giorni mi sono avvicinato a linux, ho installato una vecchia Suse
7.1 (lo so che era meglio la mandrake...) con kernel 2.4.
Mi sono subito trovato molto bene, l'unico problema che ho tuttora e che non
riesco a risolvere č il modem.
Dopo vari How-to e consigli sono riuscito ad indivduare che purtroppo si
tratta di un winmodem per il quale perň sono disponibili i drivere linmodem.
Il problema č che scaricati i detti driver e gunzippati quando vado a
compilare i vari file c mi da due o tre errori e non va avanti....non
capisco il perche ho provato a vedere un po il codice ma non conoscendo
minimamente gli inculde delle librere di sistema che fa...beh non ho risolto
un bel niente.
Avrei bisogno di un consiglio.
Allora il mio chipset del modem č
Ambient  D5628D-L
vendor id 0x1831
product id 4000
revision 02
Questo č il risultato del make all:
 make all
cd src/hamcore; make hamcore-release
make[1]: Entering directory `/home/user/KDesktop/release/src/hamcore'
cc -Wall -O -I /usr/include -I../inc   -c -o rts.o rts.c
In file included from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:45,
                 from rts.c:38:
/usr/include/linux/irq.h:53: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not
in a function)
/usr/include/linux/irq.h:53: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:45,
                 from rts.c:38:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from rts.c:38:
/usr/include/linux/interrupt.h:142: `CONFIG_X86_L1_CACHE_SHIFT' undeclared
here (not in a function)
/usr/include/linux/interrupt.h:142: requested alignment is not a constant
rts.c: In function `RTS_Enable':
rts.c:94: structure has no member named `next'
rts.c: In function `RTS_Task_Schedule':
rts.c:239: `tq_scheduler' undeclared (first use in this function)
rts.c:239: (Each undeclared identifier is reported only once
rts.c:239: for each function it appears in.)
rts.c:246: warning: passing arg 1 of `__wake_up' from incompatible pointer
type
make[1]: *** [rts.o] Error 1
make[1]: Leaving directory `/home/user/KDesktop/release/src/hamcore'
make: *** [all] Error 2
root@linux:/home/user/KDesktop/release >
 e questo se puň servire č il readme del pacchetto dei drivers:
ReadMe file for the
Intel v90 Data/Fax Host Accelerated Modem (HaM)
contents:
1. Installation
2. Instructions for Debian Users
3. File Descriptions
4. International Users
5. Beta Tester appreciation
6. Comments, ideas, problems, fixes
----------------------------------------------------------------------------
-----
1  INSTALLATION
3 steps to install
1. Type: make clean
2. Type: make all
3. Type: make install
The installation script has been designed for the following distributions
release versions
mandrake-release
SuSE-release
redhat-release
debian_version (including Corel)
slackware-version
conectiva-version
Unknown distributions install driver in a redhat-release style.
Please examine the haminst script if you have a different distribution.
The driver is split in two.  A ham serial driver and core driver.
The core driver must be loaded first since the serial driver depends on it.
The serial driver registers itself as character device major number 240,
minor number 1.
The serial driver takes one argument right now, which is a number to
override the default major number if you need to.
The eratta.html has useful information concerning both positive and
negative driver issues.
----------------------------------------------------------------------------
-----
2  DEBIAN USERS
the file /usr/include/linux/modversions.h does not exist in debian 2.2
you must comment out the #include<linux/modversion.h> line from both
hamdefs.h files
in the HaM source code for it to compile.
----------------------------------------------------------------------------
-----
3  FILE DESCRIPTIONS
haminst  installation script to install HaM modules and supporting files
files copied to /lib/modules/(kernel-version)/misc
hamcore.o driver core code module
ham.o  pseudo serial driver for HaM, depends on hamcore.o
files copied to  /etc/rc.d/...  (path differes per distribution)
hamboot  boot scrip to start and stop HaM modules
files copied to /usr/sbin
hamtool  a GUI that assists in the country selection for homologation
purposes
hamcfg  hamcfg is the "registry" like tool that the modem uses to get and
store persistant data
  such as county info and profile strings.
files copied to /etc
hamdata  file that stores persistant data for modem.
----------------------------------------------------------------------------
-----
4  INTERNATIONAL USERS
if hamcfg currently depends on gnome libraries.
if you do not have gnome installed then you will
have to put an extra command in your 'AT' init string.
the commmand to change country setting is "AT+GCI="
the command takes a t.35 country code in hexadecimal.
here is a list of currently supported t.35 country codes:
if you are a CTR-21 country I think you should be able to
choose a CTR-21 country on the list and be ok.  but
that's no guarantee.
country code  , t.35 code
---------------------------
USA 1, b5
JPN 81, 00
GBR 44, b4
DEU 49, 42
SWE 46, a5
DNK 45, 31
FIN 358, 3c
NOR 47, 82
AUT 43, 0a
CHE 41, a6
RUS 7, b8
AUS 61, 09
MYS 60, 6c
CHN 86, 26
BEL 32, 0f
CYP 357, 2d
FRA 33, 3d
GRC 30, 46
ISL 354, 52
IRL 353, 57
ISR 972, 58
ITA 39, 59
LIE 423, 68
LUX 352, 69
NLD 31, 7b
PRT 351, 8b
ESP 34, a0
----------------------------------------------------------------------------
-----
5  Thanks to the following beta testers for their valuable input and
suggestions.
   January 2 - 26, 2001
Sean Walbran
Rob Clark
Marvin Stodolsky
Dominique Duval
Roman Krais
Ulrich Guenther
Marcelino Viana Pinheiro
Thomas S. Iversen
Jospeh Teichman
Michel Bartolone (MED)
Ramon Gonzalez Montoiro
Ryoji Kawagishi
Torsten Vogel
"jandro"
Ian Carr-de Avelon
Helga Weindl
Ed Casas
Bernhard Hoelcker
Alexander "Sasha" Voytov
Albert Woo
Peter Hirschmann
----------------------------------------------------------------------------
-----
6  Comments, ideas, problems, fixes:
please contact
Dorian S. Araneda (
dorian....@intel.com
)
Product Engineer, Host Accelerated Modem (HaM) Team
Intel Corporation, Modem Silicon Operations (MSO)
http://developer.intel.com/design/modems/
www.intel.com
 
www.intc.com
  (ticker: INTC)
110 Horizon Dr., Suite 300, Raleigh, NC  27615
Grazie mille a tutti.
Ps.: beh devo dire che a parte il modem ha tutte le carte in regola per
mandare in pensione Bill.....ed č Open Source!!

 mandare in pensione Bill.....ed è Open Source!!
 
www.intel.com/design/modems/support/drivers_linux.htm
   il driver é l' Intel-v92ham-451.tgz
   tieni conto che prima avevo una SuSE 7.2 e funzionava una volta ogni
dieci
   mentre tutto ok con redhat o mandrake .

    mentre tutto ok con redhat o mandrake .
Beh penso che forse passerņ alla madrake...
ma secondo te č colpa del tipo di driver??no xche non li compila nemmeno....

    mentre tutto ok con redhat o mandrake .
ma il quoting ?  ^_^
fedro