mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* DVD_AUTH ioctl fails with aic7xxx / 2.4.4
@ 2001-05-16  2:45 Jason Lunz
  0 siblings, 0 replies; only message in thread
From: Jason Lunz @ 2001-05-16  2:45 UTC (permalink / raw)
  To: linux-kernel


I've set up a Pioneer 305S scsi dvd-rom on an old adaptec card using the
stock aic7xxx driver included with the 2.4.4 kernel (not the old_aic7xxx
one). Everything works well, except when trying to access an encrypted
file on a DVD. This ioctl from libcss fails:

static int _get_title_key(int fd, int agid, int lba, char *key, char *key_title)
{
	dvd_authinfo ai;
	int i;

	ai.type = DVD_LU_SEND_TITLE_KEY;

	ai.lstk.agid = agid;
	ai.lstk.lba = lba;

	if (ioctl (fd, DVD_AUTH, &ai)) {
		perror ("GetTitleKey failed");
		return -1;
	}

All I see from the kernel is:

	sr1: CDROM (ioctl) reports ILLEGAL REQUEST.

This happens with any DVD. Can someone tell me what the problem is? I
seem to be using the same libcss that everyone else uses with no
problem, and everything is properly configured, AFAIK.

thanks,

Jason

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-16  2:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-16  2:45 DVD_AUTH ioctl fails with aic7xxx / 2.4.4 Jason Lunz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®