0 users browsing Discussion. | 2 guests | 2 bots  
    Main » Discussion » (Mis)adventures on Debian ((old)stable|testing|aghmyballs)
    Pages: First Previous 3 4 5 6 7 8
    Posted on 21-08-19, 22:29
    Dinosaur

    Post: #988 of 1041
    Since: 10-30-18

    Last post: 1 day
    Last view: 10 hours
    To be fair, wammu (just like wicd) were victims of neglect in the long-forewarned Python 2 deprecation and removal, and I can't really blame Debian for that. Upstream for those projects moved to greener pastures years ago, while leaving its users in the deep Siberian cold, and noone (well Python-versed) bothered to take a chance here. The removal of wicd particularly hurts those on old/underpowered hardware, where NetworkManager is simply overkill for those still rocking ancient Pentium Ms (that are still useful for plenty of tasks NOT INVOLVING WEB BROWSERS) which will never get hooked to anything that isn't a Ethernet jack. Or people disliking Red Hat software (for rational reasons or not, at this stage of the game I don't really care). Or people wanting to have a choice (isn't Linux forte being "FREEDOM TO CHOOSE"?! Ah, I forgot, that ship has long sailed....)

    In the case of wammu, the unfortunate demise of dumbphones (it relied on gammu, which only supported ancient cellphones back from when Nokia was still king, and the perversions of Android and iOS were in its infancy) didn't helped matters, at all. Technology marches on, they say... and instead we gotta embrace suck, because shiny trumps everything else.

    Licensed Pirate® since 2006, 100% Buttcoin™-free, enemy of All Things JavaScript™
    Posted on 21-11-09, 16:15
    Post: #163 of 178
    Since: 11-24-18

    Last post: 2 days
    Last view: 2 hours
    Today I made a big leap forward! By following the confusing instructions of some seedy internet site, I am now listening to glorious music through my bluetooth headphones while my system shows this:


    $ lsb_release -d
    Description: Ubuntu 21.10

    $ systemctl --user status pulseaudio.{socket,service} | grep Active
    Active: inactive (dead)
    Active: inactive (dead)

    $ systemctl --user status pipewire{,-pulse}.{socket,service} wireplumber | grep Active
    Active: active (running) since Tue 2021-11-09 16:41:20 CET; 28min ago
    Active: active (running) since Tue 2021-11-09 16:41:20 CET; 28min ago
    Active: active (running) since Tue 2021-11-09 16:41:20 CET; 28min ago
    Active: active (running) since Tue 2021-11-09 16:41:20 CET; 28min ago
    Active: active (running) since Tue 2021-11-09 16:41:20 CET; 28min ago


    Finally I have gotten rid of the first modern Linux scourge, ten years after I gave up on ALSA! :D Hopefully someone will replace systemd in another ten years or so. Baby steps! :)
    Posted on 21-11-09, 18:01
    Dinosaur

    Post: #1010 of 1041
    Since: 10-30-18

    Last post: 1 day
    Last view: 10 hours
    Hopefully someone will stop with the rampant bikeshedding spread around the entire Linux ecosystem. But nope, that's too communist, the sacred right to have 15 broken options for everything must be upheld!

    Let's hope that the UI/UX braindamage doesn't finish killing the desktop environments across all OS, and that the insane cellphone infatuation everywhere dies. But I'm not holding my breath. Between the JavaScript Everywhere™ morons, the "let's rewrite coreutils and GNOME in the hipster-language-of-the-week from our Macs" nutcases, and the Troo UNIX® Way™ graybeard sysadmins that want desperately to go back to the '70s to feel themselves young again, expect more ranting from myself in the future.

    Also: Bluetooth has always been a very shitty tech, only good for cursing and useless battery draining... at least to me.

    Status of the Buster->Bullseye update: the Asus is still waiting, I'm in no hurry.

    Licensed Pirate® since 2006, 100% Buttcoin™-free, enemy of All Things JavaScript™
    Posted on 21-11-09, 18:43
    Post: #164 of 178
    Since: 11-24-18

    Last post: 2 days
    Last view: 2 hours
    Posted by tomman
    Also: Bluetooth has always been a very shitty tech, only good for cursing and useless battery draining... at least to me.


    s/Bluetooth/Plug and Play/

    The nineties geek squad called, they want their #1 complaint back. :)
    Posted on 21-11-09, 21:03

    Post: #367 of 382
    Since: 10-29-18

    Last post: 2 days
    Last view: 2 hours
    Posted by tomman
    Hopefully someone will stop with the rampant bikeshedding spread around the entire Linux ecosystem. But nope, that's too communist, the sacred right to have 15 broken options for everything must be upheld!

    relevant LTT, lol

    My current setup: Super Famicom ("2/1/3" SNS-CPU-1CHIP-02) → SCART → OSSC → StarTech USB3HDCAP → AmaRecTV 3.10
    Posted on 21-11-21, 21:10
    Dinosaur

    Post: #1012 of 1041
    Since: 10-30-18

    Last post: 1 day
    Last view: 10 hours
    Just for funsies, I tried Bluetooth audio from my Alcatel to my Debian box:

    - Pair devices
    - Turn on Bluetooth on phone
    - Open Blueman (right click on the Bluetooth logo on systray->Devices)
    - Right-click your phone, select "Audio source"
    - Play some audio on your phone: it now plays on your PC!
    - Optional: pavucontrol (Pulse's GUI volume control applet) lets switch profiles between HSP and A2DP (connection defaults to A2DP), if needed.

    Stuff I need to test:
    - How do you init the audio connection from Android 7? (like: tell my phone that I want to send audio to my PC, instead of telling my PC that I want to get audio from my phone)
    - Record audio

    There seems to be a catch: I can't get audio from the phone's FM radio - it will just go silent. Yay Qualcomm Alcatel TCL :/

    Licensed Pirate® since 2006, 100% Buttcoin™-free, enemy of All Things JavaScript™
    Posted on 21-11-28, 01:59
    Post: #198 of 200
    Since: 11-01-18

    Last post: 5 days
    Last view: 2 days
    Posted by tomman

    There seems to be a catch: I can't get audio from the phone's FM radio - it will just go silent. Yay Qualcomm Alcatel TCL :/


    with headphones plugged in?
    Posted on 21-11-29, 01:54
    Dinosaur

    Post: #1027 of 1041
    Since: 10-30-18

    Last post: 1 day
    Last view: 10 hours
    Posted by funkyass
    Posted by tomman

    There seems to be a catch: I can't get audio from the phone's FM radio - it will just go silent. Yay Qualcomm Alcatel TCL :/


    with headphones plugged in?


    Headphones plugged in indeed, because it's a requirement for the FM radio, as this phone (like most) lack an internal FM antenna.
    BUT! You made me perform additional testing!

    From my Alcatel, games and media players send audio fine to my Debian box. But not the FM radio... and the PHONE. Yes, I can't use my laptop as an oversized Bluetooth handset! It seems the whole "use your phone from your PC" is still considered experimental on BlueZ, and it doesn't work alone. I followed these instructions (because of course such a silly feature is barely documented, in true Linux fashion):
    https://unix.stackexchange.com/questions/291831/use-debian-laptop-as-bluetooth-headset (look for the second answer)
    http://moondragon.ilbello.com/en/ubuntu-telefonate-bluetooth-android-come-vivavoce/ (same steps, but missing the "add pulse user to bluetooth group"

    ... no dice. Radio remains confined to the phone, and I can't use my PC as a headset for phone calls. Everything else works fine.
    Apparently, I can blame Android, because as soon as it sees my PC as a PC, it refuses to believe that it can work as a phone handset too.

    BUT!
    Just for lulz, I tested with my new KrapOS KaiOS Blu, and IT DID THIS ONE THING RIGHT!
    The stupid phone DOES allow me to redirect call audio to either phone itself (be it earpiece or speakerphone), or Bluetooth. YAY~!
    At first it didn't worked (everything would remain mute, and the HFP/HSP profile would say "Unavailable" on pavucontrol), but after restarting the Ofono daemon, I could indeed use my ancient PC as a oversized headset for my shitty new phone!!!
    There were some minor bugs (like DTMF tones being played on both PC and phone), but profile switching between HFP/HSP and A2DP was seamless: I could speak on the microphone attached to the PC, and the other calling party would hear my voice. After finishing the call, I could play music/videos from my phone to my PC.
    Another catch: FM radio wouldn't play over Bluetooth on this phone, too *sigh~*

    So yeah, while KaiOS doesn't give a fuck, Android does because PCs are the enemy, or something.


    A final catch: any attempt to pair devices MUST be initiated by the PC (in my case, from Blueman) - otherwise, the PC would never get the PIN input prompt, and the phone would fail to pair. Dunno why, but whatever - Bluetooth is a shitty tech which has barely improved after all these years :/

    Licensed Pirate® since 2006, 100% Buttcoin™-free, enemy of All Things JavaScript™
    Posted on 21-11-29, 03:22
    Custom title here

    Post: #1035 of 1049
    Since: 10-30-18

    Last post: 2 days
    Last view: 18 hours
    I'd bet the radio output never exists in the digital domain. They probably send the analog output of the FM chip straight to the amplifier for the earpiece and headphone port.

    --- In UTF-16, where available. ---
    Posted on 21-12-30, 00:47 (revision 1)
    Dinosaur

    Post: #1032 of 1041
    Since: 10-30-18

    Last post: 1 day
    Last view: 10 hours
    Posted by CaptainJistuce
    I'd bet the radio output never exists in the digital domain. They probably send the analog output of the FM chip straight to the amplifier for the earpiece and headphone port.


    Decided to test your hypothesis. Turns out it's true, at least on my Alcatel: this phone can't redirect the FM radio tuner to anywhere else but the internal speaker or wired headphones. Listening to radio over Bluetooth headsets/speakers is out of the question (you may want to buy a more expensive phone which may or may not have a FM radio). And letting apps listen/record the audio is simply not possible on this phone, so forget about recording radio content over the air (the recorder app will only record silence), or using things like Shazam to identify songs (which is, y'know, the whole raison d'être of this application!)

    The best you can do is to adjust volume and switch between (hard)wired outputs, but that's all.

    Fun fact: At least on Android smartdevices, FM radio implementations are all proprietary - there is no standard Android framework for that, and every radio tuner requires OEM-specific native libraries. This also means that if your cellphone ships with a shitty FM radio tuner app, you're stuck with it forever (the best I've seen is a very outdated app on F-Droid that might not support your tuner chip, AND it requires a rooted device).

    Oh, and the Alcatel TCL FM radio tuner app on my OT-5044R spy on me, judging by the ~4MB of data that it has managed to siphon out of my device to Commander Xinnie's HQ, because of fucking course a FM radio tuner requires unsolicited telemetry/anal-ytics. Lovely. (There is even an update available on Play Store, but it will break radio on my phone because FUCK YOU THAT'S WHY, so I had to blacklist it on Aurora Store)

    On my KrapOS™ Blu, it's even worse, as you can't even switch between speaker and headphones should you have some plugged in (while the device has an internal FM radio antenna, it's pretty much useless for anything but ludicrously high powered stations). At least I'm still allowed to adjust volume on this one...


    So yeah... if you want to listen/record FM radio on your PC, either buy an USB dongle, or a good ol' patch cable. Or give up radio, who needs local news anyway in the age of Farcebook and Twatter?

    Licensed Pirate® since 2006, 100% Buttcoin™-free, enemy of All Things JavaScript™
    Posted on 21-12-30, 01:59

    Post: #378 of 382
    Since: 10-29-18

    Last post: 2 days
    Last view: 2 hours
    The radio stations I'd listen to (if I'm not listening to songs or even entire playlists on YT Vanced) all have web players, but then again I'm usually only connected via WLAN.

    My current setup: Super Famicom ("2/1/3" SNS-CPU-1CHIP-02) → SCART → OSSC → StarTech USB3HDCAP → AmaRecTV 3.10
    Posted on 21-12-30, 11:49
    Dinosaur

    Post: #1033 of 1041
    Since: 10-30-18

    Last post: 1 day
    Last view: 10 hours
    Posted by creaothceann
    The radio stations I'd listen to (if I'm not listening to songs or even entire playlists on YT Vanced) all have web players, but then again I'm usually only connected via WLAN.

    And that's of course a non-starter in places like Soviet Venezuela:

    - Many local stations don't even have online presence (beyond a WhatsApp account), much less streaming channels

    - Our data networks are unreliable, as I've said countless times in the past: WLAN relies on a ISP, which for 90% of us is... CANTV. And 3G/4G is not only expensive, it's also unusable! FM radio doesn't need anything of that, plus it's free~

    Yes, our radio is firmly stuck in the '80s, not only due to Communism™, but also because many station/network owners are pennypinching bastards that don't even bother buying a cheap $10/yr .ve domain. And... surprisingly, that seems to nicely fit their target audience!

    Fortunately the FM tuner on my Encore TV card is still alive, so I can easily record from it on my Debian setup, but come on - cellphones are the perfect recording devices for everything (plus they're handheld!), so why OEMs don't even bother!?

    Licensed Pirate® since 2006, 100% Buttcoin™-free, enemy of All Things JavaScript™
    Pages: First Previous 3 4 5 6 7 8
      Main » Discussion » (Mis)adventures on Debian ((old)stable|testing|aghmyballs)
      Kawa's Github