You are not logged in.

#1 2006-12-26 22:37:32

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

UMTS PCMCIA card not working after update [SOLVED]

I use a umts card with my laptop, and have problems with it.

After insertion it was linked to dev/ttys0 and /dev/ttys1.

Since updating between dec 22 and dec 26 (today) it is no longer linked to those ports and i can not use it anymore.
I've tried the card on a laptop with an older install that was NOT updated since late november, and it still works there.

I tried downgrading the kernel to 2.6.18 , but this didn't solve the problem.
udev has not been updated in that timeframe , so it must be another package.

Added :

On the old install /var/log/messages.log showed which serial devices were linked to the pcmcia card, on the updated install there's no such message.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#2 2006-12-27 15:54:07

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: UMTS PCMCIA card not working after update [SOLVED]

Did you look in /dev/tts/?


1000

Offline

#3 2006-12-27 21:51:33

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: UMTS PCMCIA card not working after update [SOLVED]

yes, there's no change in the devices listed there before and after insertion.

I've done some comparing between the 2 laptops and may have found something :

lspcmcia & pccardctl give the same output on both when the card is present, so the card is recognized.

It looks like the trouble is with the cs driver.
On the old laptop it recognizes that both pcmcia ports are uart 16550a type and links dev/ttyS0 and /dev/ttyS1 with the 2 pcmcia devices.

On the new laptop it loads the serial_cs module, but doesn't recognize the uarts

I'll try some boot parameters like acpi=off and noapic.

Edit : no difference with these parameters


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2006-12-27 23:44:55

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: UMTS PCMCIA card not working after update [SOLVED]

Ok i did some searching on the internet and found the solution.

part copied from 2.6.19 sources file drivers/serial/serial_cs.c
[code]
/*====================================================================*/

/* Parameters that can be set with 'insmod' */

/* Enable the speaker? */
static int do_sound = 1;
/* Skip strict UART tests? */
static int buggy_uart;

module_param(do_sound, int, 0444);
module_param(buggy_uart, int, 0444);
[code]

It appears by default the serial_cs module now uses strict UART tests, and my novatel/Merlin U630 card doesn't comply with these strict tests.

Adding
[code]
options serial_cs buggy_uart=1[/code]

to /etc/modprobe.conf got the pcmcia ports linked to /dev/ttyS0 & S1 again.

I'm very glad i decided to do some searching, as i was already considering to take the worst route and re-install windows on the laptop as i use it mainly on the road and need the umts internet access.

Thanks to the excellent documentation in the linux kernel source i found the solution.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2007-01-01 17:58:58

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: UMTS PCMCIA card not working after update [SOLVED]

After checking thoroughly, the above option in modprobe.conf still didn't make my umts card usable.

I did some more searching, and found the correct solution this time :

- remove the buggy_uart option from modprobe.conf
- use lspci -vv to determine what memory/io ranges the cardbus uses.
- comment out all ranges in /etc/pcmcia/config.opts
- add the ranges you get from lspci -vv.

My umts card is now linked correctly to /dev/ttyS0 & S1 and is fully usable.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB