----- Reply message -----
From: "Serge Hallyn" <email address hidden>
Date: Thu, May 26, 2011 01:10
Subject: [Bug 787091] Re: Unable to use USB device in KVM quest
To: <email address hidden>
Thanks for taking the time to submit this bug and helping to make Ubuntu
better.
dmesg has no more apparmor errors, so it is not likely the cause of the
permission denial. But libvirt is supposed to change the ownership of
the usb device so that libvirt can access it. So I'm not sure what is
causing this.
Could you append your /etc/libvirt/qemu.conf file, and
/var/log/libvirt/qemu/VM.log where VM is the name of the libvirt vm and
the result of 'ls -l /dev/bus/usb/001/004'.
** Changed in: qemu-kvm (Ubuntu)
Status: New => Incomplete
Status in “qemu-kvm” package in Ubuntu:
Incomplete
Bug description:
Binary package hint: qemu-kvm
Ubuntu 10.04 Server:
I have been trying for some considerable time to get a Windows XP
guest to recognise a USB Canon printer. I have searched google
endlessly and applied a number of changes to apparmor profiles. I am
still not able to get the guest to recognise that there a USB device
attached. I was originally getting repeated messages in kern.log as
below but the apparmor changes did resolve these:
I am now left with messages in the VM log file as follows which I
cannot find a solution for:
char device redirected to /dev/pts/5
usb_create: no bus specified, using "usb.0" for "usb-host"
husb: open device 1.4
/dev/bus/usb/001/004: Operation not permitted
husb: open device 1.4
/dev/bus/usb/001/004: Operation not permitted
husb: open device 1.4
This is a fairly basic requirement and hopefully a solution already exists.
Serge,
Have added attachments as requested
Regards
Roy
Roy Carter
- Sent from mobile phone -
----- Reply message -----
From: "Serge Hallyn" <email address hidden>
Date: Thu, May 26, 2011 01:10
Subject: [Bug 787091] Re: Unable to use USB device in KVM quest
To: <email address hidden>
Thanks for taking the time to submit this bug and helping to make Ubuntu
better.
dmesg has no more apparmor errors, so it is not likely the cause of the
permission denial. But libvirt is supposed to change the ownership of
the usb device so that libvirt can access it. So I'm not sure what is
causing this.
Could you append your /etc/libvirt/ qemu.conf file, and libvirt/ qemu/VM. log where VM is the name of the libvirt vm and usb/001/ 004'.
/var/log/
the result of 'ls -l /dev/bus/
** Changed in: qemu-kvm (Ubuntu)
Status: New => Incomplete
-- /bugs.launchpad .net/bugs/ 787091
You received this bug notification because you are a direct subscriber
of the bug.
https:/
Title:
Unable to use USB device in KVM quest
Status in “qemu-kvm” package in Ubuntu:
Incomplete
Bug description:
Binary package hint: qemu-kvm
Ubuntu 10.04 Server:
I have been trying for some considerable time to get a Windows XP
guest to recognise a USB Canon printer. I have searched google
endlessly and applied a number of changes to apparmor profiles. I am
still not able to get the guest to recognise that there a USB device
attached. I was originally getting repeated messages in kern.log as
below but the apparmor changes did resolve these:
May 22 08:01:51 vmserver kernel: [424696.858434] type=1503 1306047711. 654:81239) : operation="open" pid=19695 parent=1 "libvirt- 629433c8- 3714-561b- 8e91-4a8a9bb65b 9f" mask="r: :" denied_mask="r::" fsuid=0 ouid=0 "/sys/devices/ pci0000: 00/0000: 00:05.0/ 0000:02: 00.0/usb8/ devnum"
audit(
profile=
requested_
name=
I am now left with messages in the VM log file as follows which I
cannot find a solution for:
char device redirected to /dev/pts/5 bus/usb/ 001/004: Operation not permitted bus/usb/ 001/004: Operation not permitted
usb_create: no bus specified, using "usb.0" for "usb-host"
husb: open device 1.4
/dev/
husb: open device 1.4
/dev/
husb: open device 1.4
This is a fairly basic requirement and hopefully a solution already exists.
ProblemType: Bug 0ubuntu16+ 0.12.3+ noroms+ 0ubuntu9. 6 gnature: Ubuntu 2.6.32-31.61-server 2.6.32.32+drm33.14 Modules: fglrx
DistroRelease: Ubuntu 10.04
Package: kvm 1:84+dfsg-
ProcVersionSi
Uname: Linux 2.6.32-31-server x86_64
NonfreeKernel