Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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've downloaded and installed the latest HPLIP driver for a HP Photosmart C5280 but when I run hp-setup I get an error message "no device found". I've done all the obvious things such as checking the connection and making sure the printer is on. I've also tried to configure CUPS first but the device isn't found in CUPS either.
The output of lsusb is:
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 002: ID 04cc:1122 Philips Semiconductors Hub
Bus 002 Device 003: ID 04fc:0003 Sunplus Technology Co., Ltd CM1092 Optical Scroller Mouse
Bus 002 Device 001: ID 0000:0000
I'm stumped here as the printer works perfectly in Windows. Any help would be appreciated.
root@silas:~# hp-toolbox
HP Linux Imaging and Printing System (ver. 1.6.10)
HP Device Manager ver. 6.3
Copyright (c) 2003-6 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
hp-toolbox: cannot connect to X server
It is not recommended to run X as root. HPLIP works run as a regular user here ...
Last edited by Bruce Hill; 08-26-2007 at 04:47 AM.
What version of CUPS are you running? Mine is v1.1.23 and does not contain the .ppd file for that printer, but the Linux Foundation has a link to download it.
Perhaps if you navigate to their site, there's enough information to help you get it working.
root@silas:~# hp-toolbox
HP Linux Imaging and Printing System (ver. 1.6.10)
HP Device Manager ver. 6.3
Copyright (c) 2003-6 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
hp-toolbox: cannot connect to X server
It is not recommended to run X as root. HPLIP works run as a regular user here ...
Works great for me too with my all in one 3210, but my USB D5160 just wasn't working correctly in the last two versions of hplip. Have been seeing this in a few forums recently.
Running hplip as root is just to check if it works, indeed it does. So it comes down to a permission problem.
Changing permission on the device is so far the only solution I can find that works and makes hplip usable in my user account.
I've now got the C5280 working but only through a USB1.1 hub.
I had tried the above tips to no avail. However, I looked again at the output of lsusb and could see that, while the printer wasn't detected, my USB1.1 hub and mouse were. So I connected the printer via the hub, ran hp-setup and it all worked.
The printer works very well with excellent print and scan quality. Despite the USB1.1 connection it is really pretty quick but for some reason, the device still isn't detected when I connect it through a USB2.0 port.
Has anyone any ideas why this might be so?
OK. This is the output of lsusb after connecting a Lexar Jump Drive to the USB2.0 port:
Quote:
Bus 003 Device 003: ID 05dc:a300 Lexar Media, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 04fc:0003 Sunplus Technology Co., Ltd CM1092 Optical Scroller Mouse
Bus 002 Device 002: ID 04cc:1122 Philips Semiconductors Hub
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
And this is the relevant output of dmesg | less:
Quote:
usb 3-6: new high speed USB device using ehci_hcd and address 3
usb 3-6: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 0:0:0:0: Direct-Access Generic STORAGE DEVICE 1.25 PQ: 0 ANSI: 0
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
usb 3-6: reset high speed USB device using ehci_hcd and address 3
usb 3-6: reset high speed USB device using ehci_hcd and address 3
usb 3-6: reset high speed USB device using ehci_hcd and address 3
usb 3-6: reset high speed USB device using ehci_hcd and address 3
usb 3-6: reset high speed USB device using ehci_hcd and address 3
usb 3-6: reset high speed USB device using ehci_hcd and address 3
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
usb 3-6: reset high speed USB device using ehci_hcd and address 3
usb 3-6: reset high speed USB device using ehci_hcd and address 3
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00
sda: assuming drive cache: write through
sda: sda1
sd 0:0:0:0: Attached scsi removable disk sda
There doesn't seem to be much doubt about that Jump Drive being found.
That is a bit strange. Though I have no advice, can you post the dmesg output you get when plugging the printer in? You might want to watch yourself by issuing "tail -f /var/log/messages" as root in a term.
Aug 27 00:20:48 titanium kernel: usb 3-2: new high speed USB device using ehci_hcd and address 125
Aug 27 00:21:35 titanium kernel: usb 3-2: new high speed USB device using ehci_hcd and address 2
Aug 27 00:22:47 titanium kernel: usb 3-2: new high speed USB device using ehci_hcd and address 13
Aug 27 00:23:13 titanium kernel: usb 3-2: new high speed USB device using ehci_hcd and address 27
Aug 27 00:23:15 titanium kernel: usb 3-2: new high speed USB device using ehci_hcd and address 41
Aug 27 00:23:24 titanium python: hp-toolbox[4801]: warning: Device not found
Aug 27 00:23:24 titanium python: hp-toolbox[4801]: warning: Device not found
And the output of dmesg | less:
Quote:
usb 3-2: new high speed USB device using ehci_hcd and address 125
usb 3-2: new high speed USB device using ehci_hcd and address 2
This is weird. Now when I run hp-toolbox as root the device seems to be recognized and yet I still get "device not found". The output of hp-toolbox:
Quote:
HP Linux Imaging and Printing System (ver. 2.7.7)
HP Device Manager ver. 10.0
Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C5200_series?serial=MY73KBC0PP04XQ
warning: Device not found
error: Unable to communicate with device (code=12): hp:/usb/Photosmart_C5200_series?serial=MY73KBC0PP04XQ
warning: Device not found
Makes no sense! How can it recognize a device it can't find?
I appear to have got the printer working. I recompiled my kernel, getting rid of the parallel port module and saying yes (not M) to UHCI and EHCI. When I rebooted, the printer was found. I can't explain this only to say that on reboot I no longer saw the message that CUPS was initializing on lp0 (which I believe was assigned to parallel port).
Anyway, what works works and I can get on with other things now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.