LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 11:32 AM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

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, 11:49 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

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


Reply

Tags
mtp, usb



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 06:18 PM
How to open and close ports on command line ? uncle-c Linux - Newbie 1 02-08-2008 10:23 AM
How to close terminal window when launching app from command line Casket Linux - Newbie 8 11-02-2007 06:05 AM
change serial port IO addresses by command line powah Linux - Hardware 1 08-01-2006 07:55 AM
Close Cdrom from command line? mikeshn Linux - Hardware 6 08-17-2003 12:41 PM

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

All times are GMT -5. The time now is 09:21 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
Open Source Consulting | Domain Registration