Hardware :: Device Node Assignment At Boot / Parallel Printer Via USB Adapter
May 5, 2011
I have a printer that is not getting a device node assigned at boot.The printer is attached with a USB to Parallel (IEEE-1284) adapter cable.When I plug in the usb cable when the machine is running, the printer is assigned the device node: /dev/usb/lp0
I am guessing that during startup, the printer device is not detected since it is plugged in over an adapter cable which may be considered a device in itself?This is for a retail store, and we rely on the printer to pop the cash drawer open, so it kinda has to work without a "secret handshake".Unfortunately our workstations do not have Parallel ports. I would be happy to share terminal output, udev info, I'll write you a poem but I could sure use a helping hand- I'm stumped!
View 5 Replies
ADVERTISEMENT
Feb 27, 2011
I am trying to resolve an ongoing fight involving /dev/video node assignment between 2 TV Tuner cards and a USB video camera.
Each time I reboot the three devices seem to shuffle their /dev/video assignment. i.e. what was /dev/video0 (USB camera) after a reboot magically becomes /dev/video1.
This causes all kinds of grief between my MythBackend and ZoneMinder who expect the devices to have static assignments.
how to best solve this? I did a brief search and one solution appears to be to statically assign the devices.
View 3 Replies
View Related
May 14, 2010
My Operating system is Ubuntu 10-4 that I have just installed.
View 6 Replies
View Related
Aug 23, 2011
I've bought an X10 Home Automation USB interface: the CM15.
This is the information lsusb gives:
skerit@KIP-DU-SKER:~$ lsusb Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)
But this tells me nothing about where the device file is! How can I find that, or create one myself?
View 1 Replies
View Related
Jun 23, 2011
Any basic description of how linux assigns drive letters? I understand that a drive letter assignment is not static. If I add a drive between /dev/sda and /dev/sdb, my /dev/sdb will become /dev/sdc and the new drive will become /dev/sdb. I have a hot swap tray and have come into some unexpected behavior. I removed /dev/sde from the hot swap tray and then loaded another drive into this same tray. When I mounted the new drive with options in fstab, it wouldn't mount because the new drive was /dev/sdf, not /dev/sde. Apparently, linux is looking at the id of the drive in addition to it's place in the BIOS chain.
My fstab entry is:
/dev/sde /backups auto noauto,rw,noexec,async,user 0 0
I was avoiding using UUIDs in the fstab so that new HDDs would not have to be "registered" in the fstab prior to use. Is there a way to tell linux (or fstab) whatever drive is plugged into SATA channel X mount to /mountpoint?
View 4 Replies
View Related
Mar 25, 2010
I've got a fresh install of ubuntu 9.10 on a fresh disk and everything was going perfectly. I bought a Usb=>parallel cable to connect my old parallel port printer.When I try and print, sometimes it works and sometimes it doesn't. Sometimes the job will go to the print queue and then nothing happens, in this case if I unplug and replug the usb cable a couple of times it usually prints the document. Sometimes the job doesn't show up in the print queue at all and sometimes it prints the document with no problems.
Whenever I use lsusb, I never see the printer in the list of attached usb devices (even when the printer is printing!). Apart from root hubs, the only two devices ever listed with lsusb are my mouse and scanner.
View 2 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
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
Apr 18, 2010
I like the way 10.04 lts is running on my old PC, except I can't seem to install my HP 895C. This printer worked on previous releases on Ubuntu. The printer is local and cabled to the PC's parallel port. But "Add" under printing doesn't show any parallel printers under local printers. Only shows serial port, other, and network printers. Is this because 10.04 is beta? "Troubleshooting printers" doesn't have a list of printers. Is the lpt1 in PC speak /dev/lp0 in Linux? Should that be the printer URI?
View 9 Replies
View Related
Aug 16, 2010
I have a parallel printer working on a desktop. I want to share it with my laptop, but I don't want to have to use samba. Both have ubuntu 10.04 installed.
I'm sure it can be done, but I'll be darned if I can find anything in the skimpy admin. tools.
View 1 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
Dec 28, 2009
I use (open) SUSE since version 7.1 and never had any trouble using my HP Laserjet 4L. So I hardly paid any attention to the installation after installing OpenSuse 11.2. Until I tried to print something from OpenOffice.org and my printer started printing empty pages with a first page with some garbage. It looked like a wrong driver. Suse recognized the printer without any trouble and installed - what seemed the correct - driver. I tried several other drivers from the list but they all gave the same result.
Something wrong with the printer - which functions already more than ten years? I tried it on Windows Vista (dual boot on the same computer) and Vista printed without any problem a correct test page. So nothing wrong with the printer. I tried a live CD with Ubuntu 9.10. And Ubuntu gave the same problem as OpenSuse: printing a line with garbage and empty pages. Is something wrong with the kernel?
View 9 Replies
View Related
Mar 13, 2011
After a fresh install of suse 11.4, Yast cannot configure my local printer (Epson Epl-5700) because there is no parallel port available. How can I make parallel ports work?
View 5 Replies
View Related
Mar 26, 2010
I am developing for a Linux based device for which the HOT PLUG option is deactivated. As part of optimizing the code, we also don't want to create device files for unused devices. We understand that both USB attached and fixec SCSI hard disks would create device files like /dev/sda,/dev/sda1 /dev/sdb, /dev/sdb1 etc. Is this understanding correct?
In the case of USB attached SCSI devices, would driver create this device file entry? How is it created? Can somebody please tell me how it is being created automatically. In case I attach a fixed SCSI hard disk before boot up(and create device file /dev/sda1), would USB SCSI device driver create device files starting from /dev/sdb, automatically.
View 4 Replies
View Related
May 22, 2010
On my debian lenny OS I have an external usb hard disk I would like to automount it at boot. So I edited the /etc/fstab file in order to automount /dev/sdb1. It worked without problem. Then I recompiled the kernel and, as consequence, /dev/sdb1 changed to /dev/sdc1. I started playing with udev in order to match the now called /dev/sdc1 and to change its name in /dev/maxtor (being maxtor the brand of the hard disk). Obviously I edited also /etc/fstab: /dev/sdb1 is now /dev/maxtor.
The boot automount doesn't work anymore. On the boot sequence I can read the message "Mounting local filesystem...mount: special device /dev/maxtor does not exist FAILED". But when I log into the system I can run the command "mount /dev/maxtor /mnt/maxtor" and it works! So, IMHO, my udev rule is correct otherwise also the manual mount wouldn't work, right? I have to tell to udev to create /dev/maxtor BEFORE the boot automount process.
I tried to delete my udev rule and to edit /etc/fstab changing /dev/maxtor in /dev/sdc1 (the name udev gave to my hard disk after kernel recompile, before was /dev/sdb1) and it didn't work: on boot process I always see the "Mounting local filesystem...mount: special device /dev/sdc1 does not exist Failed". Then I tried to change /dev/sdc1 in /dev/sdb1 in /etc/fstab and to reboot with the old original kernel and int this way it works. With my compiled kernel, the OS seems to have lost the capacity to detect my device node correctly.
View 2 Replies
View Related
Jul 7, 2010
This device doesn't automount, doesn't show in KDE 4's device notifier, and I can't mount this camera manually because it doesn't appear to get assigned to a device node. Any known solutions? It worked in Slackware 12.2, but not in 13.0 or 13.1.
View 2 Replies
View Related
Jan 28, 2010
I've set up DRBD on 2 machines, 1 of them is the master, another is the slave.
After each bootup, I need to run the following on the master machine:
Code:
drbdadm -- --overwrite-data-of-peer primary all
Do we need to specify which machine should be the primary node every time? Is there any method to make the machine "know" it's itself the primary node?
View 1 Replies
View Related
Dec 16, 2010
I have created a simple menu driven script for our Operations to take care of the basic monitoring and managing of our production application from the back-end. Now, the script when tested in UAT environment was fine, but when deployed to production it kind of behaved oddly.hen the Operator chooses an option from the menu he is given the output and at the end is prompted to return to the main menu by using ctrl+c. In production, this return does not occur for some strange reason and the program just sits there.The session becomes unresponsive after that and I'm forced to terminated it by closing the PuTTY.I tried enabling the debug mode too (set -x) and still was not able to find any useful hints/trails as to why.
View 5 Replies
View Related
Feb 13, 2011
I use static IPs in my network and IFup(traditional) this one is dual boot..when the boot sequence is at the point of assigning the Ip it counts down and fails. But after startup I can do a network restart and it assigns the IP properly. I am running 11.1 and also had this problem with 10.1. I am using /dev/shm mounted as a tmpfs as
the system seems to move a little faster this way and I recall reading that fglrx (ati proprietary driver) needs it. So here is the weird part If I do not mount /dev/shm it assigns the IP properly on boot....if I mount /dev/shm it will not. I just recently discovered this as with 10.1 I just lived with the problem...but on a dual boot machine it is really a pain. Does anyone have any clue where to look for the issue?? I have tried emptying shm and it of course does not matter as it is a ram device.
View 2 Replies
View Related
Mar 1, 2011
I am familiar with windows 2008 cluster servers, and I just started testing with centos cluster. I am creating a simple 2-node cluster, for a simple ping test.
Node 1: 10.0.0.1
Node 2: 10.0.0.1
Virtual ip: 10.0.0.10
So far, I can ping a virtual ip, and manually relocate it between the nodes, but I didn't figure out, how to do this automatically. So this is my question: How can I setup the cluster, to it automatically failover the a service to another node case one node fails?
View 1 Replies
View Related
Oct 27, 2010
I don't have much experience in clustering. And I'm deploying a cluster system on CentOS.But I don't know how long a node failover and another node take over those resouces to continue running service is good, fast or slow? 1s, 10s or
View 2 Replies
View Related
Apr 16, 2011
Reboot and select proper boot device or insert boot media in selected boot device and press a key. I got this error after: Reducing my Windows 7 partition by about 100gb. Creating a new partition (100gb) and copying my Ubuntu partition (10gb) to the new partition. After it was copied, and pasted, the original partition was deleted. I now had two partitions a new 100gb Ubuntu partition and a 600gb (or so) Windows 7 partition.
All of this was done using a bootable USB with Ubuntu 10.10 and GParted partition editor. Now when I boot I get the "Reboot and select proper boot device or insert boot media in selected boot device and press a key." error.
View 9 Replies
View Related
Jun 3, 2011
This post is for an HP parallel printer but I think it should work for at least "some" other parallel printers.I am sure that someone smarter than me will follow up this post with a "well, just do this and that" and you will have your HP Laserjet 6P printer ready to go, but since questions litter the forums of MANY distros on how to get "at least" an HP parallel printer to work, I'll post this anyway.This may or may not work for you if you do not have an HP but you can try it.The install printer box will let you do an install for an HP Parallel and it asks for how it is to talk to it, through CUPS sock or "local host'. When we get through what I recommend you should chose "local host".
View 2 Replies
View Related
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
May 5, 2011
what shell command I should look into that will "mount" a printer that is present in lsusb output, but not present in /dev/usb/? I have a working printer connected with a Parallel to USB printer cable, but after I reboot the machine the printer is not "mounted" (for lack of the correct term?) at /dev/usb/lp0 until I unplug the USB cable and plug it back in lsusb sees it always though.
View 1 Replies
View Related
Jun 16, 2010
I'm trying to mount a custom device node for each usb port of my pc. For example: Every pen drive connected to my usb 1-1.2 will be called /dev/usb2 and mounted on /mnt/usb2, on usb 1-1.3 port the device node will be called /dev/usb3 and mounted on /mnt/usb3.
I'm using an embedded linux, the device handler is mdev. Editing mdev.rules I'm able to manage new devices and write special rules for them (on /bin/hotplug.sh I can mount the /dev/udisk device on anywhere I wanna):
Code:
# This will be called after scsi emulation, so the
# new device (sda1, sdb1 ...) will be managed by /bin/hotplug.sh
mmcblk0p10:00600=sdcard */bin/hotplug.sh
sda10:00600=udisk * /bin/hotplug.sh
[Code].....
Is there anyway to change scsi emulation configurations or code? I want to call my pen drive on my way (/dev/usb1 instead of /dev/sd*)!
View 4 Replies
View Related
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
Apr 5, 2011
Does Debian 6 "Squeeze" automatically run boot processes in parallel if not how do I
configure it to do so. Here is the quote from my /etc/init.d/rc :
# Specify method used to enable concurrent init.d scripts.
# Valid options are 'none' and 'makefile'. Obsolete options
[code]...
View 2 Replies
View Related
Oct 11, 2015
I was asked to research if it is possible to install a Debian distribution of Linux to HP Z420 Workstations as second OS (dual boot) in our lab. The lab is normally used for Computer Aided Design (Windows 7). The plan is to have parallel computing possible with these workstations on Linux side.
The link for HP Z420 Specs suggests amd64 distrubition should be supported. Tell me If I'm wrong as I have always been interested in software side of things.
Looking for info regarding installation of Debian to HP Z420 workstations as well as using these computers for parallel computing with Debian.
View 2 Replies
View Related