LinuxQuestions.org
Review your favorite Linux distribution.
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 08-08-2005, 06:36 AM   #1
ansicpp
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
Slackware and Linmodem installing problem


There is a Linmodem 536 Intel chipset based, and slackware 10.1 2.4 29, I downloaded the last Linux driver I tried to install it on a p4 machine, in REDHAT 9,MANDRAKE 10,SUSE, CONNECTIVA it works probably, but on slackware it can not create Intel536ep.o driver file that can link to /dev/modem@. I think the driver is a RPM base driver and the Slackware is a source base OS, allover there are three steps advised by manufacture: @bash# make clean, Type: make 536, Type: make install, In manual installation:
0. log in as root.
1. insmod -f Intel536.o (Intel536.ko for kernel 2.6)
2. 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
When typed #make 536 the Intel536.o created and returned: make[1] leaved 'coredrive' (coredrive is the directory contains .h and .c needed files) in this step it has to create the driver as /dev/536ep but there are only Intel536.o in driver extracted path and Intel536_ins and in rc.d path Intel536_boot. If I go on an type #make install it returns Unknown distribution. No boot script installed #make:***[install]Error 1
If I go to step 1 after #make 536 and # insmod -f Intel536.o it can not find Intel536.o (as you know it is in driver exteracted path not in /dev not in rc.d) and copy it in /dev that is that correct path can not help me.
The problems: is it RPM LINUX driver and may be can not work with a source base Linux (in read me you can find is supports slackware)
An other reason: it can't create 536ep the driver file in /dev path, then how can I edit MAKEFILE:
all:
@echo usage: make [536]
@echo or [clean] or
@echo or [install]

clean:
cd coredrv; make clean
rm -f *.o *.ko

install:
rm -f /etc/hamregistry.bin
bash Intel536_inst

uninstall:
echo Uninstalling on system V boot like only.
rm -f /etc/init.d/536ep_boot
rm -f /etc/hamregistry.bin
rm -f /etc/init.d/Intel536_boot
rmmod Intel536

check:
@bash config_check

config_sync:
mv /lib/modules/`uname -r`/build/include/linux/version.h version.bak
mv /lib/modules/`uname -r`/build/include/linux/autoconf.h autoconf.bak
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h
cp /boot/vmlinuz.autoconf.h /lib/modules/`uname -r`/build/include/linux/autoconf.h

536: check
uname -r|grep "2.6" && \
cd coredrv && make 536core_26 && \
cp Intel536.ko .. && cd .. && \
strip --strip-debug Intel536.ko && \
exit; \
ls Intel536.ko >/dev/null 2>&1 || uname -r | grep "2.6" && echo "Failed to build driver" && exit; \
if [ $(KERNEL_SOURCE_PATH) ]; then \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH=$(KERNEL_SOURCE_PATH) "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
else \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
fi ; \
cp Intel536.o .. ; \
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\
fi
I don't have any free serial port, I cannot trust in USB modems.
Any idea any solution
Thank you
Best regards
ansicpp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LinModem installing problem ansicpp Slackware 2 06-29-2005 10:09 PM
Need help installing a linmodem rcmcghee Linux - Hardware 4 03-22-2005 02:15 PM
installing linmodem tonywright Linux - Hardware 3 06-26-2003 03:39 AM
installing a linmodem in suse 8.1 jdw1234567 Linux - Distributions 0 02-21-2003 08:55 PM
what do i do after installing the linmodem driver? caid Linux - Newbie 13 12-11-2002 09:59 PM

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

All times are GMT -5. The time now is 04:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration