From: kernel.org@spam.bounceme.net
To: linux-kernel@vger.kernel.org
Subject: Help writing my first USB driver ( no user space code needed )
Date: Mon, 18 Feb 2008 13:47:45 -0500 [thread overview]
Message-ID: <4001cab67e57fde89217db5cc31f921c@lublink.net> (raw)
hello,
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.
( The device is intelligent ).
Are there any examples that are available that would help me get started on
this?
Basically the USB device sends plain text with words like "connect, send,
recv, close" and the driver needs to make connections, send/receive data
(TCP ) and close the connection.
Thanks,
David
next reply other threads:[~2008-02-18 19:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-18 18:47 kernel.org [this message]
2008-02-19 0:16 ` Daniel Drake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4001cab67e57fde89217db5cc31f921c@lublink.net \
--to=kernel.org@spam.bounceme.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®