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
ADVERTISEMENT
Apr 22, 2010
I have been trying out serial and parallel data communication on Fedora 13 Beta. I can easily see the list of serial ports through:
Code:
setserial -g /dev/ttyS[0-3]
And can also write some data through:
Code:
ll > /dev/ttyS0
But I am unable to see parallel ports
I can see something like:
Code:
/dev/parport0
But when I try out:
ll > /dev/parport0
It throws error.
View 3 Replies
View Related
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
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.
Code:
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
Jun 30, 2011
I am new to Ubuntu and I need to establish a serial port communication between my PC and microcontroller MSP430G2452.
On connection the USB available with the Launchpad and using lsusb.
It identifies the port as:
Bus 005 Device 003: ID 0451:f432 Texas Instruments, Inc. eZ430 Development Tool
After establishing such a connection what I need to do? My aim is to send a byte of information in Linux.
View 1 Replies
View Related
Mar 15, 2010
Not really sure where to post this, so here goes... I installed apache2, php and MySQL via LAMP and everything seems to work fine but when I try to open the COM1 port to do serial communication via PHP, I get a permission denied error.
'mode com1: BAUD=9600 PARITY=N data=8 stop=1 xon=off';
$fp=fopen("COM1:","w+");
I've also tried using /dev/ttyS0 instead of COM1: but no luck. Anyone out there know what I'm doing wrong? I don't know if I need to set something up in apache2 or php or if the code is just wrong. I'm on an Acer Aspire One with Ubuntu's LNR 9.10.
View 6 Replies
View Related
Jan 15, 2010
I am new to linux terminal programming and all but i want to set up a simple serial communication from my desktop through USB port. The actual idea to to write some data in the terminal and build a terminal program that sends the data to the usb port with a fixed baud rate. are there ready made terminal programs available for this simple communication?or atleast any Graphical tools which could help me build and design such a terminal in ubuntu 9.04?
View 8 Replies
View Related
May 14, 2010
My Operating system is Ubuntu 10-4 that I have just installed.
View 6 Replies
View Related
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
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
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:
Code:
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- .....
Code:
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
Mar 1, 2011
Is the parallel port still supported on OpenSUSE 11.4 ?
View 4 Replies
View Related
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
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
[Code]...
View 2 Replies
View Related
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
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
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
View Related
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
Dec 13, 2009
I wrote a serial port communication program to access a equipment.
int main(void)
{
int fd = 0;
int nread = 0,i = 0,nwrite = 0, tmpread = 0, m = 0, n = 0 ;
[code]....
View 2 Replies
View Related
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
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
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
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'
/etc/sane.d/dll.conf
Modify this file to indicate which port to use, like this:
/etc/sane.d/epson.conf
# 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
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
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'
[Code]...
View 1 Replies
View Related
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
hp:/par/HP_Laserjet_5L?device=/dev/parport0
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
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 "
Hello
f" >/dev/lp0' does not produce any Putout on my printer that is connected via the parallel port.
View 6 Replies
View Related
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?
lspci
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
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
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