Re: My effort to learn Linux kernel development

2021-08-12 Thread Amit Kumar
Hi All, Because the Linux kernel uses GCC extensions, this resource is important for a Linux kernel learner. https://www.gnu.org/software/gnu-c-manual/gnu-c-manual.pdf Regards, Amit Kumar On Wed, Aug 11, 2021 at 5:07 PM Amit Kumar wrote: > > On Wed, Aug 11, 2021 at 3:11 PM sri vathsa wrote: >

Re: USB-Audio: Device or resource busy (strace log)

2021-08-12 Thread vishnu
can you paste output of arecord -l (list of capture devices). Which device you are using and os. Does this instance is already open by default? like any video playing or something like that? Yes you can stop pulse audio and try.. On Wed, Aug 11, 2021 at 6:17 PM Jaroslav Kysela wrote: > On 11.

Re: USB-Audio: Device or resource busy (strace log)

2021-08-12 Thread vishnu
can you paste output of arecord -l (list of capture devices). Which device you are using and os. Does this instance is already open by default? like any video playing or something like that? On Wed, Aug 11, 2021 at 6:06 PM Muni Sekhar wrote: > Hi All, > > $ cat /proc/asound/cards > 0 [USB

Re: [RFC PATCH v2 05/10] block: Add block device sysfs attribute to set/clear/show LED

2021-08-12 Thread Jackie Liu
ÔÚ 2021/8/9 ÉÏÎç11:32, Ian Pilcher дµÀ: > Add show & store functions in blk-ledtrig.c (attributes defined in genhd.c) > > Show function shows all available LEDs (LEDs associated with blkdev trigger); > currently associated LED is shown in square brackets ([]) > > Store function accepts

Re: [RFC PATCH v2 00/10] Add configurable block device LED triggers

2021-08-12 Thread Pali Rohár
On Monday 09 August 2021 20:56:33 Marek Behún wrote: > Hello Ian, > > thank you for your proposal. Some comments below: > > On Sun, 8 Aug 2021 22:32:07 -0500 > Ian Pilcher wrote: > > > One thing that has not changed is that associations between block > > devices and LEDs are still set via an

Re: LDD 3rd ed. - It was: Re: read() via USB bus

2021-08-12 Thread Robert P. J. Day
On Thu, 12 Aug 2021, Greg KH wrote: > On Thu, Aug 12, 2021 at 11:45:45AM +0200, Fabio M. De Francesco wrote: > > Hi Greg, > > > > On Monday, August 9, 2021 10:44:23 AM CEST Greg KH wrote: > > > On Mon, Aug 09, 2021 at 10:15:29AM +0200, Oliver Neukum wrote: > > > > On 09.08.21 09:58, Muni Sekhar

Re: LDD 3rd ed. - It was: Re: read() via USB bus

2021-08-12 Thread Greg KH
On Thu, Aug 12, 2021 at 11:45:45AM +0200, Fabio M. De Francesco wrote: > Hi Greg, > > On Monday, August 9, 2021 10:44:23 AM CEST Greg KH wrote: > > On Mon, Aug 09, 2021 at 10:15:29AM +0200, Oliver Neukum wrote: > > > On 09.08.21 09:58, Muni Sekhar wrote: > > > > Hi all, > > > > > > > > PCIe

Re: LDD 3rd ed. - It was: Re: read() via USB bus

2021-08-12 Thread Valdis Klētnieks
On Thu, 12 Aug 2021 11:45:45 +0200, "Fabio M. De Francesco" said: > I've heard that your book, LDD 3rd edition, has become obsolete a long time > ago and most sample code cannot anymore build. Reading what you wrote above > seems to contradict what I've been told by others... I must admit that

Re: A question about staging driver like pi433

2021-08-12 Thread Sidong Yang
On Tue, Aug 10, 2021 at 08:12:46AM +0200, Greg KH wrote: > On Mon, Aug 09, 2021 at 11:27:13PM +, Sidong Yang wrote: > > On Mon, Aug 09, 2021 at 08:20:03PM +0200, Greg KH wrote: > > > On Mon, Aug 09, 2021 at 04:13:28PM +, Sidong Yang wrote: > > > > Hi all, > > > > > > > > I have a question