Thank you ckolivas. I figured that it's the permission issue. And I followed the guide and added current user into plugdev group by issuing:
sudo usermod -G plugdev -a `whoami`
But it does not fix the problem. In this case does that mean I can only run cgminer under root user? Or you think it's not the issue of permission? Please kindly point out.
Also I logged into my RB Pi and can see cgminer is running under minepeon user and that user belongs only to minepeon group.
Anyway thank you for you help, I have made my RB Pi working now, so have no chance to test BJ on my linux box for now. Will report when I get a chance.
That wasn't all the instructions that were in the readme, you need the udev file installed. That other command is usually not needed in fact - but I don't know how permissions are set up on minepeon as the instructions revolve around regular PCs running regular PC distributions of linux and I'm no RPi distribution expert. It is always a permissions problem if it goes away as root.
Thanks Con. The RPI is set up to run cgminer as the user "minepeon". By default it is correctly set for this, no changes to UDEV or permissions.
Targetalk: If you are compiling your own version, you need to be sure you have enabled the HashFast driver support before compiling:
./configure --enable-hashfast
You should not need to do anything else if you have correctly run the autogen script.
Of course none of this is needed if you use the default version we supply. We will be sending out Con's latest as soon as everything is finalized and tested.
-Phil
Yes, I compiled cgminer with --enable-hashfast on my xubuntu. It can detect HF device but can not enable the device, that's why I think it's permission issue.