LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-20-2007, 05:42 PM   #1
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
HP Photosmart C5280 - no device found


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.

Mikie
 
Old 08-22-2007, 03:27 AM   #2
BruceCadieux
Member
 
Registered: Apr 2002
Location: Wales MA.
Distribution: openSuSE 11.1
Posts: 409

Rep: Reputation: 32
Had the same problem with the last two versions of hplip.

Run hp-toolbox as root and you will see it works just fine. The device permissions need to be changed.

On my system the device was /dev/bus/usb/001/002. You can find which device it is by checking it's permissions, it will be in the lp group.

Change the permissions on the device "sudo chmod a+w /dev/bus/usb/001/002", then try to run hp-toolbox as user, it should now work.
 
Old 08-26-2007, 04:28 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Code:
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.
 
Old 08-26-2007, 04:44 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Your printer appears to be supported, after reading these two pages:
HPLIP Supported Devices (Photosmart C5200 Series)
Linux Foundation OpenPrinting database - Printer: HP PhotoSmart C5200

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.
 
Old 08-26-2007, 05:50 AM   #5
BruceCadieux
Member
 
Registered: Apr 2002
Location: Wales MA.
Distribution: openSuSE 11.1
Posts: 409

Rep: Reputation: 32
Quote:
Originally Posted by Bruce Hill View Post
Code:
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.
 
Old 08-26-2007, 05:02 PM   #6
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
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?
 
Old 08-26-2007, 05:04 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Do other devices work through that USB 2.0 port?
Does that USB 2.0 port show up in "lspci"?
 
Old 08-26-2007, 05:09 PM   #8
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
The output of "lspci":
Quote:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760/761 PCI/AGP VGA Display Adapter
I'll have to find another USB2.0 device and try the port.
 
Old 08-26-2007, 05:50 PM   #9
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
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.
 
Old 08-26-2007, 05:56 PM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 08-26-2007, 06:27 PM   #11
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
OK done. The output of tail -f /var/log/messages:

Quote:
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
So there is no change when I plug into the USB2.0
 
Old 08-26-2007, 06:35 PM   #12
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
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?
 
Old 08-28-2007, 06:46 AM   #13
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Original Poster
Rep: Reputation: 33
Smile

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.

Many thanks for your replies,

Mikie.
 
  


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
Port:0x180 failed (device not found ) Port:0 failed (device not found ) aaliya Linux - Hardware 0 10-05-2006 05:46 AM
No valid device were found...... burnaws Linux - Software 3 08-22-2006 07:12 AM
ALI-M5451 Laptop Soundcard >>No such device>>Device Not Found>No Pipeline Balarabay1 Linux - Hardware 1 02-21-2006 12:54 PM
UL 1.0 GRUB: could not find device for /boot: not found or not a block device cma Linux - General 4 12-12-2005 03:35 AM
Device for HP Photosmart 735? eurleif Linux - Hardware 2 12-17-2003 04:12 PM

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

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