lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 18 Feb 2008 13:47:45 -0500
From:	kernel.org@...m.bounceme.net
To:	linux-kernel@...r.kernel.org
Subject: Help writing my first USB driver ( no user space code needed )

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

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ