PCMCIA serial_cs driver binding problems.

From: greg
Date: Tue Nov 20 2007 - 09:34:34 EST


Good morning to everyone.

I'm working to sort out what appear to be issues with binding of the
serial_cs driver to a PCMCIA wireless card (Zoom).

Card works perfectly in recent 2.6.2[23] kernels if cardmgr is running
and PCMCIA_IOCTL support is in the kernel. The serial_cs driver
fails, however, to bind in a pure hotplug configuration. The hotplug
scripts detect card insertion and load the serial_cs module but the
driver doesn't bind to the device.

The slot number (0.0 or 1.0) appears in the /sys/bus/pcmcia/devices
directory after card insertion. The serial_cs directory also presents
in the /sys/bus/pcmcia/drivers directory secondary to module load.

I've tried to manually echo the device number (0.0 or 1.0) into the
/sys/bus/pcmcia/drivers/serial_cs/bind pseudo-file but nothing
happens. The device number is present as a binding if cardmgr frobs
things with the pcmcia_ioctl bind commands.

I'm willing to hack on the kernel a bit if additional information or
debugging is needed.

Thanks for any thoughts or guidance.

Best wishes for a productive week.

As always,
Dr. G.W. Wettstein, Ph.D. Enjellic Systems Development, LLC.
4206 N. 19th Ave. Specializing in information infra-structure
Fargo, ND 58102 development.
PH: 701-281-1686
FAX: 701-281-3949 EMAIL: greg@xxxxxxxxxxxx
------------------------------------------------------------------------------
"When I am working on a problem I never think about beauty. I only
think about how to solve the problem. But when I have finished, if
the solution is not beautiful, I know it is wrong."
-- Buckminster Fuller
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/