Author Topic: FM radio in debian : is it possible ?  (Read 4756 times)

galodoido

  • Full Member
  • ***
  • Posts: 153
    • View Profile
FM radio in debian : is it possible ?
« on: June 03, 2018, 05:37:42 pm »
Hi.
Is it possible to hear FM radio in debian like in android ?
I didn't see /dev/radio .
What software to use : gnomeradio ?
Thank you all.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
FM radio in debian : is it possible ?
« Reply #1 on: June 17, 2018, 05:43:47 pm »
can you analyse the fm radio  app in android and see what it does? using strace or something. once you know what kernel driver/device you can ensure debian has the same driver loaded.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

galodoido

  • Full Member
  • ***
  • Posts: 153
    • View Profile
FM radio in debian : is it possible ?
« Reply #2 on: June 17, 2018, 06:09:14 pm »
Quote from: speculatrix
can you analyse the fm radio  app in android and see what it does? using strace or something. once you know what kernel driver/device you can ensure debian has the same driver loaded.
I will have to root android. I am not a big fan of rooted android.
But I will try and if I find something I will post here.
Thank you again.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
FM radio in debian : is it possible ?
« Reply #3 on: June 18, 2018, 03:08:55 am »
Maybe you can simply run "strings" on the android binary from within termux?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

galodoido

  • Full Member
  • ***
  • Posts: 153
    • View Profile
FM radio in debian : is it possible ?
« Reply #4 on: June 18, 2018, 06:13:00 am »
Quote from: speculatrix
Maybe you can simply run "strings" on the android binary from within termux?

Thank you so much again.
I will try also and if I find something I will post here .

mifritscher

  • Newbie
  • *
  • Posts: 23
    • View Profile
FM radio in debian : is it possible ?
« Reply #5 on: June 21, 2018, 03:37:09 pm »
I've no root access yet, but /proc/devices reveals a character device major 224 which is called fm on android.

galodoido

  • Full Member
  • ***
  • Posts: 153
    • View Profile
FM radio in debian : is it possible ?
« Reply #6 on: June 21, 2018, 04:22:10 pm »
Quote from: mifritscher
I've no root access yet, but /proc/devices reveals a character device major 224 which is called fm on android.

Thank you . Up to now, I could not find a solution for this.
I will continue investigating.

galodoido

  • Full Member
  • ***
  • Posts: 153
    • View Profile
FM radio in debian : is it possible ?
« Reply #7 on: June 25, 2018, 09:05:05 am »
I've installed some firmwares ( downloaded from repository ). I found a /dev/fm , but not /dev/radio. I don't know if before this firmwares I've downloaded , the /dev/fm already existed. I've installed a radio application, but it has no permission to access dev/fm .
I saw in : https://stackoverflow.com/questions/8559612...tion-in-android

that  /dev/fm isn't accessible without platform key.

Please,  I'd really appreciate if someone can verify if /dev/fm exists in your gemini pda's . Thank you all.
« Last Edit: June 25, 2018, 09:39:48 am by galodoido »

Evildead666

  • Newbie
  • *
  • Posts: 4
    • View Profile
FM radio in debian : is it possible ?
« Reply #8 on: June 25, 2018, 04:27:41 pm »
Quote from: galodoido
I've installed some firmwares ( downloaded from repository ). I found a /dev/fm , but not /dev/radio. I don't know if before this firmwares I've downloaded , the /dev/fm already existed. I've installed a radio application, but it has no permission to access dev/fm .
I saw in : https://stackoverflow.com/questions/8559612...tion-in-android

that  /dev/fm isn't accessible without platform key.

Please,  I'd really appreciate if someone can verify if /dev/fm exists in your gemini pda's . Thank you all.

Forgive me, for I am a Linux Noob
Do you want this info from people using Android, or Linux (or both) ?

My Wifi only Gemini is only Linux.
but, I do have what looks like a file called "fm" in "/dev/" in the File Manager.
« Last Edit: June 25, 2018, 04:28:05 pm by Evildead666 »
Pi2/Pi3B/Pi3B+/Pine64+/GPD WIN/Gemini Wifi

galodoido

  • Full Member
  • ***
  • Posts: 153
    • View Profile
FM radio in debian : is it possible ?
« Reply #9 on: June 25, 2018, 04:46:14 pm »
In linux.
Thank you for the information.

gemini_user_j

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
FM radio in debian : is it possible ?
« Reply #10 on: August 18, 2018, 02:20:02 pm »
Quote from: galodoido
Please,  I'd really appreciate if someone can verify if /dev/fm exists in your gemini pda's . Thank you all.

Also exists in mine, but can't access it.

If I try with sudo:
sudo fmscan -d /dev/fm
fmscan: VIDIOC_QUERYCTRL: Operation not permitted


cheers
« Last Edit: August 19, 2018, 10:32:55 am by gemini_user_j »
Gemini PDA x27