LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-27-2003, 09:50 PM   #1
TSloth
Member
 
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Rep: Reputation: 15
Question USB Printer not found - Mandrake 9.1, HP DeskJet 960c


I installed Mandrake Linux 9.1 a few days ago. It did not detect my USB-connected HP DeskJet 960c. It said there were no local printers. I tried to install it using CUPS localhost:631, which allowed me to install it on usb:/dev/usblp0. There is no such device in /dev. There are no devices in directory /dev/usb. usbview shows 4 usb interfaces but no devices. The printer was connected and powered on when I installed Mandrake, and was connected and powered on when I last booted. Any specific pointers would be greatly appreciated... the install is of no use without the ability to print!

Or, can anyone recommend a distro that works with a USB printer? Hopefully HP DeskJet.

Thanks in advance,
- TSloth
 
Old 04-27-2003, 10:10 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Check to see if all the modules are loaded, do 'lsmod' (as root) and look for a printer entry, if it's not there load it with 'modprobe printer' and then do 'dmesg | grep printer', look for something like this'
Code:
root@aptiva:~# dmesg | grep printer
printer.c: usblp0: USB Unidirectional printer dev 3 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0304
Thats for my HP Deskjet 810c.
 
Old 04-28-2003, 10:40 AM   #3
TSloth
Member
 
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Original Poster
Rep: Reputation: 15
Aussie,
Thanks for the quick reply.
The modules appear to be loaded (but unused?)
Here are some lines from lsmod:

usb-storage 72952 0 (unused)
scsi_mod 103284 2 [sr_mod ide-scsi usb-storage]
printer 8448 0
ehci-hcd 18568 0 (unused)
usb-uhci 24652 0 (unused)
usbcore 72992 1 [usb-storage printer ehci-hcd usb-uhci]

dmesg shows lots of usb-related lines, but none indicate finding a device out there. I do have this line:
printer.c: v0.11: USB Printer Device Class driver

CUPS thinks my printer is at usb:/dev/usblp0. There was no such device, so I created /dev/usb/lp0 to look like this:
crw-rw---- 1 lp sys 180, 0 Apr 28 10:02 lp0
and created a symbolic link called /dev/usblp0 to point to this device.

This hasn't helped. Am I on the right track?

- TSloth
 
Old 04-28-2003, 05:55 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Double ckeck your cables and post the output of "lspci -vv".
 
Old 04-28-2003, 09:58 PM   #5
TSloth
Member
 
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Original Poster
Rep: Reputation: 15
Aussie,
Did you mean lspci -v ?

[root@localhost cups]# lspci -v
00:00.0 Host bridge: VIA Technologies, Inc. VT8375 [KM266] Host Bridge
Subsystem: VIA Technologies, Inc. VT8375 [KM266] Host Bridge
Flags: bus master, 66Mhz, medium devsel, latency 8
Memory at e8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2

00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: ec000000-edffffff
Prefetchable memory behind bridge: e0000000-e7ffffff
Capabilities: [80] Power Management version 2

00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Biostar Microtech Int'l Corp: Unknown device 00b2
Flags: bus master, medium devsel, latency 32, IRQ 19
I/O ports at d000 [size=256]
Memory at ef000000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at <unassigned> [disabled] [size=64K]

00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. USB
Flags: bus master, medium devsel, latency 32, IRQ 16
I/O ports at d400 [size=32]
Capabilities: [80] Power Management version 2

00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. USB
Flags: bus master, medium devsel, latency 32, IRQ 17
I/O ports at d800 [size=32]
Capabilities: [80] Power Management version 2

00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: VIA Technologies, Inc. USB
Flags: bus master, medium devsel, latency 32, IRQ 18
I/O ports at dc00 [size=32]
Capabilities: [80] Power Management version 2

00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
Subsystem: VIA Technologies, Inc. USB 2.0
Flags: bus master, medium devsel, latency 32, IRQ 19
Memory at ef001000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
Subsystem: VIA Technologies, Inc. VT8235 ISA Bridge
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2

00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: VIA Technologies, Inc. VT8235 Bus Master ATA133/100/66/33 IDE
Flags: bus master, medium devsel, latency 32, IRQ 16
I/O ports at e000 [size=16]
Capabilities: [c0] Power Management version 2

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
Subsystem: Realtek Semiconductor Co., Ltd.: Unknown device 4710
Flags: medium devsel, IRQ 18
I/O ports at e400 [size=256]
Capabilities: [c0] Power Management version 2

01:00.0 VGA compatible controller: S3 Inc. [ProSavageDDR K4M266] (prog-if 00 [VGA])
Subsystem: S3 Inc. [ProSavageDDR K4M266]
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 16
Memory at ed000000 (32-bit, non-prefetchable) [size=512K]
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [dc] Power Management version 2
Capabilities: [80] AGP version 2.0
 
Old 04-28-2003, 10:15 PM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
The problem may be a conflict between the usb1 and usb2 controllers (ohci and ehci), try it with each one on it's own and see if that helps.
 
Old 04-30-2003, 10:56 PM   #7
TSloth
Member
 
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Original Poster
Rep: Reputation: 15
I am away from my linux system for several days and will check into this more when I get back.
Thanks for all your help.

- TSloth
 
  


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
Knoppix - problem in setup HP Deskjet 5740 USB printer satimis Linux - Distributions 3 06-07-2005 07:32 AM
Can't install DeskJet 960C on Slackware... just about to pick up my sledgehammer... MuD Linux - Hardware 2 02-16-2005 05:15 PM
can't send to Deskjet 3820 usb printer sjgold Linux - Hardware 0 10-03-2004 08:47 PM
HP Deskjet 3322 and Debian Testing - USB device not found? OwlManAtt Linux - Hardware 1 05-15-2004 09:29 AM
how to configure HP Deskjet 3325 USB PRINTER AND ACER 3300 USB SCANNER ON RHL 8.0 rddreamz Linux - Newbie 2 07-12-2003 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:39 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