LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-02-2017, 12:32 PM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 229

Rep: Reputation: Disabled
Close USB port via command line


Hi
Have a challenging project where I am trying to manipulate an MTP device (a camera) via the command line.
Unfortunately, when this camera is connected via USB, it becomes 'locked' and no other camera functionality is available.

I was wondering if there might be a way to simulate a disconnected USB by somehow closing that USB port via the command line.
 
Old 01-02-2017, 12:49 PM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Xubuntu
Posts: 5,432

Rep: Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891Reputation: 1891
I think this may be what you need:
http://askubuntu.com/questions/34206...-off-usb-ports
 
  


Reply

Tags
mtp, usb


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to close "any" application cleanly from command line pponnath Red Hat 5 06-23-2011 07:18 PM
How to open and close ports on command line ? uncle-c Linux - Newbie 1 02-08-2008 11:23 AM
How to close terminal window when launching app from command line Casket Linux - Newbie 8 11-02-2007 07:05 AM
change serial port IO addresses by command line powah Linux - Hardware 1 08-01-2006 08:55 AM
Close Cdrom from command line? mikeshn Linux - Hardware 6 08-17-2003 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:22 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration