Bugzilla – Bug 102342
pcmcia seems not work with ISDN cards
Last modified: 2005-09-08 23:00:27 UTC
If I plugin a PCMCIA ISDN card into the HP nx5000 I got no event, not in /events and not in dmesg.
i can confirm this with an ELSA PCMCIA that worked very fine in pre3 (after creating the devices manually ;-) Christian, we miss good old cardmgr! Karsten: do you have any other PCMCIA card to try? I only have cardbus with me, my PCMCIA cards are "2 HE" and my notebook only has "1HE" slot. Cardbus modem / ethernet works fine (from the driver side)
It seems that last udev make things better (besides that it do not record any events to /events). Old PV4 udev do not generate any event for none cardbus cards (tested only with ISDN, I do not have a other none cardbus device). Now I get events and modules are loaded, but ISDN srcipts are not started yet, also alternativ drivers (CAPI/HiSax) are not handled. I think it should be not so hard to fix, as it looked before. I'll look into it and fix the ISDN part over the weekend.
PCMCIA Network card also do not work at all (i have found an old 10mbit ne2k pcmcia card). Karsten: cardbus works fine for me, it is just pcmcia that fails. IMO this is a blocker since almost no Notebook will have internet access (modem) without pcmcia. I'll try to locate and test the latest udev.
strolchi:~ # rpm -q udev udev-065git20050905-3 seems to work fine - at least the ELSA Microlink ISDN/MC and my old longshine 10mbit ne2k got detected and initialized. We should keep an eye on this - especially on the known problematic systems (hp / some amd64) which always had problems with pcmcia. This is why i am adding Matt to the CC:, he had one of those known-bad-behaving systems. Matt, you know what to do once Beta1 is out ;-)
The new udev driven PCMCIA stuff is not usable for ISDN, since it cannot handle different driver configurations (e.g CAPI/none CAPI driver). It's also not possible to start costomisied scripts. Maybe we can do it via a pcmcia.usermap which map the pcmcia module string into script + parameter for selected devices. Unplug a device is completly unhandled.
What do you need? This stuff is still not complete. Missing handling of remove events might also occur with other bus types, e.g. I'll add that. What do you mean with different driver configuration? There is still no support for hwcfg-* files, but i stll can add that. Yes, pcmciautils came a bit late. But i'm here every day this week. So if you like, call me.
again does not work with beta1: Aug 12 13:00:54 strolchi kernel: elsa_cs: Unknown symbol HiSax_closecard Aug 12 13:00:54 strolchi kernel: elsa_cs: Unknown symbol hisax_init_pcmcia no wonder: strolchi:~ # grep "install hisax " /etc/modprobe.conf install hisax /bin/true if i insmod hisax manually, i get different messages after card plugin: Aug 12 13:09:45 strolchi kernel: (elsa_cs: looks like the 97 model) Aug 12 13:09:45 strolchi kernel: elsa: index 0x01: Vcc 5.0, irq 3, io 0x02f0-0x02f7 Aug 12 13:09:45 strolchi kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0) Aug 12 13:09:45 strolchi kernel: HiSax: Elsa driver Rev. 2.32.2.4 Aug 12 13:09:45 strolchi kernel: Elsa: PCMCIA-IPAC defined at 0x2f0 IRQ 3 Aug 12 13:09:45 strolchi kernel: Elsa: IPAC version 1 Aug 12 13:09:45 strolchi kernel: Elsa PCMCIA: IRQ 3 count 9 Aug 12 13:09:45 strolchi kernel: Elsa PCMCIA: IRQ 3 count 12 Aug 12 13:09:45 strolchi kernel: HiSax: DSS1 Rev. 2.32.2.3 Aug 12 13:09:45 strolchi kernel: HiSax: 2 channels added Aug 12 13:09:45 strolchi kernel: HiSax: MAX_WAITING_CALLS added Aug 12 13:09:45 strolchi kernel: HiSax: if_command 6 called with invalid driverId 0! Aug 12 13:09:45 strolchi kernel: HiSax: if_command 6 called with invalid driverId 0! but it still does not work (no ippp0 etc)
ok, the not-working was due to the non-existent card during yast setup which lead to a non-existent cfg-net0 => no ifcfg => no ippp0. Will test it now.
isdn works after manually loading hisax
Created attachment 46057 [details] udev rules files for isdn This file now contain all udev isdn stuff. 50-pcmcia.rules and 50-udev.rules contain the GOTO labels, isdn settings are removed from 50-udev.rules.
With the above file, and modified scripts PCMCIA and USB hotplug is full working for ISDN on my notebook, it also supports (hot)unpluging, at least in my tests. mbuild still running for the new udev and pcmciautils packages. (based on most current packages from done/STABLE)
All fixes are checked in.
Confirmation: The Sony Ericsson GC83 GPRS/EDGE PCMCIA card works with 10 beta 4 out of the box with the HP zv5000 amd64 notebook. Recognized and ready to use. No more config.opts fiddling. No more "killall cardmgr;cardmgr". Great! However see my comments to bug# 67241: the Sierra Wireless cards, which require a CIS file, do not work anymore.