Welcome, Guest. Please login or register.

Author Topic: CD auto detect?  (Read 1355 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AstralTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 491
    • Show only replies by Astral
CD auto detect?
« on: July 22, 2006, 12:26:45 PM »
If I insert a CD (any CD) into my A4000 it is not recognised (no icon on workbench) until I execute a command relating to the drive such as "cd0:" through a cli. It is only then that it is accessible. May seem like a little thing, but it really is annoying. How do you set it up for auto-detect?
 

Offline Wayne

Re: CD auto detect?
« Reply #1 on: July 22, 2006, 12:35:05 PM »
move cd0 from sys/storage/dosdrivers to sys/devs/dosdrivers


bye, Laser
//* Signature Free *//
 

Offline AstralTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 491
    • Show only replies by Astral
Re: CD auto detect?
« Reply #2 on: July 22, 2006, 12:38:47 PM »
The file is already in devs:dosdrivers/ and hence is already mounted. My trouble is the access of it...
 

Offline Thomas

Re: CD auto detect?
« Reply #3 on: July 22, 2006, 12:47:23 PM »

You HDD driver obviously does not support disk-change interrupts. So you have to tell the file system to use polling instead of interrupts. Depending on the file system used, this can either be done by editing the DosDriver (usually an argument of the Startup or Control keyword) or in a prefs program. For CacheCDFS this is either CDFSPrefs (when using IDEfix) or CacheCDFS (when using OS3.5+). CDFSPrefs usually complains about non-matching settings when you run it and you only have to save the new settings without changing anything.

Bye,
Thomas

Offline Wayne

Re: CD auto detect?
« Reply #4 on: July 22, 2006, 12:48:35 PM »
that's ok

if you can access to cd0 from shell then
you can acces to the cdrom from any program

bye
//* Signature Free *//
 

Offline AstralTopic starter

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 491
    • Show only replies by Astral
Re: CD auto detect?
« Reply #5 on: July 22, 2006, 01:16:46 PM »
Thanks, problem sorted. Wasn't sure what filesystem the drive was using (l:cdfilsystem in the mountlist) and hence wasn't sure how to change the interrupt setting. So figured reinstalling cachecdfs from the OS3.9 cd would do the trick, taking note of the interrupt flag. It worked. CD's are now automatically recognised. Thanks for your help...