Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262280AbVAZMT0 (ORCPT ); Wed, 26 Jan 2005 07:19:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262281AbVAZMT0 (ORCPT ); Wed, 26 Jan 2005 07:19:26 -0500 Received: from ns9.hostinglmi.net ([213.194.149.146]:2018 "EHLO ns9.hostinglmi.net") by vger.kernel.org with ESMTP id S262280AbVAZMTX (ORCPT ); Wed, 26 Jan 2005 07:19:23 -0500 Date: Wed, 26 Jan 2005 13:20:14 +0100 From: DervishD To: Linux-kernel Cc: linux-usb-users@lists.sourceforge.net Subject: USB API, ioctl's and libusb Message-ID: <20050126122014.GF58@DervishD> Mail-Followup-To: Linux-kernel , linux-usb-users@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.1i Organization: DervishD X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns9.hostinglmi.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - dervishd.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 28 Hi everybody :) I've been solving a USB problem related to a digital photo camera, and I've noticed that 'libusb' uses a ioctl interface to the USB kernel system. In fact it implements 'usb_control_msg()' using ioctl's. On the other hand, the kernel itself (I'm talking about 2.4.29) provides an API in that implements too 'usb_control_msg()' using URB's. My question is: which interface should be used by user space applications, or ioctl's? Is the ioctl interface deprecated in any way? In the "Programming guide for Linux USB Device Drivers", located in http://usb.in.tum.de/usbdoc/, I can't find ioctl interface references :? Thanks a lot in advance :) Ra?l N??ez de Arenas Coronado -- Linux Registered User 88736 http://www.dervishd.net & http://www.pleyades.net/ It's my PC and I'll cry if I want to... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/