LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Winmodem Dell 4550 Mandrake 10.1 (https://www.linuxquestions.org/questions/linux-hardware-18/winmodem-dell-4550-mandrake-10-1-a-303695/)

Damnation 03-19-2005 06:14 PM

Winmodem Dell 4550 Mandrake 10.1
 
First off, i am sorry if the answer is already here i have been googling and switchin back anf fourth from win to lin all day trying different things.
i am new to linux so please be kind.

i have a dell 4550 desktop
my modem is a: bcm v.90 56k modem

i have searched for various drivers and got nothing. i did a scanmodem thing and these where the results

Class 0703: 14e4:4212 Modem: Broadcom Corporation BCM4212 v.90 56k modem (rev 02) (prog-if 00 [Generic])
SubSystem 1028:0002 Dell: Unknown device 0002
Flags: bus master, fast devsel, latency 64, IRQ 22
Memory at fe1ff000 (32-bit, non-prefetchable) [size=4K]
I/O ports at ecf0 [size=16]

-----PCI_IDs------- --CompilerVer-
Feature List: Primary Subsystem Distr KernelVer kernel default CPU
./scanModem test 14e4:4212 1028:0002 mandrake 2.6.8.1-12mdk 3.4.1 3.4.1 i686

Information on several modem chipset providers is provided below,
because ambiguities remain on the correct choice of supporting software.

== Checking PCI IDs through modem chip suppliers ==

Vendor 14e4 is BroadCom
14e4:4212 is a BCM V.90 56k modem
There is 2.2.n kernel support at:
support.ap.dell.com/ap/en/filelib/download/index.asp?fileid=R47114
However the code has not been updated for some time.
For 2.4 kernels, fix by Giacomo Comes must be used. See :
linmodems.technion.ac.il/archive-third/msg01652.html
When serving under softmodem controllers like the Intel ICH series,
the Broadcom Subsystem 14e4:4d64 has mc97 codec BCM64.
For 2.6.n kernels, see success reports:
linmodems.technion.ac.il/archive-fourth/msg03690.html
oboc.ucdavis.edu/Marik/inspiron/
The support is achieved through a combination of:
1) the snd-intel8x0m.ko of 2.6.n kernel releases, which provides a low level interface with the modem;
2) an slmodemd daemon which creates ports and provides higher level functions.
Get the slmodem-2.9.9-alsa.tar.gz from linmodems.technion.ac.il/packages/smartlink/
To compile the slmodemd, it is first Necessary to install a libasound2-dev package, providing alsa headers.
3) After compilation and installation of slmodemd, initiate service with:
# modprobe snd-intel8x0m
# slmodemd --alsa --country=YOURCOUNTRY hw:0
Read the slmodem documentation for details and Modem/Slmodem.txt


======= PCI_ID checking completed ======
Update=2005_March_3
A PCMCIA CardBus is not detected on this System.
The following information blocks just query some ppp support items.

====================================================
grep -rs ppp /etc/modprobe.*
-------------------------------------
/etc/modprobe.devfs:alias /dev/ppp* ppp_generic
-------------------------------------

The following ppp related modules should be unpacked by root with:
# gunzip PathTo/ModuleName.ko.gz
----------------------------------------
/lib/modules/2.6.8.1-12mdk/kernel/drivers/net/bsd_comp.ko.gz
/lib/modules/2.6.8.1-12mdk/kernel/drivers/net/ppp_async.ko.gz
/lib/modules/2.6.8.1-12mdk/kernel/drivers/net/ppp_generic.ko.gz
/lib/modules/2.6.8.1-12mdk/kernel/drivers/net/slhc.ko.gz
/lib/modules/2.6.8.1-12mdk/kernel/drivers/net/ppp_deflate.ko.gz
/lib/modules/2.6.8.1-12mdk/kernel/lib/zlib_deflate/zlib_deflate.ko.gz

On most Systems, this will driven by installing the wvdial.rpm
and the package providing the KPPP graphical dialing interface.

----active COMM services are ------------
eth0 Link encap:Ethernet HWaddr 00:07:E9:D4:DD:81
inet6 addr: fe80::207:e9ff:fed4:dd81/64 Scope:Link
This COMM mode should be closed before using the modem, or DNS services may fail.
Be sure to read the Ethernet section of Modem/General.txt
DEVPPP=crw-r--r-- 1 root root 108, 0 Mar 19 22:41 /dev/ppp
A /dev/modem symbolic link is not present

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

the dell link seems to be broken and the slo modem, well i didn't get anywhere with that i was lost from the start i did follow the little info that was given, via a forum post i found but still nothing.

thanx for any help given

**** Links http:// not shown post counter under 5 ****

Thoreau 03-19-2005 11:27 PM

I think you've found all the help that can be had. You either have to grind through it or get a hardware based modem.

Damnation 03-20-2005 02:59 AM

thanx i think i'll grind through it again,
might not get so distracted, my gf is away hehe.

if all else fails i'll buy a new hardware modem. they only cost like £10 for a 56k one thank god.
glad i decided to try out linux now(and maybe port over fully if i get the hang of it)
then around july and have to pay loads for a new usb 2mb modem : oX


anyways thanx for your help. i will proberly be back with alot more questions. i'll read the Linux tutorials before posting my sweet newbie questions tho.


thanx again.

Damnation

Damnation 03-20-2005 04:01 AM

i found the filename of the driver source released by dell. so i did a google search and was able to get ahold of the source.
now i go to install based off this guide
Code:

This is a help for people who has the Broadcom V.92 PCI Internal Modem BCM4212.
It is found probably only in DELL computers.
The driver can be downloaded from the DELL website, but without modification
it works only for some old version of RedHat.
Here are the instructions to use it with recent and different distributions
(SuSE 8.2 is mine).

Download the driver:
http://support.ap.dell.com/ap/en/fil...?fileid=R47114

the file is BCOM_WAN_V20_SOURCE_A.tar.gz

Inside there is a rpm that contain another tar file. Extract it with:

tar fzxO BCOM_WAN_V20_SOURCE_A.tar.gz bcm4212-source/BCMSM-3.4.19-6.src.rpm | rpm2cpio | cpio -i BCMSM-3.4.19.tar.gz

You have now the tar file BCMSM-3.4.19.tar.gz. It's what you need.

<interlude>
In order to compile this driver you need a version of GCC between 2.96 and 3.2
It doesn't compile with 2.95 nor with 3.3.
If you dont have a compiler that can compile the driver you need one.
In the following example I use gcc-3.0.4-core (I only need the C compiler)
Download the gcc source (in the example gcc-core-3.0.4.tar.bz2)
Execute:

cd /var/tmp
tar fjx /<path to the gcc source>/gcc-core-3.0.4.tar.bz2
mkdir obj
cd obj
../gcc-3.0.4/configure --disable-shared --prefix=/var/tmp/gcc
make bootstrap-lean CFLAGS='-O2' LIBCFLAGS='-O2' LIBCXXFLAGS='-O2 -fno-implicit-templates'
make install

the compiler is now in /var/tmp/gcc/bin
</interlude>

You need the kernel sources in order to compile the driver. If they are not
installed, follow the instruction of your distribution and install it.
You are now ready to compile the BCMSM module.
Execute:

cd /var/tmp
tar fzx /<path to the BCMSM source>/BCMSM-3.4.19.tar.gz
cd BCMSM-3.4.19
# if you don't need to use a custom compiler just use:
# make BCMSM.o KERNEL_DIR=/usr/src/linux
PATH=/var/tmp/gcc/bin:$PATH make BCMSM.o KERNEL_DIR=/usr/src/linux
cp BCMSM.o /lib/modules/`uname -r`/misc
depmod
ln -s ttySM0 /dev/modem
if [ -f /etc/rc.d/init.d/functions ]; then
    cat BCMSM-init-redhat >/etc/init.d/BCMSM
else
    sed 's@^. /etc/rc.d/init.d/functions@#&@' BCMSM-init-redhat >/etc/init.d/BCMSM
fi
chmod a+x /etc/init.d/BCMSM

In the previous lines, you may need to change the destination directory of the
init.d scripts. In SuSE it's /etc/init.d, in RedHat it's /etc/rc.d/init.d,
check your distribution.
Finally you need to add some links in order to start and stop automatically
the module at boot and shutdown
In SuSE the following command does the task:
insserv BCMSM,start=2,3,5
For the others you may need to type something like:

ln -s ../init.d/BCMSM /etc/rc.d/rc5.d/S20BCMSM
ln -s ../init.d/BCMSM /etc/rc.d/rc5.d/K01BCMSM

That's all.

Giacomo

but i have a few problems.
i use mandrake 10.1
i don't think my kernal source is on my hd. how can i add it?
i installed off 3 cd's of the community download (had a friend download them on broadband)
when it starts to compile it stats that it cannot find a file lkxxx (xx is the rest of the file that i cannot remember)
and its in the folder but as .c and not .o
could that be because of not finding my KERNAL_DIR source?

thanx for any help

Thoreau 03-20-2005 03:04 PM

Open up drakconf and software install. Search for kernel-source. Install.


All times are GMT -5. The time now is 11:34 PM.