Bug 102342 - pcmcia seems not work with ISDN cards
Summary: pcmcia seems not work with ISDN cards
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Mobile Devices (show other bugs)
Version: Beta 1
Hardware: Other All
: P5 - None : Blocker
Target Milestone: ---
Assignee: Karsten Keil
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 11:59 UTC by Karsten Keil
Modified: 2005-09-08 23:00 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
udev rules files for isdn (4.32 KB, text/plain)
2005-08-15 13:50 UTC, Karsten Keil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Keil 2005-08-05 11:59:02 UTC
If I plugin a PCMCIA ISDN card into the HP nx5000 I got no event, not 
in /events and not in dmesg.
Comment 1 Forgotten User ZhJd0F0L3x 2005-08-05 20:31:01 UTC
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)
Comment 2 Karsten Keil 2005-08-05 22:19:23 UTC
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.  
Comment 3 Forgotten User ZhJd0F0L3x 2005-08-06 10:11:37 UTC
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.
Comment 4 Forgotten User ZhJd0F0L3x 2005-08-06 10:36:34 UTC
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 ;-)
Comment 5 Karsten Keil 2005-08-08 15:11:59 UTC
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. 
 
 
Comment 6 Christian Zoz 2005-08-08 16:48:37 UTC
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.
Comment 7 Forgotten User ZhJd0F0L3x 2005-08-12 11:10:26 UTC
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)
Comment 8 Forgotten User ZhJd0F0L3x 2005-08-12 11:16:02 UTC
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.
Comment 9 Forgotten User ZhJd0F0L3x 2005-08-12 11:59:55 UTC
isdn works after manually loading hisax
Comment 10 Karsten Keil 2005-08-15 13:50:06 UTC
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.
Comment 11 Karsten Keil 2005-08-15 13:53:56 UTC
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) 
 
Comment 12 Karsten Keil 2005-08-16 09:39:53 UTC
All fixes are checked in. 
Comment 13 Martin "Matt" Wolf 2005-09-08 23:00:27 UTC
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.