<BB-Flash>
Third from the top I guess... I am relegated to using the onboard 4 GB eMMC
<set_>
Oh. Try forum.beagleboard.org and then search for Buster or Bullseye!
<set_>
I mess w/ bbb.io images only. Shy over here!
<set_>
They have all the best tools for their boards.
<set_>
If I was a real player, I would get an ARM server (BIG BEEF). But, I am too weak minded.
<set_>
Weekly regreting throwing it out!
<set_>
It was in my hands. Now, I am nothing again!
<BB-Flash>
Looking for a Bullseye image that will fit in 4 GB
<set_>
console
<BB-Flash>
Unfortunately I don't do much hobby work... our production products are usually in the $3-5MM range so it's serious stuff and it has to work
<set_>
Oh.
<set_>
is mm millimeter?
<BB-Flash>
So I am very hesitant to go around noodling into kernels and all that and like to just buy and deploy... these hardware component shortages are killing me though and forcing me to look for different ways to make hardware compatible
<BB-Flash>
MM is Million
<set_>
Oh.
<set_>
It is awkward.
<BB-Flash>
No worries :-)
<set_>
How can you not own an ARM server w/ bulging characteristics while in this million cha-ching game?
<set_>
I quit.
<set_>
You win
<set_>
...
<set_>
Research LKM Loadable Kernel Modules and tell me I am wrong...please. Just let me know what I gave up!
<BB-Flash>
ha ha, I know... the projects that we provide service for are valued at $3-5B usually...
buckket has quit [Read error: Connection reset by peer]
<BB-Flash>
I am going through the forum to see where the page is for the images
<set_>
It used to be called console. Now, it is called minimal.
<set_>
Minimal works!
<set_>
I like the ring to it!
<BB-Flash>
So I flash this using Balena etcher and hold down the S2 button to boot from the card? Then activate the eMMC flash option to flash it to eMMC on next boot?
buckket has joined #beagle
<set_>
Forget the S2 button. That is old news.
<set_>
Oh.
<set_>
Hold on.
Guest48 has joined #beagle
<set_>
Here: sudo enable-beagle-flasher is the command (I think). I do not use it.
<set_>
I use SD Cards.
<BB-Flash>
ok
<BB-Flash>
Is this a stable image though?
<set_>
So, yes. flash w/ etcher, boot, sudo enable-beagle-flasher, shutdown -h now or poweroff, then take out the sd card, and boot!
<BB-Flash>
Looks like it worked... now to check the GPS.....
<set_>
Yes!
<jkridner>
the 'bullseye' images haven't become "stable" except for AI-64 because we are still in the Cloud9-IDE to Visual Studio Code transition. More testing on VSX is desired, but I think we are about to call it done and switch all our docs from Cloud9 to VSX.
<BB-Flash>
....and DAMN it works!
<set_>
Oh.
<set_>
jkridner: Thank you for jumping in.
<set_>
Now, I know.
<jkridner>
still, the bullseye images aren't changing very much. just the VSX stuff really.
<set_>
The VSX stuff works for me already! I went to :3000 and it booted right into the source.
<BB-Flash>
So am335x-debian-11.4-minimal-armhf-2022-09-02-2gb.img just came out a few days back
<set_>
It is constantly updated until a set one, i am guessing.
<set_>
I would guess that to be true. I have updated images before today.
<BB-Flash>
Maybe I not phrasing this question right so apologies in advance... there is no way to upgrade the kernel of Buster IoT to 5.10?
<BB-Flash>
Looks like there is no connmanctl on this version
<zmatt>
BB-Flash: the bullseye images use systemd-networkd as network manager instead of connman
<zmatt>
and yes you can run kernel 5.10 on buster too
<BB-Flash>
Is there any documentation to upgrade the kernel?
<zmatt>
I generally just use apt to install a specific kernel, but there's also a shell script... let me check
<BB-Flash>
thanks!
vagrantc has quit [Quit: leaving]
<zmatt>
any specific reason you need kernel 5.10 on debian buster?
<zmatt>
buster is getting kinda old itself
<BB-Flash>
I used to use a GPS module which always worked and provided a Serial port ttyUSB0
<BB-Flash>
Now they are shipping with a different driver which is only working out of the box with kernel 5 and above
<zmatt>
the kernel log snippet you showed seems to suggest the device was being detected and a driver was loaded, but the usb device subsequently disconnected
<BB-Flash>
Here I am pasting it again
<BB-Flash>
215.075549] usb 1-1: new full-speed USB device number 2 using musb-hdrc
<BB-Flash>
[ 215.224779] usb 1-1: New USB device found, idVendor=067b, idProduct=23a3, bcdDevice= 1.05
<BB-Flash>
[ 215.224798] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<zmatt>
anyway, if you want to try kernel 5.10, sudo /opt/scripts/tools/update_kernel.sh --lts-5_10
<BB-Flash>
[ 215.224807] usb 1-1: Product: USB-Serial Controller
<BB-Flash>
[ 215.224814] usb 1-1: Manufacturer: Prolific Technology Inc.
<BB-Flash>
[ 215.224821] usb 1-1: SerialNumber: DZBVb106315
<zmatt>
please don't
<zmatt>
don't paste multi-line stuff into the channel
<zmatt>
use a paste service like pastebin.com
<BB-Flash>
Sorry.. what is pastebin?
<BB-Flash>
I know another user mentioned it
<zmatt>
a website to share snippets of text
<zmatt>
(there's many of those, pastebin.com is just one example)
<BB-Flash>
got it
<zmatt>
if your beaglebone has internet access you can also use the pastebinit utility, e.g.: dmesg | pastebinit
<BB-Flash>
so pastebin generates a link to the wall of text just like imgur?
<zmatt>
yeah, it's like imgur for text
<zmatt>
so you can then share that link instead of trying to paste a wall of text into chat
<BB-Flash>
thanks!
<BB-Flash>
Matt, if I can ask you one thing, https://beagleboard.org/latest-images is where I assume the stable versions are (Recommended debian images). These are what I have always used for our production installations for 3+ years and have been very productive. Are the ongoing more prone to issues etc?
<BB-Flash>
Sorry I meant to say the images in forum.beagleboard.org
<zmatt>
I mean, there will be differences (you already discovered e.g. the different network manager used), and obviously any change comes with the risk of issues
<zmatt>
at the same time, it's not a good idea to just stick with something forever as it eventually decays into non-maintenance, nor to wait with a transition until the very last moment
<zmatt>
my suggestion would be to at least start testing with the new images when you have the time, even if you're not going to use them in production yet
<Guest4494>
It works using the default P9_12 pin, but I need to move it to P8_7. I built a new overlay file as instructed, but when I boot I get errors saying "pinctrl-single 44e10800.pinmux: pin PIN30 already requested by ocp:P9_12_pinmux; cannot claim for onewire"
<Guest4494>
I notice the instructions for moving the pin start with "Follow the unconfiguring instructions for the GPIO pin of your choice", which I haven't done (not sure how), but I'm not sure that's the problem because the error suggests that P9_12 is still claiming the 1-wire role.
<zmatt>
my guess would be the wiki page you linked to is probably very old and predates cape-universal
<zmatt>
brb
<Guest4494>
zmatt, hey thanks, that looks promising. How do I use overlay-utils? Does it generate dtbo files?
<Guest4494>
Oops, meeting time. Back in a while...
<zmatt>
Guest4494: yeah, e.g. "make onewire.dtbo"
<zmatt>
Guest4494: btw, do be aware that w1-gpio (onewire via a gpio) is inherently inefficient and unreliable since onewire requires precise timing which is difficult to make using a gpio controlled by linux... so whenever possible I'd recommend using i2c sensors rather than onewire sensors
behanw has quit [Quit: Connection closed for inactivity]
Shadyman has joined #beagle
lucascastro has quit [Quit: Leaving]
<jfsimon1981>
Good evening
DoubleA has joined #beagle
<DoubleA>
Hello!
<DoubleA>
Hope everyone is doing good today
<DoubleA>
I have a question about cron
<DoubleA>
I recently setup my beagleboard with pulseaudio and want to know if I can use cron to control when my music will playback
BB-Flash has joined #beagle
<DoubleA>
I am new to beagleboard and have no experience
<zmatt>
DoubleA: just like last time you left out the important bit in your setup: mpd
<zmatt>
pulseaudio is irrelevant, it's about mpd
<zmatt>
you can use mpc to control mpd
<zmatt>
e.g. "mpc play" will start playing songs from the start of the queue
<zmatt>
see "man mpc" for documentation
<DoubleA>
Hello my friend!
<DoubleA>
I got the music working after we last spoke
otisolsen70 has quit [Quit: Leaving]
<DoubleA>
I am attempting to install cron and once it finished installing, it said crontab: usage error : no arguments permitted after this option
<DoubleA>
sudo apt-get update
<DoubleA>
sudo apt-get install cron
<DoubleA>
^^^these commands were used to install cron
<zmatt>
uhh, cron is installed by default
<DoubleA>
not on debian
<zmatt>
yes
<DoubleA>
i tried running the crontab -e [username] command and that was the error
<zmatt>
uhh, based on the manpage that syntax is wrong
<zmatt>
you should just run crontab without arguments anyway
<DoubleA>
i looked into the same forum i got the instructions from and it said that it wasn't installed by default so i assumed that i had to install
<zmatt>
I think
<zmatt>
no sorry, crontab -e
<zmatt>
without any further argument
<DoubleA>
its now telling me to select editor
<DoubleA>
recommends /bin/nano
<zmatt>
sounds fine, nano is the same as pico, which you've been using so far
<DoubleA>
perfect
<DoubleA>
i just have to figure out how to create a cron command for mpc now
<Guest4494>
zmatt, I edited onewire.dtsi to change it to use the pin P8_7, but when I run make, I get an error on line 19 which is the PIN_PULLUP() call. What is that second parameter to PIN_PULLUP()? (Default value is 7)
<zmatt>
the second argument to the PIN_PULLUP/PIN_PULLDN/PIN_NOPULL macros is the mux mode, range 0-7, where mode 7 is gpio mode for all pins and the remaining modes vary per pin
<Guest4494>
It compiles now, and I've updated uEnv.txt to use the new onewire.dtbo, and when the BBB boots, I'm not seeing the errors anymore.
<Guest4494>
But there's nothing under /sys/class/hwmon, i.e., an hwmon0 directory.
<Guest4494>
Oops, it's there. Apparently I was too impatient.
<zmatt>
patience is a virtue
<Guest4494>
That's probably why no one ever called me virtuous.
<zmatt>
lol
<DoubleA>
I did some research about cron and want to play a song at 3:15 on 09/12 from mpc
<DoubleA>
is this the right command?
<DoubleA>
15 15 12 09 %songname% play
<zmatt>
no
<DoubleA>
15 15 12 09 * mpc %songname% play
<DoubleA>
^^^is this right?
<zmatt>
closer but it's just mpc play to start playing from the start of the queue, i.e. that wil work for when you put the song in the queue in advance
<Guest4494>
BTW, saw your note about 1-wire being unreliable. It's okay in our case since we're looking at temperature change trends and we sample once per minute then average those all together to look for trends. So, the measurements don't have to be terribly precise. And we already have the sensors.
<zmatt>
mpc also has a searchplay command if you want it to play a specific song from your music library
<zmatt>
DoubleA: I suggest getting the mpc command right by executing it manually *before* attempting to use cron to execute it at a particular time
<zmatt>
Guest4494: fair enough
<DoubleA>
ok
<Guest4494>
But thanks for the tip. We're just prototyping some stuff currently; down the road we may need more precision, and if so I'll push for I2C-based sensors.
<DoubleA>
how do i remove songs from mpd
<DoubleA>
from the queue
<DoubleA>
nevermind i just had to update
<zmatt>
note that you can also enable "consume" mode to automatically remove songs from the queue after they've played
<DoubleA>
i just changed the name of the song on the sd so that it would be easier to reference
<DoubleA>
for the command i put mpc search play %songname%
<DoubleA>
is that correct?
<zmatt>
no
<DoubleA>
do we have to include the .mp3 extension perhaps?
<zmatt>
you can search by "artist, album, title, track, name, genre, date, composer, performer, comment, disc, filename, or any (to match any tag)"
<DoubleA>
i have only the title of the track
<zmatt>
e.g. mpc searchplay filename "name-of-file.mp3"
<zmatt>
or mpc searchplay title "Title Of Song"
<zmatt>
(quotes are optional if the search query doesn't contain any spaces or other special chars)
<zmatt>
it does a substring search so even when searching for the filename, including the .mp3 extension in the search query is optional
<DoubleA>
it says playlist contains no matching song
ft has joined #beagle
<zmatt>
huh it searches the playlist not the library? that's... not what I expected
<zmatt>
oh search, 'search' searches the library but 'searchplay' searches the queue
<DoubleA>
i will try search
<zmatt>
search will just return the filename though
<DoubleA>
your right
<zmatt>
I guess you need to add it to the queue using the add command and then use searchplay to play it
<zmatt>
or clear the queue, add the song, and then just play
<DoubleA>
so i could do mpc add title song.mp3 followed by a mpc searchplay title song.mp3