ELAN PCMCIA and Linux

Tazz_Tux

Linux Guru
Joined
Jan 28, 2005
Messages
622
Reaction score
1
Location
New Germany, Durban
Hello Bandwidth buggies :D

For those using the PCI-to-PCMCIA adaptor, please would you share your (un)luck?

I have installed a Linux machine with the adaptor and found one problem (Heads up V3G)

Using a novatel card the card crashes (blue-red-blue-red-blue-red...) when I disconnect the session - anyone else seeing it ?

Easy way to solved it - sure - run the following commands after the dialup:

cardctl reset
cardctl eject
cardctl insert

After 12 seconds the card is back online :)

Laterz !!!
 
I'm running SuSE 9.3 Pro, with the Addonics ADPCICB2 PCMCIA/CARBUS to PCI Adapter and it detects the Merlin630 card, and assigns it to ttyS1 ... but I can seems to do anything with that port :(

Still trying to find a workable solution, but in the mean time, I've got a Win2000 laptop doing the internet sharing, but would prefer to get it working properly on my linux box (my server :) )
 
cyberbob,

Please post the output of this command:

setserial -av /dev/ttyS1

Laterz !!!

cyberbob said:
I'm running SuSE 9.3 Pro, with the Addonics ADPCICB2 PCMCIA/CARBUS to PCI Adapter and it detects the Merlin630 card, and assigns it to ttyS1 ... but I can seems to do anything with that port :(

Still trying to find a workable solution, but in the mean time, I've got a Win2000 laptop doing the internet sharing, but would prefer to get it working properly on my linux box (my server :) )
 
well, not sure what to make of this, but here it is ...

matrix:/var/lib/pcmcia # cat stab
Socket 0: Serial or Modem
0 serial serial_cs 0 ttyS1 4 65
Socket 1: empty


matrix:~ # setserial -av /dev/ttyS1
/dev/ttyS1, Line 1, UART: unknown, Port: 0x02f8, IRQ: 2
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test

does this help at all???
 
I'm running Ubuntu 5.04, and had really poor performance until I read Tazz's instructions at http://www.mybroadband.co.za/vb/showthread.php?t=21726

Q) My Novatel card is very slow - 800 bytes per second

A) Try running "setserial -a /dev/ttyS1 low_latency spd_warp" - replace /dev/ttyS1 with your port

Since doing this, I've been getting pretty good results - even with a 1 bar signal.
 
Try this cyberbob,

setserial -av /dev/ttyS1 uart 16450

If you can figure out what the uart is, replace with the value - see man setserial.

Laterz !!!

cyberbob said:
well, not sure what to make of this, but here it is ...

matrix:/var/lib/pcmcia # cat stab
Socket 0: Serial or Modem
0 serial serial_cs 0 ttyS1 4 65
Socket 1: empty


matrix:~ # setserial -av /dev/ttyS1
/dev/ttyS1, Line 1, UART: unknown, Port: 0x02f8, IRQ: 2
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test

does this help at all???
 
Hi Tazz

I have used the ELAN / Novatel combination successfully on RH9 with a 2.4 kernel and the pcmcia_cs modules + tools. I have also used it successfully on smoothwall with a 2.6.10 kernel. I posted instructions on getting this to work with in this thread http://mybroadband.co.za/vb/showthread.php?t=26467 dont know if anything in there will help you. My smoothwall box was up 3 days before the last power failure so no problems with the card crashing.

Regards
Warren
 
ok, could it be the "unknown" UART the is causing me not to be able to communicate with the card then? not that I'm using the diagnostic port as I previously though :p

Also, how will I know if I've "figured" out the correct UART?
 
16550 Should do it :)

cyberbob said:
ok, could it be the "unknown" UART the is causing me not to be able to communicate with the card then? not that I'm using the diagnostic port as I previously though :p

Also, how will I know if I've "figured" out the correct UART?
 
tried all the UART's listed, no difference :(

the card initializes itself as soon as I insert it, but I can't communicate with it at all. :(
 
so, is there nothing further I can do??? I'd really like to try and get this thing working, since I did buy the card specifically for this purpose :p
 
cyberbob said:
so, is there nothing further I can do??? I'd really like to try and get this thing working, since I did buy the card specifically for this purpose :p

Hey cyber - what kernel you running this under?

Is serial_cs loaded as a module ? (lsmod | grep serial_cs)
 
I'll have to confirm, but it's 2.6.x (SuSE 9.3 Pro 32bit x86).

not sure about the module bit, but what diff would it make if it is/isn't ?
 
can you confirm version (uname -a) and just check if serial_cs is loaded (lsmod | grep serial)

Laterz !!!

cyberbob said:
I'll have to confirm, but it's 2.6.x (SuSE 9.3 Pro 32bit x86).

not sure about the module bit, but what diff would it make if it is/isn't ?
 
ok, my box is at home, so will do that when I get home and report back. thanx for all the help so far :)

Cyber
 
ok, this is what I got ...

matrix:~ # uname -a
Linux matrix 2.6.11.4-20a-default #1 Wed Mar 23 21:52:37 UTC 2005 i686 i686 i386 GNU/Linux


matrix:/var/lib/pcmcia # lsmod | grep serial
serial_cs 8968 1
pcmcia 24072 5 serial_cs
pcmcia_core 47024 4 serial_cs,pcmcia,yenta_socket,rsrc_nonstatic


hopefully this can get me at least one step closer to success :)
 
finally got to respond to this ...

matrix:~ # lspci
0000:00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
0000:00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
0000:00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:01:01.0 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
0000:01:01.1 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
0000:01:02.0 Network controller: Intersil Corporation Intersil ISL3890 [Prism GT/Prism Duette] (rev 01)
0000:01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller (rev 81)

what next ...
 
Hey cyberbob,

Where did you get it from because that is diff from my ident string:

0000:02:04.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller

I thought Vodacom only had one card - vodacom3g ???

Laterz !!!
 
I didn't buy it from Vodacom, I contacted them, got a price of R299 for the card, they said it would take about 2-3 weeks, so I decided to "shop" around, then I phoned them back a couple of days later, they told me it was now R499 ... told them to "scr#w" it, bought it from Sybaritic ... anyway, it works fine in my laptop under linux, but for some reason just will not work in linux with this card (works in windows though).

btw ... the card is Addonics ADPCICB2 PCMCIA/CARBUS to PCI Adapter ... I'm about ready to burn it :(
 
Top
Sign up to the MyBroadband newsletter
X