All of lore.kernel.org
 help / color / mirror / Atom feed
* [x86-64] ioctl32 for USB
@ 2006-06-26 11:30 Piotr Kaczuba
  2006-06-26 11:49 ` Andi Kleen
  0 siblings, 1 reply; 2+ messages in thread
From: Piotr Kaczuba @ 2006-06-26 11:30 UTC (permalink / raw)
  To: linux-kernel

Hello!

I'm running a 64-bit kernel and 32-bit userspace. There seems to be some
unimplemented compability ioctls regarding USB. Dmesg shows the
following:

[184966.543022] ioctl32(hald-probe-hidd:10760): Unknown cmd fd(4)
cmd(81004806){01} arg(ffb52dd0) on /dev/usb/hiddev0

and

[50974.410204] ioctl32(vmware-vmx:3470): Unknown cmd fd(140)
cmd(40109980){00} arg(ffb551a0) on /proc/bus/usb/002/001

Have it been only forgotten or are there other more serious reasons that
these ioctls are missing?

Piotr Kaczuba

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

* Re: [x86-64] ioctl32 for USB
  2006-06-26 11:30 [x86-64] ioctl32 for USB Piotr Kaczuba
@ 2006-06-26 11:49 ` Andi Kleen
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2006-06-26 11:49 UTC (permalink / raw)
  To: Piotr Kaczuba; +Cc: linux-kernel

Piotr Kaczuba <pepe@attika.ath.cx> writes:

> Hello!
> 
> I'm running a 64-bit kernel and 32-bit userspace. There seems to be some
> unimplemented compability ioctls regarding USB. Dmesg shows the
> following:
> 
> [184966.543022] ioctl32(hald-probe-hidd:10760): Unknown cmd fd(4)
> cmd(81004806){01} arg(ffb52dd0) on /dev/usb/hiddev0
> 
> and
> 
> [50974.410204] ioctl32(vmware-vmx:3470): Unknown cmd fd(140)
> cmd(40109980){00} arg(ffb551a0) on /proc/bus/usb/002/001
> 
> Have it been only forgotten or are there other more serious reasons that
> these ioctls are missing?

Some of the USB ioctls were basically impossible to compat due to
broken design. Maybe it's now possible with is_compat_task,
but would be still extremly ugly.

-Andi

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

end of thread, other threads:[~2006-06-26 11:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-26 11:30 [x86-64] ioctl32 for USB Piotr Kaczuba
2006-06-26 11:49 ` Andi Kleen

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.