Programming :: Using Parallel Port Mode And I/O Pins?

Aug 8, 2010

I have a little hardware project and I would like to use the parallel port. I basically want to display status code on top of other custom peripheral on an headless server. I only use output as the display (7 segment) is not part of the device itself. The problem is, the parallel port only have 8 standard I/O pins. I have read somewhere that there is a way to change the mode of the port to enable more data pins using a specification not backward compatible with the "classic" mode (so not enabled by default). I didn't find any other information about this. As I would like to have all 17 non-ground pin to avoid using more circuitry than necessary, how to turn this mode on?

View 3 Replies


Programming :: C Program - To Make Scripts That Can Talk To Server's Parallel Port

Jun 27, 2010

I need to make some C program under linux to make some scripts that can talk to my Server's Parallel port by sending some quare signal as high or low, so what i can do ?

View 4 Replies View Related

Programming :: Enable RTS And DTR Pins In C Language?

Jun 6, 2011

How to enable RTS and DTR pins in c language? (I use termios.h include)

View 2 Replies View Related

Programming :: Interface The Output Pins On The Header Of The GESBC-9260 To The Distribution?

Jan 13, 2010

I'm a complete linux beginner and currently have the following board that I am playing around with.the main chip onboard is an atmel arm9 core with a debian style distribution pre-installed. I have just updated the factory kernel to 2.6.30 as I was told this had an inbuilt GPIO driver? I am trying to interface the output pins on the header of the GESBC-9260 to the linux distribution. i.e. I would initially like to write a c file that did something like toggle an output pin, which I can then connect upto an led and see this flash. However I don't really have a clue where to start. Hopefully someone could point me in the right direction?

View 1 Replies View Related

Hardware :: USB To Parallel Printer Port?

Feb 23, 2010

My new Shuttle runs Debian fine, but like most new systems, the old serial and parallel ports are long gone. I have no problems with the serial port - there is a Sourceforge driver to use with most PL-2303 type USB to Serial adapter cables. But, I am having trouble googling up the USB to Parallel connection. There are no lack of USB/Parallel cables, but all that I have found come with canned software for Windows and only for connecting a printer. I have several non-printer devices that connect via the P-Port that I access using a Perl driver from CPAN. Anybody know of an open source *nix driver for any particular USB/PP cable? Or had any experience in moving from the straight PP to a USB/PP connection to a non-printer device?

View 1 Replies View Related

Fedora :: Activating Printer On Parallel Port?

Apr 18, 2011

When I boot fc14 with an already defined printer connected on the parallel port, then I can use the printer. The printer appears on parallel:/dev/lp0. But, if the printer is not connected during startup, when I connect the printer I cannot use it. Nothing happens. I have no corresponding message using "dmesg" command when I connect the printer.

I cannot make cups see that the printer is connected, using "localhost:631" in firefox. Is it possible to "mount" the printer manually? Using "system-config-printer", the printer has to be "activated", even though it is not used or even connected. Then "parport" module is installed during boot (with other related modules: "ppdev" and "parport_pc").

Then, when the printer is connected, "dmesg" shows :
lp0: using parport0 (interrupt-driven).
lp0: console ready
And, of course, it is now OK to use the printer.

View 1 Replies View Related

OpenSUSE Hardware :: Parallel Port Printing Under 11.3

Oct 28, 2010

I have a Panasonic 3123 dot matrix printer which I am trying to get working on my Dell Vostro 420 running 11.3 (x64). Since Dell decided to eliminate on board parallel ports from their systems I've added one with a Startech PCI1PECP PCI card (uses a NETMOS NM9805CV chipset). I've confirmed that the printer works using an old laptop running Windows 2k with a LPT port running in ECP mode. When attached to my desktop the printer will (usually) shift the pin carriage etc when I perform a cold boot but will not respond when sent a test page in yast or cups (it is detected after a fashion and I have assigned the appropriate ppd from the Omni package).

The following is the relevant out put from lspci, lsmod and dmesg:
05:00.0 Communication controller: Device 1710:9805 (rev 01)
Subsystem: LSI Logic / Symbios Logic Device 0010
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+ INTx- .....

E [28/Oct/2010:11:59:44 -0400] Unable to bind socket for address ::1:631 - Cannot assign requested address.
E [28/Oct/2010:12:05:04 -0400] Unable to bind socket for address ::1:631 - Cannot assign requested address.
E [28/Oct/2010:12:08:52 -0400] [cups-driverd] Skipping "/usr/share/ppd": loop detected!

View 9 Replies View Related

OpenSUSE Install :: Parallel Port Support On 11.4

Mar 1, 2011

Is the parallel port still supported on OpenSUSE 11.4 ?

View 4 Replies View Related

Ubuntu :: Dosemu Parallel Port Bit Twiddling?

Jun 1, 2010

I've been running an old DOS app that reads and writes the parallel port bits to do a control task. Its worked great running on Ubuntu 6.06 but I can't get the version on 10.04 to read and write the actual hardware. I can't find what is missing from the configuration, as I recall all I did on 6.06 was edit /etc/dosemu/dosemu.conf to uncomment the line:

$_ports = $_ports, " device /dev/lp0 range 0x378 0x37a" in the "Direct Hardware access" section and start the xdosemu session as root. The process runs in the background and has "just worked" for years. This has got me stuck as the last step of migrating from 6.06 to 10.04 -- everything except this, postfix, samba, etc. couldn't have been easier, but I'm stuck now

Yes the new motherboard parallel port is set for 0x378 and it shows in /proc/ioports. I guess it could be defective, but the software reads back the values it writes and thinks its working, its just none of the outputs change and changes on the inputs are not read so the code is stuck waiting for the initial response to its first output.

View 1 Replies View Related

Hardware :: Parallel Port In OpenSuse 11.2 64-bit Don't Work?

Mar 11, 2010

For several months I now and then tries to get my 64-bit installation to work satisfactory. My 32-bits work but not as good as my 10.3 versions. Last problem is the parallel port. Neither cups or yast finds the printer. Hardware probing gives this:

34: PCI 300.0: 0701 Parallel controller (ECP)
[Created at pci.318]
UDI: /org/freedesktop/Hal/devices/pci_1415_c110
Unique ID: svHJ.ok4f_YyUQQF
Parent ID: gZD2.WHfUklesIM4
SysFS ID: /devices/pci0000:00/0000:00:0b.0/0000:03:00.0
SysFS BusID: 0000:03:00.0


View 2 Replies View Related

Hardware :: Ubuntu 10.04 Parallel Port Disappeared

Feb 3, 2011

I have been tinkering around with CUPS for the last few days trying to get print sharing to work. Did not have problems printing documents from this desktop. When I went to print a document I found that my printer was not listed. Using localhost:631/admin shows lists the printer, but when I open System->Administration->Printing, the window opens (after a few seconds), grays out, and a blank display. The option to add a printer is grayed out.

In terminal window:
lpstat -v
lpstat: Connection timed out
lpinfo -v
lpinfo: Connection timed out
What happened to the parallel port?

View 14 Replies View Related

Networking :: VirtualBox - USB To Parallel Port Converter

Sep 7, 2010

I am a newbie to VirtualBox. I have installed it on my Fedora 13 and installed win xp sp3 as a guest system and its ok except for 1 or 2 issues. I have a usb to paralel converter for the printer (Prolific Technology, Inc. PL2305 Parallel Port) which is greyed out in usb devices if I log as a normal user althought when I log to the Win XP as root it works fine 9 seems to be rights issue but don't know where to go. Second issue: I have a modem which is no discovered by the win XP.

View 2 Replies View Related

CentOS 5 :: No Parallel Port Printing After Pm-suspend?

Oct 15, 2009

I use pm-suspend (from pm-utils-0.99.3-10.el5.centos.386) to put my CentOS computer (kernel 2.6.18-164.el5PAE) to sleep (power consumption decreases from 66 to 4 W). Hitting the computer power button reactivates the computer. But the parallel port connected HP LaserJet 6L no longer prints. Michael Sweet suggested this sounds like a parallel port driver isn't compatible with pm-suspend. Is there anything faster than shutting the computer down and restarting it to enable its parallel port printer? (After pm-suspend, command "reboot" fails to restart CentOS.)

View 3 Replies View Related

Red Hat / Fedora :: How To Change From Serial To Parallel Mode On Cluster

Jun 10, 2010

I compiled a code on a Linux cluster machine with mpich and ifort. A test run shows that the program works fine. However, it seems that the program is running in serial instead of parallel mode: reducing the number of CPU's from 32 to 3 does not increase the time it takes to run the simulation. Infact, the simulation is slightly faster with 3 compared to 32 CPU's. Unfortunately I have very little experience on the subject.

My questions are:

(1) How can I be 100% sure my code is running in parallel and not in serial mode?

(2) If the code is running serial, what do I need to do to make it run in parallel mode?


For submission I use a jobscript which includes the following lines:

Red Hat 4.1.2-46

View 1 Replies View Related

Fedora Hardware :: Deskjet Plus On Parallel Port Working With F13?

Aug 19, 2010

I have an old, but still usable, HP Deskjet Plus inkjet printer that I have connected to the parallel port of my Fedora 13 box. I can (apparently) configure the printer using the usual print configuration tools, and have selected the recommend foomatic driver (HP DeskJet Plus Foomatic/pcl3 (recommended)) - but when I try to print the test page the job gets queued and nothing else happens. The jobs simply show as pending in the printer queue.

Current uri is parallel:/dev/lp0.

As a side note, my Epson printer on the USB port works fine, but it's using CUPS + Gutenprint v5.2.6 Simplified. Should I be trying something with a different (e.g. CUPS) driver, or a different way of specifying the foomatic driver, or what?

View 3 Replies View Related

Fedora Hardware :: How To Install Parallel Port Printer On F14 KDE

Nov 19, 2010

It's some years since I last used Fedora. I'm looking at Fedora 14 KDE spin and trying to figure out how to install my old HP Laserjet parallel port printer. In the printer configuration utility I can only find options for network printers. I can't find any option to add a local printer.

View 2 Replies View Related

Fedora Hardware :: F15 - No Option To Select Parallel Port?

May 28, 2011

I just replaced F14 with F15 (clean install). Now, when I try to add my HP Deskjet 710 printer I'm not seeing any option to select the parallel port. I've tested the hardware with an old F10 live CD, and every thing's okay there. Does the parallel port still exist in F15, or has it been nuked?

View 2 Replies View Related

OpenSUSE Hardware :: 11.3 - Unable To Find Parallel Port

Sep 28, 2010

openSUSE 11.3 question:
I have a PCI parallel port adapter (Syba SD-PEX-NM1P) that should "only" need to be told what ports and irq to use with parport_pc but, for the life of me, I can't make it happen. Using lspci -v, I can see it uses irq 19 (it that 19 or 0x19???) and ports 0xc800, 0xc400, 0xc000, 0xb800, 0xb400 (all 8 bit), and 0xb000 (16 bit). This is confirmed by the YaST2 hardware information tool.

Doing modprobe parport_pc io=0xb000 irq=0x19 should do something useful but I get no result at all. There is no /dev/lpt1 - a /dev/parport(n - where n is a digit) shows up on occasion but I can't figure out when it appears or why. cat foo >& /dev/parport(n) - where foo contains "hello world <FF>" doesn't do anything on the printer. Using the YaST2 printer tool, even the HP tool (the printer is an HP LJ-5P), is fruitless.

View 9 Replies View Related

OpenSUSE Hardware :: Configuring Parallel Port Scanner On 11.3

Dec 22, 2010

Just updated to Suse 11.3, in past versions, including 11.2 I could activate my Epson parallel scanner this way:

Modify this file removing the '#' form the line '#epson'
Modify this file to indicate which port to use, like this:
# epson.conf
# here are some examples for how to configure the EPSON backend
# SCSI scanner:
scsi EPSON
# for the GT-6500:
scsi "EPSON SC"
# Parallel port scanner:
#pio 0x278
pio 0x378
#pio 0x3BC

It doesn't work anymor, the parallel port is apparently active since I can do:
ls -l /dev/lp0
And I get:
-rw-r--r-- 1 root root 12 Dec 22 19:51 /dev/lp0

View 1 Replies View Related

Ubuntu :: Slow Boot Parallel Port Driver?

Jul 2, 2010

My boot time seems to be relatively slow & looking through the log file I notice that "ppdev: user-space parallel port driver" takes about 25 seconds to load.Is this normal/necessary to load? My laptop is a toshiba satellite pro running 10.04.

View 3 Replies View Related

Ubuntu :: How To Get Startech Pcmcia Parallel Port Working

Jan 29, 2011

I am trying to get a startech pcmcia parallel port working on my laptop and I just can't seem to get it going. here is my lcpci -v info on the card.

07:00.0 Serial controller: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 0 (Disabled) (rev 01) (prog-if 06)
Subsystem: Oxford Semiconductor Ltd Device 0000
Flags: medium devsel, IRQ 20
I/O ports at 4020 [size=8]
I/O ports at 4028 [size=8]
I/O ports at 4030 [size=8]
I/O ports at 4038 [size=8]
I/O ports at 4000 [size=32]
Memory at 2c000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: serial

07:00.1 Non-VGA unclassified device: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1 (parallel port) (rev 01)
Subsystem: Oxford Semiconductor Ltd Device 0000
Flags: medium devsel, IRQ 20
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
I/O ports at <unassigned> [disabled]
Capabilities: <access denied>
Kernel modules: parport_pc

I do not know why it is not assigning it an io address. I should also add that the parallel port is enable in the bios with the default address of 0x0378. I have also tried modprobe parport parport_pc and parport_cs and ppdev, still nothing.

View 1 Replies View Related

Hardware :: Error During Inserting Of Parallel Port Module

Apr 15, 2011

I am tiring to insert a parallel port module into the kernel when i received this error.

[root@localhost paralelport]# ls
a.out light.c Module.markers parlelport.c parlelport.mod.c parlelport.o
light Makefile Module.symvers parlelport.ko parlelport.mod.o
[root@localhost paralelport]# make
make -C /lib/modules/2.6.18-128.el5/build M=/home/backup/parallal/paralelport modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-128.el5-i686'


View 1 Replies View Related

Hardware :: Printing With HP (Connected To Parallel Port) Does Not Work

Jan 28, 2011

I have an old HP Laserjet 5L which is connected to the parallel port of my computer. I could hp-setup to configure the printer. It is connected to

Everytime a want to print the printer is stopped with the error message
/usr/lib/cups/backend/hp failed
(tried to print as root and as a normal user doesn't work)

If I try to print directly to the device works with
echo "test" > /dev/lp0

but it does not work with
echo "test" > /dev/parport0

the permissions are set to
crw-rw---- 1 root scanner 6, 0 28. Jan 14:54 /dev/lp0
crw-rw---- 1 root scanner 99, 0 28. Jan 14:54 /dev/parport0

My Distribution is archlinux with all updates installed.

View 11 Replies View Related

General :: Parallel Port Communication With RHEL6 Not Working?

Dec 13, 2010

I was trying out the parallel port communication on RHEL 6 but found it not working:
#echo hello > /dev/parport0
write error :Invalid argument".
#ll > "/dev/lp0"
/dev/lp0:No such device or address

View 2 Replies View Related

Debian Hardware :: Getting Output On Printer Connected Via Parallel Port

May 24, 2011

I currently cannot get my printer to work (nothing ever get's printed) even though CUPS seems to be correctly configured and reports all jobs as "completed" without any errors. As I know that my printer works (I can print from my laptop on it) I currenty suspect my new PC's parallel port to maybe have a hardware issue. My question is now is there any way to check the parallel port?

Here are some details:
from dmesg:
lp0: using parport0 (interrupt-driven).
from lsmod:
parport 27954 3 ppdev,lp,parport_pc

In the BIOS the mode is set to EPP. So as far I can see (I am not really an expert) the kernel-modules are there, /dev/lp0 exists and has the proper permissions.
Yet doing 'echo -en "
f" >/dev/lp0' does not produce any Putout on my printer that is connected via the parallel port.

View 6 Replies View Related

Fedora Hardware :: Parallel Port Recognized But Not Accessible Via GtkTerminal

Jan 25, 2010

So if I do
dmesg | tail and find out that
lp0: using parport0 (interrupt-driven).
lp0: console ready
[root@Juha Juha.Koskiniemi]# cat /proc/bus/usb/devices

What is it fro following?
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY
02:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
02:00.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
02:00.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 02)
02:01.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)
02:02.0 Network controller: Intel Corporation PRO/Wireless 2915ABG [Calexico2] Network Connection (rev 05)

And how to evaluate the list of cat /proc/bus/usb/devices? I am asking this since seems that parport is recognized but why I can not access the it to via gtkteminal by using /dev/lp0
QGtkStyle cannot be used together with the GTK_Qt engine.
Qt: Session management error: None of the authentication protocols specified are supported
opening failed
How to edit thread header since the misspelling?

View 2 Replies View Related

OpenSUSE Hardware :: HP Laserjet 4L Not Recognized By Yast2 Or Hplip On Parallel Port?

Aug 4, 2011

I have newly installed opensuse 11.4 x85_68 on my computer. Yast2 refuses to see my connected HP Laserjet 4l on parallel port, I can install a second network printer but neither hplip nor yast2 can start printer configuration. The printer is present in Yast2 hardware List under /dev/lp1

View 8 Replies View Related

Hardware :: Partport Module Is Seeing Parallel Port But Lp Module Doesn't Found Any Device

Mar 3, 2011

I am trying to install a Sunix 4018T dual parallel port card on a pc with Mandriva Linux 2010.1: Dealer told me that linux has driver for this card already so I inserted it and turned on my pc. Unfortunately when I try to install my Okidata ML320, cups it's not showing any parallel ports. I try to update all the system with last patches and packages :I tested the card on a pc with windows xp, installed my printer and it works perfectly.

View 3 Replies View Related

General :: Install A Printer On The Parallel Port? The Printer Is A Epson LX-2170?

May 14, 2010

My Operating system is Ubuntu 10-4 that I have just installed.

View 6 Replies View Related

OpenSUSE Hardware :: Parallel Port Printer Configuration On 11.2 64 - "There Is No Print Queue"

Dec 13, 2009

I installed SuSE 11.2 64-bit on a new computer without any printer attached. When I read the manual for the mainboard, I discovered to my delight that it actually has a parallel port, it's just not connected. I moved the cable from an old desktop and put it into my new desktop. After enabling the port in the BIOS setup, the Hardware Information dialog in yast correctly shows that I have a HP LaserJet 1100 (/dev/lp2).

How do I configure the printer? "Printer" in yast tells me "There is no print queue". When I click "Add" yast tries to detect a printer and gives up with the message "No connection selected". I can't add a selection, however. "More connections" gives me the exact same error message. The "Connection Wizard" allows me to select "Parallel Port", but then complains about missing connections again. The cups demon is running. I don't have /dev/lp2, is that the problem?

View 9 Replies View Related

Copyrights 2005-15, All rights reserved