🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gmane.linux.kernel
2 messages
2 total messages Started by "Srinivas G." Thu, 08 Sep 2005 12:23
USB bulk transfer device driver
#304652
Author: "Srinivas G."
Date: Thu, 08 Sep 2005 12:23
10 lines
218 bytes
Dear all,
 
I want to develop a Linux driver for my USB device which uses "Bulk Transfer" data flow.
Can I get a free source code or sample code for this type of driver?
 
Thanks in advance.

Regards,
Srinivas G
Re: USB bulk transfer device driver
#307970
Author: Nazim Khan
Date: Mon, 19 Sep 2005 13:17
38 lines
1148 bytes
Hi Srini,

It depends what class of USB your driver falls in.
Linux already has generic classes drivers built into the kernel and if
your device complies with the standard you should be able to straight
away using the standard drivers.

i.e. USB Disk, its a mass storage device which uses bulk transfer. You
don't have to write any driver for this. Just enable appropriate options
in the kernel config, rebuild the kernel and attach your disk.

The disk should appear as a scsi device. (see the kernel boot up
messages).

Hope this helps.

Nazim

On Thu, 2005-09-08 at 12:23, Srinivas G. wrote:
> Dear all,
>
> I want to develop a Linux driver for my USB device which uses "Bulk Transfer" data flow.
> Can I get a free source code or sample code for this type of driver?
>
> Thanks in advance.
>
> Regards,
> Srinivas G
>
> -
> 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/
--
Nazim Khan,
Verismo Networks India Pvt. Ltd.
Bangalore, India
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads