Handy References for Linux Device Drivers Developer

2010-12-16 Thread Pradeep Kumar
hi all, I am new to kernel device drivers field. Any suggestions about the references to follow for quick overview and detailed flow of code in Linux Kernel. thanks, Goudagunta Pradeep Kumar,

Re: Handy References for Linux Device Drivers Developer

2010-12-16 Thread Anuz Pratap Singh Tomar
On Thu, Dec 16, 2010 at 8:27 AM, Pradeep Kumar pradeep4uii...@gmail.comwrote: hi all, I am new to kernel device drivers field. Any suggestions about the references to follow for quick overview and detailed flow of code in Linux Kernel. Look the end of this link: there are some

Re: Handy References for Linux Device Drivers Developer

2010-12-16 Thread Tapas Mishra
On Thu, Dec 16, 2010 at 1:57 PM, Pradeep Kumar pradeep4uii...@gmail.comwrote: hi all, I am new to kernel device drivers field. Any suggestions about the references to follow for quick overview and detailed flow of code in Linux Kernel. thanks, Goudagunta Pradeep Kumar, http

Re: Handy References for Linux Device Drivers Developer

2010-12-16 Thread Tapas Mishra
will reach your goal. On Thu, Dec 16, 2010 at 3:14 PM, Tapas Mishra mightydre...@gmail.comwrote: On Thu, Dec 16, 2010 at 1:57 PM, Pradeep Kumar pradeep4uii...@gmail.comwrote: hi all, I am new to kernel device drivers field. Any suggestions about the references to follow for quick

Re: Tools Device Drivers

2010-10-16 Thread Mulyadi Santosa
Hi... On Sat, Oct 16, 2010 at 20:15, Linux Kernel Explorer mylinux...@gmail.com wrote: Since Ubuntu came with 'gedit' I didnt care to install any other ID on it however, I have installed Vim 7.3 on Windows XP. Are there any other / more tools that I need to instal ? cscope and/or ctags I

Re: Tools Device Drivers

2010-10-16 Thread Bond
On Sat, Oct 16, 2010 at 10:23 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Also, I want to study Device Drivers.What should be my starting point.I know,I should peep into the drivers folders and thats what I did ...but the kernel world is so vast deep that I got confused. Buddy who so

Re: implementing new device drivers

2010-08-27 Thread Lutz
Thanks for input. It seems that chip i actually programmed wasn't tested with the driver provided by the kernel-rc. There might be room for improvement. I'm on it. Cheers Lutz -- Go vegan! -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to

implementing new device drivers

2010-08-24 Thread Lutz
Hi there, here is a (rather sad) story about my first linux device driver implementation. I needed a driver for a watchdog timer chip which wasn't included in the kernel tree some months ago. How great i thought! The exciting opportunity to have my own code included in the mighty linux kernel! Of

Re: implementing new device drivers

2010-08-24 Thread Victor Rodriguez
HI On Tue, Aug 24, 2010 at 8:40 AM, Lutz linsen...@googlemail.com wrote: Hi there, here is a (rather sad) story about my first linux device driver implementation. I needed a driver for a watchdog timer chip which wasn't included in the kernel tree some months ago. How great i thought! The

Re: implementing new device drivers

2010-08-24 Thread Mulyadi Santosa
Hi... Once I met similar situation, it's just I am not that great like you do :) OK, let's jump to your questions.. On Tue, Aug 24, 2010 at 20:40, Lutz linsen...@googlemail.com wrote: Two questions: 1. i'm wondering if there is a way to avoid situations like this. Can't expect every new

New to Kernel programming and device drivers

2010-04-21 Thread Tharanga Abeyseela
Hi Guys, Iam a fan of linux and opensource systems. i have done some perl,php programming on linux but havent done much of C programming stuff . I like to get your expert advice on writing linux device drivers. Acatually i have a fair knowledge in C .(iam familiar with OS concepts) can some

Re: New to Kernel programming and device drivers

2010-04-21 Thread Mulyadi Santosa
On Thu, Apr 22, 2010 at 06:48, Tharanga Abeyseela tharanga.abeyse...@gmail.com wrote: I like to get your expert advice on writing linux device drivers. I think, you better learn by doing. Try to pick digital version of Linux Device Driver 3rd edition here http://lwn.net/Kernel/LDD3/ and try

Re: Writing device drivers temporarily in user space for better source level debug ?

2009-08-18 Thread Ivan Korzakow
Hi, So, I wonder if anyone has some advice about method of writing device drivers in *userpsace* first, so I can source level debug them easily. And then later, convert it to a module ? As far as writing a driver in userspace, you can have a look at the UIO API: http://lwn.net/Articles

Writing device drivers temporarily in user space for better source level debug ?

2009-08-14 Thread Microbit_Ubuntu
=ttyS0,115200 kgdbwait So, I wonder if anyone has some advice about method of writing device drivers in *userpsace* first, so I can source level debug them easily. And then later, convert it to a module ? Does this sound too naive or orthodox ? (I realize that printk et al would have to temporarily

accuracy of the book essential linux device drivers?

2009-04-29 Thread Robert P. J. Day
i finally have the time to peruse the above book and i'm wondering what parts (if any) are already getting dated. yes, it's a fairly recent book (2008), but given the changes in the kernel lately, has anyone already noticed bits and pieces that are no longer current? just curious. rday --

Re: accuracy of the book essential linux device drivers?

2009-04-29 Thread Leandro Dorileo
Hi Robert On Wed, Apr 29, 2009 at 1:33 PM, Robert P. J. Day rpj...@crashcourse.ca wrote:  i finally have the time to peruse the above book and i'm wondering what parts (if any) are already getting dated.  yes, it's a fairly recent book (2008), but given the changes in the kernel lately, has

Re: accuracy of the book essential linux device drivers?

2009-04-29 Thread Pavan Kandepet
I think that most of the changes are either new code for feature additions or bug fixes. Most of the ideas remain the same. Its a good book to understand how devices work and the code that makes them work with Linux. Pavan On Wed, Apr 29, 2009 at 10:58 AM, Leandro Dorileo ldori...@gmail.comwrote:

Re: sector size in block device drivers

2009-02-25 Thread Greg Freemyer
On Wed, Feb 18, 2009 at 10:23 AM, Greg Freemyer greg.freem...@gmail.com wrote: On Wed, Feb 18, 2009 at 1:06 AM, nidhi mittal nidhimitta...@gmail.com wrote: i m sorry but can someone give a direct clarification i m unable to get my answer ... its going in different directions ...but not

Re: sector size in block device drivers

2009-02-25 Thread nidhi mittal
hi Greg thanks for the concern . but actually my question was very simple .. it wsnt so complex. it was just that i was just writing for practice sake a sample block device driver example in LDD there they ahve given all this description abt sector size in ch 16 which confued me totally . so i

Re: sector size in block device drivers

2009-02-18 Thread Greg Freemyer
On Wed, Feb 18, 2009 at 1:06 AM, nidhi mittal nidhimitta...@gmail.com wrote: i m sorry but can someone give a direct clarification i m unable to get my answer ... its going in different directions ...but not able to get me through my doubt ... i m sorry may be my understanding is lacking

Re: sector size in block device drivers

2009-02-17 Thread nidhi mittal
i m sorry but can someone give a direct clarification i m unable to get my answer ... its going in different directions ...but not able to get me through my doubt ... i m sorry may be my understanding is lacking somewhere ... On Mon, Feb 2, 2009 at 9:01 PM, Greg Freemyer

Re: sector size in block device drivers

2009-02-02 Thread nidhi mittal
sorry but my question it seems wsnt clear ... as my ques was suppose i have this function blk_queue_hardsect_size(request_queue_t *queue , unsigned short max ); or some other function takes sector as parameter there in any of these functions how do i decide that whether i should send number

Re: sector size in block device drivers

2009-02-02 Thread Greg Freemyer
On Mon, Feb 2, 2009 at 3:42 AM, nidhi mittal nidhimitta...@gmail.com wrote: sorry but my question it seems wsnt clear ... as my ques was suppose i have this function blk_queue_hardsect_size( request_queue_t *queue , unsigned short max ); or some other function takes sector as parameter

sector size in block device drivers

2009-02-01 Thread nidhi mittal
hello i was writing my initial block device driver following LDD but was totally confused on KERNEL SECTOR SIZE and hardware sector size issue they discussed in that . they write sth like if sector number passed between kernel and block layer it should be something and if its passed between

Re: sector size in block device drivers

2009-02-01 Thread Rohit Sharma
=== Scheduling of requests, elevators used. -- Block Device Drivers --just above disks lies the block device driver processes read write requests from its queue

Re: sector size in block device drivers

2009-02-01 Thread Greg Freemyer
On Sun, Feb 1, 2009 at 4:50 AM, nidhi mittal nidhimitta...@gmail.com wrote: hello i was writing my initial block device driver following LDD but was totally confused on KERNEL SECTOR SIZE and hardware sector size issue they discussed in that . they write sth like if sector number passed

Re: Device drivers

2008-12-22 Thread Rik van Riel
to drive your USB bus controller. Afterwards, you will need to load the device drivers for the devices connected to your USB bus. -- All rights reversed. -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http

Device drivers

2008-12-21 Thread niamathullah sharief
Hi to kernel newbies...This is sharief...I am new to Device driver developing...can anyone tell me what to do for the belo problem which i have..      i am new to this mailing list...This is my first mail..i have an problem with my USB module...I will tell the things which i have done

Re: Device Drivers

2008-12-14 Thread amol verule
hi sandeep, i like to write simple char driver for mouse and keyboard for that purpose ,is it require datasheet of that device?if not then how to write driver for device without knowing hardware details??? On Sat, Dec 13, 2008 at 4:23 PM, Sandeep K Sinha

Re: Device Drivers

2008-12-14 Thread nawar nory
In case you need to do simple tweaking on the source code without the need to replace your current kernel with an experimental one, I recommend you to use User-mode-Linux (UML). This will enable you to run the kernel as a process in the user-space without the need to worry about making backups or

Re: Device Drivers

2008-12-14 Thread Sandeep K Sinha
On Mon, Dec 15, 2008 at 8:24 AM, amol verule amol.deb...@gmail.com wrote: hi sandeep, i like to write simple char driver for mouse and keyboard for that purpose ,is it require datasheet of that device?if not then how to write driver for device without knowing hardware

Re: Device Drivers

2008-12-13 Thread Daniel Baluta
On Sat, Dec 13, 2008 at 3:27 AM, Yogesh Mali yogs.linuxwo...@gmail.com wrote: Hello I have similar question but on different way. I am more interested in file system related projects. 1) Do I need a separate machine to work on kernel programming? 2) How can I work on kernel programming

Re: Device Drivers

2008-12-13 Thread Sandeep K Sinha
own device drivers without a physical hardware. You can just create device special files and you can write drivers for them. As you just a starter, the best thing for you would be to start from a simple kernel module and then writing a simple character device driver. Google it you will get many

Re: Device Drivers

2008-12-13 Thread Sandeep K Sinha
On Sat, Dec 13, 2008 at 6:57 AM, Yogesh Mali yogs.linuxwo...@gmail.com wrote: Hello I have similar question but on different way. I am more interested in file system related projects. 1) Do I need a separate machine to work on kernel programming? No just download the latest kernel source from

Device Drivers

2008-12-12 Thread Mohit Varma
Hi, I am new to Linux Programming and am particularly interested in Device Driver programming. Now, my queries are : - How do I write a Device Driver without having/ owning a hardware. - Even if I write one...how do I test it. - What if I at some later stage I want to get involved

Fwd: Device Drivers

2008-12-12 Thread Yogesh Mali
Hello I have similar question but on different way. I am more interested in file system related projects. 1) Do I need a separate machine to work on kernel programming? 2) How can I work on kernel programming without hampering my existing kernel source on linux? Thank You Yogesh On Fri, Dec

Device drivers to analyze

2008-11-04 Thread Enes Albay
Hi all, i'm reading linux device driver book, and i'm looking for real world examples of device drivers. Do you have any suggestion which driver is convenient for preliminary? -- Enes Albay signature.asc Description: This is a digitally signed message part.

Re: Device drivers to analyze

2008-11-04 Thread Rick
In article [EMAIL PROTECTED], Enes Albay [EMAIL PROTECTED] wrote: i'm reading linux device driver book, and i'm looking for real world examples of device drivers. Do you have any suggestion which driver is convenient for preliminary? What kind of driver are you interested in? -- http

Re: Seeking help regarding a project on Linux Device Drivers

2008-10-17 Thread debian developer
On Fri, Oct 17, 2008 at 10:03 AM, Greg KH [EMAIL PROTECTED] wrote: Sir, it would be of great help if you could help me out in obtaining this source code as this will help me to progress to the next stage of the project. You can download all of it from www.kernel.org. good luck,

Re: Seeking help regarding a project on Linux Device Drivers

2008-10-17 Thread Henrik Austad
On Friday 17 October 2008 10:12:58 debian developer wrote: On Fri, Oct 17, 2008 at 10:03 AM, Greg KH [EMAIL PROTECTED] wrote: Sir, it would be of great help if you could help me out in obtaining this source code as this will help me to progress to the next stage of the project. You

Seeking help regarding a project on Linux Device Drivers

2008-10-16 Thread Spoorthi M S
Respected sir, I am a student in India pursuing a project regarding linux device drivers with respect to the usb devices. The project being in the nascent stages, I would be really glad if I could seek some help from a stalwart like you. *I wanted to know the source code for reading

Re: any reviews on essential linux device drivers?

2008-08-11 Thread Matthias Kaehlcke
would recommend to read it after having worked through Linux Device Drivers and optionally Linux Kernel Development. the book contains a lot of useful information about subsystems (pci, usb, net, wifi, ...) and driver implementation. -- Matthias Kaehlcke Embedded Linux Engineer Barcelona

Re: any reviews on essential linux device drivers?

2008-08-11 Thread Matthias Kaehlcke
deeper in driver specific issues. the book introduces most of the basic stuff, but i think if i was a complete newbie i'd be rather confused. i would recommend to read it after having worked through Linux Device Drivers and optionally Linux Kernel Development. the book contains a lot of useful

Re: any reviews on essential linux device drivers?

2008-08-09 Thread Himanshu Chauhan
Robert P. J. Day wrote: just picked up a copy of: http://elinuxdd.com/index.html and about to read it cover to cover. anyone else already been down that road? thoughts? Just bought the book and skimmed over it. Discusses more than what title says and looks promising. Thanks for the

any reviews on essential linux device drivers?

2008-08-08 Thread Robert P. J. Day
just picked up a copy of: http://elinuxdd.com/index.html and about to read it cover to cover. anyone else already been down that road? thoughts? rday -- Robert P. J. Day Linux Consulting, Training and Annoying

Re: RFC: Writing Solaris Device Drivers in Java

2008-03-31 Thread David Miller
From: Peter Teoh [EMAIL PROTECTED] Date: Mon, 31 Mar 2008 10:14:55 +0800 Ie, imagine using a drivers written for the Solaris in Linux, won't it be cool? About as cool as a fart in a spacesuit. -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to [EMAIL PROTECTED]

Re: RFC: Writing Solaris Device Drivers in Java

2008-03-31 Thread Jacek Luczak
of the many initial difficulties as mentioned in the paper) the growth of using Java for device drivers development. Contrast it against udev - esp in terms of usability/supportability/extensibility etc. udev is a Linux thing, whereas Java is at industry level. If everyone write applications

Re: RFC: Writing Solaris Device Drivers in Java

2008-03-31 Thread Willy Tarreau
initial difficulties as mentioned in the paper) the growth of using Java for device drivers development. Contrast it against udev - esp in terms of usability/supportability/extensibility etc. udev is a Linux thing, whereas Java is at industry level. If everyone write applications device

Re: RFC: Writing Solaris Device Drivers in Java

2008-03-31 Thread Wander Winkelhorst
are beginning to pop up - I don't see why it inhibits (in spite of the many initial difficulties as mentioned in the paper) the growth of using Java for device drivers development. Contrast it against udev - esp in terms of usability/supportability/extensibility etc. udev is a Linux

Re: RFC: Writing Solaris Device Drivers in Java

2008-03-31 Thread Peter Teoh
On Mon, Mar 31, 2008 at 7:58 PM, Jacek Luczak [EMAIL PROTECTED] wrote: Peter Zijlstra pisze: Java? Compete against C? Don't scare embedded devs. The future is always uncertain for us. Embedded development usually emphasizes on performance, unlike those of the desktop. So which language

Re: RFC: Writing Solaris Device Drivers in Java

2008-03-31 Thread Peter Zijlstra
difficulties as mentioned in the paper) the growth of using Java for device drivers development. Contrast it against udev - esp in terms of usability/supportability/extensibility etc. udev is a Linux thing, whereas Java is at industry level. If everyone write applications device

need help to understand 2.6 kernel device drivers

2008-02-21 Thread Darius
Hi All, I have build mini linux distro for my ARM920T embedded system. It includes my own bootloader, 2.6.24 vanilla kernel, jffs2 rootfs and busybox. I use buildroot toolchain. Now I want start to write device drivers for my hardware. I've read O'REILLY book Linux Device Drivers (3th

Re: what is the advantage of loading and unloading device drivers, apart from memory savings?

2007-07-26 Thread Adrian Bunk
On Mon, Jul 23, 2007 at 09:30:14PM -0700, John Lowry wrote: Iyer wrote: What is the advantage of loading and unloading device drivers, apart from memory savings? Yes, this becomes important in embedded devices. Not for normal desktop usage however. ... I doubt this - the kernel size

Re: what is the advantage of loading and unloading device drivers, apart from memory savings?

2007-07-26 Thread John Lowry
Rajat Jain wrote: Hi, How / where do you specify the module load ordering? Perhaps modules.dep ? I thought that is only for specifying dependencies among modules. Could someone clarify? Thanks, Rajat

RE: what is the advantage of loading and unloading device drivers, apart from memory savings?

2007-07-25 Thread Rajat Jain
Hi, How / where do you specify the module load ordering? Perhaps modules.dep ? I thought that is only for specifying dependencies among modules. Could someone clarify? Thanks, Rajat

what is the advantage of loading and unloading device drivers, apart from memory savings?

2007-07-23 Thread Iyer
What is the advantage of loading and unloading device drivers, apart from memory savings? Does loading and unloading of kernel modules enhance stability ? I have lots of memory in a device and the device will run only one application on it, would loading and unloading of device drivers

Re: what is the advantage of loading and unloading device drivers, apart from memory savings?

2007-07-23 Thread John Lowry
Iyer wrote: What is the advantage of loading and unloading device drivers, apart from memory savings? Yes, this becomes important in embedded devices. Not for normal desktop usage however. Does loading and unloading of kernel modules enhance stability ? Only if you are testing an unstable

RE : Re: Linux device drivers 3 book feedback

2007-07-13 Thread renardier philippe
I have readed your answer in newsbees (and in this mail). I am going to complement it with looking inside the source code. Reading Linux Device Drivers 3 was only the first step in my learning of Linux kernel (I focuse on writing drivers which i used to do for Windows kernel). Thanks. Philippe