libftdi Archives

Subject: Re: Help with unsupported ioctl's.

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 9 Jul 2010 18:52:01 +0800
On Fri, Jul 9, 2010 at 3:16 PM, Thomas Jarosch
<thomas.jarosch@xxxxxxxxxxxxx> wrote:
> On Thursday, 8. July 2010 22:35:14 VDR User wrote:
>> Jul  2 10:28:24 ion lircd: lircd(ftdi) ready, using /var/run/lirc/lircd
>> Jul  2 10:28:35 ion lircd: accepted new client on /var/run/lirc/lircd
>> Jul  2 10:28:35 ion lircd: Initializing FTDI:
>> Jul  2 10:28:35 ion lircd: unsupported ioctl - 26913
>> Jul  2 10:28:35 ion lircd: unsupported ioctl - 26914
>
> Hmm, there's no place in libftdi that outputs "unsupported ioctl".
> All we do is call libusb functions.
>
> The "Initializing FTDI:" is printed by hwftdi_init() of hw_ftdi.c.
> You could add another print statement at the end of this function
> to check if this happens during initialization.

This is quite possible coming from libusb. It is not a real
problem and should not affect the operation of libftdi.

I suspect the above warning is the same as the following
from libusb-0.1.
error obtaining child information: Inappropriate ioctl for device

mcuee@ubuntu64:~/Desktop/build/libusb$ export USB_DEBUG=4
mcuee@ubuntu64:~/Desktop/build/libusb$ lsusb
usb_set_debug: Setting debugging level to 4 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 003 on 002
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 006 on 001
usb_os_find_devices: Found 005 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 5 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 9 class/vendor specific interface descriptors
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 4 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
Bus 002 Device 003: ID 046d:c054 Logitech, Inc.
Bus 002 Device 002: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 0781:5151 SanDisk Corp. Cruzer Micro Flash Drive
Bus 001 Device 005: ID 045e:0766 Microsoft Corp.
Bus 001 Device 003: ID 04d8:9009 Microchip Technology, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



-- 
Xiaofan http://sourceforge.net/projects/libusb-win32/

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread