Re: cdrom speed adjustment ioctl
Egervary Gergely <[EMAIL PROTECTED]> writes: >> I've just hacked a new ioctl into the ATAPI cdrom driver, which >> lets the user to specify (pronounce: ``slow down'' :) the speed >> of todays' extremely high speed drives. > >ok, so i see you like the idea - so the question is: should we implement a >new ioctl for it, or - as like scsi - should we use a program like >camcontrol for it? One solution I used in the past (Amiga) was to implement the ATA (and ATAPI) support by writing the equivalent of SCSI CAM SIM; that is a SIM that actually controlled IDE hardware instead of SCSI hardware. This is quite easy, in fact, especially since ATAPI is basically SCSI-over-IDE with a few twists. -- Randell Jesup, Worldgate Communications, ex-Scala, ex-Amiga OS team ('88-94) [EMAIL PROTECTED] CDA II has been passed and signed, sigh. The lawsuit has been filed. Please support the organizations fighting it - ACLU, EFF, CDT, etc. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: cdrom speed adjustment ioctl
> I've just hacked a new ioctl into the ATAPI cdrom driver, which > lets the user to specify (pronounce: ``slow down'' :) the speed > of todays' extremely high speed drives. ok, so i see you like the idea - so the question is: should we implement a new ioctl for it, or - as like scsi - should we use a program like camcontrol for it? basically i prefer doing both, as the current atapi implementation includes the most important atapi commands, it could be more complete, and i think it's nice to have a user space program for sending packet commands... :) -- mauzi To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: cdrom speed adjustment ioctl
On Mon, Nov 29, 1999 at 11:06:53AM +, [EMAIL PROTECTED] wrote: > >There would not be such a thing for SCSI cdrom's too? It would probably > >squeeze a few extra months out of my cdrom player. On some cd's (mainly ones > >you get with magazines and books) it's making gut-wrenching noises and > >spinning up and down all the time. > > No idea if there's an ioctl, but you should be able to do this with camcontrol, > e.g. if your drive supports the MMC Set CD Speed command: > > camcontrol -n cd -u -c "BB 00 XX XX 00 00 00 00 00 00 00 00" > > Where is the number of the CD device you want to set the speed of, and XX XX > is the hex of the desired speed in kbps. Is this a project for a rainy day I see before me? cdspeed(1) Imaginary Man Page cdspeed(1) NAME cdspeed - control (slow down!) the speed that a cdrom will operate at. SYOPSIS cdspeed YADDA yadda yadda yadda FreeBSD 3.3 November 29 19991 -- Mike Bristow, Geek At Large ``Beware of Invisible Cows'' GK/RT0011 - Essential reading for train-spotters. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
RE: cdrom speed adjustment ioctl
>There would not be such a thing for SCSI cdrom's too? It would probably >squeeze a few extra months out of my cdrom player. On some cd's (mainly ones >you get with magazines and books) it's making gut-wrenching noises and >spinning up and down all the time. No idea if there's an ioctl, but you should be able to do this with camcontrol, e.g. if your drive supports the MMC Set CD Speed command: camcontrol -n cd -u -c "BB 00 XX XX 00 00 00 00 00 00 00 00" Where is the number of the CD device you want to set the speed of, and XX XX is the hex of the desired speed in kbps. Andrew. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
RE: cdrom speed adjustment ioctl
> > I've just hacked a new ioctl into the ATAPI cdrom driver, which > lets the user to specify (pronounce: ``slow down'' :) the speed > of todays' extremely high speed drives. > There would not be such a thing for SCSI cdrom's too? It would probably squeeze a few extra months out of my cdrom player. On some cd's (mainly ones you get with magazines and books) it's making gut-wrenching noises and spinning up and down all the time. Interesting fact: the FreeBSD cdrom are never a problem. Does cdrom.com balance them before shipping them? Kees Jan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message