LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-26-2010, 06:19 AM   #1
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Rep: Reputation: 96
usb with qemu-kvm on Slackware 13.1


I don't know how much experience anyone here has with qemu-kvm, but I'm trying to get it to talk to my USB mouse. Here's the command:

Code:
gene@bruce:~/.qemu-kvm$ qemu-system-x86_64 -hda vms/ubuntu_disk.img -m 1024 -net user -net nic,model=e1000 -vga std -cdrom /home/gene/.qemu-kvm/ubuntu-10.10-desktop-amd64.iso -boot d -usbdevice host:046d:c50e
And here is what I get:

Code:
husb: open device 4.2
/dev/bus/usb/004/002: Permission denied
Any ideas?
 
Old 12-26-2010, 08:40 AM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
I use the same USB mouse for my standard desktop and it activates for any KVM desktops. Normally I just use the "-usb" command option.

When I use other USB devices like flash drives I get a similar permission response as you got. If that's the case, as root, my notes are "chown -R my_user:root /proc/bus/usb" Then I switch to the KVM monitor method of access and run "info usbhost" to get the mac address then use that mac address "usb_add host:mac1:mac2" in the monitor.
 
Old 12-27-2010, 01:42 PM   #3
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Quote:
Originally Posted by Chuck56 View Post
I use the same USB mouse for my standard desktop and it activates for any KVM desktops. Normally I just use the "-usb" command option.

When I use other USB devices like flash drives I get a similar permission response as you got. If that's the case, as root, my notes are "chown -R my_user:root /proc/bus/usb" Then I switch to the KVM monitor method of access and run "info usbhost" to get the mac address then use that mac address "usb_add host:mac1:mac2" in the monitor.
What's this KVM monitor thing?
 
Old 12-27-2010, 03:17 PM   #4
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Problem solved by running the command with -usbdevice tablet.
 
Old 12-27-2010, 06:21 PM   #5
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by 2handband View Post
What's this KVM monitor thing?
I used the wrong term. It's actually the QEMU monitor thing.

http://wiki.qemu.org/download/qemu-d...ys_005fmonitor

Last edited by Chuck56; 12-27-2010 at 06:37 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while installing qemu (qemu-kvm-0.13.0) in rhel 5.3 birla.sunil Linux - Virtualization and Cloud 2 10-19-2010 03:56 AM
USB Passthrough Problem with KVM/QEMU on FC12 wdsnyc Linux - Virtualization and Cloud 1 02-23-2010 09:49 PM
[SOLVED] Qemu kvm : No eth0 inside a Slackware-13.0 guest, although listed in lspci and lsmod Linux.tar.gz Slackware 9 02-08-2010 06:36 PM
On qemu-kvm, qemu-ifup script not found on Slackware 13 AndrewGaven Linux - Virtualization and Cloud 14 01-29-2010 03:36 AM
emulate slackware install over serial console using kvm/qemu [GOD]Anck Slackware 5 04-05-2009 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration