Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HP p1005 USB /dev/bus/usb/002/006 is changing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gangstervano
n00b
n00b


Joined: 15 Aug 2016
Posts: 38

PostPosted: Sat Aug 19, 2017 1:15 pm    Post subject: HP p1005 USB /dev/bus/usb/002/006 is changing Reply with quote

Hi!

When you turn on/off the HP p1005 USB printer its number in /dev/bus/usb/002/ is changing.

For example, when you turn on the PC:
Code:
/dev/bus/usb/002/006


If you turn off the printer and then turn it on, it will:
Code:
/dev/bus/usb/002/007

If you turn the printer off again and then turn it on, it will:
Code:
/dev/bus/usb/002/008


etc.

Code:
/dev/bus/usb/002/009
/dev/bus/usb/002/010
/dev/bus/usb/002/011
...


The printer only works when it is turned on for the first time, when /dev/bus/usb/002/006.

If you turn it off and then turn it on, the tray will say that everything prints well, but in fact the printer does not print anything :( In this case /dev/bus/usb/002/006 has already changed to /dev/bus/usb/002/007.

Is there any way to make sure that one number /dev/bus/usb/002/006 is always pushed when turning on and off the printer?

P.S. Installed and correctly configured packages hplip and cups
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7074
Location: almost Mile High in the USA

PostPosted: Sun Aug 20, 2017 3:52 am    Post subject: Reply with quote

I thought that actually is normal behavior, every time you plug a new device in, it gets assigned a new minor number. Not only that, you might get 005 or something if you removed a USB device before starting up with the printer attached?

In any case, I would have thought hplip/cups would take that into account... odd. I don't use hplip or a usb printer so I'm not sure what the behavior is, though I haven't heard complaints from someone I know who does...

As an experiment, if you restart cups/hplip, does it restore operation (not that this is the proper way to work around the problem...)

Also make sure you're using the right driver, libusb or the kernel usb-printer driver, you might need to blacklist/remove the USB printer driver.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum