hotplug/pcmcia conflict with combo ethernet/modem (fwd)

Joseph Mack NA3T jmack at wm7d.net
Thu Aug 4 15:39:21 EDT 2005


I'm changing from 2.4.x to 2.6.12 and getting thing to work one by one.


I'm using

hotplug-2004_09_23
kernel 2.6.12
pcmcia from kernel and tools from 3.2.8

I don't have udev sorted out which probably is complicating the matter.

I'm trying to get my Xircom REM56G-100 combo ethernet/modem pcmcia
card to work.

hostname:~# cardctl ident
product info: "Xircom", CreditCard Ethernet 10/100 + Modem 56", "CEM56", "1.0"


xcardinfo shows device(s) as eth0, eth0
(I would expect eth0 and some serial device,
rather than a 2nd eth0).

The device drivers get loaded for both the modem
and the ethernet parts. The ethernet port part works fine
(hotplugs, gets IP by dhcp, routes).
The modem part works fine (dial out with ppp)
if I hand edit /dev after insertion.

On insertion, /etc/pcmcia/serial is receives info that the
device is "/dev/eth0" rather than "/dev/ttyS3".
/dev then winds up with

/dev/modem -> /dev/eth0

rather than

/dev/modem -> /dev/ttyS3

With
/dev/modem pointing to /dev/eth0,
or if I erase /dev/modem,
or if I link /dev/modem to /dev/ttyS3 (the actual serial device)

then  test_modem (in pcmcia-3.2.8/debug-tools)
gives the error

Checking modem at /dev/eth0:
/dev/eth0: No such file or directory

test_modem then doesn't appear to be looking at
/dev/modem

if I link /dev/eth0 to /dev/ttyS3, then test_modem
gives a normal output for testing a serial modem.

David Hinds, on the pcmcia mailing list, says that this is a
hotplug script problem as his scripts are fed the wrong info,
but he doesn't further explain.

I've unsuccessfully tried to trace through the hotplug
scripts but the tracing is complicated by there being
several binaries (eg cardmgr) in the path. Some
scripts are fed parameters (arguements) and some
get their info from the environment. I don't know
enough about how it works to trace the information
flow, despite pouring over various HOWTOs.

Anyone know what I should do next?

Thanks Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml Homepage 
http://www.austintek.com/ It's GNU/Linux!



More information about the linux-pcmcia mailing list