LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-23-2001, 03:26 PM   #1
zikfreak
LQ Newbie
 
Registered: Aug 2001
Location: France
Distribution: RH 7.2
Posts: 23

Rep: Reputation: 15
Why is the /dev/usb/lp0 not recognized ...


I got a Canon BJC-2100
Impossible to print with, it has 2 connectors (LPT1 & USB ) but I don't have any LPT1 cable so I wanted to use Usb connection ...
I don't know why it doesn't work ... Is there a way to configure/test the usb ?

Can somebody help me ???



Here is what happens ( with lpq ) :

Printer: canon@localhost
Queue: 1 printable job
Server: pid 1471 active
Unspooler: pid 1472 active
Status: cannot open '/dev/usb/lp0' - 'No such device', attempt 1, sleeping 10 at 23:21:00.098
Rank Owner/ID Class Job Files Size Time
1 root@localhost+470 A 470 /usr/share/printconf 18255 23:21:00



Thanks ...
 
Old 11-23-2001, 04:32 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
try /dev/usb/usblp0
other usb devices work properly?
usb printing enabled in the kernel config?
 
Old 11-24-2001, 04:11 PM   #3
zikfreak
LQ Newbie
 
Registered: Aug 2001
Location: France
Distribution: RH 7.2
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for your very fast answer :



















- I don't have the usblp0 driver in /dev/usb/









- I will try my scanner for testing the usb









- I don't know how to configure the kernel to enable usb printing, but I'll first try to configure the scanner ...
 
Old 11-25-2001, 03:18 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Make sure your loading the usb modules, do "lsmod" as root and look for printer and usb-uhci or usb-ohci (which one depends on what chip set is on your mother board). Have a look at file:/usr/src/linux/Documentation/usb to determine which one you need.
 
Old 11-25-2001, 05:55 AM   #5
zikfreak
LQ Newbie
 
Registered: Aug 2001
Location: France
Distribution: RH 7.2
Posts: 23

Original Poster
Rep: Reputation: 15
I got USB UHCI but it was impossible for me to configure the usb scanner,
I don't have any Usb docs, can you help me further please ???

USB UHCI Root Hub
Serial Number: 10c0
Speed: 12Mb/s (full)
Number of Ports: 2
Bandwidth allocated: 0 / 900 (0%)
Total number of interrupt requests: 0
Total number of isochronous requests: 0
USB Version: 1.00
Device Class: 09(hub )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1

Config Number: 1
Number of Interfaces: 1
Attributes: 40
MaxPower Needed: 0mA

Interface Number: 0
Name: hub
Alternate Number: 0
Class: 09(hub )
Sub Class: 0
Protocol: 0
Number of Endpoints: 1

Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 8
Interval: 255ms
 
Old 11-25-2001, 06:13 AM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
If you install the kernel source rpm you will get all the Docs in /usr/src. Make sure the src.rpm version matches your kernel version. For general linux usb info go to linux-usb.org. For the printer do "modprobe printer" as root and add "/sbin/modprobe printer" to one of the files in "/etc/rc.d" you'll have to look for the one that has the other kernel modules in it. In slackware its called "/etc/rc.d/rc.modules" but could have a different name in redhat. After the "printer" module is installed do "printconf" as root to add the printer with the redhat wizard. More info on printconf here.

Last edited by Aussie; 11-25-2001 at 06:25 AM.
 
Old 11-25-2001, 11:39 AM   #7
zikfreak
LQ Newbie
 
Registered: Aug 2001
Location: France
Distribution: RH 7.2
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks a lot Aussie, I think that with all these information I'll find what I need ...

C U Later and maybe I'll reply one more time ( )
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB-Storage Camera recognized but no /dev/sda nwhite Linux - Hardware 12 04-23-2005 07:33 AM
/dev/usb/lp0 permissions problem Seth Kinast Linux - Hardware 3 10-27-2004 03:36 PM
/dev/lp0 not recognized tiagobt Linux - General 8 09-27-2004 01:26 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM
Printer problem: Couldn't open /dev/usb/lp0 deepika Linux - General 2 09-08-2003 10:25 AM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration