[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47BA1FE7.4050905@gentoo.org>
Date: Tue, 19 Feb 2008 00:16:39 +0000
From: Daniel Drake <dsd@...too.org>
To: kernel.org@...m.bounceme.net
CC: linux-kernel@...r.kernel.org
Subject: Re: Help writing my first USB driver ( no user space code needed
)
kernel.org@...m.bounceme.net wrote:
> I am trying to write a device driver for a USB device that is not currently
> supported by Linux. Trouble is all the examples I have found so far (
> usb-skel.c and others ) give an example of a driver that is a middle man
> between a userspace application and the device. So there are no examples on
> how to actually send the data to the device.
>
> In my case, the device I am using simply uses the machine it is connected
> to as an internet connection. The driver should send/receive data from the
> device and allow the device to go and make TCP connections to the internet.
You probably want to do this in userspace using libusb. I would be
surprised if there is any sane way of creating and managing TCP
connections from inside the kernel.
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists