South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
cyberbob said:I've got an Addonics ADPCICB2 PCMCIA/CARBUS to PCI Adapter that I'm trying to use under SuSE 9.3 Pro (32bit), and it detects the card and my 3G Novatel (merlin 630) card, but picks up the diagnostic port rather than the dialling port.
Haven't found out how to change that yet. Not sure if I can.
cyberbob said:well, becuase it's write only and I can't dial out with it ... so assume it is the diag port. on my laptop under SuSE it detects the "other" port and works just fine![]()
# make oldconfig
# make xconfig
# make
# mkdir $INSTALL_PATH/boot
# mkdir $INSTALL_MOD_PATH/lib/modules
# chmod -R ugoa+rw /tmp/boot
# chmod -R ugoa+rw /tmp/lib
# make modules_install
# make install
# mv depmod depmod.old
# mv insmod insmod.old
# mv lsmod lsmod.old
# mv modprobe modprobe.old
# mv rmmod rmmod.old
# rm lsmod modprobe rmmod
# ln insmod.old lsmod.old
# ln insmod.old modprobe.old
# ln insmod.old rmmod.old
# ln -s depmod-25 depmod
# ln -s insmod-25 insmod
# ln -s lsmod-25 lsmod
# ln -s modprobe-25 modprobe
# ln -s rmmod-25 rmmod
# depmod -Av
# modprobe -r usbcore (or some other module)
# modprobe usbcore
# lsmod
# cd $INSTALL_PATH
# tar cvzf smoothie26.tgz boot/* lib/*
# scp -P 222 smoothie26.tgz root@smoothie:/tmp
# cd /tmp
# tar xvzf smoothie26.tgz -C /
image=/boot/vmlinuz-2.6.10
label=2610
# modprobe yenta_socket
PCI: Enabling device 0000:00:0a.0 (0000 -> 0002)
Yenta: CardBus bridge found at 0000:00:0a.0 [0000:0000]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:0a.0, mfunc 0x00000000, devctl 0x46
Yenta TI: socket 0000:00:0a.0 probing PCI interrupt failed, trying to fix
Yenta TI: socket 0000:00:0a.0 falling back to parallel PCI interrupts
Yenta TI: socket 0000:00:0a.0 parallel PCI interrupts ok
Yenta: ISA IRQ mask 0x0000, PCI irq 9
Socket status: 30000010
# lsmod
yenta_socket 16928 1
pcmcia 15968 3
#rmmod yenta_socket
#rmmod pcmcia
# cd<path to source>/pcmcia-cs-3.2.7/cardmgr
PREFIX = /tmp
export PREFIX
# make install
# cd <path to source>/pcmcia-cs-3.2.7/etc
PREFIX = /tmp
export PREFIX
# make install
# cd $INSTALL_PATH
# tar cvzf pcmcia_cs.tgz etc/* sbin/*
# scp -P 222 pcmcia_cs.tgz root@smoothie:/tmp
# cd /tmp
# tar xvzf pcmcia_cs.tgz -C /
# Slackware startup options go right here:
# Should be either i82365 or tcic
PCIC=
PCIC=yenta_socket
# /etc/rc.d/rc.pcmcia start
Starting PCMCIA services: cardmgr[18830]: watching 1 socket
done.
#dmesg
....
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
ttyS2 at I/O 0x3e8 (irq = 9) is a 16550A
#lsmod
serial_cs 7352 1
yenta_socket 16928 1
pcmcia 15968 3 serial_cs
echo "Starting syslogd"
/sbin/syslogd -m 0
echo "Starting klogd"
/sbin/klogd
echo "Starting PCMCIA"
./etc/rc.d/rc.pcmcia start
my $com = "/usr/sbin/chat -v \
TIMEOUT 3 \
ABORT '\\nBUSY\\r'
....
my $com = "/usr/sbin/chat -v \
TIMEOUT 3 \
ABORT '\\nBUSY\\r' \
ABORT '\\nNO ANSWER\\r' \
ABORT '\\nRINGING\\r\\n\\r\\nRINGING\\r' \
ABORT '\\nNO CARRIER\\r' \
ABORT '\\nNO DIALTONE\\r' \
'' '$modemsettings{'INIT'}' \
OK '$modemsettings{'HANGUP'}' \
OK '$speaker' \
TIMEOUT '$modemsettings{'TIMEOUT'}' \
OK 'ATE0V1&D2&C1S0=0+IFC=2,2' \
OK 'AT+COPS=0,0,\"Vodacom-SA\",2' \
OK 'AT+CGDCONT=1,\"IP\",\"internet\"' \
OK 'AT+CGEQMIN=1,4,64,384,64,384' \
OK 'AT+CGEQREQ=1,4,64,384,64,384' \
OK '${dial}${telephone}' \
CONNECT '${btfudge}' ";
# tail -f /var/log/messages
./etc/ppp/ppp-on
sub domodemdial
{
system('setserial -a /dev/ttyS2 spd_warp low_latency');
ic said:I've spent the better part of the evening trying to get the Elan PIII PCMCIA PCI Adapter card to work with IPCop v1.4.10, and has gotten majorly confused/sidetracked with yenta_socket and i82365...
Anyways, for the benefit of anyone else going this route, it looks like you still have to compile a kernel for IPCop v1.4.10 which has kernel version 2.4.31 - according to the info here...
PS: The info on the Elan CD I have is [not surprisingly] outdated...