Re: Cannot read using USB Skeleton Driver

2011-09-19 Thread Felix Varghese
You might be right and the code might be wrong, care to send a patch for it correcting the issue? Would be glad to do that, if I am able to resolve the issue. Meanwhile, any insights from anybody on this would be welcome! Regards, Felix. ___

Re: Cannot read using USB Skeleton Driver

2011-09-18 Thread Felix Varghese
Just do:        modprobe usb_serial vendor=0x product=0x with the proper vendor and product ids for your device, then plug it in. No kernel changes needed at all, just have a pair of bulk in/out endpoints and all will work automatically for you. Thanks Greg, I had thought that the

Cannot read using USB Skeleton Driver

2011-09-15 Thread Felix Varghese
Hi, I have been trying to communicate with a custom usb device from a SAM9G20-EK board using the usb-skeleton.c driver example in the linux source. I modified the driver to add my device's vendor and product id. The USB device enumerates with two bulk endpoints - one IN and one OUT. The

Re: Gmail complaining about authenticity of emails sent/received via kernelnewbies

2011-06-29 Thread Felix Varghese
On 29 June 2011 15:18, Mandeep Sandhu mandeepsandhu@gmail.com wrote: Hi All, I'm using gmail.com for corresponding to this mailing list. Recently I have observed that gmail has started complaining about the authenticity of the sender. Eg: I see this message quite often when someone

Re: How to write linux drivers?

2011-06-13 Thread Felix Varghese
Lalit Pratap Singh lalitpra...@hotmail.com wrote: I just wanted to know that, How can i write the smallest driver and test it? Linux Device Drivers 3rd edition (link provided by Rajat above) was what got me started and is still my reference whenever I get stuck. Chapter 2, pg 16 has the

Re: kernel BUG while reading from SPI into static buffer

2011-05-15 Thread Felix Varghese
On 13 May 2011 20:02, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Feel free to try to observer whether this statement is correct or not... and you should check the address of buffer when declared as static I guess I did, and here's the result: Local Buffer - 0xc3a61edd Static Buffer