#help-with-linux-sbcs

1 messages · Page 29 of 1

night sail
#

^ the dmesg thing is also a good suggestion

fickle rose
#

this is the output from lsusb "Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub"

#

i don't see anything unusual in dmesg

night sail
#

so is it not seeing Ethernet either?

fickle rose
#

it's a pi 0 w

night sail
#

ahh right

#

I'm running from a 3B or 3B+

Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
fickle rose
#

bluetooth works so it has to be the pci link

#

bluetooth on the rpi runs over uart and the wifi over pci

night sail
#

I mean mine tells me wifi is disabled when I login, and to run the config. but you said that's what started this right?

fickle rose
#

it was fine one day than the next it stopped working

night sail
#
Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.
fickle rose
#

the wpa_supplicant.conf is set corrextly

night sail
#

Since there seems to be a built-in mechanism for it - maybe check raspi-config and rfkill?

#

is it correct that reboots don't fix it?

fickle rose
#

yes

#

wpa_supplicant is running

night sail
#

okay. (different issue from someone else on here then - theirs came back after reboot)

#

what does "ip l" give you?

fickle rose
#

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

night sail
#

interesting. So even though my wifi doesn't show up in lspci, it still shows up in ip l

fickle rose
#

i think this pi 0 w has become a pi 0 with bluetooth

night sail
#

one way to know for sure would be to try a clean install on a new microSD card. That would rule out software issues vs hardware issues

craggy linden
#

Does the Pi Zero automatically output the video data on the labeled pins for it or do I have to change some config files or do I have to code something to take the screen data that would be sent through the mini hdmi port and translate it to data I can send through the gpio pins

#

To the screen

#

I’m using the 1.27” color OLED if that helps

#

This

fickle rose
#

you are better off using the display with blinka in python

#

it has a resolution of 128x96 so without kernel trickery it won't work if what you want is a small hdmi display

fickle rose
#

it's a hardware problem

fickle rose
night sail
# fickle rose i've reflashed the sd card multiple times

that doesn't rule out a bad card though, but that certainly rules out a lot of other things, such as a corrupt file system

you said it was working and then it suddenly wasn't, so I wasn't sure what troubleshooting you'd done so far.

for kicks and giggles, have you tried an external Wi-Fi adapter to see if it recognizes that?

fickle rose
#

i've tried multiple different cards

#

all with different images and ages

fickle rose
#

the usb does work

craggy linden
#

i didnt mean i wanted a small hdmi display i meant like if i could take the hdmi output and run it through a script that made it into the right data format to send the the display

#

or does the pi do that automatically

#

or what

fickle rose
#

what do you want the display to do?

craggy linden
#

show the raspberry pi video output

#

like a display

fickle rose
#

i mean what does the project do with it

craggy linden
#

its a portable arcade game thing

#

so display retroPI

#

RetroPi

#

or just a Raspbian distro for testing everything

#

its a screen

fickle rose
#

in theory it's possible but the slow spi along with the pi 0 would make the display and the pi slow

#

i'm pretty sure there are ways for retropie to display on a non-hdmi display

craggy linden
#

ok well does it have to run at 60fps for Frogger and PacMan

fickle rose
#

i'm not an expert so if you have the display already it might be something to look into

#

but if you don't have it a PiTFT would work better

craggy linden
#

i dont have it but what i do have is like 1.6 inches of room vertically for the display and its pcb

#

and this one fits pretty perfectly

verbal chasm
#

I need to know which micro computer is raspberry pi compatible and has the lowest standby power consumption. Any suggestions?

craggy linden
#

a raspberry pi is a micro computer

#

thats what it does

normal ravine
#

I'm looking to monitor my battery life on a Cyberdeck I'm making. Does this layout work for that?

normal ravine
#

I guess I'd need to use a usb cable from the pi to the Featherboard to power the board, then the power source would connect to the powerboost.

fickle rose
#

do you want the feather on when not charging?

normal ravine
#

I just really don't know anything about STEMMA or what to do, but I just want to know if it can do what I'm looking for before jumping in and buying parts and learning how to do it

#

I appreciate the help though

naive crag
#

Not sure where this goes ,

But I’m trying to find and modify the (a file?) for the TFT bonnet so I can use the dpad and the 2 buttons as hot keys and map them to something.

Any clues ?

#

I should specify it’s the 1.3” color bonnet 🙂

fickle rose
#

Then the charge source only goes to the powerboost

#

The rest of the design doesn’t need modification but i would go for one of the 4400mah, 6600mah or 10050mah batterys

fickle rose
#

Red - 3.3VDC Power
Black - Ground
Blue - I2C SDA Data
Yellow - I2C SCL Clock

normal ravine
fickle rose
#

That will work

#

Aside from the feather plugged into the pi the rest of the design will work

wind ivy
#

hey, this might be a very dumb question but I'm trying to figure out how to use the raspotify library for python

#

I've mostly got it working but I can't figure out how to shuffle play or toggle shuffle

#

do you know where I would find a lit of all the functions in the library?

amber shale
#

are there any expansion boards for pi 4b?

#

for gpio mostly

#

or maybe it would suffice by itself, if I just wanna connect 4 stepper motors to it?

opaque bone
#

So I have a Raspberry Pi 4 - 4gb Model with Raspbian 64bit installed. It is plugged directly into a 1080p 144hz monitor keyboard and mouse. The display refreshrate though only appears to be about 30 fps despite the setting claiming it is at 60 anyone know a fix for this? I've tried toggling settings/resolution to no avail

amber shale
opaque bone
amber shale
#

hmm that does look like it should work out of the box. What is the output of xrandr?

opaque bone
amber shale
#

could you add

hdmi_group=1
hdmi_mode=78
opaque bone
#

i did a reboot too

#

i've tried some things like this years ago as well with diff monitors, but didn't try a diff cable

#

i'l prob need to order like a hdmi to mini adapter

floral scaffold
#

Hi o/ Can raspberry Pi Zero, have three different analog video outputs?

fickle rose
#

No

mossy musk
#

I hope this is the right area, but I was wondering about using the fact that I2C can be used on different pins for the pi pico. Is it possible and do able to swap interfaces. IE I have 4 devices with the same address, but I have them split between port 0 and port 1 but on different GPIO?
IE
Screen1: 6, 7(i2c0)
Screen2: 9, 10(i2c1)
Screen3: 11,12(i2c0)
Screen4: 14,15(i2c1)

Effectively acting as a multiplexer.
In my case, I do want to grab data from a large set of accelerometer and gyros.

steady rose
#

is this for a pi pico?

mossy musk
#

yup

steady rose
#

it'll only work as far as two, since there are only two total i2c ports

#

those two ports can be used on different pins, but there are still only two total

mossy musk
#

I mean that I would change the port pin selection. Ie create on pins 6,7 for it, get data, then recreate it on pins 11,12 and get data there

steady rose
#

hmm...maybe

#

yah, guess that could work. as long as whatever software allows for dynamically setting up the buses like that

twin helm
#

it seems plausible from a hardware perspective. from a software perspective, if you're using higher level drivers that depend on an I2C bus abstraction, you'll likely have to continually destroy and recreate those as well each time you switch

steady rose
#

just to check - have you exhausted other possibilities? alternate addresses? using an i2c muxer?

mossy musk
#

I want to avoid the multiplexer as I need this to be small. One device can not change the addr less I order a large qty directly which I do not want to do

turbid rivet
#

And you need four I2C displays, none of which use different addresses?

#

Which device are you using?

mossy musk
#

Screens are an example. Final would be a set of gyro and accelerometer

turbid rivet
#

Screens are viable since they can be given data and left alone for a while, assuming you don't need any significant framerate. With sensors, you'll probably be much more restricted on poll rate if you have to constantly reinitialize the I2C bus on different pins.

#

If you're building a custom PCB for a final design, an I2C multiplexer would probably not take up a lot of real estate compared to a prebuilt module for a prototype.

umbral sable
#

Under the hood it should just be a couple of GPIO register writes to switch the pins, at least. But software libraries may complicate things depending on what platform you're using.

turbid rivet
#

Then again, with a large set of sensors, it's unlikely you'll be reading any individual sensor very fast, anyways.

opaque bone
#

with a raspberry pi 4b should i get 60fps at 1080p overh dmi out of the box? I bought the cana kit and even weh ni try to change resolution / framerate it looks like im getting < 30 fps on desktop. Raspbian 32bit or 64bit OS same issues

fickle rose
limpid kayak
#

anyone have problems with Mac M1s recognising Picos?

#

bootsel works - drag+drop firmware, reboots etc - but after that my mac rarely recognises the device. it does sometimes

if i use my PC, it seems to always work..

#

only sometimes appears in /dev/

twin helm
#

do you see it as any kind of USB device in System Information?

limpid kayak
#

under USB? nope..

twin helm
#

but it does show up in when in bootloader mode?

limpid kayak
#

yep

#

tried different cables, same issue

#

also

#

i have some python running a display on the pico
if i plug it into pc, works fine as i'd expect
on mac - it freezes after a second or so

twin helm
#

and it reliably shows up (as a disk?) on the Mac when in bootloader mode?

limpid kayak
#

if i plug the usb into the mains - it as expected runs correctly

#

yep, bootloader works every time on mac

twin helm
#

exactly what cables/devices/adapters are between the Mac and the Pico when you connect them?

limpid kayak
#

Macbook Air M1 has 2x USB-C ports.
I have an Anker USB-C to USB-A adapter plugged into that.
Then tried several (works on PC) USB-A > Micro-USB cables that connect to the Pico W.

It does sometimes appear on mac. Maybe 1 in 20 times I plug it in

#

Tried rebooting, closing apps, etc

tired marsh
#

so it's a pico W running MP ?

limpid kayak
#

yeah, though if it's worth noting, it's running Pimoroni's MP

#

AHH

#

yes

normal ravine
#

Any luck with fixing this?

fickle rose
#

What happened?

#

What pi model is it?

normal ravine
#

3B, and the 4R7 (sorry not sure what it is) is coming off

#

I had plugged it into my 3d printer to run octoprint and it kept giving me voltage warnings. Weird since I'm using an official power supply. After 2 prints just stopping randomly, I decided to switch it to my 3A and then I noticed that guy coming off

fickle rose
#

Looks like L2 (an inductor) let out the magic smoke

twin helm
#

it looks like it's an inductor, possibly for a switching regulator

normal ravine
#

it is L2

twin helm
#

do you know if it experienced mechanical stresses that broke it off, or did it fail through some kind of electrical overload?

fickle rose
#

Can you get a top-down photo?

normal ravine
#

it might have been mechanical

twin helm
#

it is near a mounting hole. but even if it mechanically broke off, it might also have caused electrical failures in the surrounding circuits that could be difficult to track down

normal ravine
fickle rose
#

Looking at the schematic it’s a 4.7uh 2A inductor

#

It shouldn’t have caused any damage when it popped so if you replace it the pi will probably work

normal ravine
#

Where can I find replacements? Cause finding a replacement pi right now is not an option, ha

fickle rose
#

I found it on mouser

normal ravine
#

Oh nice

#

which one do i get?

fickle rose
#

I have the link

#

Trying to send it now

normal ravine
#

ohk cool

normal ravine
#

thanks

fickle rose
#

No problem

twin helm
#

is it the right footprint?

fickle rose
#

It’s the exact same part number so yes

normal ravine
#

ordered, thank you

fickle rose
#

No problem

normal ravine
#

hopefully my moderate soldering skills will work for me, haha

fickle rose
#

The same inductor will also work for L1 if that one breaks

normal ravine
#

hopefully not, haha. But I ordered 5, so that backups are in hand

dense sedge
#

I got a pico w and am having issues seeing it as a usb drive. I can BootSel and put the pimoroni-picow micropython on it but it doesn't show up as a usb drive. I can see it in system information as USB COM15. any help appreciated.

ruby night
#

To load code to MicroPython, you can use Thonny or rshell.

thick dagger
#

hi im trying to get composite out from a raspberry pi 4. can anyone tell me how to do this?

fickle rose
robust vale
#

Hey, how long does it take for the raspi pico to set a pin from high to low and from low to high? Is it possible that if i set a pin to another value, it isn't yet "completely" set to it when executing the next line of code or is it fast enough that i'll never have to worry about stuff like that?

twin helm
#

it depends on what's connected to it. everything digital is really analog

robust vale
#

Just talking about setting it from high to low once

twin helm
#

what do you have connected to it?

robust vale
#

I connected it to a self build 3×3 LED matrix

twin helm
#

at the Pico's max clock of 133MHz, one CPU cycle is about 7.5 nanoseconds, which is quite fast enough to run into all kinds of trouble in the analog domain. it's almost certainly too short a pulse to usefully turn on a visible LED

robust vale
#

So i assume it's fast enough for any deceive that doesn't read data but is simply on as long as the pin is high?

twin helm
#

exactly what problem are you running into, if any?

umbral sable
midnight sage
#

I'm looking to a way to Hookup an Amiga 1200 Keyboard to the Pico there is this one project one made to hookup a 600 Keyboard to usb...is this possible for the Amiga 1200 Keyboard?

I would love to build one and give it a good test on the Amiga Emulator

kindred tangle
#

I hope i posted this in the right spot as i am new here. I've been doing a lot of work with your RGB Matrix Bonnet/Hat for awhile now, and I was wondering if there was anyone willing to port this invaluable piece of software to the Pi4. Tony DiCola who no longer apparently works with you guys developed a desktop mirroring software that takes whatever is displayed on the Desktop of the Pi, and mirrors that onto RGB matrix panels using the Bonnet/Hat. I'm more of the "artsy" type, and my experience in programming is basically editing scripts. So with my limited knowledge I was still capable of making some neat things (the video I linked) Since the supply chain issues have made obtaining Pi3b & Pi3b+ quite expensive, it would be awesome if someone could port this software over to the Pi4. I can't imagine that it would be too difficult, and i also guarantee that if enough people knew what this stuff was capable of, it would most likely boost the sales of your Bonnet/Hat modules. I might even be willing to PayPal someone to do this, as it would save me a bunch of money being able to access Pi4's easier than the older models. 😛
https://learn.adafruit.com/raspberry-pi-led-matrix-display/overview
https://www.youtube.com/watch?v=pCmGmLDWalE

Adafruit Learning System

Show the Pi's video output on a large RGB LED matrix display!

lethal willow
#

It all the time shows me this error please help😭

fickle rose
lethal willow
#

pi pico

fickle rose
tired marsh
#

that looks like a thing with Thonny ?

#

you are using CP libraries in Micropython mode too, are you using blinka ?

dusk grotto
#

Ok in theory is if possible to add a stick of ram using a custom cm4 bored

#

By disabling the on bored RAM

hard pike
dusk grotto
#

That sounds like a challenge

#

Lol

#

Now I got a new project to spend 4 years of my life on

faint sparrow
#

Hello, i am having this same exact problem with my Raspberry pi
if anybody knows any solution to this, Please Let me know
https://unix.stackexchange.com/questions/550472/qt-qpa-screen-could-not-connect-to-display-error-when-run-python-script-at-bo

fickle rose
dusk grotto
#

Bet

#

But first I need to find a store that has CM4 in stock

civic rune
#

heh

#

good luck

dusk grotto
#

Ikr

civic rune
#

do you know about pilocator?

dusk grotto
#

No what's that

civic rune
dusk grotto
#

So I checked it

#

And nun is in stock

#

Soo time to buy one from some sketchy seller on ebay

acoustic kayak
#

encoder

dusk grotto
spare girder
#

Hello any1 has a driver for LORA 32D uart interface?

#

how are you guys powering the rPi to be portable? i allways have low voltage indication and it is driving me nuts

fickle rose
spare girder
#

12V to 5V stepdown

#

its is a module from aliexpress

fickle rose
#

More specifically what is the current rating?

spare girder
#

it is said up to 3 amps

#

the voltage is steady 4.8v

fickle rose
#

The 4.8v is very close to the low voltage threshold

#

Can you send a top-down photo of the board or a link to it’s page on aliexpress?

fickle rose
#

Try adjusting the voltage up to ~5.2v

spare girder
#

I will maybe that will help

#

thank you, will update you boys soon

fickle rose
#

5.2v is within the usb spec so it won’t break anything

spare girder
#

I have alora module, according to the datasheet, the input voltage should not be greater than 5.0V

#

maybe i can add capacitors? just got today 2 1000uF caps will it help?

fickle rose
#

One will be enough

#

The 5.2v will not break the lora

#

Are you using a adafruit lora board?

fickle rose
#

The 5.2v will not hurt it

night sail
#

Just a thought for moderators here - I notice a pinned message that references an archived channel; might be good to remove the pin? Channel description seems to cover the same content well.

humble marsh
humble marsh
spare girder
# fickle rose The 5.2v will not hurt it

Now i am getting something really weird!! my LORA works great but my pi every time I transmit the hdmi screen shows some "white snow" even with power supply and with a cap1000uF then i switched to 470uF

fickle rose
#

Try turning up the hdmi output power

#

It’s a config.txt command

#

config_hdmi_boost=7 should fix it

#

Thinking more it sounds like the cable isn’t shielded enough

#

How long is the hdmi cable?