measuring USB performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Re: learning USB subsystems
Hi,
I have a USB host controller hooked up with CPU and memory subsystem though some proprietary bus in a custom SOC. We could get the USB susbsyem up and running by hooking up our board specific code to Linux USB susbsystem. Now we want to measure the data transfer rate over USB. We are using a USB 2.0 Hard disc device as a test device. I understand simply a "cp" command will not give accurate data. Can anyone please tell me what is the best way to do it? ( other than using an analyser).  will "dd" help ?
 
Thanks
Nilanjan


From: kernelnewbies-bounce@xxxxxxxxxxxx on behalf of Greg KH
Sent: Sat 10/13/2007 10:18 PM
To: Manish Katiyar
Cc: kernelnewbies
Subject: Re: learning USB subsystems

On Sat, Oct 13, 2007 at 08:05:31PM +0530, Manish Katiyar wrote:
> hi,
>
> I am new to linux kernel programming and want to learn the USB
> subsystem of linux kernel. I read various articles about writing
> simple USB drivers. As a starting point I want to write a simple
> module of my own which justs prints something when i plug in my 128mb
> memory stick. Any suggestions/links which i should read to understand
> this more better.

USB flash sticks are one of the most complex devices availble today.
They involve the scsi stack, the usb stack and the block layer.

I'd suggest trying something a little more simple, like some random usb
toy from the store.

Oh, and look at the usb-skeleton.c driver in the kernel if you want an
example to start with.

good luck,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux