From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: USB Printer does not work Date: Sun, 04 Jan 2009 15:30:10 +0200 Message-ID: <4960B9E2.5080402@redhat.com> References: <20090102175029.70fd5acf@pion.galaxy> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: =?UTF-8?B?QW5kcsOpIFJvdGg=?= Return-path: Received: from mx2.redhat.com ([66.187.237.31]:48396 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751623AbZADNaQ (ORCPT ); Sun, 4 Jan 2009 08:30:16 -0500 In-Reply-To: <20090102175029.70fd5acf@pion.galaxy> Sender: kvm-owner@vger.kernel.org List-ID: Andr=C3=A9 Roth wrote: > Hello List, > > I'm using kvm-82 and I'm trying to attach a HP 1200 per USB to my gue= st system (Debian/lenny, 2.6.26-1-amd64). This works so far, the usblp = module is loaded and I get a /dev/usb/lp0. I can print text/plain by ca= tting text to the device.=20 > > But using CUPS, the device is not detected due to a failing ioctl: > > # strace /usr/lib/cups/backend/usb 2>&1 | grep error\\\|lp0 -i > ... > open("/dev/usb/lp0", O_RDWR|O_EXCL) =3D 3 > ioctl(3, SNDCTL_DSP_SYNC, 0x7fff90018760) =3D -1 EIO (Input/output= error) > > Specifying the device manually does not work either. On the host syst= em > this works without problems. The CPU is an Intel Core2 Quad Q9300. > > How can I further debug this ? > =20 An messages in dmesg? Though I'm afraid I know very little about USB. You might try the qemu= =20 list. --=20 error compiling committee.c: too many arguments to function