Should not work because then, raspberry Pi is the „Device“. When you connect the switch to the raspberry pi, then switch is the „Device“.All this raspberry pi talk here is making me think, would connecting the pi through the dock USB port work?
If it were possible, imagine all you would have to do is power the pi from the dock. You would have a dedicated method to load up Fusee Gelee without needing a usb type C to type A cable.
followed all the steps but the service is shown as it is running but not excuting the exploit when i connect the switch at RCM to the pi automatically . what i am missing ???
btw i have raspberry pi 3 model B
Should not work because then, raspberry Pi is the „Device“. When you connect the switch to the raspberry pi, then switch is the „Device“.
Different between Host and OTG Mode I think
--------------------- MERGED ---------------------------
Type lsusb in Terminal and check idVendor and idProduct.
pi@raspberrypi:~ $ lsusb
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Should not work because then, raspberry Pi is the „Device“. When you connect the switch to the raspberry pi, then switch is the „Device“.
Different between Host and OTG Mode I think
--------------------- MERGED ---------------------------
Type lsusb in Terminal and check idVendor and idProduct.
Code:pi@raspberrypi:~ $ lsusb Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
this is what i get "no switch connected when i executed this"
Yes.
And now, connect a switch, enter RCM and relaunch lsusb
lsusb
Bus 001 Device 004: ID 0955:7321 NVidia Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
idVendor is 0955 and idProduct 7321...looks good...you can try to run fusee.sh manually now with ./fusee.sh under /home/piCode:lsusb Bus 001 Device 004: ID 0955:7321 NVidia Corp. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
it works manuallyidVendor is 0955 and idProduct 7321...looks good...you can try to run fusee.sh manually now with ./fusee.sh under /home/pi
it works manually
i want to make it work automatically when i connect to the pi in the mode
i thought your script is making a background service that it is fire the exploit when i connect without running any command manually.isn't it?
if so what is the order of execution to make it work in that manner
idVendor is 0955 and idProduct 7321...looks good...you can try to run fusee.sh manually now with ./fusee.sh under /home/pi
./fusee.sh
Invalid payload path specified!
#!/bin/bash
sleep 3
sudo python3 /home/pi/fusee-launcher/fusee-launcher.py /home/pi/fusee-launcher/fusee.bin
pi@raspberrypi:~ $ ./fusee.sh
Could not find the intermezzo interposer. Did you build it?
well i have opened the file ./fusee.sh with nano and changed the path of fusee.bin to the full path as it was showing "invalid payload path"
i made the file to be
Code:#!/bin/bash sleep 3 sudo python3 /home/pi/fusee-launcher/fusee-launcher.py /home/pi/fusee-launcher/fusee.bin
after running the command ./fusee.sh
got
Code:pi@raspberrypi:~ $ ./fusee.sh Could not find the intermezzo interposer. Did you build it?
Worked perfectlyi have updated the GitHub Repo.
There was the wrong path to the fusee-launcher.
Sorry.
Here the corrected fusee.sh:
#!/bin/bash
sleep 3
cd /home/pi/fusee-launcher
sudo python3 /home/pi/fusee-launcher/fusee-launcher.py fusee.bin
Mind sharing an img ?Working perfectly on the RPi0W
with an automated script to run on boot!
Would it be nice to power raspberry zero directly from switch. Do you think is it possible?Working perfectly on the RPi0W
with an automated script to run on boot!
Since the PI0 can power up over the OTG port, it should be possible. Problem with the PI in general is, you have to wait for it to boot. I think, more specialized devices are much faster to boot into.Would it be nice to power raspberry zero directly from switch. Do you think is it possible?
Wysłane z mojego Redmi 4 Prime przy użyciu Tapatalka
Important note: on desktop Linux systems, we currently require an XHCI host controller.
A good way to ensure you're likely using an XHCI backend is to plug your
device into a blue 'USB 3' port.
Identified a Linux system; setting up the appropriate backend.
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/core.py", line 223, in get_interface_and_endpoint
KeyError: 129
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./fusee-launcher.py", line 606, in <module>
raise e
File "./fusee-launcher.py", line 601, in <module>
device_id = switch.read_device_id()
File "./fusee-launcher.py", line 543, in read_device_id
return self.read(16)
File "./fusee-launcher.py", line 500, in read
return self.backend.read(length)
File "./fusee-launcher.py", line 118, in read
return bytes(self.dev.read(0x81, length, 1000))
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/core.py", line 975, in read
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/core.py", line 102, in wrapper
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/core.py", line 215, in setup_request
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/core.py", line 102, in wrapper
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/core.py", line 225, in get_interface_and_endpoint
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/core.py", line 102, in wrapper
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/core.py", line 236, in get_active_configuration
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/core.py", line 102, in wrapper
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/core.py", line 120, in managed_open
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/backend/libusb1.py", line 786, in open_device
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/backend/libusb1.py", line 643, in __init__
File "/usr/local/lib/python3.5/dist-packages/pyusb-1.0.2-py3.5.egg/usb/backend/libusb1.py", line 595, in _check
usb.core.USBError: [Errno 13] Access denied (insufficient permissions)