<set_> Yes.
<BB-Flash> Once I do that, I am sure a lot of other stuff will break :-D
<set_> Reflash to Bullseye!
<set_> Right!
<BB-Flash> let me check where is bullseye
<set_> forum.beagleboard.org
<set_> Do a search for Bullseye.
<set_> But...I am telling you. Seriously.
<BB-Flash> I am assuming this is it: Buster IoT (without graphical desktop) for BeagleBone on-board eMMC flashing via microSD card
<BB-Flash> AM3358 Debian 10.3 2020-04-06 4GB eMMC IoT Flasher
<set_> no.
<set_> forum.beagleboard.org
<set_> You can use that one if necessary but it is past its prime.
<set_> Right. Past...Let me go and check.
<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_> That is arm64.
<set_> No.
<BB-Flash> thanks!
<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!
<set_> Oh.
<set_> Stable.
<set_> No clue. It works.
<set_> Not to the enxtent of the law!
<set_> Ha.
<set_> Typo.
<set_> extent!
<BB-Flash> root@BeagleBone:/home/debian# uname -r
<BB-Flash> 5.10.131-ti-r49
<BB-Flash> root@BeagleBone:/home/debian# cat /etc/debian_version
<BB-Flash> 11.4
<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
<BB-Flash> thanks!
<BB-Flash> I was running 4.19.94-ti-r42 I think, it just upgraded it to r73
<zmatt> looks like your update_kernel.sh script is old and doesn't understand the --lts-5_10 option
<BB-Flash> I did flash bullseye to a microsd and can boot from that... will that have an updated script that I can copy back over to 10.3?
<zmatt> you should be able to update the script by doing "git pull" in /opt/scripts/
<BB-Flash> ok
Shadyman has joined #beagle
<BB-Flash> yeah I think it's updating now!
<BB-Flash> Matt, you are the best! I was able to update the kernel and the device is now working... really appreciate the help!
thinkfat has quit [Ping timeout: 260 seconds]
thinkfat_ has joined #beagle
Guest48 has quit [Quit: Client closed]
BB-Flash has quit [Quit: Client closed]
lucascastro has quit [Ping timeout: 268 seconds]
buckket has quit [Quit: buckket]
buckket has joined #beagle
dinuxbg has quit [Ping timeout: 264 seconds]
dinuxbg has joined #beagle
starblue has quit [Ping timeout: 252 seconds]
starblue has joined #beagle
BB-Flash has joined #beagle
BB-Flash has quit [Quit: Client closed]
aussetg has quit [Remote host closed the connection]
aussetg has joined #beagle
aussetg has quit [Remote host closed the connection]
aussetg has joined #beagle
Guest48 has joined #beagle
<Guest48> is there a way to use cron to play music at a certain time each day?
Guest48 has quit [Quit: Client closed]
Guest48 has joined #beagle
Guest48 has quit [Client Quit]
rob_w has joined #beagle
otisolsen70 has joined #beagle
ft has quit [Quit: Lost terminal]
otisolsen70 has quit [Read error: Connection reset by peer]
Shadyman has quit [Remote host closed the connection]
otisolsen70 has joined #beagle
mvaittin has quit [Quit: Bridge terminating on SIGTERM]
florian has joined #beagle
shoragan[m] has joined #beagle
mvaittin has joined #beagle
ikarso has joined #beagle
otisolsen70_ has joined #beagle
otisolsen70 has quit [Ping timeout: 250 seconds]
otisolsen70_ has quit [Remote host closed the connection]
jfsimon1981 has quit [Quit: Leaving]
jfsimon1981 has joined #beagle
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #beagle
behanw has joined #beagle
otisolsen70 has joined #beagle
otisolsen70 has quit [Ping timeout: 265 seconds]
otisolsen70 has joined #beagle
rob_w has quit [Remote host closed the connection]
behanw has quit [Quit: Connection closed for inactivity]
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Ping timeout: 265 seconds]
behanw has joined #beagle
ikarso has quit [Quit: Connection closed for inactivity]
GenTooMan has quit [Ping timeout: 268 seconds]
brook has joined #beagle
GenTooMan has joined #beagle
lucascastro has joined #beagle
vagrantc has joined #beagle
florian has quit [Quit: Ex-Chat]
zjason``` is now known as zjason
Guest4494 has joined #beagle
<Guest4494> I'm trying to use a 1-wire temp sensor using the instructions at https://elinux.org/EBC_Exercise_31_Dallas_1-Wire
<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.
<Guest4494> Suggestions?
<Guest4494> Here's the full error message, btw: https://pastebin.com/8GDgKj9n
<Guest4494> Oops, sorry: I meant I want to move to pin P8_11.
<Guest4494> Actually, pin P8_7 or P8_11 would suffice.
Guest4494 has quit [Quit: Client closed]
Guest4494 has joined #beagle
<zmatt> Guest4494: my overlay-utils has an example for 1-wire => https://github.com/mvduin/overlay-utils/blob/master/onewire.dtsi
<zmatt> the USES_PIN macro of overlay-utils will disable cape-universal and the exported gpio for that pin, resolving the conflict
<zmatt> the ability to avoid gpio conflicts requires a sufficiently new kernel: https://pastebin.com/2w2XtJBP
<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> Guest4494: here's the snippet modified for P8.07: https://pastebin.com/raw/tysGESx3
<zmatt> mode 7 is gpio mode
<Guest4494> Ah, need a leading 0 on the pin #beagle, that is, P8_07 not P8_7.
<zmatt> yep, you can find those macros here: https://github.com/mvduin/overlay-utils/blob/master/include/bone/black.h .. it also lists the gpio number for each of them in comments
<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
<zmatt> (the -q suppresses the status information from mpc)
<zmatt> to combine them all on one line use && between then:
<zmatt> mpc -q clear && mpc -q add filename.mp3 && mpc -q play
<DoubleA> it says mpc-q :command not found
<DoubleA> i will try without the q
<zmatt> DoubleA: spaces are not optional
<zmatt> please pay attention
<DoubleA> i didn't know since most of the commands involved spacing
<zmatt> ?
<DoubleA> do we have to add spacing or not?
<DoubleA> i added spaces
<zmatt> I said mpc -q ... you evidently typed mpc-q
<zmatt> the former is the "mpc" command with the -q flag passed as argument
<zmatt> the latter is an attempt to execute the (non-existent) command named "mpc-q"
<DoubleA> apologies for the mistakes
<DoubleA> it works
<DoubleA> i just have a huge delay from when it starts playing on the beagleboard until it starts playing on my speakers
<zmatt> well yeah, that's a consequence of how you've setup this whole architecture
<zmatt> you're basically running an internet radio station hosted on your beaglebone and have your devices play that
<zmatt> there will be a significant amount of buffering going on
<zmatt> since normally people would have no way to notice latency when listening to an internet radio station
<DoubleA> even if the beagleboard is connected via ethernet
<zmatt> how it's connected is irrelevant
<DoubleA> i tried to connect the board via wifi
<DoubleA> the wifi didn't work even when the agent was registered
BB-Flash has quit [Ping timeout: 252 seconds]
zjason` has joined #beagle
zjason has quit [Ping timeout: 252 seconds]
BB-Flash has joined #beagle
BB-Flash has quit [Ping timeout: 252 seconds]
<DoubleA> hello
<DoubleA> i tried the crontab and used the following command
<DoubleA> it didn't work
<DoubleA> 35 16 12 09 * mpc - q clear && mpc -q add song.mp3 && mp -q play
<DoubleA> it should have played at 4:35 today(09/12) but it didn't
DoubleA has quit [Quit: Client closed]
DoubleA has joined #beagle
<zmatt> DoubleA: is the beaglebone's timezone set to your local timezone?
<DoubleA> how do i know that?
<zmatt> if you execute the "date" command it'll show you the current time and timezone
<DoubleA> its on UTC not CST
<DoubleA> how do i change it to cst
<DoubleA> i assumed that connecting it to the internet would set the time automatically
<zmatt> time yes, timezone no
<zmatt> you can list valid timezones using: timedatectl list-timezones
<DoubleA> once i find the timezone, what should i do
<zmatt> sudo timedatectl set-timezone America/whatever
<DoubleA> ok
<DoubleA> i will try now
<DoubleA> does it stick or will it be reset upon reboot?
<zmatt> it's persistent
<DoubleA> i am asking due to reading the forum from another site
DoubleA has quit [Quit: Client closed]
<zmatt> my guess would be you may need to restart cron (or the entire beaglebone) for it to use the newly selected timezone
Guest4494 has quit [Quit: Client closed]
BB-Flash has joined #beagle
BB-Flash has quit [Quit: Client closed]
brook has quit [Remote host closed the connection]
brook has joined #beagle