Which driver to use for patches?

2024-05-18 Thread Philipp Hortmann
Dear knewbies and developers, maybe you ask yourself: Which driver to use for patches? Here the list of drivers I can support you with tests (from the staging subsystem): rtl8723bs rtl8192e rtl8712 vt6655 vt6656 Please feel free to contact me for questions. Thanks for your support. Bye

Compile error on Rasperry PI arm64 in arch/arm64/kvm/hyp/nvhe/gen-hyprel

2024-04-01 Thread Philipp Hortmann
Hi, I tried to compile the mainline kernel on a Rasperry PI 32-Bit OS. Here the commands for preparation: make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- defconfig make ARCH=arm64 KERNEL=kernel8 CROSS_COMPILE=aarch64-linux-gnu- -j4 Image.gz modules dtbs

firefox does not start with 6.8-rc

2024-02-10 Thread Philipp Hortmann
Hi, compiled the latest staging kernel on my xubuntu laptop. It starts fine but I cannot start my firefox anymore. This happens only with kernel 6.8-rcx. With kernel 6.7 no issue at all. Find logs below. Found in some forum that it is fixed in some later rc on an other tree. Tried to find

How to switch driver from wireless extension to cfg/mac80211

2023-10-07 Thread Philipp Hortmann
Hi, after cutting away a lot of dead code from the rtl8192e I would like to understand the way forward to migrate the driver from wireless extension to cfg/mac80211. What is the best way forward to migrate the driver rtl8192e towards the drivers/net/wireless/realtek/rtlwifi/rtl8192* ? Does

Re: Looking for ways to contribute

2023-08-04 Thread Philipp Hortmann
On 8/4/23 13:58, ozli...@hotmail.com wrote: Hi, I am new here. I have a fair amount of experience with C/C++, with a 3D graphics background. I have been looking for ways to contribute, particularly to networking, as that is what interests me, but I can't find anything to work on. If anyone knows

Re: spin_lock_irqsave first used and then unused

2023-04-30 Thread Philipp Hortmann
Hi Frank, On 4/30/23 15:20, Frank Oltmanns wrote: Hi Philipp, I'm a kernel newbie myself (but a senior software developer) and I haven't actually looked up the source, other then the part you cited, so please take the following with a grain of salt. On 2023-04-30 at 10:31:09 +0200, Philipp

spin_lock_irqsave first used and then unused

2023-04-30 Thread Philipp Hortmann
Hi, here a piece of code from driver rtl8192e: while (true) { spin_lock_irqsave(>rf_ps_lock, flag); if (priv->rf_change_in_progress) { spin_unlock_irqrestore(>rf_ps_lock, flag); while

Meaning of Task in TODO file

2023-02-26 Thread Philipp Hortmann
Hi, I am trying to improve the driver drivers/staging/rtl8192e/ In the TODO I can find: * Remove the HAL layer and migrate its functionality into the relevant parts of the driver. Does this mean to merge the modules rtllib with r8192e_pci to one module? Thanks for your support. Bye

Re: Abbreviation for variables

2022-10-02 Thread Philipp Hortmann
On 10/2/22 05:27, Valdis Klētnieks wrote: Here some examples of the names I want to change. Why? What actual improvement would accrue from doing this? Hi Valdis, thanks for your response. I am working on rtl8192e in the staging area. Reason is that the hardware is commonly available and

Abbreviation for variables

2022-10-01 Thread Philipp Hortmann
Hi, I am looking for a list of commonly used variable names and the abbreviations. I need this to shorten some of the CamelCase variables in the staging area. I have not found any good list in the web: Here some examples (guessed) reg -> register cnt -> counter pwr -> power addr -> address

Re: Get personal support for your first kernel patch

2022-09-18 Thread Philipp Hortmann
Hi, you can follow the description on this homepage: https://kernelnewbies.org/FirstKernelPatch I learned from this document. That has some issues because it is not updated in all points but it works. I cannot update because I do not have the permission. Here the hints I wand to give you:

Get personal support for your first kernel patch

2022-09-17 Thread Philipp Hortmann
Hi, I am looking for people who think about working on the linux kernel for quite some time. Typically they do not know how to start, because that is the biggest hurdle. I offer you support about all questions regarding this topic (Limited what I know. But I do have 118 patches in the

Re: What is the right thing to do if a patch got ignored?

2022-08-08 Thread Philipp Hortmann
On 8/7/22 22:05, Adverg Ebashinskii wrote: What is the right things to do if a patch got ignored? Is it appropriate to request a feedback by explicitly replying to the thread or ignoring the patch automatically means that it was rejected? If it's possible to request a feedback how long should

vt6655 implementation of cfg80211 subsystem

2022-08-02 Thread Philipp Hortmann
Hi, to further improve the driver vt6655 I was reading through the cfg80211 subsystem documentation. https://www.kernel.org/doc/html/latest/driver-api/80211/cfg80211.html#device-registration The following table shows structs/functions named in the documentation with driver vt6655

Re: Workaround to send patch with git send email and gmail account

2022-06-22 Thread Philipp Hortmann
On 6/22/22 18:04, Jules Irenge wrote: Now that google has disabled less secure app, I would like to know what are the alternative to send patch when one uses gmail ? I tried with git-send email but to no avail. Anyone with some workaround on this please Thanks, Jules Hi, I am still using

Re: When reviewers stop responding

2022-06-21 Thread Philipp Hortmann
On 6/7/22 19:23, Greg KH wrote: And again, please help review code, otherwise you are just asking others to do work for you, which if you think about it, could be construed as a bit selfish, and I don't think you mean it to be. Hi Greg, this applies to me. I promise to improve. But this topic

Replace two ioread32 with ioread64_lo_hi non_atomic

2022-04-25 Thread Philipp Hortmann
Hi, in this patch: [PATCH 4/5] staging: vt6655: Replace two VNSvInPortD with ioread64_lo_hi I tried to combine two reads in one. if (ww == W_MAX_TIMEOUT) return false; - VNSvInPortD(iobase + MAC_REG_TSFCNTR, (u32 *)pqwCurrTSF); - VNSvInPortD(iobase +

Re: System does not start with kernel from staging-testing pulled 3hours ago

2022-04-15 Thread Philipp Hortmann
On 4/15/22 21:43, Ozgur Karatas wrote: On Fri, Apr 15, 2022 at 11:12 PM Philipp Hortmann mailto:philipp.g.hortm...@gmail.com>> wrote: Hi, I found the error. I changed something in a driver that lead to this issue. Hey, we are glad to hear that but hmm it would b

Re: System does not start with kernel from staging-testing pulled 3hours ago

2022-04-15 Thread Philipp Hortmann
Hi, I found the error. I changed something in a driver that lead to this issue. Thanks for your support. Bye Philipp ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: System does not start with kernel from staging-testing pulled 3hours ago

2022-04-15 Thread Philipp Hortmann
On 4/15/22 13:02, Ozgur Karatas wrote: On Fri, Apr 15, 2022 at 2:23 PM Philipp Hortmann mailto:philipp.g.hortm...@gmail.com>> wrote: Hi, i have switched this morning from 5.18.0-rc1 to 5.18.0-rc2 But with 5.18.0-rc2 (Pulled today 15.04.2022) my computer does not

System does not start with kernel from staging-testing pulled 3hours ago

2022-04-15 Thread Philipp Hortmann
Hi, i have switched this morning from 5.18.0-rc1 to 5.18.0-rc2 But with 5.18.0-rc2 (Pulled today 15.04.2022) my computer does not start anymore It stops approxemately at 1.7 seconds here the last log captured on the screen: ... Begin: Waiting for suspend/resume device ... Begin: Running

What to do with macros with do while (0) body

2022-03-19 Thread Philipp Hortmann
Hi all, please support me in what to do with the below macro as checkpatch seems to hate them. In this case the macro is unused. Just remove macro? When the macro is used how to remove this checkpatch message: CHECK: Macro argument reuse 'iobase' - possible side-effects? Even when iobase is

Re: Linux driver of vt6656 from staging area causes system to freeze.

2022-02-03 Thread Philipp Hortmann
On 2/3/22 09:54, Greg Kroah-Hartman wrote: On Thu, Feb 03, 2022 at 01:41:11AM +0100, Philipp Hortmann wrote: I managed to get a device vt6656 (USB WiFi adapter). The device works OK when the computer is started and driver loaded. When the WLAN is disabled the system freezes often. I am using

Linux driver of vt6656 from staging area causes system to freeze.

2022-02-02 Thread Philipp Hortmann
d403ed1a1c2483a3a8b44e96c12edbfa2a53d356 Mon Sep 17 00:00:00 2001 From: Philipp Hortmann Date: Wed, 2 Feb 2022 20:15:04 +0100 Subject: [PATCH] staging: vt6656: Fix crash when WLAN is turned off To: Forest Bond ,Greg Kroah-Hartman ,linux-stag...@lists.linux.dev,linux-ker...@vger.kernel.org Stop submitting

Re: Where to find the information how to write a state of the art USB driver?

2022-01-13 Thread Philipp Hortmann
On 1/13/22 4:33 PM, Greg KH wrote: On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote: On 1/12/22 10:54 AM, Greg KH wrote: That driver tried to be an example for an unknown device, doing multiple different things that no single driver/device would probably ever need. Also it can

Re: Where to find the information how to write a state of the art USB driver?

2022-01-12 Thread Philipp Hortmann
On 1/12/22 10:54 AM, Greg KH wrote: That driver tried to be an example for an unknown device, doing multiple different things that no single driver/device would probably ever need. Also it can almost always just be replaced with a simple userspace program using libusb, as I bet your driver could

Re: Where to find the information how to write a state of the art USB driver?

2022-01-11 Thread Philipp Hortmann
On 1/11/22 9:51 AM, Greg KH wrote: On Mon, Jan 10, 2022 at 10:31:28PM +0100, Philipp Hortmann wrote: Hi all, template usb-skeleton.c is working but outdated, documentation is helpful but years old and checkpatch.pl is giving hints to deprecated functions. This information is helpful

Where to find the information how to write a state of the art USB driver?

2022-01-10 Thread Philipp Hortmann
Hi all, template usb-skeleton.c is working but outdated, documentation is helpful but years old and checkpatch.pl is giving hints to deprecated functions. This information is helpful but it does not show the way how to write a state of the art USB driver. Where to find this information? In

Device to test usblcd.c wanted

2021-12-21 Thread Philipp Hortmann
Hi all, I would like to test drivers/usb/misc/usblcd.c with a USB LCD Display. But I cannot find a suitable device. I have searched with google but I get so much hits for other devices that I cannot find the right one. I have tried to contact the author of the driver but: The response from

Re: How to print __u128_t in kernel?

2021-09-20 Thread Philipp Hortmann
On 9/18/21 3:35 PM, Dongliang Mu wrote: Hello everyone, I encounter one object with __uint128_t type in the following code. But I am not sure how to print the content of __uint128_t. struct user_fpsimd_state { __uint128_t vregs[32]; __u32 fpsr; __u32 fpcr; __u32 __reserved[2]; }; At first, I

Re: how to avoid CPU watchdog error during debug

2021-08-26 Thread Philipp Hortmann
On 8/25/21 3:06 AM, c...@etri.re.kr wrote: Hello, While debugging a kernel module, I get this error and the OS crashes. [39068.833652] rcu: INFO: rcu_sched self-detected stall on CPU [39068.834739] watchdog: BUG: soft lockup - CPU#3 stuck for 164s! [systemd-journal:399] [39068.834854]

Re: Update of kernelnewbies.org/FirstKernelPatch required

2021-08-24 Thread Philipp Hortmann
On 8/22/21 9:04 PM, Sudip Mukherjee wrote: Hi Philipp, On Sun, Aug 22, 2021 at 4:05 PM Philipp Hortmann wrote: Hi, I am just following the "FirstKernelPatch" instructions and found out that yahoo as email account does not work anymore. Reason is that the Security Setting &

Update of kernelnewbies.org/FirstKernelPatch required

2021-08-22 Thread Philipp Hortmann
Hi, I am just following the "FirstKernelPatch" instructions and found out that yahoo as email account does not work anymore. Reason is that the Security Setting "Allow apps that use less secure sign-in" does not exist anymore. For gmail it is required to activate the option "Allow apps that use

Request for login to update https://kernelnewbies.org/FirstKernelPatch

2021-08-21 Thread Philipp Hortmann
Just following the "FirstKernelPatch" and found the following line: apt-get install python-ply python-git that needs to be replaced by: apt-get install python3-ply python3-git Please provide me a login or edit yourself. ___ Kernelnewbies mailing