Skip to contentSkip to conversation

ioctl32 for USB

x86-64 Piotr Kaczuba 2 participants 2 messages Jun 26, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines · Piotr Kaczuba

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

Quoted 7 lines

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