Date: Wed, 29 May 2002 22:20:38 +0200 (CEST) From: Soeren Schmidt <sos@freebsd.dk> To: Richard Nyberg <rnyberg@it.su.se> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: process hang in atprq state Message-ID: <200205292020.g4TKKcHQ080631@freebsd.dk> In-Reply-To: <20020529221039.A2602@gromit.it.su.se>
next in thread | previous in thread | raw e-mail | index | archive | help
It seems Richard Nyberg wrote: > Hi there. > I seem to have some problems with my cd read program. > > I've attached a small prototype program that for some reason hangs > in atprq, even though I use a timeout of 5 seconds. The program reads > a cd in raw format using the MMC READ_CD command. It works fine :) > except that it never manages to finish because of the hang. The hang > doesn't seem to be linked to any specific place on the cd, but it might > be linked to my ignorance ;) Uhm, you just need to set the blocksize on the CD device with the CDRIOCGETBLOCKSIZE and then just read the CD with dd if=/dev/acdX of=fil bs=2352 That will read the CD in RAW mode... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205292020.g4TKKcHQ080631>