From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 13 Oct 2009 19:34:30 +0200 Message-ID: <8ccc8ba40910131034q18c7990dn38b2dbff5704526c@mail.gmail.com> From: Francisco J Ballesteros To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] usb/print problem since last update Topicbox-Message-UUID: 859b8760-ead5-11e9-9d60-3106f5b1d025 Have you updated your kernel? We increased the size of the max ctl request in both the usb library and also in usb[ueo]hci.c You seem to have a new library but an old kernel. The library is asking for more max size than the kernel can afford now. I'm sorry, I should have teached the kernel how to cope with old sizes. In the mean time, it's easier if you recompile your kernel. On Tue, Oct 13, 2009 at 7:31 PM, Akshat Kumar wrote: > Last time I played with printing, was quite a while > before the last update to usb/print (apparently Sep. > 25). And stuff worked back then. > > Here's the output now: > > cpu% usb/print > usb/print: startdevs: opening #0 /dev/usb/ep7.0 > usb/print: /dev/usb/ep7.0: config: d2h data too large to fit in uhci > usb/print: no device found > > and what does the ctl see? > > cpu% cat /dev/usb/ep7.0/ctl > enabled control rw speed full maxpkt 8 pollival 0 samplesz 0 hz 0 hub > 4 port 1 idle > 255 csp 0x00ccff csp 0x020107 csp 0x00d4ff vid 0x03f0 did 0x4f11 HP > 'Officejet 5600 series' > > Using the backup, usb/_print from July 28, stuff still > works (there's a usable /dev/lp^$n device for printing > and no error). > > > Best, > ak > >