LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-23-2003, 10:36 AM   #1
MrBassman
LQ Newbie
 
Registered: Jul 2003
Location: Quebec, CA
Distribution: RedHat
Posts: 6

Rep: Reputation: 0
Intel 536EP modem chipset driver with RedHat8


I found the latest driver for 536EP on Intel Web site:

downloadfinder.intel.com/scripts-df/Detail_Desc.asp?agr=Y&ProductID=977&DwnldID=5983

I run my RH8 with 2.4.18 kernel.

After making Clean, 536ep and Install, The script stop at the end of 536ep-inst file: "/bin/bash 536ep-boot restart"

The script repport an error when loading 536ep (no I/O and IRQ is specified).

In README.TXT, i tried to install the driver manually, but the result is still the same.

Where is the trouble ???

Thanks !!
 
Old 07-23-2003, 11:34 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Code:
[fancy@tinwhistle fancy]# cat /proc/pci
Look for your modem in the returned list. Look for something similar to mine:
Code:
  Bus  2, device   2, function  0:
    Communication controller: PCI device 151f:0000 (TOPIC SEMICONDUCTOR Corp) (rev 0).
      IRQ 5.
      I/O at 0xc400 [0xc407]
Use the number that is not in the bracket for the I/O, i.e., I would use 0xc400. Make sure you read the README and INSTALL instruction if the extracted tarball has it, or the install instructions on the web site to know what to do with the info you just got.

# Modem and connection troubleshooting
Modem NHFs
Modem HOWTO
Linmodems.org
Conexant/Rockwell modem HOWTO
The Unofficial PCTel Linux Driver page
I finaly got my PcTel hsp56 mr modem to work
Linux driver for Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets
Lucent AMR modem listed as an Intel AC'97 - Smart Link Modems
The kppp Handbook
Dial-up Networking Configuration Using KDE's Kppp
Troubleshooting ISP Connection Problems
Connecting to AOL with Linux

# Redhat links
RedHat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project

Last edited by fancypiper; 07-23-2003 at 11:38 AM.
 
Old 07-23-2003, 12:26 PM   #3
MrBassman
LQ Newbie
 
Registered: Jul 2003
Location: Quebec, CA
Distribution: RedHat
Posts: 6

Original Poster
Rep: Reputation: 0
In which file i must put these values ???

Thanks !!
 
Old 07-23-2003, 12:41 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I have no idea. That is the reason I said, "Make sure you read the README and INSTALL instruction if the extracted tarball has it, or the install instructions on the web site to know what to do with the info you just got."

# Guides to software and installation and uninstallation
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

Last edited by fancypiper; 07-23-2003 at 12:45 PM.
 
Old 07-23-2003, 01:06 PM   #5
MrBassman
LQ Newbie
 
Registered: Jul 2003
Location: Quebec, CA
Distribution: RedHat
Posts: 6

Original Poster
Rep: Reputation: 0
There is no trick in README.TXT about I/O and IRQ problems and don't have any Troubleshooting section about driver installation.

So, i must found another way to install this driver manually.

It will be a pleasure for me if you can sugest a good web site about this.

Thanks !!!
 
Old 07-23-2003, 02:03 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
See the links in my post above for software management.

Post the readme.txt file and let us see it.

Last edited by fancypiper; 07-23-2003 at 02:04 PM.
 
Old 07-23-2003, 03:17 PM   #7
MrBassman
LQ Newbie
 
Registered: Jul 2003
Location: Quebec, CA
Distribution: RedHat
Posts: 6

Original Poster
Rep: Reputation: 0
Here is the README.TXT

ReadMe file for the
Intel® 536EP V.92 chipset Linux driver

contents:
1. License
2. Release Notes
3. Installation
4. File Descriptions
5. International Users
6. Beta Tester appreciation
7. Security issues
8. Compilation issues
a. Instructions for Debian Users
b. Kernel Source
9. What is the Hamregistry?
10. what's v92 and v44?
11. The Hamregistry tool (for persistance)
12. Known Bugs/Issues
13. Comments, ideas, problems, fixes

-------------------------------------------------------------------------------
1. LICENSE

IMPORTANT - read the file "LICENSE.txt" for the INTEL SOFTWARE LICENSE
AGREEMENT BEFORE COPYING, INSTALLING OR USING.

-------------------------------------------------------------------------------
2. Release Notes

This release supports 2.4.x kernels.

This release is not compatible with kernels prior to 2.4.

The 536EP corecode binary was compiled with gcc version 3.2

v92 support added: modem on hold AT command set,
PCM upstream, v44, and quick connect are implemented.

Linux Compatability tests are performed on the latest or previous
versions of the following distributions: Mandrake, RedHat, and SuSE

-------------------------------------------------------------------------------
3. INSTALLATION

Prerequisites:
1. root access
2. bash shell to run install scripts
3. a 536EP modem
4. KERNEL SOURCE HEADERS FOR THE KERNEL YOU ARE RUNNING.
and programming development tools installed as well

6 steps to install
1. login as ROOT
2. extract the archive into a directory with "tar -zxvf <archivename>.tgz"
3. cd into the directory it created.
4. Type: make clean
5. Type: make 536ep
6. Type: make install


Please examine the 536ep-inst script if you have a different distribution.

The driver is split in two. A 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.


ATTENTION: if the driver compiles but the script just wont work for you.
Here are the bare minimum steps to get your modem to work.

0. log in as root.
1. insmod -f 536epcore.o
2. insmod -f 536ep.o
2a. you can start "hamregistry" at this point if you wish.
3. rm /dev/536ep
4. mknod /dev/536ep c 240 1 (note "240" is the default, if it does not
work see what /proc/devices says 536ep's major number is)
5. ln -s /dev/536ep /dev/modem
6. start a comm application like minicom and use the modem.
7. see section 3 (International Users) for info on setting the correct
country settings.


-------------------------------------------------------------------------------
4. FILE DESCRIPTIONS

536ep-inst installation script to install 536ep modules and supporting files


files copied to /lib/modules/(kernel-version)/misc
536epcore.o driver core code module
536ep.o pseudo serial driver for 536ep, depends on 536epcore.o

files copied to /etc/rc.d/... (path differes per distribution)
536ep-boot boot scrip to start and stop 536ep modules

files copied to /usr/sbin
hamregistry hamregistry 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
hamregistry.bin file that stores the initial persistant data for modem.


-------------------------------------------------------------------------------
5. INTERNATIONAL USERS

hamregistry will store the last country setting you
set in the modem.

in minicom (or equivalent comm application)
the commmand to change country setting is "AT+GCI="
the command takes a t.35 country code in hexadecimal.
below is a list of currently supported t.35 country codes.
you can also put this "AT" command in the init string of
the comm application you are using.

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.
The same goes for countries that are "USA" compatable.
(this table also exist in the source file wwh_dflt.c that
ships with the 536epcore driver)

inspect the wwh_dflt.c file provided to find out what your country's t.35 code is.

-------------------------------------------------------------------------------
6. Thanks to the following beta testers for their valuable input and
suggestions during the HaM 333 beta test between January 2 - 26, 2001

Dorian S. Araneda
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

and all of the helpful Linux HaM users
around the world and at www.linmodems.org

-------------------------------------------------------------------------------
7. Security issues

the 536ep-inst and 536ep-boot file install the files and device nodes as
root for the owner and group.
this will cause problems for those who want to user the modem to dialout
using an account other than root.

In SuSE, "dialout" is the group used to install the files and device node.
This way, anyone belonging to the "dialout" group can use the modem to dialout.
(take a look at /etc/group)

I did not want the script to allow full access of the modem to everyone without
"root" knowing.

Edit the 536ep-boot and 536ep-inst scripts to fit your needs.

-------------------------------------------------------------------------------
8. Compile issues
a. this driver will now compile with the this path:
/lib/modules/<kernel version>/build/include
the 2.4.4+ kernels says to copy the /boot/vmlinuz.version.h
over to the kernel build path. I have the makefile do this
if this file exists. You must install the kernel source
code anyways. It should be on your distribution's CD.


-------------------------------------------------------------------------------
9. What is the Hamregistry?
The hamregistery is an application that stores data for the 536ep driver onto
the disk. hamregistry stores information from the driver that needs to
persist from reboot to reboot such as you current country setting.
The 536ep-inst install script and the 536ep-boot script start this utility
automatically for you.
If this tool is not present when the driver gets used your profile,
quickconnect, and current country setting will not be saved but the driver
should still work fine. The only step that would need to be done is to
make sure that the driver is set to the correct country with
at+gci= (see section 5)


-------------------------------------------------------------------------------
10. What's v92 and v44?

a. modem on hold: (ISP and your ISP dialer must also support this)
This will allow you to pause your ppp connection to answer an incoming
call. You will need call waiting, dialer, and ISP support for this to
work. When you are done with the call you can resume your ppp connection
without having to reconnect. The AT command set for this feature exist
in the driver.

b, pcm upstream:
(ISP must also support this, as of version 4.32 I
dont know any ISP's that do)
This will allow faster upload speeds.
to enable: at+pig=0
to disable: at+pig=1

c. quickconnect:
Once you make a call to a v92 modem, your phoneline characteristics are
stored. Whenever you make a new v92 connection it will use this data
to make the call negotiation quicker (approx 10 seconds).
to enable: at+pqc=0 at+pss=0
to disable: at+pss=2

d. v44: (ISP must also support this)
A better compression protocol than v42 which can give you better transfer
speeds.

-------------------------------------------------------------------------------
11. The Hamregistry tool

The hamregistry tool is used to provide persistance of settings across
reboots. The haminst and hamboot scripts automatically setup and start
the hamregistry background task for the modem to use.
The hamregistry tool has command line arguments for those who wish to
customize persistant settings. To use these command lines
you must first stop the driver with "bash hamboot stop".
Once the driver has been stopped you may run hamregistry with one of these
arguments to store into the /etc/hamregistry.bin persistance file:
(supply value for items in < >)
-mfg <Modem manufactures name>
-mod <Modem model name>
-hookflash <0,1,2>
hookflash method: 0=(default)without tone 1=with tone 2=reserved
-v92rptopt <0,1>
control v92 reporting: 0=PCM upsteam only 1=(default) all v92
-gpio_lpohd <0,1>
Handset Hook detection: 0=not supported 1=(default)supported
-currentcountry <t.35 code>

This info is written to the /etc/hamregistry.bin file.
If hamregistry.bin exists along with the installation files, haminst will
copy it to /etc/hamregistry.bin when installing the modem.

-------------------------------------------------------------------------------
12. Known Bugs/Issues

a. If you see this message
"536ep:rs_open: DSP did not reset. try again or restart computer"
and you KNOW you have a HaM modem installed
Disable "PNP OS" in your bios. There is a problem with the driver and
linux PNP. After a time, Linux PNP will disable the card and the driver
currently can not reenable itself.
b. Be aware that the build replaces your
/lib/module/<kernver>//build/include/linux/version.h file with
/boot/vmlinuz.version.h
(this is what Linus T. told me to do with a compiler error)
c. There may be an incompatibility with DevFS. The 536ep device may be located
in /dev/tts/536ep
instead of /dev/536ep. Be aware of this and link /dev/modem to the 536ep
device that corresponds to your setup.
e. Incase you are having problems making a ppp connection try using wvidal
with this information below. execute the script and it will have wvdial
make the ppp connection

------my script----------------------
#! /bin/sh
/usr/sbin/pppd -detach lock asyncmap 00000000 \
defaultroute debug /dev/modem 57600 \
ipparam ppp0 linkname ppp0 \
noauth \
connect "/usr/bin/wvdial --chat bellsouth"

------my /etc/wvdial.conf section ---
[Dialer bellsouth]
Modem = /dev/modem
Baud = 57600
Init1 = ATZ
Inti2 = ATQ0 V1 E1 S0=0 &C1 &D2
Dial Command = ATDT
Phone = 6859500
Username = myloginname
Password = mysecretpassword
#Ask Password = 1
Stupid Mode = 0
------------------


-------------------------------------------------------------------------------
13. Comments, ideas, problems, fixes? please contact:

Linux Voice Band Modems (VBM) of Intel Residential Access Division (RAD)

vbm.linux@intel.com
http://developer.intel.com/design/modems/

To restrict email volume, please email only development related issues that are
needed to fix a bug or improve the driver. General questions on how to use the
Linux may not be responed to.

Other resources and information on Linux controllerless modems can be found on
these usefull sites

http://www.linmodems.org
and
http://linmodems.technion.ac.il
 
Old 07-23-2003, 03:43 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Quote:
c. There may be an incompatibility with DevFS. The 536ep device may be located
in /dev/tts/536ep
instead of /dev/536ep. Be aware of this and link /dev/modem to the 536ep
device that corresponds to your setup.
Ensure that the link /dev/modem points to the correct location.

Quote:
ATTENTION: if the driver compiles but the script just wont work for you.
Here are the bare minimum steps to get your modem to work.

0. log in as root.
1. insmod -f 536epcore.o
2. insmod -f 536ep.o
2a. you can start "hamregistry" at this point if you wish.
3. rm /dev/536ep
4. mknod /dev/536ep c 240 1 (note "240" is the default, if it does not
work see what /proc/devices says 536ep's major number is)
5. ln -s /dev/536ep /dev/modem
6. start a comm application like minicom and use the modem.
7. see section 3 (International Users) for info on setting the correct
country settings.
Are the modules mentioned successfully loaded in steps 1 and 2?
Code:
fancy@uilleann  $ su -
Password: 
root@uilleann # lsmod
 
Old 07-23-2003, 04:30 PM   #9
MrBassman
LQ Newbie
 
Registered: Jul 2003
Location: Quebec, CA
Distribution: RedHat
Posts: 6

Original Poster
Rep: Reputation: 0
536epcore.o loads OK.

For 536ep.o :

536ep.o : init_module: No such device

insmod errors can be caused by incorrect module
parameters including IO or IRQ param.

That's why i need to know where can i put IO and IRQ values and which file

In /proc/pci, my Communication device has IRQ = 3 and IO = 0xd800

I'm searching on Intel web site but they don't offer this kind of support.

I'm searching too on RedHat web site and i found this:

-----------------
A binary-only, beta driver for the Intel Creatix V.90 HaM compiled under kernel 2.2.16 was released to the Linmodems.org mailing list in late November, 2000, and is mirrored at http://walbran.org/sean/linux/stodolsk/Ham.zip. To install:


Change to the root user: su (enter root password when prompted)
Create the device file: mknod /dev/ham c 240 1
Make convenience device: ln -s /dev/ham /dev/modem
Make convenience device: ln -s /dev/ham /dev/ttyS15
Set device ownership: chgrp uucp /dev/ham
Set device permissions: chmod 666 /dev/ham
Install module file: cp ham.o /lib/modules/`uname -r`/misc/
Insert module in kernel with insmod -fham
---------------

But the driver's link doesn't work !!!

Very bad day for me

Thanks !!!!
 
Old 07-23-2003, 04:37 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
A quick Google search found this page

Last edited by fancypiper; 07-23-2003 at 04:39 PM.
 
Old 07-23-2003, 06:25 PM   #11
MrBassman
LQ Newbie
 
Registered: Jul 2003
Location: Quebec, CA
Distribution: RedHat
Posts: 6

Original Poster
Rep: Reputation: 0
OK, i found a new driver at this link and works very well:

http://linmodems.technion.ac.il/pack...am-453-R80.tgz

Last question:

How can i unload 536ep module ??

Thanks for your time
 
Old 07-23-2003, 08:46 PM   #12
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Linux Loadable Kernel Module HOWTO
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Intel 536EP driver for modem to work in Slackware tur third Linux - Hardware 7 06-17-2005 04:16 AM
Installing a intel 536ep chipset modem maximillion78 Linux - Newbie 4 07-29-2004 02:18 PM
Intel 536ep modem working now - new driver available woodywellhung LinuxQuestions.org Member Success Stories 0 04-21-2004 03:39 AM
software modem intel 536ep driver problem jeff1500 Slackware 1 02-27-2004 11:54 PM
536ep Intel modem Joe47 Linux - Newbie 18 11-24-2003 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration