I am trying to get a character device pcmcia driver to work and am not getting far. The driver I am using is strongly based on dummy_cs.c
The card is recognized, the CIS tuples are read correctly, the card is initialized correctly and I/O resources are allocated correctly. I have the device registered as a character device with major number 240. The device when inserted does indeed show up in /proc/devices at major number 240.
I have created nodes to talk to the device with major minor numbers of 240-0, 240-1, and 240-2 and the nodes are all chmod 666.
When I try to open the device (in C), I get error #6 - No such device or address.
The source code for the pcmcia driver is available from my ftp server - ftp.rongage.org/pub/pcmk/pcmk-v0.0.0.tar.gz
Can anyone tell me what the heck I am doing wrong here?
This seems like more of a general kernel device driver issue and not a PCMCIA issue.
You should add a printk() to your driver's open() function to see if it is getting called.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.