From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <-1335283861020491921@unknownmsgid> Date: Tue, 6 Jul 2010 10:02:44 +0200 Message-ID: From: Francisco J Ballesteros To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] printing over usb Topicbox-Message-UUID: 3ccf9e94-ead6-11e9-9d60-3106f5b1d025 Yes. You might start with -d flags to usbd or issuing a debug ctl (see the man page) to see what's the error. On Tue, Jul 6, 2010 at 12:23 AM, James Chapman wrote: > Hi, > > I 'solved' the problem by attaching the printer to my apple airport > express. Now I can print from plan9 using this neat trick I found > whilst digging in 9fans: > > term% cat test.ps | telnet tcp!express.lan!9100 > connected to tcp!express.lan!9100 on /net/tcp/2 > > I'd still like to be able to directly connect with usb. I will try > with native plan 9 instead of under vmware fusion and also try a > different printer to see if I get different results. > > Is there some extra extra debugging I can enable to see what's going > on with the usb devices? > > Best wishes, > > James Chapman > > > On Sun, Jul 4, 2010 at 12:31 AM, James Chapman wrote: >> On Sun, Jul 4, 2010 at 12:08 AM, franciscojose ballesteros >> wrote: >>> Ep4.0 does not look like the place to send data. It's probably the cont= rol ep. >>> for the printer. IIRC, the driver adds a file named lp something, but I= 'm not >>> sure. Try to look at /dev to see if there's a file there. >> >> term% du -ah /dev | grep lp >> >> yields only this: >> >> 1k =C2=A0 =C2=A0 =C2=A0/dev/lpt1dlr >> 1k =C2=A0 =C2=A0 =C2=A0/dev/lpt1psr >> 0 =C2=A0 =C2=A0 =C2=A0 /dev/lpt1pcr >> 0 =C2=A0 =C2=A0 =C2=A0 /dev/lpt1data >> >>> Otherwise it could be something like ep4.1 >> >> I don't seem to have an ep4.1: >> >> term% usb/probe >> ep1.0 roothub csp 0x000009 ports 2 uhci >> ep2.0 roothub csp 0x000009 ports 6 ehci >> ep3.0 hub csp 0x000009 ports 7 none uhci >> ep4.0 printer csp 0x030107 csp 0x010107 vid 0x03f0 did 0x1017 >> Hewlett-Packard 'hp LaserJet 1300' uhci >> >> James >> > >