Re: USB bulk transfer device driver

From: Nazim Khan
Date: Mon Sep 19 2005 - 02:50:56 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/