linux-sunxi / sunxi-tools

A collection of command line tools for ARM devices with Allwinner SoCs.
http://linux-sunxi.org/
GNU General Public License v2.0
578 stars 420 forks source link

Can't access device in FEL-Mode #115

Closed JimmyPesto closed 6 years ago

JimmyPesto commented 6 years ago

Hallo,

I'm trying to connect to an NanoPi in FEL-mode but sunxi-fel cant find the device.

lsusb:

Bus 001 Device 003: ID 1f3a:efe8 Onda (unverified) V972 tablet in flashing mode

sudo sunxi-fel ver

ERROR: Allwinner USB FEL device not found!

sudo sunxi-fel -l

libusb_open() ERROR -1: Input/Output Error

usb-devices (now Device is 16):

T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 16 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1f3a ProdID=efe8 Rev=02.b3 C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=300mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

Whenever I execute sunxi-fel the device seems to be reconnected:

[ 8092.357963] usb 1-1.2: USB disconnect, device number 16 [ 8104.842636] usb 1-1.2: new full-speed USB device number 17 using ehci-pci [ 8104.936064] usb 1-1.2: New USB device found, idVendor=1f3a, idProduct=efe8 [ 8104.936073] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 8131.612467] usb 1-1.2: reset full-speed USB device number 17 using ehci-pci [ 8131.706225] usb 1-1.2: USB disconnect, device number 17 [ 8131.776488] usb 1-1.2: new full-speed USB device number 18 using ehci-pci [ 8131.869935] usb 1-1.2: New USB device found, idVendor=1f3a, idProduct=efe8 [ 8131.869942] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0

Maybe I messed something up in the installation process. I'm really stuck at this point. Does anyone have a clue whats wrong in my case?

Thanks for your help, Jimmy Pesto

JimmyPesto commented 6 years ago

After using an other linux machine I was able to find a device with "sunxi-fel version" cmd. This was an issue about user rights I guess.