1 |
Hello, everyone ! I'm trying to build a kernel
|
2 |
manully and there is a problem.
|
3 |
I use lspci command and it shows my
|
4 |
VGA card information:
|
5 |
|
6 |
01:00.0 VGA compatible controller:
|
7 |
ATI Technologies Inc M92 LP
|
8 |
|
9 |
Then I type
|
10 |
$ cd /sys/bus/pci/devices/0000:01:00.0
|
11 |
$ cat vendor
|
12 |
$ cat device
|
13 |
|
14 |
Now I get the vendor ID 0x1002
|
15 |
and the device ID 0x9552 for my VGA card
|
16 |
|
17 |
Then I type
|
18 |
$ grep -i 0x1002 include/linux/pci_ids.h
|
19 |
It shows #define PCI_VENDOR_ID_ATI 0x1002
|
20 |
|
21 |
$grep -i 0x9552 include/linux/pci_ids.h
|
22 |
It shows nothing
|
23 |
$grep -Rl PCI_VENDOR_ID_ATI
|
24 |
It prints a lot message, but I should notice
|
25 |
files in directory drivers/media video and gpu.
|
26 |
Here are the files in them:
|
27 |
/drivers/media/video/cx88/cx88-card.c
|
28 |
/drivers/video/aty/radeon_base.c
|
29 |
/drivers/video/aty/atyfb_base.c
|
30 |
/drivers/video/aty/aty128fb.c
|
31 |
/drivers/drm/radeon/radeon_agp.c
|
32 |
|
33 |
I have searched through these files, but I didn't
|
34 |
find both 0x1002 and 0x9552 in one file which
|
35 |
means these files are not drivers I need.
|
36 |
If it means that there is no driver for my VGA in
|
37 |
kernel source tree ? But my laptop is bought two
|
38 |
years ago, hardware is not fashion. |