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
|