Go to advanced search

by sameenashaikh29
Mon Apr 09, 2018 11:44 am
Forum: Python
Topic: Control USB port Enable / Disable
Replies: 7
Views: 2563

Re: Control USB port Enable / Disable

Anyone else on the forum who has resolved this issue or who has worked on this might be able to help me
by sameenashaikh29
Mon Apr 09, 2018 11:08 am
Forum: Python
Topic: Control USB port Enable / Disable
Replies: 7
Views: 2563

Re: Control USB port Enable / Disable

Hi, Have you figured this out.. I am trying to do the same thing. I want to disable the usb ports, clic photos through the camera and then enable the usb port to access the sd card.. I want to do it through python programming on my raspberry pi. Can you help me with this Hoping for a quick response ...
by sameenashaikh29
Fri Apr 06, 2018 12:38 pm
Forum: Advanced users
Topic: Raspberry Pi B+ turn usb power off
Replies: 46
Views: 84882

Re: Raspberry Pi B+ turn usb power off

What i am trying to do I need to power off the usb so that i can click pictures from my camera and i click pictures once its powered off and then power on back the usb so that i can access the images on my raspberry pi. But these commands when used in code aren't working. I have tried using subproce...
by sameenashaikh29
Fri Apr 06, 2018 12:37 pm
Forum: Advanced users
Topic: Raspberry Pi B+ turn usb power off
Replies: 46
Views: 84882

Re: Raspberry Pi B+ turn usb power off

This is kind my sample code i'm trying to work on, if this works i can add the things i want. But this needs to work first. And in my all in one code, it's mostly not working. But this doesn't work. Like it does work sometimes, sometimes doesn't. and when its not working every part of my code works ...
by sameenashaikh29
Thu Apr 05, 2018 1:40 pm
Forum: Advanced users
Topic: Raspberry Pi B+ turn usb power off
Replies: 46
Views: 84882

Re: Raspberry Pi B+ turn usb power off

Hi, I am able to run the commands sudo ./hub-ctrl -h 2 -p 0 and sudo ./uhubctl -h 2 p 1 as commands and they work fine on my terminal, they work fine after i installed the hub-ctrl from github and even tried using uhubctl and the commands sudo ./uhubctl a 0 p 2 and sudo ./uhubctl a 1 p 2 work fine f...
by sameenashaikh29
Thu Mar 08, 2018 12:09 pm
Forum: Raspbian
Topic: Unmount/Mount systematically sets dirty bit
Replies: 15
Views: 2969

Re: Unmount/Mount systematically sets dirty bit

Have you found the solution. I am doing something similar to this
by sameenashaikh29
Thu Jan 18, 2018 12:38 pm
Forum: Python
Topic: ImportError: No module named sh
Replies: 3
Views: 4237

Re: ImportError: No module named sh

Hi,
How can i install sh for pip2 or python 2 as i wan to work with python 2 itself for rest part of the code. As my dronekit should be done with python2 itself..

Thanks & Regards
Sameena Shaikh

Go to advanced search