Re: Install 2 PCI modems in one Fedora Core 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jacky,

Either of your modems should be serviceable under Linux.
First try martian - At
http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/
the martian-full-20061203.tar.gz

Under Linux:
$ tar zxf  mar*.tar.gz
$ cd  martian-full-20061203

Look around:
$ ls

$ make clean
$ make all
$ su root
# make install

for setup:
# modprobe martain_dev
you can get a report like that below with:
#  dmesg | grep martian
[ 4742.716000] martian loaded - 20061202
[ 4742.716000] "martian_dev": detaching 11c1:445 from serial
[ 4742.732000] "martian_dev": added device 11c1:445 BaseAddress =
0x2040, CommAddres = 0xd4c660ac, irq = 11

Most of the COMM smarts are provided by:
# martian_modem --help
# martian_modem --info countries
You can skip these two next time

# martian_modem  --country=us
martian: info: Your port is /dev/ttySM0
Sep 23 22:27:40 marvlap-old kernel: [ 4976.240000] "martian_dev":
serving irqs in module
Sep 23 22:27:40 marvlap-old kernel: [ 4976.240000] "martian_dev":
martian_modem is attached.

Leave martian_modem running, as it maintains the ports
Open  another Tab/console.  Look at the ports with
$ ls -l /dev/ttySM0 /dev/pts/*
crw--w---- 1 marv tty  136, 0 2007-09-23 22:27 /dev/pts/0
crw--w---- 1 root tty  136, 1 2007-09-23 22:27 /dev/pts/1
crw--w---- 1 marv tty  136, 2 2007-09-23 22:30 /dev/pts/2
lrwxrwxrwx 1 root root     10 2007-09-23 22:27 /dev/ttySM0 -> /dev/pts/1

Next creat a dialout config file:
# wvdialconf  /etc/wvdial.conf
which should include:
ttySM0<*1>: ATQ0 V1 E1 -- OK
ttySM0<*1>: ATQ0 V1 E1 Z -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySM0<*1>: Modem Identifier: ATI -- LT V.92 Data+Fax Modem Version 8.30
ttySM0<*1>: Speed 4800: AT -- OK
ttySM0<*1>: Speed 9600: AT -- OK
ttySM0<*1>: Speed 19200: AT -- OK
ttySM0<*1>: Speed 38400: AT -- OK
ttySM0<*1>: Speed 57600: AT -- OK
ttySM0<*1>: Speed 115200: AT -- OK
ttySM0<*1>: Speed 230400: AT -- OK
ttySM0<*1>: Speed 460800: AT -- OK
ttySM0<*1>: Max speed is 460800; that should be safe.
ttySM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
--------
Found a modem on /dev/ttySM0.

If the modem is thus found
# gedit  /etc/wvdial.conf
delete the  ;  and on those lines replace the <xxxx> with your personal info.
add a line:
  Carrier Check  =  no
for a final product like:
[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
# without - or spaces:
Phone = 1112223333
# when you need to go through a switchboard with say prefix 9, use a , to pause
# Phone = 9,,1112223333
ISDN = 0
Username = Your_Login_Name
Init1 = ATZ
Password = Your_Password
Modem = /dev/ttySM0
Baud = 460800
#  needed for  /dev/pts/N  ports:
Carrier Check  =  no
# see wvdial info for other options

Save and  and dialout with:
# wvdial

MarvS


On 9/23/07, Jacky Yeung <jyeung@xxxxxxxxxxxxxxxxxxxxx> wrote:
>  Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx List
> Server.
>  Do use the following as the email Subject Line:
>            SomeName, YourCountry Fedora Core release 4 (Stentz)
> Kernel  kernel 2.6.11-1.1369_FC4
>  This will alert cogent experts, and  distinguish cases in the Archives.
>  YourCountry will enable Country Code guidance.
>  Occassionally responses are blocked by an Internet Provider mail filters.
>  So in a day, also check the Archived responses at http://www.linmodems.org
> .
>  Local Linux experts can be found through:
> http://www.linux.org/groups/index.html
> --------------------------  System information ----------------------------
> CPU=i686,  Fedora Core release 4 (Stentz)
> Kernel
> Linux version 2.6.11-1.1369_FC4 (bhcompile@xxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc
> version 4.0.0 20050525 (Red Hat 4.0.0-9)) #1 Thu Jun 2 22:55:56 EDT 2005
>  scanModem update of:  2007_Sept_07
>
>
>  There are no blacklisted modem drivers in /etc/modprobe*  files
> USB modem not detected by lsusb
>
> Modem or candidate host audio card have firmware information and
> diagnostics:
>
>  PCI slot PCI ID  SubsystemID Name
>  ---------- --------- --------- --------------
>  02:0a.0 11c1:0440 122d:4102 Communication controller: Agere Systems
>
>  Modem interrupt assignment and sharing:
>  --- Bootup diagnostics for card in PCI slot 02:0a.0 ----
>
>  PCI slot PCI ID  SubsystemID Name
>  ---------- --------- --------- --------------
>  02:0d.0 134d:7897 134d:0001 Communication controller: PCTel Inc HSP
> MicroModem 56
>
>  Modem interrupt assignment and sharing:
>  11:      38323          XT-PIC  eth0, radeon@pci:0000:01:00.0
>  --- Bootup diagnostics for card in PCI slot 02:0d.0 ----
> ACPI: PCI Interrupt 0000:02:0d.0[A] -> Link [LNKF] -> GSI 11 (level, low) ->
> IRQ 11
> pctel_pci(232): PCTel device[0000:02:0d.0](0x68) found 134d:7897 (rev 01),
> iobase=0xde80, irq=11.
>
>  === Finished modem firmware and bootup diagnostics section. ===
>  === Next deducing cogent software ===
>
>  For candidate modem in PCI bus:  02:0a.0
>    Class 0780: 11c1:0440 Communication controller: Agere Systems
>       Primary PCI_id  11c1:0440
>  Support type needed or chipset: Agere.DSP
>
>
>
>  The modem has a supported Lucent/Agere  Mars or Apollo DSP (digital signal
>  processing) chipset. Support packages for 2.6.n kernels are at:
>  http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/
>
>  See AgereDSP.txt for Details.
>   DSP=1
>
>  Vendor 11c1 is Lucent Technologies with modem technology now under LSI Inc.
> Their Linux  code developer/maintainer is Soumyendu Sarkar. Support for a
> chipset and its
>  continued maintenance is only initiated at the request of a major chipset
> buyer,
>  or comparable sponsor. Several different  modem chipset types  are
> produced:
>  with varying support under Linux.
>  Device ID  Support        Name           Comment
>  ---------  -------------  -----------    -----------------------------
>  0480       serial drivers Venus           controller chipset 1673JV7
>  0440-045d  martian        Mars/Apollo     DSP (digital signal processing)
> chipsets
>  0462       none           56K.V90/ADSL Wildwire
>  048d none               SV2P            soft modem
>  048(c or f) AGRSM         SV2P            soft modem
>  0600       none           soft modem, very few in the field.
>  0620       AGRSM          Pinball  soft modem, in some HP desktop PCs
>  062(1-3)   none           SV92PP,Pinball  soft modem, in some HP desktop
> PCs
>
> martian - At
> http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/
>
> AGRSM - At
> http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/
> agrsm-alpha.tar.bz2 potentially provides support for PCI_id chipsets
>    11c1:048c,  11c1:048f and 11c1:0620
> in addition to prior support of Subsystems under Intel 8086:???? below
> 11C1:048C
> 11C1:048F
> 11C1:0620
> 8086:(2416 2426 7196 2486 24C6 24CD6 266D) are soft modem controllers,
> better
>    supported through ALSA modem drivers and the Smartlink slmodemd helper.
>
> There has only been one reported success for 11c1:048c, 11c1:048f and
> 11c1:0620. See:
> http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00849.html
> http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00970.html
> Interaction with experts will likely be necessary to get any of these modems
> working.
>
>  0x0440 -- Mars 2 - data/fax/voice
> -------------- end Agere Systems section -------------------
>
>  For candidate modem in PCI bus:  02:0d.0
>    Class 0780: 134d:7897 Communication controller: PCTel Inc HSP MicroModem
> 56
>       Primary PCI_id  134d:7897
>  Support type needed or chipset: PCTEL
>
>
>     At http://linmodems.technion.ac.il/pctel-linux
>  Get the pctel-0.9.7-9-rht-7.tar.gz
>  Unpack under Linux with:
>     tar zxf pctel*.tar.gz
>  and read instuctions therein.
>   Read Pctel.txt and Modem/YourSystem.txt for follow through guidance.
>
>  Writing Pctel.txt
>
>  Completed candidate modem analyses.
>
>  The base of the UDEV device file system is: /dev/.udevdb
>
>  Versions adequately match for the compiler installed: 4.0.0
>              and the compiler used in kernel assembly: 4.0.0
>
>
>
>  Minimal compiling resources appear complete:
>    make utility - /usr/bin/make
>    Compiler version 4.0
>    linuc_headers base folder /lib/modules/2.6.11-1.1369_FC4/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 files with message including some lack of some
> FileName.h (stdio.h for example.
> Some additional kernel-header files need installation to /usr/include.
> For Debian/Ubuntu related distributions, run the following command to
> display the needed package list:
> $ sudo apt-get -s install linux-kernel-devel
> While some of the files may be on the install CD, others may have to be
> found through http://packages.ubuntu.com
>
> For Ubuntu Feisty, additional packages required were:
>  libc6-dev linux-libc-dev
> available through http://packages.ubuntu.com/ , if not on the install CD.
> Such packages may have different names for other Linux distributions.
> Try installing just the libc6-dev, then test the compile again.
>
>
> Checking pppd properties:
>  -r-xr-xr-x  1 root root 250892 Nov  2  2004 /usr/sbin/pppd
>
> In case of an "error 17" "serial loopback" problem, see:
>     http://phep2.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
> lock
>
> 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 vmnet8
> 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/pctel.rules:KERNEL="ttyS_PCTEL0", SYMLINK="modem2"
>      Within /etc/modprobe.conf files:
>
>      Within any ancient /etc/devfs files:
>
>      Within ancient kernel 2.4.n /etc/module.conf files:
>
> --------- end modem support lines --------
>
> ----- Original Message -----
> From: "Marvin Stodolsky" <marvin.stodolsky@xxxxxxxxx>
> To: "Jacky Yeung" <jyeung@xxxxxxxxxxxxxxxxxxxxx>
> Cc: <discuss@xxxxxxxxxxxxx>
> Sent: Saturday, September 22, 2007 6:05 AM
> Subject: Re: Install 2 PCI modems in one Fedora Core 4
>
>
> > Jacky
> >
> >
> > Browse http://linmodems.technion.ac.il   and
> > download scanModem.gz . Within a Linux partition
> >    gunzip scanModem.gz
> > To make it executable:
> >    chmod +x scanModem
> > Run diagnositics with:
> >    ./scanModem
> > Only the ouput ModemData.txt should be sent to Discuss@xxxxxxxxxxxxx
> >
> > MarvS
> >
> > On 9/21/07, Jacky Yeung <jyeung@xxxxxxxxxxxxxxxxxxxxx> wrote:
> >> Dear all,
> >>
> >> I'm new to linux modem installations. I have already compiled 2 modem =
> >> drivers, one for Lucent Winmodem and one for PCTel.
> >>
> >> I firstly install the PCTel driver and the device ttyS_PCTEL0 setup =
> >> successfully. However, after I installed the Lucent modem driver and =
> >> reboot, I can only find out the Lucent modem (ttyLTM0) but the PCTel =
> >> (ttyS_PCTEL0) disappears. However, the module of PCTel modem is already =
> >> loaded.
> >>
> >> What configurations I still need to make for the successful =
> >> installation?
> >>
> >> Thanks for your help.
> >>
> >> Best Regards,
> >> Jacky
> >>
> >>
> >
> >
>
>

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux