LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-13-2006, 05:02 PM   #1
DavidHB
Member
 
Registered: Feb 2006
Location: Chile
Distribution: Slackware 10.2
Posts: 53

Rep: Reputation: 15
4 port Serial Card Driver


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? ).

Dave
 
Old 09-13-2006, 06:07 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
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.

Brian1
 
Old 09-14-2006, 12:54 PM   #3
DavidHB
Member
 
Registered: Feb 2006
Location: Chile
Distribution: Slackware 10.2
Posts: 53

Original Poster
Rep: Reputation: 15
Brian,

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?

Dave
 
Old 09-14-2006, 06:55 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 65
Check it out but not be much help on making the ports work.

Brian1
 
Old 09-17-2006, 07:37 AM   #5
DavidHB
Member
 
Registered: Feb 2006
Location: Chile
Distribution: Slackware 10.2
Posts: 53

Original Poster
Rep: Reputation: 15
Compiling Kernel

Brian or anyone,

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.

Thanks in advance,
Dave

Last edited by DavidHB; 09-17-2006 at 07:39 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New SIIG 4 Port PCI serial card (16C954) driver problem gpedley Linux - Hardware 2 07-10-2008 10:35 PM
timedia 4 port serial port i/o card configuration binu_edl Linux - Hardware 0 03-09-2006 09:39 AM
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 08:07 PM
Parport_pc driver not correct for the IT8874 serial port card. jimeotis Linux - Hardware 0 04-19-2005 03:39 PM
serial port driver? abhay7182 Linux - Software 1 08-26-2004 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration