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.
needing to open a port in ubuntu, then use it for my VirtualBox Pc.My VirtualBox is running - Windows XP I have a router connected to my network - Linksys WRT54G Now lets begin, I have tried opening via there router homepage. But when I go to [URL] and test port 4900 is still says that it is closed.
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?
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.
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!
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.
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:
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?
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?
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.)
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?
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.
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?
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.
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
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.
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.
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.
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
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.
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?
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
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 ?
I am trying to connect to a cisco console port using the usb to serial converter. I am using minicom and I changed me setting to reflect the USB converter cable, but it isn't working. I have set my baud rate to 9600, 8 data bits and no parity. Minicom acts as if it is connected (it doesn't give any errors), but there is nothing on the screen and nothing happens when I type. Also, I use the tail command and it sees the usb connector connected when I unplug it and plug it back in.
I used a usb to ethernet port converter to bypass this issue. I have a laptop on which I have installed Xubuntu with a live cd. I am now trying to get ndiswrapper to work but apparently I need to compile it. Apparently I need build-essential to compile ndiswrapper. However, when I try to install build-essential from the cd it fails to find the other required packages.
Now I have no internet connection on this laptop (it has no ethernet port) so I have been transferring packages one or two at a time on a usb stick... I have noticed after some time that either with sudo apt-get or the synaptic package manager if there is more than one dependency it will always fail to find the 2nd. Am I going crazy? I am about to abandon Ubuntu to see if I have more luck elsewhere...
I am using Fedora 14 x86_64 as the host and Windows XP under VirtualBox 4.0.4. I have added two ports (TCP and UDP) to the firewall settings in 'other ports' in the Fedora firewall setings. Do i need to do this?I noticed the port forwarding option in the Fedora's firewall settings which asks for either the ports to be forwarded to either local or an ip address. Do i need to do anything here?
In the settings under VirtualBox under Network adapter 1 (which is enabled) and attached to NAT, there is a port forwarding option in the advanced settings. Can the host and the guest port be the same number? If i use 'open port checker' to check if the tcp port is open in windows xp, will it work as it does in firefox under Fedora?
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.