LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-22-2008, 11:29 PM   #1
seeism
LQ Newbie
 
Registered: Jun 2008
Posts: 13

Rep: Reputation: 0
/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
 
Old 06-22-2008, 11:47 PM   #2
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
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
 
Old 06-23-2008, 01:07 AM   #3
seeism
LQ Newbie
 
Registered: Jun 2008
Posts: 13

Original Poster
Rep: Reputation: 0
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

Last edited by seeism; 06-23-2008 at 01:09 AM.
 
Old 06-23-2008, 01:10 PM   #4
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
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
 
Old 06-25-2008, 06:13 AM   #5
seeism
LQ Newbie
 
Registered: Jun 2008
Posts: 13

Original Poster
Rep: Reputation: 0
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 View Post
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"
 
Old 06-25-2008, 08:56 AM   #6
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Quote:
Originally Posted by seeism View Post
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
 
Old 06-25-2008, 11:44 PM   #7
seeism
LQ Newbie
 
Registered: Jun 2008
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 07-01-2008, 01:34 AM   #8
seeism
LQ Newbie
 
Registered: Jun 2008
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 12:52 AM
usb hdd not found in /dev or with lsusb /y0shi Slackware 7 12-19-2007 04:41 PM
USB HDD Mounting Problem "/dev/sda5 found in /etc/fstab" zcapx32 Linux - Hardware 5 06-30-2006 02:55 AM
modprobe:FATAL: Module /dev/usb/tts/22 not found vkrishn1 Linux - Newbie 0 08-11-2004 11:12 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration