FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to add my USB printer through CUPS.For that USB device is not listed under the cups page.When i checked I am missing /dev/usb in my file system.Please help me on this.I am using Fedora 7.
There is no such thing as /dev/usb . You can check /proc/bus/usb/devices for a list of devices that Fedora has found attached to your usb ports. You'll need to cat out that file, it's not a directory. You should not need to go this far low level to get a printer working. You should only need to connect the printer via usb, open the printer administration tool "system-config-printer" , then add the printer there
Thanks for your reply
I tried cat /proc/bus/usb/devices and it list my smart card printer .I am developing the driver for this printer.I need to add this through CUPS.SO in the cups device page ,USB device option is not there to attach my printer.How to get that listed?
Explain in detail the steps you are taking to add this printer, what you are "expecting" to see, and where you're stuck.
I'm trying to follow along with what you might be having an issue with. I'm assuming that you're opening up system-config-printer and go to New Printer. Then you're looking for USB under Select Connection. Is that correct?
You need to select Other and set device URI to the correct usb port you have it connected to. This will be /dev/bus/usb/[001,002,003,004] or whatever it shows under /dev/bus/usb/
**EDIT**
If you don't know what device your printer is plugged into you can check "dmesg" and grep for usb. IE -> "dmesg | grep usb". Make sure your printer is attached and powered on before doing that or it won't show up in dmesg. You could also do "tail -f /var/log/messages" and then unplug the usb cable, then plug it in and watch the logs live for the messages you need.
To search for all usb devices you have do "find /dev -name usb* -print"
Last edited by shafty023; 06-23-2008 at 01:14 PM.
Reason: adding some extra tips
Hi,
I am trying to install the printer through CUPS.I tried to add my
printer tru cups web page.In that I am stuck up with the device for
adding the printer.There is no option as other.I am using a smart card
printer .i have to develop the driver for this printer.For that I have
to first connect the printer and then point out my ppd and my filter
file for this printer.
Please tell me what is the probs.I am using Fedora 8 now .
Shermin
Quote:
Originally Posted by shafty023
Explain in detail the steps you are taking to add this printer, what you are "expecting" to see, and where you're stuck.
I'm trying to follow along with what you might be having an issue with. I'm assuming that you're opening up system-config-printer and go to New Printer. Then you're looking for USB under Select Connection. Is that correct?
You need to select Other and set device URI to the correct usb port you have it connected to. This will be /dev/bus/usb/[001,002,003,004] or whatever it shows under /dev/bus/usb/
**EDIT**
If you don't know what device your printer is plugged into you can check "dmesg" and grep for usb. IE -> "dmesg | grep usb". Make sure your printer is attached and powered on before doing that or it won't show up in dmesg. You could also do "tail -f /var/log/messages" and then unplug the usb cable, then plug it in and watch the logs live for the messages you need.
To search for all usb devices you have do "find /dev -name usb* -print"
Hi,
I am trying to install the printer through CUPS.I tried to add my
printer tru cups web page.In that I am stuck up with the device for
adding the printer.There is no option as other.I am using a smart card
printer .i have to develop the driver for this printer.For that I have
to first connect the printer and then point out my ppd and my filter
file for this printer.
Please tell me what is the probs.I am using Fedora 8 now .
Shermin
Ok so what options are you seeing then? Parallel should be one, HP Jetdirect should be another. What connection methods are listed for you?
Also, are you running the Smart Card Daemon?
sudo /sbin/service pcscd start
Why /dev/usb is not creating for me when i connect my smart card printer.I am using to create the device driver for my printer.In CUPS backend for usb is checking the dir /dev/usb.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.