Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Reset USB after printer reattach?



Paul Goyette writes:
 > On Wed, 4 Dec 2013, Moritz Wilhelmy wrote:
 > 
 > > Hello,
 > >
 > > I occasionally turn my USB printer off and on again, after which it
 > > doesn't reattach to ulpt0 or show up in dmesg, same thing if I
 > > physically remove and reattach the USB cable. Rebooting fixes it, but
 > > I'd preferably not do that each time I reattach USB devices.
 > >
 > > Host machine is a Raspberry Pi running
 > > NetBSD raspi 6.99.24 NetBSD 6.99.24 (RPI) #0: Wed Oct  2 13:06:35 UTC 2013 
 > >  
 > > builds%b6.netbsd.org@localhost:/home/builds/ab/HEAD/evbarm-earmhf/201310020850Z-obj/home/builds/ab/HEAD/src/sys/arch/evbarm/compile/RPI
 > >  evbarm
 > >
 > > Printer is a Samsung CLX 3185.
 > >
 > > Any ideas how to force-reset USB?
 > 
 > Have you tried
 > 
 >      drvctl -s <parent device>
 > 
 > ??
 > 

I have a similar problem and tried:

root%asus.immnet.dk@localhost:/root # drvctl -l uhub5
uhub5 ulpt0
uhub5 uhub8
root%asus.immnet.dk@localhost:/root # drvctl -s uhub5
drvctl: unknown option -- s
Usage: drvctl -r [-a attribute] busdevice [locator ...]
       drvctl -d device
       drvctl [-nt] -l [device]
       drvctl [-n] -p device [prop]
       drvctl -Q device
       drvctl -R device
       drvctl -S device
root%asus.immnet.dk@localhost:/root # 

Is the switch you are suggesting a typo?
Or am I using the command incorrectly?

Kind regards
  Ib-Michael
-- 
Email: i.m.martinsen(at)gmail.com
Running NetBSD/i386 v6.0

      The ASCII Ribbon Campaign
()     No HTML/RTF in email
/\     No Word docs in email
      Respect for open standards


Home | Main Index | Thread Index | Old Index