jdenoy / libmpsse

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

Failed to open MPSSE: device not found #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installed libmpsse-1.2-1 in ubuntu 12.04 LTS
2. Using with the hardware C232HM USB 2.0 Hi-Speed to MPSSE cable.
3. Then ran examples

What is the expected output? 
Should work

What do you see instead?
Failed to open MPSSE: device not found

What version of the product are you using? On what operating system?
libmpsse-1.2-1 in ubuntu 12.04 LTS

Please provide any additional information below.

Original issue reported on code.google.com by udara.ab...@gmail.com on 7 Mar 2013 at 6:27

GoogleCodeExporter commented 9 years ago
By the way I have USB 2.0 

Original comment by udara.ab...@gmail.com on 7 Mar 2013 at 6:28

GoogleCodeExporter commented 9 years ago
I print the output of the ftdi_usb_open_desc. It was -8,: get product 
description failed 

Original comment by udara.ab...@gmail.com on 7 Mar 2013 at 7:21

GoogleCodeExporter commented 9 years ago
Are you root?

Original comment by tothszab...@gmail.com on 8 Mar 2013 at 3:32

GoogleCodeExporter commented 9 years ago
No I'm not root

Original comment by udara.ab...@gmail.com on 8 Mar 2013 at 3:42

GoogleCodeExporter commented 9 years ago
Thanks, problem is solved when I run as root.
sudo -s ./gpio

Original comment by udara.ab...@gmail.com on 8 Mar 2013 at 3:44

GoogleCodeExporter commented 9 years ago

Original comment by heffne...@gmail.com on 11 Mar 2013 at 2:12

GoogleCodeExporter commented 9 years ago
Is there a way to run the programs without being root?  /dev/ttyUSB0 has rw 
group permission to group dialout, and I do have permission for that group.  
Still doesn't work unless I'm root.  

In principle, I should be able to have my way with the hardware if I have at 
least rw group permissions, no?

Original comment by f.muenne...@saphotonics.com on 6 May 2013 at 10:21