* Re: How to start with USB device driver.
@ 2012-06-25 7:01 jeshwanth Kumar N K
[not found] ` <CABzL1gaeZAjp1kEXomJUgHNarbFhiuKdhj8Wv7K2o+N+MmQ5eQ@mail.gmail.com>
2012-06-28 7:56 ` Bjørn Mork
0 siblings, 2 replies; 7+ messages in thread
From: jeshwanth Kumar N K @ 2012-06-25 7:01 UTC (permalink / raw)
To: kernelnewbies
Hello Srinidhi
Thanks for the reference :). Ya PIC development board means, I have a development board of a microcontroller (PIC18F4550) from microchip , it has usb module so I am planning to use that as the device by program it to communicate with my Linux ( I am new to that also, have to learn ). So if any device you suggest ? Which s available in Bangalore ?
Sent from my HTC
----- Reply message -----
From: "Srinidhi M" <srinidhi.m26@gmail.com>
Date: Mon, Jun 25, 2012 10:25 am
Subject: How to start with USB device driver.
To: "jeshwanth Kumar N K" <jeshkumar555@gmail.com>
Cc: <kernelnewbies@kernelnewbies.org>
On Sun, Jun 24, 2012 at 10:12 AM, jeshwanth Kumar N K
<jeshkumar555@gmail.com> wrote:
> Hello all
>
> I have basic knowledge of character device driver, I would like to learn
> writing a simple character driver for USB because on my laptop only I can
> communicate with usb I don't have any Boards. Can anyone suggest some
> tutorials or simple project to learn USB device driver ? And suggest me any
> hardware for other side also. Now I am planning to use my PIC board (it has
> usb) to communicate with linux.
>
Hi Jeshwanth,
You can go through the following link.
http://lwn.net/images/pdf/LDD3/ch13.pdf
I think, you need a device for testing your written source code. Could
you please tell me details about your PIC board as I do not understand
it clearly?
Regards,
Srinidhi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120625/4bb8616b/attachment.html
^ permalink raw reply [flat|nested] 7+ messages in thread[parent not found: <CABzL1gaeZAjp1kEXomJUgHNarbFhiuKdhj8Wv7K2o+N+MmQ5eQ@mail.gmail.com>]
* How to start with USB device driver.
[not found] ` <CABzL1gaeZAjp1kEXomJUgHNarbFhiuKdhj8Wv7K2o+N+MmQ5eQ@mail.gmail.com>
@ 2012-06-27 15:43 ` Jeshwanth Kumar N K Jeshu
0 siblings, 0 replies; 7+ messages in thread
From: Jeshwanth Kumar N K Jeshu @ 2012-06-27 15:43 UTC (permalink / raw)
To: kernelnewbies
Hello Pravin
It is working fine for me,
goto http://www.linuxforu.com/
In search bar : linux device drivers series.
And if you want USB device driver :
goto http://www.linuxforu.com/2011/10/usb-drivers-in-linux-1/
And while replying put cc to kernelnewbies at kernelnewbies.org
On 6/27/12, Pravin Shedage <pravinshedage2008@gmail.com> wrote:
> http://www.linuxforu.com/tag/linux-device-drivers-series/
>
> this link not working can you please help me ?
>
> On Mon, Jun 25, 2012 at 12:31 PM, jeshwanth Kumar N K <
> jeshkumar555 at gmail.com> wrote:
>
>> Hello Srinidhi
>>
>> Thanks for the reference :). Ya PIC development board means, I have a
>> development board of a microcontroller (PIC18F4550) from microchip , it
>> has usb module so I am planning to use that as the device by program it
>> to
>> communicate with my Linux ( I am new to that also, have to learn ). So if
>> any device you suggest ? Which s available in Bangalore ?
>>
>> Sent from my HTC
>>
>>
>> ----- Reply message -----
>> From: "Srinidhi M" <srinidhi.m26@gmail.com>
>> Date: Mon, Jun 25, 2012 10:25 am
>> Subject: How to start with USB device driver.
>> To: "jeshwanth Kumar N K" <jeshkumar555@gmail.com>
>> Cc: <kernelnewbies@kernelnewbies.org>
>>
>>
>> On Sun, Jun 24, 2012 at 10:12 AM, jeshwanth Kumar N K
>> <jeshkumar555@gmail.com> wrote:
>> > Hello all
>> >
>> > I have basic knowledge of character device driver, I would like to
>> > learn
>> > writing a simple character driver for USB because on my laptop only I
>> > can
>> > communicate with usb I don't have any Boards. Can anyone suggest some
>> > tutorials or simple project to learn USB device driver ? And suggest me
>> any
>> > hardware for other side also. Now I am planning to use my PIC board (it
>> has
>> > usb) to communicate with linux.
>> >
>>
>> Hi Jeshwanth,
>>
>> You can go through the following link.
>> http://lwn.net/images/pdf/LDD3/ch13.pdf
>>
>> I think, you need a device for testing your written source code. Could
>> you please tell me details about your PIC board as I do not understand
>> it clearly?
>>
>> Regards,
>> Srinidhi.
>>
>>
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>>
>
>
> --
> Thanks & Regards,*
> ---------PraviN---------*
>
--
Regards
Jeshwanth Kumar N K
+91-7411483498
^ permalink raw reply [flat|nested] 7+ messages in thread
* How to start with USB device driver.
2012-06-25 7:01 How to start with USB device driver jeshwanth Kumar N K
[not found] ` <CABzL1gaeZAjp1kEXomJUgHNarbFhiuKdhj8Wv7K2o+N+MmQ5eQ@mail.gmail.com>
@ 2012-06-28 7:56 ` Bjørn Mork
2012-06-30 14:31 ` Jeshwanth Kumar N K Jeshu
1 sibling, 1 reply; 7+ messages in thread
From: Bjørn Mork @ 2012-06-28 7:56 UTC (permalink / raw)
To: kernelnewbies
"jeshwanth Kumar N K" <jeshkumar555@gmail.com> writes:
> Thanks for the reference :). Ya PIC development board means, I have a
> development board of a microcontroller (PIC18F4550) from microchip ,
> it has usb module so I am planning to use that as the device by
> program it to communicate with my Linux ( I am new to that also, have
> to learn ).
It's always best to start with one end. Start with either something on
the PIC or on Linux.
Chances are high that you'll find that every driver you need is already
available in Linux. The Microchip firmware examples should just work
with Linux class drivers (hid, cdc-acm, usb-storage), and you can also
do a lot of stuff in userspace if all you need is to "communicate with"
the PIC18F4550. See e.g. http://code.google.com/p/picusb/
So, play with the Microchip examples, find out what you want the
firmware to do, and develop it. If it needs a new Linux device driver
then I'll be impressed :-)
And more GPL'd firmware examples are always nice to have. There are
already quite a few to start from. PUF has been there for ages:
http://vasco.gforge.enseeiht.fr/ . I'm sure Google will find others.
But I'm getting a bit off topic here now...
Bj?rn
^ permalink raw reply [flat|nested] 7+ messages in thread* How to start with USB device driver.
2012-06-28 7:56 ` Bjørn Mork
@ 2012-06-30 14:31 ` Jeshwanth Kumar N K Jeshu
0 siblings, 0 replies; 7+ messages in thread
From: Jeshwanth Kumar N K Jeshu @ 2012-06-30 14:31 UTC (permalink / raw)
To: kernelnewbies
Hi Bjorn,
Thanks for the info, I will start with my PIC :).
On Thu, Jun 28, 2012 at 1:26 PM, Bj?rn Mork <bjorn@mork.no> wrote:
> "jeshwanth Kumar N K" <jeshkumar555@gmail.com> writes:
>
> > Thanks for the reference :). Ya PIC development board means, I have a
> > development board of a microcontroller (PIC18F4550) from microchip ,
> > it has usb module so I am planning to use that as the device by
> > program it to communicate with my Linux ( I am new to that also, have
> > to learn ).
>
> It's always best to start with one end. Start with either something on
> the PIC or on Linux.
>
> Chances are high that you'll find that every driver you need is already
> available in Linux. The Microchip firmware examples should just work
> with Linux class drivers (hid, cdc-acm, usb-storage), and you can also
> do a lot of stuff in userspace if all you need is to "communicate with"
> the PIC18F4550. See e.g. http://code.google.com/p/picusb/
>
> So, play with the Microchip examples, find out what you want the
> firmware to do, and develop it. If it needs a new Linux device driver
> then I'll be impressed :-)
>
> And more GPL'd firmware examples are always nice to have. There are
> already quite a few to start from. PUF has been there for ages:
> http://vasco.gforge.enseeiht.fr/ . I'm sure Google will find others.
> But I'm getting a bit off topic here now...
>
>
> Bj?rn
>
--
Regards
Jeshwanth Kumar N K
+91-7411483498
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120630/57bf0227/attachment.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* How to start with USB device driver.
@ 2012-06-24 4:42 jeshwanth Kumar N K
2012-06-24 7:14 ` Lokesh Walase
2012-06-25 4:55 ` Srinidhi M
0 siblings, 2 replies; 7+ messages in thread
From: jeshwanth Kumar N K @ 2012-06-24 4:42 UTC (permalink / raw)
To: kernelnewbies
Hello all
I have basic knowledge of character device driver, I would like to learn writing a simple character driver for USB because on my laptop only I can communicate with usb I don't have any Boards. Can anyone suggest some tutorials or simple project to learn USB device driver ? And suggest me any hardware for other side also. Now I am planning to use my PIC board (it has usb) to communicate with linux.
Thanks in advance.
Sent from my HTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120624/5dc41716/attachment.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* How to start with USB device driver.
2012-06-24 4:42 jeshwanth Kumar N K
@ 2012-06-24 7:14 ` Lokesh Walase
2012-06-25 4:55 ` Srinidhi M
1 sibling, 0 replies; 7+ messages in thread
From: Lokesh Walase @ 2012-06-24 7:14 UTC (permalink / raw)
To: kernelnewbies
Hi Jeshwanth,
http://www.linuxforu.com/tag/linux-device-drivers-series/
Visit this link,its a long series. For USB thing , you can see Parts 11,
12, 13 .
On Sun, Jun 24, 2012 at 10:12 AM, jeshwanth Kumar N K <
jeshkumar555@gmail.com> wrote:
> Hello all
>
> I have basic knowledge of character device driver, I would like to learn
> writing a simple character driver for USB because on my laptop only I can
> communicate with usb I don't have any Boards. Can anyone suggest some
> tutorials or simple project to learn USB device driver ? And suggest me any
> hardware for other side also. Now I am planning to use my PIC board (it has
> usb) to communicate with linux.
>
> Thanks in advance.
>
> Sent from my HTC
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120624/0eb11428/attachment.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* How to start with USB device driver.
2012-06-24 4:42 jeshwanth Kumar N K
2012-06-24 7:14 ` Lokesh Walase
@ 2012-06-25 4:55 ` Srinidhi M
1 sibling, 0 replies; 7+ messages in thread
From: Srinidhi M @ 2012-06-25 4:55 UTC (permalink / raw)
To: kernelnewbies
On Sun, Jun 24, 2012 at 10:12 AM, jeshwanth Kumar N K
<jeshkumar555@gmail.com> wrote:
> Hello all
>
> I have basic knowledge of character device driver, I would like to learn
> writing a simple character driver for USB because on my laptop only I can
> communicate with usb I don't have any Boards. Can anyone suggest some
> tutorials or simple project to learn USB device driver ? And suggest me any
> hardware for other side also. Now I am planning to use my PIC board (it has
> usb) to communicate with linux.
>
Hi Jeshwanth,
You can go through the following link.
http://lwn.net/images/pdf/LDD3/ch13.pdf
I think, you need a device for testing your written source code. Could
you please tell me details about your PIC board as I do not understand
it clearly?
Regards,
Srinidhi.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-06-30 14:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-25 7:01 How to start with USB device driver jeshwanth Kumar N K
[not found] ` <CABzL1gaeZAjp1kEXomJUgHNarbFhiuKdhj8Wv7K2o+N+MmQ5eQ@mail.gmail.com>
2012-06-27 15:43 ` Jeshwanth Kumar N K Jeshu
2012-06-28 7:56 ` Bjørn Mork
2012-06-30 14:31 ` Jeshwanth Kumar N K Jeshu
-- strict thread matches above, loose matches on Subject: below --
2012-06-24 4:42 jeshwanth Kumar N K
2012-06-24 7:14 ` Lokesh Walase
2012-06-25 4:55 ` Srinidhi M
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).