Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I hope this doesn't have to lead to creating a kernel mode module... but I've got a PCM-3640 PC104 card that needs an interface. I understand that none of the standard built in drviers work, although it uses standard 16C550 uarts and standard register addresses.
Anyone have a driver for this? I need to get this card up and running quickly.
For the future, can anyone direct me to a fairly compact "course" on writing drivers. I'm an advanced programmer ( since 1974 ), just little time in Linux ( since 2005, go figure? ).
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Who is the maker of that I/O card?
As far as writing drivers goto http://www.google.com/linux and use the search string ' writing driver ' several links came up. A few I looked at look pretty decent.
I searched google quite a bit, but I'll try your combination.
The card is an AAEON, PCM-3640. The first two ports can be set to the same settings as the standard COM ports 1 and 2, so I imagine the regular dev/tty... would work, given that the chips are standard. Given that, perhaps there are other +/- standard drivers that would work for the last two?
Thanks, I found good information from that "link". But now, I have another related question.
Before I can write a module as I understand it, I must be able to compile it against my kernel source, in a sense assuring that the compiled module is fully compaitble to my kernel. However, I'm using an embedded Linux ( SlackWare ) on a 512MB Flashdisk.... not much room to load and compile all that code ( or is it? ). Right now, I've got about 60MB free memory, and I'm fairly sure that I didn't load the kernel source when loaded my dist.
Questions: Can I load the same kernel source on a bigger machine and do the compiling there, later to install the resulting kernel and driver module(s) onto the smaller embedded platform?
If I recompile the kernel, will I disrupt the present configuration and or potentially have to reload my whole platform ( with all it's tweaks ) again?
I suppose another option is to add a second drive for the compilation and remove it later, but the second question still holds.
If I understand Linux well enough ????, if I recompile the kernel, and it's configured to be the same as what I have running now, I shouldn't have to reload everything, Lilo ( in my case ) will just reload the new kernel which "should" be compatible to my present configuration.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.