LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   /dev/usb isnot found (https://www.linuxquestions.org/questions/fedora-35/dev-usb-isnot-found-650971/)

seeism 06-22-2008 11:29 PM

/dev/usb isnot found
 
Hi,

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.

Seeism

shafty023 06-22-2008 11:47 PM

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

seeism 06-23-2008 01:07 AM

Hi,

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?

Seeism

shafty023 06-23-2008 01:10 PM

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"

seeism 06-25-2008 06:13 AM

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 (Post 3192842)
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"


shafty023 06-25-2008 08:56 AM

Quote:

Originally Posted by seeism (Post 3194539)
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

Then unplug, re-plug the usb printer

seeism 06-25-2008 11:44 PM

Hi,

I already tried pcscd option.But it didnt help

Options i can see
Applejet,HP,Serial Port,Http,ipp,lpd,lpt
All r there except USB.

Also when i plugin my printer,/dev/usb directory is also not created.Is that means linux usb printer driver is not detecting my USB printer???

Please help

Shermin

seeism 07-01-2008 01:34 AM

Hi,

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.

Shermin


All times are GMT -5. The time now is 12:42 PM.