[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with ioctl call

Title: problem with ioctl call


The problem is still here , after i used the newest usb-host.c and usb-host.h
in the kernel compilation.
I'have upgraded the devboard and all things are the same :

this line in the code causes an segmentation fault on the axis board , but on
the host system all is ok!!

ret = ioctl(dev->fd,IOCTL_USB_CLAIMINTF, &interface);

It seems that the ioctl System call is causing this problem on the axis board.

What can i do now ?

Bye Thomas

-----Ursprungliche Nachricht-----
Von: Orjan Friberg [mailto:orjan.friberg@xxxxxxx.com]
Gesendet: Donnerstag, 05. Juni 2003 10:28
An: Schachner Thomas
Cc: 'dev-etrax@xxxxxxx.com'
Betreff: Re: AW: AW: AW: problem with gdb-cris

Schachner Thomas wrote:
> usb.c: USB device 4 (vend/prod 0x4fa/0x2490) is not claimed by any
> active driver.

You don't seem to have configured the kernel for your device, so there
is no driver to handle it.  I don't know if the driver is part of the
official distribution, maybe you have to get it from somewhere else.

You probably want to try the latest ETRAX USB host driver we recently
put on http://developer.axis.com/download/linux/drivers/ (back up the
old ones just in case).

Orjan Friberg
Axis Communications