Post
Topic
Board Hardware
Re: GekkoScience has a new stickminer that does 300+GH
by
bigdaddymccarron
on 11/11/2021, 01:37:45 UTC
Hi all,

I got an issue with USB rights.
Got this message "USB init, open device failed, err -3, you don't have privilege to access - GSH device 1:4"

I solved this in the past, but don't remember how.
Google aint helping me right now.

when doing trhis: ls -l /dev/ttyUSB0
i get this:
crw-rw---- 1 root dialout 188, 0 Nov  9 15:28 /dev/ttyUSB0

So its rights issue

used this to set some rights: sudo chmod 666 /dev/ttyUSB0
result:
ls -l /dev/ttyUSB0
crw-rw-rw- 1 root dialout 188, 0 Nov  9 15:28 /dev/ttyUSB0
result: still same error

another try:
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 003: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

i gues i need device 003 - GS hub?

tried this command: dmesg
Found the compaqcF :
[    2.694838] usb 1-1.2.5: new full-speed USB device number 4 using xhci_hcd
[    2.857203] usb 1-1.2.5: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
[    2.857227] usb 1-1.2.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.857245] usb 1-1.2.5: Product: CompacF Bitcoin Miner
[    2.857262] usb 1-1.2.5: Manufacturer: GekkoScience
[    2.857279] usb 1-1.2.5: SerialNumber: GS-10050875

when using this command: usb-devices
i get this:
T:  Bus=01 Lev=03 Prnt=03 Port=04 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0403 ProdID=6015 Rev=10.00
S:  Manufacturer=GekkoScience
S:  Product=CompacF Bitcoin Miner
S:  SerialNumber=GS-10050875
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=90mA
I:  If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio

So bus 1 port 04 = the acces erro i get. so all still is right.

Pi4B - 4GB - fresh install (new pi)
GS USB hub - powered by HP PS
1 compaq F

regards

I know this sounds obvious, but did you try executing csminer with the prefix "sudo cgminer ...."