Luisangonzalez / andavr

Automatically exported from code.google.com/p/andavr
5 stars 0 forks source link

Does not have enought permissions #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. compile hex file
2. try to upload file
3.

What is the expected output? What do you see instead?

expected:
process finishes, result code = 0, the sketch is uploaded.

actual:
W/System.err( 9368): avrdude: ser_open(): can't open device 
"/dev/bus/usb/002/002": Permission denied
W/System.err( 9368): ioctl("TIOCMGET"): Invalid argument

What version of the product are you using? On what operating system?

the device is not required, but avrdude executable is in the app sandbox 
(/data/data/%package%). config file is located in the same folder. i've 
requested and granted permission to UsbDevice in my app, from which i execute 
avrdude process.

Please provide any additional information below.

Original issue reported on code.google.com by d...@antonsmirnov.name on 3 Jun 2013 at 12:17

GoogleCodeExporter commented 8 years ago
sorry, "the device is not required" -> "the device is not rooted"

Original comment by d...@antonsmirnov.name on 7 Jun 2013 at 12:00

GoogleCodeExporter commented 8 years ago
Hi,
can you explain how to execute avrdude process  in a not rooted device please. 
Thank you

Original comment by touazi.i...@gmail.com on 17 Jan 2014 at 1:58