Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

ADORO IL GENIO - OI DIALOGOI


Gli ultimi otto messaggi ricevuti dalla Federazione
  • read more

  • Remember when I said driver development isn't linear ? Here is another chapter.

    I have had a bladeRF SDR for years. Brought to Morocco, where returning defective hardware isn't really an option - you get what you get. And what I got, I thought, was a slightly defective unit. Sending it oversea cost more than just ordering another.

    The DC offset calibration was always a bit off:

    Calibrated @ 347500000 Hz: I= 944 (Error: 3.44), Q=1328 (Error: 3.47)

    Error values around 3.4? Not great, not terrible. But not what you want from a $400 SDR. I eventually gave up, shoved it in a closet, and bought a HackRF instead. The bladeRF sat there for years, collecting dust, while Nuand dropped the price and I told myself I'd gotten a lemon from a bad batch.

    Then I tested it on FreeBSD.

    Calibration failed immediately. Timeout errors everywhere. But that's what led me to the bug.

    libusb_handle_events_timeout() returns LIBUSB_ERROR_TIMEOUT when the timeout expires with no events. That's not an error, the function working as documented. But the bladeRF driver was treating it as unexpected:

    if (status < 0 && status != LIBUSB_ERROR_INTERRUPTED) {
    log_warning("unexpected value from events processing...");
    status = error_conv(status);
    }

    That error_conv() call was corrupting the event loop timing. On Linux, the calibration "completed" — but with garbage results. The bug didn't blow up. It just silently poisoned the data.

    One two-line fix:

    if (status < 0 && status != LIBUSB_ERROR_INTERRUPTED &&
    status != LIBUSB_ERROR_TIMEOUT) {

    After the fix:

    Calibrated @ 347500000 Hz: I= 944 (Error: 0.41), Q=1328 (Error: 0.42)

    My "defective" SDR now calibrates perfectly.

    The hardware was never broken. The driver bug silently corrupted calibration for years. I spent years thinking I had bad hardware because error values of 3.4 looked like "marginal hardware" rather than "broken software."

    FreeBSD didn't fix my SDR but testing on FreeBSD forced me to actually debug the problem instead of living with silent corruption.

    Pushed the fix upstream. If your bladeRF calibration has always been "a bit off", try this patch.

    read more

  • Non è Lercio. Però qualcuno lo è. Prossimamente nel DSM, la profilazione della sinistra radicale.
    (Corriere)

    read more

  • @Tionisla I've never seen a different kind of car dealers.

    read more

  • Scorza: “Il 2026 sulle barricate per difendere regole e democrazia”

    La rivolta anti-regolazione del 2025 punta a far dettare le “regole” dalla tecnologia. Le norme restano lo scudo dei diritti: innovazione vera è distribuire i benefici a tutti

    https://www.agendadigitale.eu/cultura-digitale/diritti-e-tecnologia-nel-2026-bisogna-re-innamorarsi-delle-regole-democratiche/

    @eticadigitale

    read more

  • Le guerre di Putin, l’ex boss del potassio russo Baumgertner scomparso a Cipro

    Il giorno dopo, strano "suicidio" in ambasciata russa a Nicosia. Il retroscena su @LaStampa

    https://www.lastampa.it/esteri/2026/01/12/news/le_guerre_di_putin_l_ex_boss_del_potassio_russo_scomparso_a_cipro-15464848/

    read more

  • @stefano damn, seems car dealers all over the world are after all car dealers :-)

    read more

  • @Tionisla wow, what a story! Yes, rear traction. I was used to that kind of traction, so I knew how to manage it. But that car's suspensions were totally depleted.

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    1 Views
    Tutto Woody Allen: l'enciclopedia che toglie gli occhiali al mito«...Allen non è un autore che si capisce “in linea retta”. È un sistema di ossessioni, rimandi, falsi ricordi, maschere coerenti...»#stotia #cinema #arte https://www.globalist.it/culture/2026/01/09/tutto-woody-allen-lenciclopedia-che-toglie-gli-occhiali-al-mito/
  • 0 Votes
    1 Posts
    0 Views
    "The king of cool" moriva 30 anni fa. E a me piace ricordarlo non con un film o una canzone ma in occasione della reunion che fece col suo compare #JerryLewis per #Telethon (creazione di quest'ultimo) sotto l'egida di un tizio che masticava lo show-business come loro. E se non sapete di chi sto parlando.. peccato per voi - Invidious https://iv.duti.dev/watch?v=K3KAMg9LIzw @spettacoli #music #cinema #DeanMartin
  • 0 Votes
    1 Posts
    11 Views
    L'11 ottobre 1975 era sabato. È per quello che la trasmissione si chiamò #SaturdayNightLive. L'anno scorso uscì un #film omonimo che raccontava le ore che precedettero la prima puntata. Ma meglio andare alla fonte per scoprire perché è (stato) il programma comico più importante del mondo https://youtube.com/@saturdaynightlive?si=UOMKx91l7wtqpdIP @spettacoli #TV #SNL #NewYork
  • Ieri sera ho visto Tron.

    Uncategorized cinema film
    2
    0 Votes
    2 Posts
    18 Views
    Ieri sera ho visto Tron. Di per sé non è un brutto film, l'idea di base è buona. Ma era troppo avanguardistico, troppo sparafleshosoMi ha ricordato un po' la scena in cui i Simpson in Giappone vedono un cartone animato che causa crisi epilettiche (https://www.youtube.com/watch?v=hVM4MnOtpDk). Ecco, Tron era tutto troppo.#Cinema #Film