That really sucks. There is no way to make audio work besides this? I like the idea of being able to “hot swap” my card.
Hi,
I tried the ubuntu image.
root@luckfox:/# lsusb
Bus 001 Device 003: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Seems more sophisticated.
I will check dmesg. one moment…
You can make a external sound card and connect it to picocalc via gpio near the screen.
Audio output via soft pwm does not need hardware modification, but currently it has a very loud noise. If rockchip shares more document about rk3506’s cortex m0 core, I may use the m0 core to output soft pwm and get better sound quality.
Hi, I uploaded a new boot.img to google drive.
You can try it
adb push boot.img /tmp
adb shell
dd if=/tmp/boot.img of=/dev/mmcblk0p2 bs=1M
reboot
then load the wifi driver
So there is no way to remap the pins in software?
Ok, I try it.
Result from Dmesg before
[ 177.287348] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 177.294785] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 177.310142] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 177.356539] rt2800lib: Unknown symbol crc_ccitt (err -2)
[ 177.382024] rt2800lib: Unknown symbol crc_ccitt (err -2)
[ 177.425691] rt2800usb: Unknown symbol rt2800_config_shared_key (err -2)
[ 177.434190] rt2800usb: Unknown symbol rt2800_enable_radio (err -2)
[ 177.447269] rt2800usb: Unknown symbol rt2800_reset_tuner (err -2)
[ 177.461413] rt2800usb: Unknown symbol rt2800_link_stats (err -2)
[ 177.474527] rt2800usb: Unknown symbol rt2800_rfkill_poll (err -2)
[ 177.487676] rt2800usb: Unknown symbol rt2800_txstatus_pending (err -2)
[ 177.502034] rt2800usb: Unknown symbol rt2800_read_eeprom_efuse (err -2)
[ 177.516760] rt2800usb: Unknown symbol rt2800_efuse_detect (err -2)
[ 177.531330] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 177.535758] rt2800usb: Unknown symbol rt2800_config_filter (err -2)
[ 177.542642] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 177.549693] rt2800usb: Unknown symbol rt2800_conf_tx (err -2)
[ 177.558716] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 177.564978] rt2800usb: Unknown symbol rt2800_check_firmware (err -2)
[ 177.588913] rt2800usb: Unknown symbol rt2800_mcu_request (err -2)
[ 177.630030] rt2800usb: Unknown symbol rt2800_config_pairwise_key (err -2)
[ 177.644294] rt2800usb: Unknown symbol rt2800_wait_csr_ready (err -2)
[ 177.652539] rt2800usb: Unknown symbol rt2800_txstatus_timeout (err -2)
[ 177.673922] rt2800usb: Unknown symbol rt2800_probe_hw (err -2)
[ 177.688093] rt2800usb: Unknown symbol rt2800_watchdog (err -2)
[ 177.701538] rt2800usb: Unknown symbol rt2800_clear_beacon (err -2)
[ 177.709524] rt2800usb: Unknown symbol rt2800_txdone_nostatus (err -2)
[ 177.729763] rt2800usb: Unknown symbol rt2800_get_tsf (err -2)
[ 177.743734] rt2800usb: Unknown symbol rt2800_load_firmware (err -2)
[ 177.751895] rt2800usb: Unknown symbol rt2800_process_rxwi (err -2)
[ 177.770613] rt2800usb: Unknown symbol rt2800_link_tuner (err -2)
[ 177.774015] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 177.783666] rt2800usb: Unknown symbol rt2800_config_intf (err -2)
[ 177.789597] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 177.795978] rt2800usb: Unknown symbol rt2800_set_rts_threshold (err -2)
[ 177.805145] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 177.834036] rt2800usb: Unknown symbol rt2800_wait_wpdma_ready (err -2)
[ 177.872555] rt2800usb: Unknown symbol rt2800_sta_remove (err -2)
[ 177.886711] rt2800usb: Unknown symbol rt2800_get_key_seq (err -2)
[ 177.900504] rt2800usb: Unknown symbol rt2800_write_tx_data (err -2)
[ 177.908506] rt2800usb: Unknown symbol rt2800_disable_radio (err -2)
[ 177.927820] rt2800usb: Unknown symbol rt2800_ampdu_action (err -2)
[ 177.941955] rt2800usb: Unknown symbol rt2800_config_ant (err -2)
[ 177.955347] rt2800usb: Unknown symbol rt2800_get_txwi_rxwi_size (err -2)
[ 177.969776] rt2800usb: Unknown symbol rt2800_sta_add (err -2)
[ 177.977254] rt2800usb: Unknown symbol rt2800_config (err -2)
[ 177.995666] rt2800usb: Unknown symbol rt2800_pre_reset_hw (err -2)
[ 178.007374] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 178.007906] rt2800usb: Unknown symbol rt2800_txdone (err -2)
[ 178.014084] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 178.020164] rt2800usb: Unknown symbol rt2800_write_beacon (err -2)
[ 178.029508] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 178.035863] rt2800usb: Unknown symbol rt2800_gain_calibration (err -2)
[ 178.035910] rt2800usb: Unknown symbol rt2800_vco_calibration (err -2)
[ 178.035940] rt2800usb: Unknown symbol rt2800_get_survey (err -2)
[ 178.087785] rt2800usb: Unknown symbol rt2800_config_erp (err -2)
[ 178.151954] rt2800usb: Unknown symbol rt2800_config_shared_key (err -2)
[ 178.160188] rt2800usb: Unknown symbol rt2800_enable_radio (err -2)
[ 178.173316] rt2800usb: Unknown symbol rt2800_reset_tuner (err -2)
[ 178.187298] rt2800usb: Unknown symbol rt2800_link_stats (err -2)
[ 178.201073] rt2800usb: Unknown symbol rt2800_rfkill_poll (err -2)
[ 178.214983] rt2800usb: Unknown symbol rt2800_txstatus_pending (err -2)
[ 178.229289] rt2800usb: Unknown symbol rt2800_read_eeprom_efuse (err -2)
[ 178.237684] rt2800usb: Unknown symbol rt2800_efuse_detect (err -2)
[ 178.257367] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 178.258643] rt2800usb: Unknown symbol rt2800_config_filter (err -2)
[ 178.270917] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 178.277593] rt2800usb: Unknown symbol rt2800_conf_tx (err -2)
[ 178.286753] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 178.292892] rt2800usb: Unknown symbol rt2800_check_firmware (err -2)
[ 178.317268] rt2800usb: Unknown symbol rt2800_mcu_request (err -2)
[ 178.356585] rt2800usb: Unknown symbol rt2800_config_pairwise_key (err -2)
[ 178.371194] rt2800usb: Unknown symbol rt2800_wait_csr_ready (err -2)
[ 178.385950] rt2800usb: Unknown symbol rt2800_txstatus_timeout (err -2)
[ 178.400569] rt2800usb: Unknown symbol rt2800_probe_hw (err -2)
[ 178.408265] rt2800usb: Unknown symbol rt2800_watchdog (err -2)
[ 178.428007] rt2800usb: Unknown symbol rt2800_clear_beacon (err -2)
[ 178.441764] rt2800usb: Unknown symbol rt2800_txdone_nostatus (err -2)
[ 178.456138] rt2800usb: Unknown symbol rt2800_get_tsf (err -2)
[ 178.463577] rt2800usb: Unknown symbol rt2800_load_firmware (err -2)
[ 178.483645] rt2800usb: Unknown symbol rt2800_process_rxwi (err -2)
[ 178.496624] rt2800usb: Unknown symbol rt2800_link_tuner (err -2)
[ 178.507358] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 178.509158] rt2800usb: Unknown symbol rt2800_config_intf (err -2)
[ 178.515144] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 178.521410] rt2800usb: Unknown symbol rt2800_set_rts_threshold (err -2)
[ 178.530574] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 178.559474] rt2800usb: Unknown symbol rt2800_wait_wpdma_ready (err -2)
[ 178.598100] rt2800usb: Unknown symbol rt2800_sta_remove (err -2)
[ 178.612211] rt2800usb: Unknown symbol rt2800_get_key_seq (err -2)
[ 178.626001] rt2800usb: Unknown symbol rt2800_write_tx_data (err -2)
[ 178.633829] rt2800usb: Unknown symbol rt2800_disable_radio (err -2)
[ 178.653240] rt2800usb: Unknown symbol rt2800_ampdu_action (err -2)
[ 178.667429] rt2800usb: Unknown symbol rt2800_config_ant (err -2)
[ 178.680720] rt2800usb: Unknown symbol rt2800_get_txwi_rxwi_size (err -2)
[ 178.695114] rt2800usb: Unknown symbol rt2800_sta_add (err -2)
[ 178.709282] rt2800usb: Unknown symbol rt2800_config (err -2)
[ 178.716460] rt2800usb: Unknown symbol rt2800_pre_reset_hw (err -2)
[ 178.730679] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 178.734313] rt2800usb: Unknown symbol rt2800_txdone (err -2)
[ 178.740493] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 178.746587] rt2800usb: Unknown symbol rt2800_write_beacon (err -2)
[ 178.755778] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 178.784389] rt2800usb: Unknown symbol rt2800_gain_calibration (err -2)
[ 178.821952] rt2800usb: Unknown symbol rt2800_vco_calibration (err -2)
[ 178.836468] rt2800usb: Unknown symbol rt2800_get_survey (err -2)
[ 178.850607] rt2800usb: Unknown symbol rt2800_config_erp (err -2)
[ 178.957341] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 178.964724] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 178.980165] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 179.200676] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 179.208173] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 179.224171] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 179.444021] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 179.451477] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 179.466839] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 179.687341] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 179.694801] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 179.710244] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 179.930675] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 179.938149] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 179.953531] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 180.174016] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 180.181490] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 180.196935] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 180.417369] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 180.425131] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 180.440216] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 180.660684] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 180.668113] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
[ 180.683499] picocalc_kbd 2-001f: input_fw_read_fifo Could not read REG_FIF, Error: -110
[ 180.904030] rk3x-i2c ff060000.i2c: timeout, ipd: 0x11, state: 3
[ 180.911605] picocalc_kbd 2-001f: kbd_read_i2c_2u8 Could not read from register 0x09, error: -110
GPIO4_B3 and GPIO4_B2 are not rmio pins. They can not output hardware pwm.
looks better. Thanks!
Module Size Used by Tainted: G
rt2800usb 12878 0
rt2x00usb 7541 1 rt2800usb
rt2800lib 78078 1 rt2800usb
rt2x00lib 27528 3 rt2800usb,rt2x00usb,rt2800lib
picocalc_kbd 3864 0
ili9488_fb 5559 1
mac80211 274774 3 rt2x00usb,rt2800lib,rt2x00lib
cfg80211 178007 2 rt2x00lib,mac80211
selftests 3349 0
libarc4 863 1 mac80211
now I get with ip link set wlan0 up:
RTNETLINK answers: No such file or directory
dmesg:
[ 701.183023] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 701.194294] rt2800usb 1-1:1.0: Direct firmware load for rt2870.bin failed with error -2
[ 701.211287] ieee80211 phy0: rt2x00lib_request_firmware: Error - Failed to request Firmware
I suppose I could change the header pins on the Lyra to pin through and not solder those two pins to the board but bridge them over the device.
GPIO4_B3 and GPIO4_B2 are 1.8v pins. Other RMIO pins are 3.3v pins. Be careful if you just solder them together.
If you have any ideas about improving audio via soft pwm, the source code is on github.
It seems that ralink firmware is missing. You can download it from here:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rt2870.bin
maybe place the file under /usr/lib/firmware or /lib/firmware would work
Also I forgot to mention that udhcpc -i wlan0 should be executed after wpa_supplicant
It have now worked!! Thanks!!
Was it hard to find the kernel modules for this USB Stick?
Could you please provide a Image for this?
I am not that good in compiling images myself.
Could it be more about voltage than pwm? Sorry, I’m a bit of a novice here.
New image uploaded, including rtl8188fu and rt2800 wifi drivers.
A script, called wifi-up.sh and a config file, called wpa_supplicant.conf can be used to setup wireless network.
wget will ignore ssl certificate checks by default. This will fix “Could not Connect to BBS” error of pico-8 splore.
Ok,
I have the RT5370 and seems still be available.
New Image works fine!
Hi,
Maybe you have thought of this already:
I have found that pin 35 is labeled ADC_VREF on the Raspberry PI Pico and on the LYRA as not connected (NC). When i measure the the voltage in the Raspberry i get 3.3 Volts. On the Lyra there is nothing. Only speculation on my side, but could this be the reason why on lyra the ADC is not working properly because of the missing reference voltage? Maybe bridging the pin 36 and 35 on the lyra can to the trick?
this is also interesting:
https://forums.raspberrypi.com/viewtopic.php?t=339289