lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
prahal has joined #armbian-rockchip
<DC-IRC> <Tonymac32> https://github.com/armbian/build/pull/5542 give me a review 😄
montar has joined #armbian-rockchip
juri_ has joined #armbian-rockchip
<juri_> better? :)
<montar> i'm looking for help with adding ir transmitter to my rock64 board
<montar> where i could find configuration for it?
<montar> specifically for ir_gpio_tx
<montar> where can i configure ir transmitter?
<DC-IRC> <Tonymac32> if you want to make it a device you can make an overlay for it using some bindings here: https://github.com/torvalds/linux/tree/master/Documentation/devicetree/bindings/leds/irled
<montar> Tonymac32 i'm just looking for a file to type pin numbers in
<montar> i have gpio_ir_recv configured shipped w/ system
<montar> i just want to freakin add transmit
<DC-IRC> <Tonymac32> well, take a few breaths and calm down. receive and transmit are completely different devices as far as the kernel is concerned. If an overlay doesn't currently exist to load an IR transmit driver ,then there is no where to "type pin numbers in"
<DC-IRC> <Tonymac32> even in RPi fantasy land, the only reason you can type in pin numbers is because someone else wrote a device tree overlay to do the work, waiting on fixups in the form of pin numbers
<montar> overlay exists
<montar> i just want to configure it
<DC-IRC> <Tonymac32> I don't know of any rockchip64 overlays for this, which kernel?
<montar> 6.1.30-rockchip64
<montar> rock64 is my board
<DC-IRC> <Tonymac32> what is the name/source of the overlay you are trying to use?
<montar> gpio_ir_tx
<montar> it doesn't show up in armbian-config
<montar> nor gpio-ir-recv does and i know it's working
<DC-IRC> <Tonymac32> yeah, we don't have an overlay for that that I can see
<DC-IRC> <Tonymac32> recieve is a board hardware so it can be in the board dts natively
<montar> might be
<montar> so how do i setup that gpio_ir_tx overlay?
<montar> how do i make one?
<DC-IRC> <Tonymac32> so yes it's in the kernel as-is for recieve
<DC-IRC> <Tonymac32> for transmit you need to write an overlay and compile it. there's a lot to go over for that, but https://github.com/armbian/build/tree/main/patch/kernel/archive/rockchip64-6.3/overlay has a ton of examples
<DC-IRC> <Tonymac32> building the overlay is harder, doing it with the build system is the easiest since it is done in-tree with all the nice include files/etc to keep them readable
<montar> build system?
<montar> so i would have to compile entire armbian right?
<montar> Tonymac32 i can use LIRC to transmit
<montar> it would be simpler right?
<montar> i think it would be best to abadon ir_gpio stuff and just use lirc
<DC-IRC> <Tonymac32> I'm going to be honest I haven't tried anything with lirc or gpio ir in at least 12 years
<montar> ah ok
<DC-IRC> <Tonymac32> I just know more than is healthy about overlays 😄
<montar> cool
<montar> i'm more of an electronics guy
<DC-IRC> <MicroLinux (Salva)> https://youtu.be/MLJSvWdn32M
<DC-IRC> <tenkawa42> faster sd = get rid of it and use emmc or usb
<DC-IRC> <tenkawa42> SD just has no place for "speed" in today's hardware
<DC-IRC> <tenkawa42> But in all seriousness.. if you are going to use it.. nice that you have found some areas to improve performance.
<DC-IRC> <MicroLinux (Salva)> Sure, but emmcs are expensive and on sds are great for testing sw
<DC-IRC> <MicroLinux (Salva)> At some point, the value of arm sbcs are that they are cheap for the performance, I try to keep that in mind. Off course, if one wants the best, emmc. But that comes at a higher price
<DC-IRC> <mariob> see orange pi emmcs
<DC-IRC> <mariob> they're really cheap
<DC-IRC> <tenkawa42> @mariob they are inexpensive at most of the shops here in the states... problem is in other locations
<DC-IRC> <MicroLinux (Salva)> Yes, sd cards are widely available and affordable where emmcs aren't
<DC-IRC> <mariob> hmm interesting
<DC-IRC> <mariob> how inexpensive are we talking?
<DC-IRC> <mariob> the opi emmcs on aliexpress are like $20 usd for 256 GB
<DC-IRC> <MicroLinux (Salva)> Also, the emmc slot isn't meant to be used like sds... it will break if you replace the emmc like you do with sds.. I prefer to use emmc for serious usage and sds for testing, and well, a good performing sd it's better than an underperforming one
<DC-IRC> <tenkawa42> @mariob more than that but Aliexpress quality is questionable
<DC-IRC> <tenkawa42> Microsd slots are "much" more brittle than emmc
<DC-IRC> <mariob> i know several people have bought them. it's real sandisk or foresee flash with good performance
<DC-IRC> <MicroLinux (Salva)> I am talking about the socket, not the sd
<DC-IRC> <tenkawa42> So am I
<DC-IRC> <tenkawa42> I've never seen a bad emmc socket but I've seen microsd ones melt
<DC-IRC> <MicroLinux (Salva)> Well, I never broke an sd socket, but yes on emmc, so, your mileage may vary haha
<DC-IRC> <mariob> i've broken the plastic connector on one of my emmc modules (luckily it was the redundant one for support and not the data one)
<DC-IRC> <tenkawa42> Got a Rock5 still missing its microsd connectivity because it fell off
<DC-IRC> <tenkawa42> it was running one day and just fell out
<DC-IRC> <mariob> yeah micro sd slot on rock is weird
<DC-IRC> <mariob> sticks out way too much
<DC-IRC> <mariob> (someone posted a photo of sd card broken in half due to this xD)
<DC-IRC> <mariob> (someone posted a photo of a micro sd card broken in half due to this xD)
<DC-IRC> <tenkawa42> yeah
<DC-IRC> <tenkawa42> I remember old devices using that "half-in" approach.. I always wondered (why oh why)
<DC-IRC> <mariob> i wish there was a standard connector for emmc, with hotplug support too