On 20.04.20 22:47, Mauro Carvalho Chehab wrote:
Em Mon, 20 Apr 2020 20:27:25 +0200
Patrik Gfeller <patrik.gfeller@xxxxxxxxx> escreveu:
Me again ... sorry to ask such a basic question, but I can't get your
modified source code. I get the following error:
> git clone https://git.linuxtv.org/mchehab/experimental.git/
Cloning into 'experimental'...
warning: adding alternate object store:
https://git.linuxtv.org/git/linux.git/
warning: adding alternate object store:
https://git.linuxtv.org/git/media_tree.git/
warning: adding alternate object store:
https://git.linuxtv.org/git/linux.git/
error: Unable to find fc8670d1f72b746ff3a5fe441f1fca4c4dba0e6f under
https://git.linuxtv.org/mchehab/experimental.git
Cannot obtain needed object fc8670d1f72b746ff3a5fe441f1fca4c4dba0e6f
while processing commit 6d80bfc14608f4bb5514b79721d30b486f50c987.
error: fetch failed.
Do I use the wrong command?
Better to use git:// url:
git clone git://git.linuxtv.org/mchehab/experimental.git/
I was able to download and compile the code. I installed the kernel and
tried to boot; unfortunately it hangs with the message "Loading initial
ramdisk ..." - after I start the old kernel I check kern.log and syslog
- but I do not see entries from the failed boot attempt. I'll read into
the topic and try around. This will take some time ... so there will be
a dealy, but it's not that I do not care or lacking interest, I just
first have to sort this out.
kind regards,
Patrik
On 20.04.20 19:48, Patrik Gfeller wrote:
On 20.04.20 01:31, Mauro Carvalho Chehab wrote:
Em Sat, 18 Apr 2020 17:37:22 +0200
Patrik Gfeller <patrik.gfeller@xxxxxxxxx> escreveu:
On 18.04.20 17:26, Mauro Carvalho Chehab wrote:
Em Sat, 18 Apr 2020 17:25:49 +0200
Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> escreveu:
Em Sat, 18 Apr 2020 16:39:25 +0200
Patrik Gfeller <patrik.gfeller@xxxxxxxxx> escreveu:
Hello Mauro et al,
I've recently switched to Linux, and I'm very impressed. Almost
everything thing works out of the box. Only the webcam on my
device does
not. I did some digging and if I'm right an atomisp driver would be
required. Is this correct? Below the output of lspci:
00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium
Processor
x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 36)
00:02.0
VGA compatible controller: Intel Corporation Atom/Celeron/Pentium
Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller
(rev 36)
00:03.0 Multimedia controller: Intel Corporation
Atom/Celeron/Pentium
Processor x5-E8000/J3xxx/N3xxx Series Imaging Unit (rev 36) 00:0a.0
Non-VGA unclassified device: Intel Corporation Device 22d8 (rev 36)
00:0b.0 Signal processing controller: Intel Corporation
Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power
Management Controller (rev 36) 00:14.0 USB controller: Intel
Corporation
Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI
Controller (rev 36) 00:1a.0 Encryption controller: Intel Corporation
Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted
Execution Engine (rev 36) 00:1c.0 PCI bridge: Intel Corporation
Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI
Express
Port #1 (rev 36) 00:1f.0 ISA bridge: Intel Corporation
Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU
(rev 36)
01:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac
Wireless
Network Adapter (rev 31)
What hardware do you have?
I have aASUS Transformer Book T101HA-GR029T (HW probe @
https://linux-hardware.org/?probe=ccc26d4cd3).
I did a look at the atomisp driver. There are some APIs that changed
upstream,
but making the driver to build again is not hard:
https://git.linuxtv.org/mchehab/experimental.git/log/?h=atomisp
If this would work or just hang, I don't know :-)
Cool!
Meanwhile I downloaded to kernel source and checked out the latest
commit that still has the driver in staging. I'm currently in the
process of building the old kernel in order to test if the driver
works at all (1st time I'm doing this - thus takes some time,
especially on my Atom :-). But I will then switch over to your changed
version to give it a try.
This driver is still a big mess, and it requires some defines on its
source
code, in order to use it with some different Atom models.
According to the history it looks like the driver was removed
from the
kernel in 2018 and replaced with a dummy driver (to make sure
power save
works).
Is there a chance that the atomisp driver will return to the kernel?
There are quite a few older tablets and 2in1 devices that would
benefit.
Unfortunately I do not understand the removed code (my coding
skills are
very basic) and can thus not help to change what ever is
necessary to
make it fit for the kernel :-( (does not sound like a beginner
project).
However - I would be glad to help out to help testing an ISP driver.
There are simply too many things there to be fixed, and nobody
without
time for it. Also, the last reports we had is that the driver was not
working.
Unfortunately, I don't have myself any atomisp hardware, otherwise I
could try fixing it on my spare time.
In time: not really sure if it would be a worth project, as newer
Intel
hardware are coming with a different IP block (IPU3).
I don't know how widespread the IPU that I have is, I assume that some
other tablets & 2in1 devices that are a few years old use it as well.
The IPU is used on some Dell 2in1 devices(I guess they use an i5core
with a chipset made for mobile market). Not sure if they're using IPU3
also on Atom.
For me it would be definitely nice to have this driver. However, I can
ask around in some of the forums if there is a wider interest.
Might be
a niche tough, but the support for the Atom device I use have been
greatly improved in the recent years. So there is at least some work
going on for that platform (I do not know, but I think it is called
cherry trail?). As there are many older reports of problems with audio,
touchscreen, stability (freezes) ... and none of them are present
anymore.
As mentioned, if the development is hindered by missing hardware I
would
be glad to help. Anyhow - many thanks for your replies, much
appreciated!
Thanks,
Mauro
Thanks,
Mauro
thanks & kind regards,
Patrik
Thanks,
Mauro
kind regards,
Patrik