Score:0

Brother printer dissapears from lsusb - force USB replug

pf flag

I have old Brother printer - DCP-8060.

I successfully installed it, it prints, there's a problem with scanner, but this is not subject of this issue.

My printer simply dissapears from lsusb (it looks like that problem starts when printer go to sleep). Even if I replug usb cable (different usb ports), reboot printer, reboot OS - still no visible. Sometimes after multiple tries it magically shows in lsusb.

Cable is good, because on Windows this works fine.

I run Debian 11, fresh installation, HP Prodesk G4 Mini.

Is there any commands which can force replug (On Raspberry Pi there was something like turn off/turn on whole usb hub)?

in flag
Debian is off topic here, but [this answer](https://askubuntu.com/a/750455/1222991) might get you started on a USB reset.
Score:0
st flag

Probably not compatible with USB suspend modes at all, and that's likely the only problem. lsusb and get the bus and device numbers of the printer, then:

sudo echo "off" > /sys/bus/usb/device/usb1/1-3/power/control

If that works, you'll have to enter it into /etc/rc.local so that it keeps redoing it every time the machine boots. In this example "1" is the bus number, "3" is the device - You will have to modify that for whatever your lsusb displays. At least that should allow you to test. You can disable usb suspend for the whole kernel by passing arguments via grub command line, but I would avoid that. It saves a lot of power use, and often there is only one or two devices that don't work well will the feature.

You may have to use usbreset [device id from lsusb like NNNN:NNNN] to get it to un-funk itself long enough or you to disable the usb suspend on the port. The only downside here is that you will have to keep using the same port on your computer with the printer.

Krukosz avatar
pf flag
When I tried to usbreset this printer I realized that when I touch plug - dmesg produces a lot of plug/unplug. I switched cable and now this problem is solved.
sean avatar
st flag
@Krukosz Glad to hear you're now working. But, keep the other info in mind for later. You'll probably see it again. :D
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.