1 |
Quoting Chris Gianelloni <wolf31o2@g.o>: |
2 |
|
3 |
> On Mon, 2005-12-12 at 18:44 +0100, Nicolas Raspail wrote: |
4 |
>> Hi, |
5 |
>> |
6 |
>> I think the pattern to detect an nvidia card is wrong in |
7 |
>> livecd-functions.sh : |
8 |
>> |
9 |
>> NVIDIA_CARD=$(echo ${NVIDIA} | awk 'BEGIN {RS=" "} /NV[0-9]+/ {print |
10 |
>> $1}' | cut -d. -f1 | sed 's/ //' | sed 's:[^0-9]::g' |
11 |
>> |
12 |
>> Here is the output of lspci on my system : |
13 |
>> |
14 |
>> 0000:01:00.0 VGA compatible controller: nVidia Corporation nv40 [GeForce |
15 |
>> 6800 Ultra] (rev a1) |
16 |
>> |
17 |
>> The regexp try to math a pattern like NV followed by numbers, but my |
18 |
>> card appears as nv40, lowercase, and it isn't detected. |
19 |
>> |
20 |
>> If I modify the line like this |
21 |
>> |
22 |
>> NVIDIA_CARD=$(echo ${NVIDIA} | awk 'BEGIN {RS=" |
23 |
>> ";IGNORECASE="1"} /NV[0-9]+/ {print $1}' | cut -d. -f1 | sed 's/ //' | |
24 |
>> sed 's:[^0-9]::g' |
25 |
>> |
26 |
>> the output is 40, which seems to be ok. As I'm not an awk user, perhaps, |
27 |
>> my little modification is ugly, and someone has a better one ? |
28 |
>> |
29 |
>> To test my solution, I will write an fsscript that modify the |
30 |
>> livecd-functions.sh, rebuild my livecd and test the new iso. |
31 |
> |
32 |
> Normally, this would be filed as a bug unless you were looking for |
33 |
> discussion on it. I do have one question for you, where is your pci.ids |
34 |
> coming from on the machine that is showing that for lspci? All Nvidia |
35 |
> cards should be using capitals. It very well could be the pci.ids being |
36 |
> shipped with the pciutils ebuild causing the issue. At any rate, I've |
37 |
> committed a fix to CVS for this, since we should be able to check for |
38 |
> this problem. |
39 |
> |
40 |
> -- |
41 |
> Chris Gianelloni |
42 |
> Release Engineering - Strategic Lead |
43 |
> x86 Architecture Team |
44 |
> Games - Developer |
45 |
> Gentoo Linux |
46 |
> |
47 |
|
48 |
|
49 |
Hi Chris, |
50 |
|
51 |
as I don't use gentoo very often (I'm building my livecd on a gentoo in |
52 |
a vmware running on a Debian), I don't have think to report a bug, and |
53 |
I don't know which package to fill against. And as I've discovered this |
54 |
list, I have think it's the right place to discuss about this, and fill |
55 |
a bug after if needed. |
56 |
|
57 |
I've run lspci on my running Debian and on my livecd after booting on |
58 |
it, and in both case, I get lowercase "nv". I have checked the pci.ids |
59 |
on my debian (pciutils_2.1.11-15.3_i386.deb) and I see "0040 nv40 |
60 |
[GeForce 6800 Ultra]" I just download the last version of pciutils |
61 |
(2.2.1) from http://www.kernel.org/pub/software/utils/pciutils and I |
62 |
see "0040 nv40 [GeForce 6800 Ultra]" |
63 |
|
64 |
So, I think that after all, not all nvidia cards use capitals :) |
65 |
|
66 |
Nicolas |
67 |
|
68 |
-- |
69 |
gentoo-catalyst@g.o mailing list |