LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-20-2013, 01:47 AM   #1
waddles
Member
 
Registered: Sep 2012
Posts: 372

Rep: Reputation: 1
Laptop that talks DB25


I have several scientific instruments which run off of a DB25 printer port. I use a process called "bit banging" to handle this.
With modern laptops there are no DB25 connectors and as far as I can determine bit banging via the USB-to-printer port cables cannot handle this. Short of a rewrite of some husky C and TCL/TK programs is there a method/means of using a laptop to connect via a printer port adapter?
 
Old 09-20-2013, 05:48 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,514

Rep: Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224Reputation: 6224
FTDIs FT232R and FTD245R FIFO chips do have bit bang capability. They are supported via the d2xx driver. There are several examples that can be found using the 232 chip which only has 4 I/O lines but could not find much using the 245 chip.

This may or may not work for your application. Not sure what parallel port adapters use the FT245 chip but you can purchase a module from Digikey.

http://www.digikey.com/product-detai...973354?cur=USD

There are also several project that use microcontrollers like the arduino or ATmega16. You might be able to purchase one from http://www.lpt2usb.net/
 
Old 09-20-2013, 06:44 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,270

Rep: Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656
There may be some pcmcia cards too that might work.

In fact most computer still have parts of or bios settings that make comm0 and comm1 useless to some tasks so you have to go up to comm2 or maybe 5
 
Old 09-21-2013, 08:21 AM   #4
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by jefro View Post
In fact most computer still have parts of or bios settings that make comm0 and comm1 useless to some tasks so you have to go up to comm2 or maybe 5
The OP is talking about a parallel port (IEEE1284) not a serial port (RS232).
 
Old 09-22-2013, 05:32 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,270

Rep: Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656
Oh heck. Yep. I was thinking the old db25 serial.

Still the built in number may have to be increased with an add on card of some sort.
 
Old 09-22-2013, 09:56 PM   #6
waddles
Member
 
Registered: Sep 2012
Posts: 372

Original Poster
Rep: Reputation: 1
My point was that my software strobes, reads x bits and repeats, and on ad nauseum so I am addressing pins on the printer port.
I am not going to change the software and go thru the testing and validation that I did on the first run thru. I do not have a programming department of 1000's to embark on that. I was looking for an off the shelf plug-n-play solution. From what has been said here you seem to be validating my worst fears. Since I am collecting at up to 20 samples / sec I think I will get an old beeter desktop and run them off of it and add on a 2nd printer port. Thanks for UR input.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Serial RS232 Communication to Embedded Device on Laptop - No DB9 or DB25 idoneous Linux - General 4 09-06-2010 05:29 PM
LXer: OLPC spinoff in talks with four laptop makers LXer Syndicated Linux News 0 05-23-2008 06:11 AM
LXer: Torvalds talks LXer Syndicated Linux News 0 08-19-2007 05:30 PM
LXer: FEMA talks up its IT changes LXer Syndicated Linux News 0 05-29-2006 08:54 AM
computer talks to me :P HELP numb Slackware 5 03-11-2005 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:45 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