Fedora Linux Support Community & Resources Center
  #1  
Old 24th March 2010, 07:29 PM
jjscampos Offline
Registered User
 
Join Date: Jun 2009
Posts: 15
linuxsafari
generic rs232 kernel module

Hello everybody

I need to develop an rs232 kernel module and app.

Can someone point me some directions or samples how to start.
Reply With Quote
  #2  
Old 24th March 2010, 08:04 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,101
linuxfedorafirefox
Re: generic rs232 kernel module

Is there a problem with the existing RS232 drivers?
Reply With Quote
  #3  
Old 25th March 2010, 10:27 AM
jjscampos Offline
Registered User
 
Join Date: Jun 2009
Posts: 15
windows_xp_2003safari
Re: generic rs232 kernel module

I need a driver module for an Cbm-820 printer. this printer connect to pc via rs232.

I can't find anything on the web for it.

perhaps someone with experience could give me some orientations or samples on this...

thanks for answer jpollard.
Reply With Quote
  #4  
Old 25th March 2010, 01:12 PM
dr death Offline
Registered User
 
Join Date: Dec 2006
Posts: 82
macosfirefox
Re: generic rs232 kernel module

Try adding a new printer using the standard printer administration tool. When asked to "enter device URI" try something like:
serial:/dev/ttyS0?baud=11500
(changing the port and baud rate to suit your system of course)
I don't know that there's a driver for your printer, but the generic one should work.

Alternatively drivers for this printer (Java or CUPS) seem to be available here:
http://www.citizen-systems.co.jp/eng...ver/index.html

Last edited by dr death; 25th March 2010 at 01:19 PM. Reason: Link to drivers
Reply With Quote
  #5  
Old 25th March 2010, 02:06 PM
jjscampos Offline
Registered User
 
Join Date: Jun 2009
Posts: 15
windows_xp_2003safari
Re: generic rs232 kernel module

thanks once again.
I posted a message on citizen's web form

In fact, I am doing an academic work, in this regard need to develop a Linux driver for the CBM-820 printer.

can help me realize this project?
Reply With Quote
  #6  
Old 25th March 2010, 03:11 PM
dr death Offline
Registered User
 
Join Date: Dec 2006
Posts: 82
macosfirefox
Re: generic rs232 kernel module

If it is an academic project then it depends on the scope. Are you trying to rewrite the serial drivers? For a printer "driver" you can just open the serial port, do whatever serial communications are necessary and then close the port.

If you really need to write a serial driver, check the kernel code (kernel.org) under drivers/serial - it's all there.

If you just need to talk to the printer using the serial port, you don't need a driver. It can be done from user space. Here's a good starting point:
http://tldp.org/HOWTO/Serial-HOWTO.html
http://www.easysw.com/~mike/serial/serial.html
You will also need the full specification for the printer
Reply With Quote
Reply

Tags
generic, kernel, module, rs232

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with RS232 vesper Hardware & Laptops 0 28th August 2008 09:21 PM
RS232 mapping DarekG Servers & Networking 0 16th October 2006 11:34 AM
USB RS232 converter PL2303 Dice Using Fedora 3 8th June 2005 03:11 PM


Current GMT-time: 21:50 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat