All of lore.kernel.org
 help / color / mirror / Atom feed
* Another Brute Force And Ignorance(tm) derived question...
@ 1999-04-12  0:08 Peter Jones
  1999-04-12  1:26 ` David Miller
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Peter Jones @ 1999-04-12  0:08 UTC (permalink / raw)
  To: ultralinux

(Yeah, one of these days I'll actually learn something)

As I've said before, I'm attempting to get an es1371 going, and I'm
running into a couple of things that are perplexing me...  I've managed to
get it to compile in (obvious config.in patch), and with some patches
against es1371.c it doesn't even Oops anymore (these are getting merged in
to the main kernel, I think... Thomas Sailer sent them off to Alan
sometime last week), but I'm having some trouble after that, regarding how
the ioctl()'s work on sparc64...

It looks as if the switch(cmd){...} in sys32_ioctl() goes through, and if
it finds an ioctl() in its list, it runs it, and if not, it prints an
error.  But if I run, say, aumix, I get:

<4>sys32_ioctl: Unknown cmd fd(3) cmd(40044dfe) arg(0002563c)

I go to look what ioctl() it happened to send, and its doing

open("/dev/mixer", O_RDWR)              = 4
ioctl(4, SOUND_MIXER_READ_DEVMASK, 0x2563c) = -1 EINVAL (Invalid argument)

Which doesn't make sense to me, because SOUND_MIXER_READ_DEVMASK is in its
list, and is handled by es1371.c ...

Have I missed something obvious?

 -- Peter

"If people are good only because they fear punishment, and hope for reward,
then we are a sorry lot indeed."
		-- Einstein

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-04-12 14:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-12  0:08 Another Brute Force And Ignorance(tm) derived question Peter Jones
1999-04-12  1:26 ` David Miller
1999-04-12  4:04 ` Peter Jones
1999-04-12  4:11 ` David Miller
1999-04-12  4:50 ` Peter Jones
1999-04-12  4:58 ` David Miller
1999-04-12  5:14 ` Jakub Jelinek
1999-04-12 12:46 ` Peter Jones
1999-04-12 13:22 ` Jakub Jelinek
1999-04-12 14:53 ` Peter Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.