1
Feature Ideas / Re: usb connection between 2 devices and midi clock to synch speed/pitch
« Last post by bluebrother on Today at 02:47:25 PM »Short answer: no.
Long answer: For a USB connection you always need one device to act as host. Usually that's the PC, and all transfers are going through the host. For a device to act as host it needs to be able to support "USB OTG". Most devices don't support this (the H300 had a dedicated chip for this but was never used.) Some of the newer devices might have the hardware capability, but implementing something like this would be a lot of work, so unless you're willing to do it don't expect a lot of interest in doing the work. Additionally, you'd need to support a protocol for this, and you'd need to make Rockbox capable of using such a sync signal.
As saratoga said, just the host part is difficult to implement. Leave alone the other parts mentioned since they pose a use case Rockbox was never intended for. Don't expect this to happen.
Long answer: For a USB connection you always need one device to act as host. Usually that's the PC, and all transfers are going through the host. For a device to act as host it needs to be able to support "USB OTG". Most devices don't support this (the H300 had a dedicated chip for this but was never used.) Some of the newer devices might have the hardware capability, but implementing something like this would be a lot of work, so unless you're willing to do it don't expect a lot of interest in doing the work. Additionally, you'd need to support a protocol for this, and you'd need to make Rockbox capable of using such a sync signal.
As saratoga said, just the host part is difficult to implement. Leave alone the other parts mentioned since they pose a use case Rockbox was never intended for. Don't expect this to happen.
2
Feature Ideas / Re: usb connection between 2 devices and midi clock to synch speed/pitch
« Last post by saratoga on Today at 02:43:09 PM »Not sure I understand what you're asking, but in general USB host support is really difficult to implement.
3
Other - Installation/Removal / Re: Surfans F20 "NAND open error"
« Last post by amachronic on Today at 02:25:41 PM »Turns out I didn't put the chip into buffered read mode. That's fixed, also fixed the ONFI dumper. Maybe this build will actually work? Either a full flash dump or bootloader backup should be enough to confirm.
https://drive.google.com/file/d/1a5GbTZWmyxsgglfdRjHJ4EfXoyEZBCZD/view?usp=sharing
https://drive.google.com/file/d/1a5GbTZWmyxsgglfdRjHJ4EfXoyEZBCZD/view?usp=sharing
4
Feature Ideas / usb connection between 2 devices and midi clock to synch speed/pitch
« Last post by mookee on Today at 01:54:08 PM »wouldnt it be awesome if you could use the usb connection between two rockboxdevices to have a link to dj synch two devices...!!!!!
like a dj audioplayer you can hock up to another one to make synch possible , just muuuuuuccchhhh smaller..and cooler;)

like a dj audioplayer you can hock up to another one to make synch possible , just muuuuuuccchhhh smaller..and cooler;)

5
New Ports / Re: Creative ZEN
« Last post by charonme on Today at 12:37:46 PM »I got an error while trying to upload the bootloader from linux:
$ ./sendfirm64 firmware_zen_lcd.nk
libmtp version: 1.1.3
Device 0 (VID=041e and PID=4157) is a Creative ZEN.
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
No devices.
even though I could see the drive mounted and accessible.
I then tried it from windows and it worked.
However when the ZEN is turned off or on there is a very loud pop in the headphones that wasn't there with the original firmware. Is there anything in settings that could help?
Also I noticed the blue switch led only lights up briefly during startup, but then it goes dark even when the device is on.
Also the datetime setting doesn't survive restart (other settings do)
$ ./sendfirm64 firmware_zen_lcd.nk
libmtp version: 1.1.3
Device 0 (VID=041e and PID=4157) is a Creative ZEN.
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
No devices.
even though I could see the drive mounted and accessible.
I then tried it from windows and it worked.
However when the ZEN is turned off or on there is a very loud pop in the headphones that wasn't there with the original firmware. Is there anything in settings that could help?
Also I noticed the blue switch led only lights up briefly during startup, but then it goes dark even when the device is on.
Also the datetime setting doesn't survive restart (other settings do)
6
Other - Installation/Removal / Re: Surfans F20 "NAND open error"
« Last post by amachronic on Today at 12:04:21 PM »...Thanks, you did everything right. Aside from line out not working, it sounds like Rockbox runs fine. But isn't that the same as the hosted build?
The ONFI info is okay and matches up with the Winbond datasheet. The raw values are correct but I got the endianness wrong in the dumper, so the text dump appears wrong. It seems there's still something wrong with the flash read, some pages are being read as 0xff intermittently and some are getting zeros prepended to them. So we're not quite there yet, but getting closer.
7
Other - Installation/Removal / Re: Surfans F20 "NAND open error"
« Last post by twotoneblue on Today at 06:57:04 AM »Dear amachronic and kaas,
I hope I am not interrupting your exchange, but if it helps, here is a backup of the native bootloader taken after loading amachronic's bootloader v4 with jztool (https://drive.google.com/file/d/1xvTcsPqMgWUUic_VzPFrYSAAqe117ugT/view?usp=sharing). Albeit not requested at this point, I also made a zip archive of (all) the available debug dumps (https://drive.google.com/file/d/17irOvVhWSZW18bn6DYpiDMTG0yMFHyEo/view?usp=sharing).
As for running Rockbox from the bootloader menu; I extracted the zip of the native Rockbox (should it have been a daily hosted build?) onto the SD card and started it from the bootloader menu. It runs and plays a FLAC file with no noticeable problems. The only thing I saw was the message: "error accessing playlist control file" as I unplugged the USB connection to the computer.
Notably, while some tiny pops can be heard when plugging into the Line Out, no sound comes out of it during playback.
I hope I am not interrupting your exchange, but if it helps, here is a backup of the native bootloader taken after loading amachronic's bootloader v4 with jztool (https://drive.google.com/file/d/1xvTcsPqMgWUUic_VzPFrYSAAqe117ugT/view?usp=sharing). Albeit not requested at this point, I also made a zip archive of (all) the available debug dumps (https://drive.google.com/file/d/17irOvVhWSZW18bn6DYpiDMTG0yMFHyEo/view?usp=sharing).
As for running Rockbox from the bootloader menu; I extracted the zip of the native Rockbox (should it have been a daily hosted build?) onto the SD card and started it from the bootloader menu. It runs and plays a FLAC file with no noticeable problems. The only thing I saw was the message: "error accessing playlist control file" as I unplugged the USB connection to the computer.
Notably, while some tiny pops can be heard when plugging into the Line Out, no sound comes out of it during playback.
8
Feature Ideas / Re: iPod as Stem Player
« Last post by sunrize777 on Today at 04:16:09 AM »I left you a private message a while ago, if you could reply so maybe we can further discuss this idea I would be forever grateful!Alright
9
Audio Playback, Database and Playlists / Re: Looking for the most efficient (easiest to decode) format for iPod 5
« Last post by K4sum1 on June 24, 2022, 08:55:31 AM »Lazy
10
Audio Playback, Database and Playlists / Re: Looking for the most efficient (easiest to decode) format for iPod 5
« Last post by gevaerts on June 24, 2022, 05:04:15 AM »Assuming efficiency is about battery runtime (and not some half-philosophical things that don't have any real-world impact), there may be some other things to take into account than purely decoder CPU usage.
Especially if you're on rotating disks lossless codecs will probably result in lower runtime, because the files are a lot bigger and therefore the disk needs to spin up a lot more often, which uses a *lot* of power.
If you use one of the various flash options, I think it's still worth testing. With "pure" flash the effect probably won't be noticeable (which is why modern flash-based players can get away with much less RAM and still get good runtimes), but with the various ATA to whatever adapters I'm not sure. I'd recommend just encoding some audio of your choice (more than 32MB or 64MB, depending on your specific ipod. I'd just go for 100MB or so) in both FLAC and mp3 (or your lossy codec of choice), set things up to play in a loop, and see how long the battery lasts with both of those. See https://www.rockbox.org/wiki/PluginBatteryBenchmark for one way to make that sort of test easier.
Especially if you're on rotating disks lossless codecs will probably result in lower runtime, because the files are a lot bigger and therefore the disk needs to spin up a lot more often, which uses a *lot* of power.
If you use one of the various flash options, I think it's still worth testing. With "pure" flash the effect probably won't be noticeable (which is why modern flash-based players can get away with much less RAM and still get good runtimes), but with the various ATA to whatever adapters I'm not sure. I'd recommend just encoding some audio of your choice (more than 32MB or 64MB, depending on your specific ipod. I'd just go for 100MB or so) in both FLAC and mp3 (or your lossy codec of choice), set things up to play in a loop, and see how long the battery lasts with both of those. See https://www.rockbox.org/wiki/PluginBatteryBenchmark for one way to make that sort of test easier.