Re: iwlwifi: Microcode SW error

2021-04-19 Thread Gonsolo
> Do you use MFP? I don't think so. I'm running unmodified kernels from Ubuntu PPA and don't meddle with WIFI configs. How can I find out? > Could be related to > https://patchwork.kernel.org/project/linux-wireless/patch/20210416134702.ef8486a64293.If0a9025b39c71bb91b11dd6ac45547aba682df34@change

Kernel warning "TX on unused queue" for iwlwifi on 7260 with kernel 5.10-rc2

2020-11-20 Thread Gonsolo
Output of lspci -nn: 02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 73) > Guy, can you help with this one? I believe there is a bugzilla issue > for this already... I'd like to know this too. -- g

Wifi hangs

2020-11-19 Thread Gonsolo
Hi! Sporadically my wifi hangs. Any idea why? This is on a 5.10.0-051000rc2-lowlatency kernel from https://kernel.ubuntu.com/~kernel-ppa/mainline. I have to stop and start the device to make it work again. >From dmesg: [ +0,000101] [ cut here ] [ +0,02] TX on unused

Re: [PATCH 1/1] Fix undefined reference to 'node_reclaim_distance'.

2020-05-04 Thread Gonsolo
Hi! > Yes, it fixes the arch/sh/ build errors in my testing. > I don't have a failing ppc64 .config file to test. As of v5.7-rc4 this patch doesn't seem to have been applied and the build is still failing: http://kisskb.ellerman.id.au/kisskb/buildresult/14067948/ diff --git a/kernel/sched/topolo

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
> I don't know. I was not the one that extracted the firmware. I guess > Antti did it. Ok. > That's a really bad solution. Returning 0xff is what happens when > things go wrong during I2C transfers. Several problems can cause it, > including device misfunction. Every time someone comes with a pat

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
> Huh? are you using the upstream Kernel? the above code is at line 215! > Please always use the upstream code when sending patches. Sorry, I was confused by my vi line: "drivers/media/dvb-frontends/si2168.c" 808 lines --26%-- 212,1-8 25%" Twelve hou

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
> 1) The firmware file is likely at the Windows driver for this device > (probably using a different format). It should be possible to get > it from there. If you tell me how I'm willing to do this. :) > 2) Another possibility would be to add a way to tell the si2168 driver > to not try to load a

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
>From si2168.c:808: /* Sometimes firmware returns bogus value */ if (utmp1 == 0x) utmp1 = 0; Maybe we can include my "bogus" hack to get at least Logilink running. Maybe with an info message to tell users what is going on. g

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
> try other firmware? > http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/ I tried all of them. No difference. -- g

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
I also tried to add a msleep(1000) after the si2168 firmware upload; no difference. g

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
> try other firmware? > http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/ I already downloaded version 4.0.25 from there. -rw-r--r-- 1 rootroot6,8K Apr 5 2018 /lib/firmware/dvb-demod-si2168-b40-01.fw.gonzo -rw-rw-r-- 1 gonsolo gonsolo 16K Okt 3 13:08 /lib/firmware/dvb-demod-

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
> Weird... it sounds that, after si2168 has its firmware updated, it > starts interfering at si2157. Perhaps there's a bug at si2168 I2C > gate mux logic. Are you using a new Kernel like 5.2? Everything is based on git://linuxtv.org/media_tree.git which is at 5.4-rc1 right now. > I guess the best

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
> With the original patch you proposed, what are the logs? Which one do you mean? That one: + case SI_BOGUS: + dev_info(&client->dev, "Bogus chip version, trying with no firmware\n"); + fw_name = NULL; + break; With this patch VLC is running but th

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
> So, I would add a msleep() somewhere after the firmware update. I tried that to no avail: release_firmware(fw); + msleep(1000); [ 107.903918] si2157 2-0063: firmware version: \xff.\xff.255 [ 107.903920] si2157 2-0063: querying chip revision... [ 107.906970] si2157 2-0063: chip

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
> Try to reduce the bus speed to 10kbps Nope: #define I2C_SPEED_REGISTER 260 // ~10k [ 117.860961] si2168 1-0067: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' [ 118.958355] si2168 1-0067: firmware version: B 4.0.25 [ 118.968882] si2157 2-0063: Bogus chip version, trying with n

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
Hi! I tried downloading a new firmware via case SI_BOGUS: - dev_info(&client->dev, "Bogus chip version, trying with no firmware\n"); - fw_name = NULL; + dev_info(&client->dev, "Bogus chip version, trying with new firmware\n"); + fw_na

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
Hi! > It means that there's a firmware stored at the device's eeprom > (version 4.0.2). When the driver starts, it downloads a newer firmware > from the file dvb-demod-si2168-b40-01.fw. Thanks for the explanation. > Btw, could you please try the enclosed hack and post the results? Will do in a

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
Hi! Boot time: > [5.380991] si2168 1-0067: firmware version: B 4.0.2 When starting VLC: > [ 457.677363] si2168 1-0067: downloading firmware from file > 'dvb-demod-si2168-b40-01.fw' > [ 458.631034] si2168 1-0067: firmware version: B 4.0.11 > [ 458.650309] si2157 2-0063: unknown chip versi

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gonsolo
Hi! > Could you please test the enclosing patch and see if, with that, you > can remove the hacks you added for the tuner probe to work? I tested again on a vanilla media_tree with Mauro's patch attached. Doesn't work. Dmesg output: [0.788387] kernel: usb 1-1: new high-speed USB device numbe

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-02 Thread Gonsolo
Hi! > Antti has some great suggestions in that thread: > https://lkml.org/lkml/2017/5/24/245 > > Also note https://lkml.org/lkml/2017/5/26/357 if you have access to a > logic analyser. I read that thread. Unfortunately I'm not a hardware engineer nor do I have access to a logic analyser,

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-02 Thread Gonsolo
Hi! > You need a message and a Signed-off-by: here. Ok, I'll try to get that right the next time. > > + ret = si2157_power_up(dev, client); > > + if (ret) > > + goto err; > > + /* query chip revision */ > > + /* hack: do it here because after the si2168 gets 0101, com

Re: DVB-T2 Stick

2019-10-01 Thread Gonsolo
Hi! > Secondly there are lots of coding style issues, see: > https://www.kernel.org/doc/html/v4.10/process/coding-style.html I addressed most of these except one "#if 0" warning from checkpatch. > I'm afraid there are many problems with this patch. First of all it looks > like support was added

DVB-T2 Stick

2019-01-30 Thread Gonsolo
Hi! The following patch adds support for the Logilink VG0022A DVB-T2 stick. After patching and building the kernel it shows up with lsusb and I used w_scan to scan for channels and vlc for watching. The original patches were from Andreas Kemnade. The only thing that doesn't work is wake up after s

Complete Linux history in git

2007-09-19 Thread Gonsolo
erge/rebase (don't know). Gonsolo #!/usr/bin/python # Fetch the git repository for kernels up to 1.0. # Apply all patches up to 2.4 and commit to the repository. # From here old-2.6-bkcvs can be applied. # Some fixes are necessary these have to be downloaded seperately. import os, shutil, urlli