From: Avi Kivity <avi@redhat.com>
To: "André Roth" <lynx@netlabs.org>
Cc: kvm@vger.kernel.org
Subject: Re: USB Printer does not work
Date: Sun, 04 Jan 2009 15:30:10 +0200 [thread overview]
Message-ID: <4960B9E2.5080402@redhat.com> (raw)
In-Reply-To: <20090102175029.70fd5acf@pion.galaxy>
André Roth wrote:
> Hello List,
>
> I'm using kvm-82 and I'm trying to attach a HP 1200 per USB to my guest 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 catting text to the device.
>
> 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) = 3
> ioctl(3, SNDCTL_DSP_SYNC, 0x7fff90018760) = -1 EIO (Input/output error)
>
> Specifying the device manually does not work either. On the host system
> this works without problems. The CPU is an Intel Core2 Quad Q9300.
>
> How can I further debug this ?
>
An messages in dmesg?
Though I'm afraid I know very little about USB. You might try the qemu
list.
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2009-01-04 13:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-02 16:50 USB Printer does not work André Roth
2009-01-04 13:30 ` Avi Kivity [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4960B9E2.5080402@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=lynx@netlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.