Re: GSoC 2015: USB-Front end driver
Hi I found these links usefull to understand some major API constructs for freebsd http://www.selasky.org/hans_petter/usb4bsd/index_Obj8_00.html with the vusb_analyser and enabling the usb_debug locks in usb_debug.c from this link of freebsd usb source tree http://svnweb.freebsd.org/base/head/sys/dev/usb/ and by testing with keyboard which is low speed interrupt transfer endpoint will i be able to see frames data transfer and debug lock messages , so i cud understand the source code functions related to USB stack (major API functions which i watched in your FreeBSD USB stack and in link i mentioned above) which i need to implement in Xen frontend code. Kindly i want to discuss these in skype . Could you please mention your convenient availability time. thanks and regards gokul On Wed, Mar 18, 2015 at 10:24 AM, Hans Petter Selasky h...@selasky.org wrote: Hi, On 03/18/15 11:19, Gokul Krishna wrote: Hi Sure I will do that. I watched the video on USB stack on freeBSD and I could able understand those USB data transfer management constructs and other things explained . I also checked the vusb-analyser which is a Virtual USB Bus-analyser and understood certain debugging things that it gives information of data including device address from device descriptor and amount of data transfer from interface and endpoint (In and Out buffers) descriptors data structures . Another idea might be to implement a USB backend for Wireshark. It also can understand USB transactions! The aim of the project is to convert XEN USB device model( made with Linux requirement ) into something compatible with FreeBSD USB Stack. Right! I also try to see things on para-virtualised XEN USB . I found the appropriate front-end driver source tree in slide number 7 in the below pdf link. http://www-archive.xenproject.org/files/xensummit_oracle09/PVUSB.pdf (please give your suggestions and comments and will i have access to see this code) I think i need to go through this particular source code to find my precise task So I will have more clarity in planning the list of milestone tasks for mid-term deliverables toll gate and final deliverables toll gates which i need to get reviewed from you before applying the proposal. When you have something ready, just contact me off-list and I'll give it a review. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: GSoC 2015: USB-Front end driver
Hi Sure I will do that. I watched the video on USB stack on freeBSD and I could able understand those USB data transfer management constructs and other things explained . I also checked the vusb-analyser which is a Virtual USB Bus-analyser and understood certain debugging things that it gives information of data including device address from device descriptor and amount of data transfer from interface and endpoint (In and Out buffers) descriptors data structures . The aim of the project is to convert XEN USB device model( made with Linux requirement ) into something compatible with FreeBSD USB Stack. I also try to see things on para-virtualised XEN USB . I found the appropriate front-end driver source tree in slide number 7 in the below pdf link. http://www-archive.xenproject.org/files/xensummit_oracle09/PVUSB.pdf (please give your suggestions and comments and will i have access to see this code) I think i need to go through this particular source code to find my precise task So I will have more clarity in planning the list of milestone tasks for mid-term deliverables toll gate and final deliverables toll gates which i need to get reviewed from you before applying the proposal. I also need to discuss these things in skype thanks and regards Gokul On Wed, Mar 18, 2015 at 8:18 AM, Hans Petter Selasky h...@selasky.org wrote: Hi, When you are ready you should register your proposal at: http://www.google-melange.com/gsoc/homepage/google/gsoc2015 You might want to send me a copy for review before doing that. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: GSoC 2015: USB-Front end driver
Hi, On 03/18/15 11:19, Gokul Krishna wrote: Hi Sure I will do that. I watched the video on USB stack on freeBSD and I could able understand those USB data transfer management constructs and other things explained . I also checked the vusb-analyser which is a Virtual USB Bus-analyser and understood certain debugging things that it gives information of data including device address from device descriptor and amount of data transfer from interface and endpoint (In and Out buffers) descriptors data structures . Another idea might be to implement a USB backend for Wireshark. It also can understand USB transactions! The aim of the project is to convert XEN USB device model( made with Linux requirement ) into something compatible with FreeBSD USB Stack. Right! I also try to see things on para-virtualised XEN USB . I found the appropriate front-end driver source tree in slide number 7 in the below pdf link. http://www-archive.xenproject.org/files/xensummit_oracle09/PVUSB.pdf (please give your suggestions and comments and will i have access to see this code) I think i need to go through this particular source code to find my precise task So I will have more clarity in planning the list of milestone tasks for mid-term deliverables toll gate and final deliverables toll gates which i need to get reviewed from you before applying the proposal. When you have something ready, just contact me off-list and I'll give it a review. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: GSoC 2015: USB-Front end driver
Hi, When you are ready you should register your proposal at: http://www.google-melange.com/gsoc/homepage/google/gsoc2015 You might want to send me a copy for review before doing that. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: GSoC 2015: USB-Front end driver
Hi Sorry for late reply, Since i was busy last week for 1 of my course exam and lab assignments . Now Iam free . Yes shall we schedule some time to discuss about the USB front end driver. Let me share some of my understandings i had , when i did a Linux kernel and Device drivers course which includes USB device driver . I did this course under a famous corporate trainer Raghu Bharadwaj in Veda Institute of technology, Hyderabad India. I did some coding and testing with character and block device drivers. Before my masters studies I worked for couple of design and maintenance of Embedded linux device drivers such as MCP23s17 and DSC11531 DAC chips and testing the Embedded software for Data distribution unit and further i worked on implementing Remote UI for sound bar EVM with 2 core Omap SoC . I understood the basics of USB Stack for any USB device , 6 device classes for USB driver and its data transfer types and 4 descriptor structures described in USB specification and further the Lifecycle of URB request blocks which is an important concern for coding and implementation of USB device drivers In my opinion USB is more of implementing Library functions and frame level application data transfer . An USB driver data transfer can also be Char/Block/Network drivers with some registration layer, file operations structure changes. Kindly mention your convenient time on coming wednesday or thursday and Im in Sweden so I need to check corresponding CET time on these days to fix timing . My skype id is gokulnath.gokulnath1 Kindly reply me thanks and regards Gokul On Mon, Mar 16, 2015 at 7:18 AM, Hans Petter Selasky h...@selasky.org wrote: Hi Gokul, Ping: Can you respond to this e-mail or are you one of those spam bots? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: GSoC 2015: USB-Front end driver
On 03/16/15 17:31, Gokul Krishna wrote: Hi ... Sounds good. Kindly mention your convenient time on coming wednesday or thursday and Im in Sweden so I need to check corresponding CET time on these days to fix timing . My skype id is gokulnath.gokulnath1 I'm located in Norway, so that might be a good chance to meet :-) --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: GSoC 2015: USB-Front end driver
Hi Gokul, Ping: Can you respond to this e-mail or are you one of those spam bots? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: GSoC 2015: USB-Front end driver
On 03/06/15 20:36, Gokul Krishna wrote: Hi I am interested to take this project for summer of code. I currently study masters in Embedded systems at KTH Royal Institute of technology. I have around 4 years of experience in Embedded system and 2 and half years of experience in Embedded Linux board bring up , Device drivers and Linux Applications developement after my bechelors degree in Electronics . I have the working knowledge of USB stack implementation in Linux kernel and reasonably good understanding of their major USB device classes classification with transfer types and commands and their data structures . So I am interested to do this project , I kindly request you to provide more details on what are the expected deliverables i need to contribute and some documentation links for open source para-virtualised drivers for FreeBSD . So I will come up with Milestone tasks and tollgate design decisions in my subsequent mails for this project to prepare a project plan. Hi, Can you explain a bit more what you mean by USB front end driver? You mean proxying USB devices through TCP/IP? --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: GSoC 2015: USB-Front end driver
On 03/07/15 15:58, Hans Petter Selasky wrote: On 03/06/15 20:36, Gokul Krishna wrote: Hi I am interested to take this project for summer of code. I currently study masters in Embedded systems at KTH Royal Institute of technology. I have around 4 years of experience in Embedded system and 2 and half years of experience in Embedded Linux board bring up , Device drivers and Linux Applications developement after my bechelors degree in Electronics . I have the working knowledge of USB stack implementation in Linux kernel and reasonably good understanding of their major USB device classes classification with transfer types and commands and their data structures . So I am interested to do this project , I kindly request you to provide more details on what are the expected deliverables i need to contribute and some documentation links for open source para-virtualised drivers for FreeBSD . So I will come up with Milestone tasks and tollgate design decisions in my subsequent mails for this project to prepare a project plan. Hi, Can you explain a bit more what you mean by USB front end driver? You mean proxying USB devices through TCP/IP? --HPS Hi, Sorry, I see you refer to the summer of code idea document. Do you have any links to some previous USB work you've done? The FreeBSD USB stack is I/O-vectored while the Linux USB one is not. Also the FreeBSD USB stack is dual-mode, both Host and Device? If you want we could arrange a time to talk a bit about a GSoc 2015 project involving USB and FreeBSD. The mail@ is not valid, and should probably be hselasky@ :-) --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
GSoC 2015: USB-Front end driver
Hi I am interested to take this project for summer of code. I currently study masters in Embedded systems at KTH Royal Institute of technology. I have around 4 years of experience in Embedded system and 2 and half years of experience in Embedded Linux board bring up , Device drivers and Linux Applications developement after my bechelors degree in Electronics . I have the working knowledge of USB stack implementation in Linux kernel and reasonably good understanding of their major USB device classes classification with transfer types and commands and their data structures . So I am interested to do this project , I kindly request you to provide more details on what are the expected deliverables i need to contribute and some documentation links for open source para-virtualised drivers for FreeBSD . So I will come up with Milestone tasks and tollgate design decisions in my subsequent mails for this project to prepare a project plan. thanks and best regards gokul ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org