LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 09-17-2012, 02:57 PM   #1
the-cod1379
LQ Newbie
 
Registered: Aug 2010
Location: kettering
Distribution: non yet
Posts: 9

Rep: Reputation: 0
VM cannot set up python to use usb port


Cannot access a usb peripheral from my set-up
I am running Oracle Virtualbox on a Toshiba laptop running Microsoft Vista. I have used the Debian LiveCD iso file, which contains Python 2.6.6
I want to control a digital input/output card, which has a usb connection.
The card I can detect from the system using lsusb but I need help to set up python to use the USB ports.

Last edited by the-cod1379; 09-18-2012 at 04:24 AM. Reason: unclear specification of virtualization system
 
Old 09-18-2012, 01:38 AM   #2
ghstridr
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 0
You haven't mentioned what virtualization software you are using to host the debian guest.
 
Old 09-18-2012, 04:11 AM   #3
the-cod1379
LQ Newbie
 
Registered: Aug 2010
Location: kettering
Distribution: non yet
Posts: 9

Original Poster
Rep: Reputation: 0
Hi,

Oracle VM Virtualbox. I am following two articles in the Raspberry Pi "Magpi " magazine
 
Old 09-18-2012, 07:49 AM   #4
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 182

Rep: Reputation: 24
I don't know if this will be of any help, but in Virtual Box you have to enable USB devices from the VM menu in order for the guest OS to recognize and use them in the GUI (even though you may see them listed using lsusb).
 
Old 09-18-2012, 11:31 AM   #5
tmarrero1234
LQ Newbie
 
Registered: Nov 2011
Location: Naguabo, PR
Distribution: Mageia
Posts: 4

Rep: Reputation: 0
Also, make sure you installed Oracle VM VirtualBox Extension Pack so you can have support for USB 2.0 inside VirtualBox VMs (Virtual Machines).
 
Old 09-18-2012, 02:41 PM   #6
the-cod1379
LQ Newbie
 
Registered: Aug 2010
Location: kettering
Distribution: non yet
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gacanepa View Post
I don't know if this will be of any help, but in Virtual Box you have to enable USB devices from the VM menu in order for the guest OS to recognize and use them in the GUI (even though you may see them listed using lsusb).
yes I have the USB device in the VM menu
 
Old 09-18-2012, 02:42 PM   #7
the-cod1379
LQ Newbie
 
Registered: Aug 2010
Location: kettering
Distribution: non yet
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tmarrero1234@gmail.com View Post
Also, make sure you installed Oracle VM VirtualBox Extension Pack so you can have support for USB 2.0 inside VirtualBox VMs (Virtual Machines).
Yes I have that in the vm system
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] where is default python set? splintercdo Slackware 4 02-14-2011 02:27 PM
accessing a parallel port from python Greebstreebling Programming 1 12-25-2008 04:33 AM
How do I access usb port properties. I need to set permissions. sjpiv44 Suse/Novell 7 12-12-2008 11:55 AM
Why is there a python listening on port 32769? cwhh Debian 11 10-23-2006 02:27 AM
Python Parellel Port Programming pembo13 Programming 2 10-26-2004 06:43 PM


All times are GMT -5. The time now is 12:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration