For those of you looking to break out of the command-launcher and stop using the root account, here is a step by step guide for doing so. Please let me know if you have any problems.
why not just compile them?
I already have, which is fine for me. The problem is, many of those programs require additional development libraries or different sets of build tools to compile and many of those have dependencies of their own. I am not asking for myself, I am asking to save others the trouble.
Thanks that was well detailed.
Any step by step guide to help port an app using buildroot sdk ?
Sorry, I have never used the buildtoot sdk and I am not particularly motivated to mess with it. My hypothesis at the moment is it would be easier to make a development environment on a Raspberry Pi Zero, where it is easier to install the tools and libraries needed for the various programs I want to use. If this works out for me, I will post a guide on my github.
Does anyone know what size the JST connector needs to be for the USB header on top of the board? Thanks!
Is this what you are looking for?
Exactly! Yes. Thank you.
When connected to the PicoCALC shell , the VUSB is just 4.04 ( Battery voltage )
The USB is not able to detect any wifi dongle connected.
Is the boost converter recommended ?
Looking at Lyra schematic , the VUSB is derived from the Lyra Type C connector.
Can we connect both Pico and lyra Type C connector simultaneously ?
Hi, no boost converter is needed. I have tested it with usb storage and usb wifi dongles. All work fine because they seem to have a tolerance regarding voltage. The voltage provided by vbus on the usb connector seems to coincide with the battery voltage. (3.2 - 4.2 V)
this is the dmesg log on inserting the usb dongle
4.890617] usbcore: registered new interface driver usb-storage
[ 5.127671] dwc2 ff740000.usb: supply vusb_d not found, using dummy regulator
[ 5.127887] dwc2 ff740000.usb: supply vusb_a not found, using dummy regulator
[ 5.131640] dwc2 ff740000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[ 5.132457] dwc2 ff780000.usb: supply vusb_d not found, using dummy regulator
[ 5.132747] dwc2 ff780000.usb: supply vusb_a not found, using dummy regulator
[ 5.146768] dwc2 ff780000.usb: DWC OTG Controller
[ 5.146849] dwc2 ff780000.usb: new USB bus registered, assigned bus number 1
[ 5.146912] dwc2 ff780000.usb: irq 57, io mem 0xff780000
[ 5.147710] hub 1-0:1.0: USB hub found
[ 5.147791] hub 1-0:1.0: 1 port detected
[ 5
[ 2431.192172] usb 1-1: new high-speed USB device number 2 using dwc2
[ 2431.372180] usb 1-1: device descriptor read/64, error -71
[ 2431.658823] usb 1-1: device descriptor read/64, error -71
[ 2431.945496] usb 1-1: new high-speed USB device number 3 using dwc2
[ 2432.125489] usb 1-1: device descriptor read/64, error -71
[ 2432.412171] usb 1-1: device descriptor read/64, error -71
[ 2432.518906] usb usb1-port1: attempt power cycle
for all usb devices I get this.
my VUSB is 4.01V
What storage you are using?
I haven´t this issue and tried 2 “normal” usb drives and the anker sd-card reader.
I tried many devices. Sandisk 128GB flash drive and some 802.11 USB 2.0 Wlan devices. I will check the wires again. Maybe my soldering has some issue.
you may hae swapped USB+ and USB- ?
Have you considered also supporting Ubuntu OS at all ?
Hi, i figured today out that keyboard are working. Not all but I have tested it with a generic logitech and a Epomaker TH40 with wireless dongle.
I think mouse or gamepads also will work.
is this normal
"
[ 5.127671] dwc2 ff740000.usb: supply vusb_d not found, using dummy regulator
[ 5.127887] dwc2 ff740000.usb: supply vusb_a not found, using dummy regulator
[ 5.131640] dwc2 ff740000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[ 5.132457] dwc2 ff780000.usb: supply vusb_d not found, using dummy regulator
[ 5.132747] dwc2 ff780000.usb: supply vusb_a not found, using dummy regulator
"
Can you share a dmesg log for when any dongle is connected and how it reflects on lsusb command
Im still awaiting my PicoCalc but preparing to run Meshtastic on the device like similar to below
currently running Ubuntu on Luckfox Lyra with Meshtastic UI (mipi dsi 10.1 touch display)
here my output for my Meshstick (USB LoRa Dongle)
root@luckfox:~# dmesg | grep dwc2
[ 12.846351] dwc2 ff740000.usb: supply vusb_d not found, using dummy regulator
[ 12.869463] dwc2 ff740000.usb: supply vusb_a not found, using dummy regulator
[ 12.879650] dwc2 ff740000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[ 12.881165] dwc2 ff780000.usb: supply vusb_d not found, using dummy regulator
[ 12.881486] dwc2 ff780000.usb: supply vusb_a not found, using dummy regulator
[ 12.899888] dwc2 ff780000.usb: DWC OTG Controller
[ 12.899941] dwc2 ff780000.usb: new USB bus registered, assigned bus number 1
[ 12.899994] dwc2 ff780000.usb: irq 54, io mem 0xff780000
[ 13.360913] usb 1-1: new full-speed USB device number 2 using dwc2
[ 17.135679] dwc2 ff740000.usb: bound driver configfs-gadget.rockchip
[ 17.301545] dwc2 ff740000.usb: new device is high-speed
[ 17.415663] dwc2 ff740000.usb: new device is high-speed
[ 17.474638] dwc2 ff740000.usb: new address 13
root@luckfox:~# lsusb
Bus 001 Device 002: ID 1a86:5512 QinHeng Electronics CH341 in EPP/MEM/I2C mode, EPP/I2C adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Using the Waveshare USB cable