From: Andreas M. <an...@da...> - 2001-08-15 18:15:10
|
thomas graichen wrote: > > ok - i got a bit further on this (for "this" see the appended > old posting about the old problem all this started with): it > works fine with plextor:0x00200000 for reading the toc (but > results in errors then starting to read the data) and it gives me > an "can't read ISRC" error then using generic-mmc:0x00200020 > while reading the toc but i this mode it can read the data fine > > i tried all the other options - none helped me further - so the > problem now would be for me to hack together a driver which uses > the plextor driver for reading the toc and the generic-mmc for > the audio data but after reading the code for some time i'm not > really shure which function to change ... my idea was to make it > similar to the ToshibaReader.cc - take the Plextor settings and > overwrite the functions for reading the data or the other way > around using the GenericMMC and overwriting the read-toc realted > stuff or as third (and i think best) option: add an option to the > generic-mmc driver to use plextor scanning I think we can easily fix the ISRC related error message in the generic-mmc driver by adding a short delay before it tries to read the ISRC code. This might be required for some drives because the binary search mechanism (seleted with driver option 0x20) use a Play Audio command to play a single audio sector so that it can read out the sub-channel data for that sector. When issuing the Play Audio command the drive return success status before the command is finished so that it might happen that a new command is issued before the old command has finished. This might also be the reason for the other error messages you get. Can you send them btw? So, I would suggest to fix the binary search mode in generic-mmc driver. The first shot would be to place a 'mSleep' call right after the play command. It should sleep roughly the same time as it takes to play an audio sector (1/75 s). My problem is that I'm currently lacking free time so could you try to make the modifications and test them? Regards, Andreas -- Andreas Mueller Tel: +49 89 67808848 Ramsmeierstr. 1 Email: an...@da... 85579 Neubiberg, Germany |