Re: Is there any way to add an attribute under sysfs at the “platform” level?

2017-06-19 Thread Roman Storozhenko
On Mon, Jun 19, 2017 at 08:55:22AM +0800, Greg KH wrote: > On Sun, Jun 18, 2017 at 05:38:36PM +0300, Roman Storozhenko wrote: > > Hello everybody! > > > > I am trying to modify "pcspkr" driver undere linux kernel source tree. I > > added a n

Re: I want write more important things

2017-05-18 Thread Roman Storozhenko
> Hello, > I am interested in wrinting code in Linux kernel and I started write kernel > modules. I have some basics about kernel development- I red Robert's Love > book. My the biggest project with kernel code is simple module, which create > char device which can execute commands as root.

Re: I want write more important things

2017-05-18 Thread Roman Storozhenko
> Hello, > I am interested in wrinting code in Linux kernel and I started write kernel > modules. I have some basics about kernel development- I red Robert's Love > book. My the biggest project with kernel code is simple module, which create > char device which can execute commands as root.

Re: Does anyone have experience about linux kernel dev and test in QEMU?

2017-05-23 Thread Roman Storozhenko
On Tue, May 23, 2017 at 12:29:09AM +, Douglas Su wrote: > I used to develop and test kernel driver in virtual box with full Linux > Debian installed. It works but not efficient due to that I have to install a > full functional Linux distribution. > > Previously, in this mail list, I noted

Update a newly-created '.config' file with some predefined values

2017-05-30 Thread Roman Storozhenko
Hello everybody, I have a host machine and I have a VM machine running CentOS 7 with 3.x. There is a kernel source tree on the host. I have made 'make menuconfig', populated all options that I want to have in my custom kernel and as a result got a '.config' file. Then I copied a centos-default

Re: Update a newly-created '.config' file with some predefined values

2017-05-31 Thread Roman Storozhenko
On Tue, May 30, 2017 at 12:28:34PM +0300, Roman Storozhenko wrote: > Hello everybody, > > I have a host machine and I have a VM machine running CentOS 7 with 3.x. > There is > a kernel source tree on the host. I have made 'make menuconfig', > populated all options that I

Is there any way to save just the 'Kernel Hacking' subsection instead of entire .config

2017-06-09 Thread Roman Storozhenko
It is a hard way. 2) Turn off all debug options. Save them in one file. Turn on all debug options and save them to other file. Then make diff on these two files, format it and save to .config_deb. It is a better way, but not ideal. Is there any other ways to handle this tas

Is there any way to add an attribute under sysfs at the “platform” level?

2017-06-18 Thread Roman Storozhenko
de and in the dmesg output. But "sample" catalog isn't appear under "/sys/devices/platform/pcspkr/". What is wrong with that code ? Thanks in advance, Roman Storozhenko ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org