Date: Thu, 6 Dec 2001 03:39:52 -0500 From: Alan Eldridge <alane@geeksrus.net> To: "George V. Neville-Neil" <gnn@neville-neil.com> Cc: FreeBSD Ports List <ports@freebsd.org> Subject: Re: Your grip problems... Message-ID: <20011206033952.A99547@wwweasel.geeksrus.net> In-Reply-To: <200112060834.AAA4114891@meer.meer.net>; from gnn@neville-neil.com on Thu, Dec 06, 2001 at 12:34:47AM -0800 References: <alane@geeksrus.net> <200112060834.AAA4114891@meer.meer.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 06, 2001 at 12:34:47AM -0800, George V. Neville-Neil wrote: >> 5. You might want to use "strace -p <pid>" when it's stuck, just to see what >> it is actually doing. > >I did use ktrace and it was doing an ioctl on the device that was >"inappropriate." What was the ioctl command code? The ioctls are defined with some really ugly macros, so I wrote a C program to print 'em out. Here they are: CDIOCPLAYTRACKS = 0x80046301 CDIOCPLAYBLOCKS = 0x80086302 CDIOCREADSUBCHANNEL = 0xc00c6303 CDIOREADTOCHEADER = 0x40046304 CDIOREADTOCENTRYS = 0xc0086305 CDIOREADTOCENTRY = 0xc00c6306 CDIOCSETPATCH = 0x80046309 CDIOCGETVOL = 0x4004630a CDIOCSETVOL = 0x8004630b CDIOCSETMONO = 0x2000630c CDIOCSETSTEREO = 0x2000630d CDIOCSETMUTE = 0x2000630e CDIOCSETLEFT = 0x2000630f CDIOCSETRIGHT = 0x20006310 CDIOCSETDEBUG = 0x20006311 CDIOCCLRDEBUG = 0x20006312 CDIOCPAUSE = 0x20006313 CDIOCRESUME = 0x20006314 CDIOCRESET = 0x20006315 CDIOCSTART = 0x20006316 CDIOCSTOP = 0x20006317 CDIOCEJECT = 0x20006318 CDIOCPLAYMSF = 0x80066319 CDIOCALLOW = 0x2000631a CDIOCPREVENT = 0x2000631b CDIOCCLOSE = 0x2000631c CDIOCPITCH = 0x8002631d CDIOCCAPABILITY = 0x400c631e CDIOCREADAUDIO = 0xc010631f -- Alan Eldridge #include <cstdlib> free(sklyarov); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011206033952.A99547>