Closed knightpp closed 7 months ago
Note: I tried to switch to a beta channel, but it seems there are no builds for this particular architecture.
@Ntemis sounds like a dts tweak is required, do you have the device?
not the v2 but i can get it
@knightpp ssh in & let me know the output of /sys/kernel/debug/usb/
@dmanlfc
[root@BATOCERA /userdata/system]# ls /sys/kernel/debug/usb/
c9000000.usb c9100000.usb devices ehci ohci xhci
do a cat /sys/kernel/debug/usb/c9000000.usb/mode
& cat /sys/kernel/debug/usb/c9100000.usb/mode
[root@BATOCERA /userdata/system]# cat /sys/kernel/debug/usb/c9000000.usb/mode
host
[root@BATOCERA /userdata/system]# ls /sys/kernel/debug/usb/c9100000.usb/mode
ls: cannot access '/sys/kernel/debug/usb/c9100000.usb/mode': No such file or directory
[root@BATOCERA /userdata/system]# ls /sys/kernel/debug/usb/c9100000.usb/
dr_mode ep1in ep2in ep3in ep4in ep5in ep6in fifo params state
ep0 ep1out ep2out ep3out ep4out ep5out ep6out hw_params regdump testmode
i said cat
not ls
for both
ah i see
Oops, sorry, but the folder does not exists.
[root@BATOCERA /userdata/system]# cat /sys/kernel/debug/usb/c9100000.usb/mode
cat: /sys/kernel/debug/usb/c9100000.usb/mode: No such file or directory
cat /sys/kernel/debug/usb/c9100000.usb/dr_mode
[root@BATOCERA /userdata/system]# cat /sys/kernel/debug/usb/c9100000.usb/dr_mode
peripheral
what happens if you echo host > /sys/kernel/debug/usb/c9100000.usb/mode
?
[root@BATOCERA /userdata/system]# echo host > /sys/kernel/debug/usb/c9100000.usb/mode
-bash: /sys/kernel/debug/usb/c9100000.usb/mode: Permission denied
Its Chinese new years so they cant send me the boards over right now, you have to show some patience. We will fix this
is it the v2 board ? - https://www.libre.computer/products/aml-s905x-cc-v2/
@dmanlfc yes, it is
ok hence the issue, you're running the v1 device tree. @Ntemis is awaiting a board.
@knightpp - please try this build: https://drive.google.com/drive/folders/1YvaL1UqyU5kDNd1LB1aCQ9CN5Cxhr8Ht?usp=sharing
@dmanlfc It works! Thanks. All 4 USB ports work.
Am I able to have that build too? I have the same issue.
v39
Batocera build version
38c 2023/10/15 01:11
Your architecture
Sweet Potato (Le Potato)
Your Graphic Processor Unit (GPU)
Integrated
Graphical brand
None
Issue description
After booting into Batocera, only top left USB port can exchange data, other ports are charge only.
Expected result
I can plug devices into any port.
Reproduction steps
Logs and data
I use Sweet Potato, it's like a second generation of Le Potato, but should remain compatible. Let me know if you need more info!
dmesg