dell / thunderbolt-nvm-linux

Thunderbolt NVM updates for Linux
104 stars 12 forks source link

Failed to update thunderbolt firmware on Dell XPS 13 9360 #6

Closed fentensoft closed 7 years ago

fentensoft commented 7 years ago

I'm rung Archlnux on my Dell XPS 13 9360 with kernel 4.13.9, and I followed the steps in this page: Archlinux Wiki, to update my thunderbolt firmware from 18.5 to 21.0. But I got this problem

bash: /sys/bus/thunderbolt/devices/0-0/nvm_authenticate: Permission denied

I'm running these commands under root user. I've tried 0x075B_secure.bin extracted from the latest .exe file, but it still doesn't work. Could someone give me some help?

superm1 commented 7 years ago

Try setting authorized to 1 first

fentensoft commented 7 years ago

Still got permission denied error.

zsh: permission denied: /sys/bus/thunderbolt/devices/0-0/authorized

superm1 commented 7 years ago

As root that failed? Can you check dmesg for errors?

What's the exact command you were using to set to 1?

fentensoft commented 7 years ago

I used the following comming: sudo echo 1 > /sys/bus/thunderbolt/devices/0-0/authorized I rebooted the system, and login as root directly, then it worked. It's weird, but thanks. :+1:

superm1 commented 7 years ago

sudo echo 1 doesn't write as root, that writes as user.
It needs to be "echo 1" | sudo tee /sys/bus/thunderbolt/devices/0-0/authorized to write as root

fentensoft commented 7 years ago

I see, thanks.