Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262576AbVA0LWm (ORCPT ); Thu, 27 Jan 2005 06:22:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262571AbVA0LPv (ORCPT ); Thu, 27 Jan 2005 06:15:51 -0500 Received: from ns9.hostinglmi.net ([213.194.149.146]:39633 "EHLO ns9.hostinglmi.net") by vger.kernel.org with ESMTP id S262576AbVA0LBN (ORCPT ); Thu, 27 Jan 2005 06:01:13 -0500 Date: Thu, 27 Jan 2005 12:02:04 +0100 From: DervishD To: Johannes Erdfelt Cc: Oliver Neukum , Linux-kernel , linux-usb-users@lists.sourceforge.net Subject: Re: USB API, ioctl's and libusb Message-ID: <20050127110204.GA76@DervishD> Mail-Followup-To: Johannes Erdfelt , Oliver Neukum , Linux-kernel , linux-usb-users@lists.sourceforge.net References: <20050126122014.GF58@DervishD> <200501261440.38766.oliver@neukum.org> <20050126163811.GA259@DervishD> <20050126212411.GB21204@sventech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050126212411.GB21204@sventech.com> 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: 1460 Lines: 37 Hi Johannes :) * Johannes Erdfelt dixit: > On Wed, Jan 26, 2005, DervishD wrote: > > * Oliver Neukum dixit: > > > You are supposed to use libusb. > > That's irrelevant, the program I was trying to fix uses libusb. > > My question is about the preferred kernel interface, 'cause I don't > > know if it's the ioctl one or the URB one (well, I'm calling 'URB' > > interface the API that is implemented using URB's inside the kernel). > ioctl() calls are for userspace only. I was pretty sure of that. My doubt was the other way round. I was assuming that the functions in were syscalls, that they're not. > It just so happens there is an ioctl() call that provides an URB like > interface and an ioctl() call that provides a synchronous call to do > a control message. Didn't knew about that... Thanks a lot for the info!. Is there any documentation available for the ioctl USB interface to the kernel? Any API guide or something like that? Thanks :) 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/