Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Fiio M3k
« previous next »
  • Print
Pages: 1 ... 12 13 [14] 15 16 ... 27

Author Topic: Fiio M3k  (Read 62345 times)

Offline amachronic

  • Developer
  • Member
  • *
  • Posts: 269
Re: Fiio M3k
« Reply #195 on: April 29, 2021, 08:49:18 AM »
Okay, I'll fix the endian.h issue -- that's something I've been meaning to do anyway since it's a problem for Windows too.

Also, make sure you compile libusb. It isn't enough to just drop it in the include folder. Rather than compile it yourself, it looks easier to install with homebrew:
Code: [Select]
brew install libusb
I think I figured out which include/library paths to use for homebrew stuff so I'll add those to the Makefile. I'll probably get this done later today, you can try again then and let me know if you have success or more problems.
Logged

Offline speakn2pabst

  • Member
  • *
  • Posts: 13
Re: Fiio M3k
« Reply #196 on: April 30, 2021, 10:36:33 PM »
Hi all.   :) First post, new user.    ;)   

Just wanted to drop a thank you.  I followed the build instructions (on Manjaro/Arch Linux) and have a new native Rockbox build on my M3K.  Still checking it out but seems to function great.  Thanks for the continued work.   ;D
Logged

Offline FroggestSpirit

  • Member
  • *
  • Posts: 6
Re: Fiio M3k
« Reply #197 on: May 03, 2021, 05:47:15 PM »
Nice progress here! With USB mode, does that mean it will allow you to play audio over USB, like in a car stereo with a USB port? It'd be nice to ditch the AUX cord, since you cant skip tracks with it.
Logged

Offline amachronic

  • Developer
  • Member
  • *
  • Posts: 269
Re: Fiio M3k
« Reply #198 on: May 03, 2021, 06:14:50 PM »
Quote from: FroggestSpirit on May 03, 2021, 05:47:15 PM
Nice progress here! With USB mode, does that mean it will allow you to play audio over USB, like in a car stereo with a USB port? It'd be nice to ditch the AUX cord, since you cant skip tracks with it.

Sorry, Rockbox doesn't have a USB DAC mode. Or do you mean outputting audio from Rockbox over USB, for playback on another device? (That's not supported either.)
Logged

Offline speachy

  • Administrator
  • Member
  • *
  • Posts: 323
Re: Fiio M3k
« Reply #199 on: May 03, 2021, 08:34:36 PM »
Quote from: FroggestSpirit on May 03, 2021, 05:47:15 PM
Nice progress here! With USB mode, does that mean it will allow you to play audio over USB, like in a car stereo with a USB port? It'd be nice to ditch the AUX cord, since you cant skip tracks with it.

AFAIK there is only one "audio over USB" standard that a typical car headunit implements, and that is tied up in the proprietary Apple IAP quagmire.  Even if we were to implement it, we'd have to pretend to be an iPod for it to work, and Apple has historically reacted _very_ unfavourably to such things.

(Android Auto, and possibly modern CarPlay, transfers audio via bluetooth)

Logged

Offline FroggestSpirit

  • Member
  • *
  • Posts: 6
Re: Fiio M3k
« Reply #200 on: May 04, 2021, 05:43:09 PM »
Ahh, I never knew that was more of an apple thing. Not sure if it's known, but the GBS plugin doesn't appear to work on the dev build. NES, SNES, Genesis all work, but GBS is generally silent. I got some of the noise channel to play, so I think it's something with the emulation, rather than the buffer or something.
Logged

Offline stridechicken

  • Member
  • *
  • Posts: 3
Re: Fiio M3k
« Reply #201 on: May 09, 2021, 08:06:45 AM »
I've managed to install the bare-metal version of Rockbox on my M3K and I'm loving it, thanks everyone for your work. One problem I can't understand though, the lock option works great while music is playing. But it seems that if the device is locked and then the album finishes playback, it is then not possible to unlock, so I have to restart. Is there another way to unlock that I have missed? Why is this happening?
Logged

Offline johnb

  • Member
  • *
  • Posts: 217
Re: Fiio M3k
« Reply #202 on: May 09, 2021, 09:05:45 AM »
I managed to compile SPL, bootloader and jztool under WSL2 (as I mentioned on IRC, too). Unfortunately, jztool won't do the installation within WSL2 as the usb device doesn't show.

Can anyone help out and compile jztool for Windows?

Cheers
johnb
Logged

Offline amachronic

  • Developer
  • Member
  • *
  • Posts: 269
Re: Fiio M3k
« Reply #203 on: May 09, 2021, 09:45:27 AM »
Quote from: stridechicken on May 09, 2021, 08:06:45 AM
...
The lock screen issue definitely sounds like a bug, maybe a keymap problem. Thanks for bringing it to my attention! I'll check it out.

Quote from: johnb on May 09, 2021, 09:05:45 AM
...
I got sidetracked and forgot about it, but I intended to mention on IRC that you should try using msys2 to build jztool: https://www.msys2.org

Their homepage shows you how to set it up and install a native mingw-w64 toolchain. The last time I did any development on Windows using MinGW, msys/mingw was primitive and a pain to set up. It seems things have improved and they've got a package manager now -- I don't think it should be any harder to use than WSL. If they also provide builds of libusb then hopefully everything should be plug and play! just build from the msys2 shell.

Apologies that I can't be of any more help. I simply haven't gotten around to spinning up a Windows VM myself... since other bootloader stuff is taking up my time... but I do intend to provide jztool binaries for Windows & Linux in the not-too-distant future.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3527
  • creature
Re: Fiio M3k
« Reply #204 on: May 09, 2021, 11:16:32 AM »
Quote from: amachronic on May 09, 2021, 09:45:27 AM
I got sidetracked and forgot about it, but I intended to mention on IRC that you should try using msys2 to build jztool:

You can easily build it using mxe on a Linux machine. Would expect mxe to run in wsl2 as well, but I've never tried.

Generally, you shouldn't need msys -- for Rockbox Utility I spent quite some time (years ago :) ) to get rid of all msys dependencies, you only need MinGW -- and in case of jztool you'd also need libusb. Not sure if that comes prepackaged for MinGW, and if not how hard it would be to build that for Windows (so you might need msys for building that though.)
Logged

Offline g.orlandini

  • Member
  • *
  • Posts: 30
Re: Fiio M3k
« Reply #205 on: May 10, 2021, 02:18:42 AM »
First of all, great job, I installed this beta version 2 weeks ago and it works quite well, no big issues.

Minor issues:
- Charging is very slow (around 0,1 A), not a big problem (Every now and then I can wait few hours for a complete charge)
- font size in some pages (Battery view in debug menu) is really small (I need a big magnifier to read!), it should be (at least) double that size for comfortable reading. Is there any option in the menu settings to increase the size ?

Do you advice to reinstall a new bootloader with your improvement "X1000: simplify NAND driver" ? At the moment the bootloader I've installed is working well.

Thanks for your work
Logged

Offline amachronic

  • Developer
  • Member
  • *
  • Posts: 269
Re: Fiio M3k
« Reply #206 on: May 10, 2021, 08:13:11 AM »
Quote from: g.orlandini on May 10, 2021, 02:18:42 AM
- Charging is very slow (around 0,1 A), not a big problem (Every now and then I can wait few hours for a complete charge)
Hmm, I thought I had fixed that issue... It's caused by Rockbox thinking there is a USB host (like a PC) although there is none. As a workaround you can set General Settings > System > Battery > Charge During USB connection to Force, it should force the full 500 mA charge rate. I'm not sure why Rockbox is getting confused but I'll look into it when I have the time.

Quote from: g.orlandini on May 10, 2021, 02:18:42 AM
- font size in some pages (Battery view in debug menu) is really small (I need a big magnifier to read!), it should be (at least) double that size for comfortable reading. Is there any option in the menu settings to increase the size ?
Nope, it's hardcoded in the build. I will increase it at some point, I already did that in the bootloader because it was so hard to read. I have to rearrange some debug screens first since they'd become unreadable with a larger font.

Quote from: g.orlandini on May 10, 2021, 02:18:42 AM
Do you advice to reinstall a new bootloader with your improvement "X1000: simplify NAND driver" ? At the moment the bootloader I've installed is working well.
It's not necessary.
Logged

Offline 7o9

  • Member
  • *
  • Posts: 117
Re: Fiio M3k
« Reply #207 on: May 12, 2021, 02:40:08 PM »
Nice job on the new bootloader, amachronic.

Took me two attempts to realize I had to actually install the bootloader from the menu after running jztool.

The boot menu looks very good and it works very well.

Thanks for all your work on this port, it is great to have RockBox on this device.

I know you wrote that you are not looking to do other ports but I am holding out hope that all this work for the FiiO M3K will open doors for a port to the Shanling Q1 (and perhaps even M0).
Logged

Offline amachronic

  • Developer
  • Member
  • *
  • Posts: 269
Re: Fiio M3k
« Reply #208 on: May 12, 2021, 05:09:35 PM »
Quote from: 7o9 on May 12, 2021, 02:40:08 PM
I know you wrote that you are not looking to do other ports but I am holding out hope that all this work for the FiiO M3K will open doors for a port to the Shanling Q1 (and perhaps even M0).

IIRC the Q1 and M0 are nearly identical, except for the buttons and screen I think they have the exact same hardware. Once one is done I think porting to the other should be trivial.

Come to think of it I should create a wiki page for the Q1... I did unpack the firmware at one point and found out you can execute scripts on the stock FW.
Logged

Offline bahus

  • Member
  • *
  • Posts: 117
Re: Fiio M3k
« Reply #209 on: May 14, 2021, 07:11:58 AM »
amachronic

Original firmware when in locked state allows to change tracks by long pressing volume buttons. That's not very consistent but quite convenient feature.

I wonder how to make rockbox more usable in pocket and/or locked state. How about making shortcuts with play + volume buttons act as prev/next and ff/rw buttons (So play + short press Vol-  acts as  previous track, play + long press of Vol- acts as rewind, ... ) Looks like convenient one hand shortcuts. Is it feasible?
Logged

  • Print
Pages: 1 ... 12 13 [14] 15 16 ... 27
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Fiio M3k
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.112 seconds with 21 queries.