Rockbox General > Rockbox General Discussion

Using rockbox with a desktop 3.5" HDD

<< < (2/2)

torne:
Wouldn't it be better to increase the timeout for waiting for the disk to spin up (and also increase the anti-skip buffer length such that it tries to rebuffer sooner to compensate)?

ata_power_on() in firmware/drivers/ata.c waits for 250ms after turning on the power to send setup commands (which may be ok, it depends if the disk will respond to commands while the platters are still spinning up), and wait_for_bsy() and wait_for_rdy() have timeouts of 30 seconds and 10 seconds respectively. The error reported should generally tell you which timeout or error case you are hitting; adjusting the ATA driver shouldn't be very difficult.

jonney:
I have experimented with the settings in the firmware/drivers/ata.c a bit. Finally changing the ata_power_on() waiting time from 250ms to 500ms does the trick. I have not made very long testing so far, but it seems to work fine.

Thank you so much for help getting my 320GB Ipod working!

jonas

Navigation

[0] Message Index

[*] Previous page

Go to full version