Reinstalling cgminer on Pogoplug E02

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

Reinstalling cgminer on Pogoplug E02

Postby ThinkFast » Mon Dec 23, 2013 4:32 am

Running as user I compiled the cgminer 3.4.3 from source. Libusb-1.0.16-rc10.tar.bz2 was a dependency.
In order to do the make install, I had to do sudo make install. After the install was finished, I tried to run cgminer:

cgminer -o http://mint.bitminter.com:8332 -u xxx_xxx -p xxx --icarus-options 115200:1:1 --icarus-timing 3.0=100
The program started and waited for me to connect a device. After I plugged in the device, I got a message:
"...You don't have privilege to access this device."

Then I tried again with:
sudo cgminer -o http://mint.bitminter.com:8332 -u xxx_xxx -p xxx --icarus-options 115200:1:1 --icarus-timing 3.0=100
No problem.

I'm assuming the device it was referring to is the USB port.

What group is root a member of that has this privilege?
[bitcoin@alarm-01]$ groups root
root bin daemon sys adm disk wheel log

Should it be necessary to run cgminer with elevated privileges?

Thanks
ThinkFast
 
Posts: 29
Joined: Fri Mar 01, 2013 2:14 am

Re: Reinstalling cgminer on Pogoplug E02

Postby moonman » Mon Dec 23, 2013 5:06 am

Try the aur package instead: https://aur.archlinux.org/packages/cgminer-git/ it should pull and build all dependencies and configure them correctly.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Reinstalling cgminer on Pogoplug E02

Postby moonman » Mon Dec 23, 2013 5:43 am

$this->bbcode_second_pass_code('', 'pacman -U https://dl.dropboxusercontent.com/u/15043728/ArchLinuxArm/cgminer/cgminer-3.8.5-1-arm.pkg.tar.xz')

config files:
/etc/conf.d/cgminer
/etc/cgminer.conf

Service:
cgminer
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Reinstalling cgminer on Pogoplug E02

Postby ThinkFast » Tue Dec 24, 2013 1:43 am

$this->bbcode_second_pass_quote('moonman', '[')code]pacman -U https://dl.dropboxusercontent.com/u/15043728/ArchLinuxArm/cgminer/cgminer-3.8.5-1-arm.pkg.tar.xz[/code]

config files:
/etc/conf.d/cgminer
/etc/cgminer.conf

Service:
cgminer
Thanks. I will try the upgrade.

I tried to install bfgminer (in community?) previously, but I don't think it has the libusb bundled with it.

$this->bbcode_second_pass_quote('ThinkFast', 'I')'m assuming the device it was referring to is the USB port.

What group is root a member of that has this privilege?
[bitcoin@alarm-01]$ groups root
root bin daemon sys adm disk wheel log

Should it be necessary to run cgminer with elevated privileges?

So I'm trying to learn something, should the new cgminer version run without escalated privileges?
ThinkFast
 
Posts: 29
Joined: Fri Mar 01, 2013 2:14 am

Re: Reinstalling cgminer on Pogoplug E02

Postby WarheadsSE » Tue Dec 24, 2013 2:08 am

You need to check the device entry to see what those permissions are.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to ARMv5

Who is online

Users browsing this forum: No registered users and 1 guest