1 |
I have just tried , the output is like something below
|
2 |
|
3 |
01:00.0 VGA compatible controller: ATI Technologies Inc M92 LP
|
4 |
Subsystem: Hewlett-Packard Company Device 3644
|
5 |
Flags: bus master, fast devsel, latency 0, IRQ 10
|
6 |
Memory at 80000000 (32bit, prefetchable) [size=256M]
|
7 |
I/O ports at 3000 [size=256]
|
8 |
Memory at 90300000 (32bit, non-prefetchable) [size=64K]
|
9 |
Expansion ROM at 90320000 [disabled] [size=128K]
|
10 |
Capabilities: [50] Power Management version 3
|
11 |
Capabilities: [58] Express Legacy Endpoint, MSI 00
|
12 |
Capabilities: [a0] MSI: Enabel- Count=1/1 Maskable- 64bit+
|
13 |
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
|
14 |
|
15 |
How can I find the driver according to these information ?
|
16 |
|
17 |
|
18 |
------------------ 原始邮件 ------------------
|
19 |
发件人: "Nilesh Govindarajan"<contact@××××××××.com>;
|
20 |
发送时间: 2011年10月15日(星期六) 中午11:43
|
21 |
收件人: "gentoo-user"<gentoo-user@l.g.o>;
|
22 |
|
23 |
主题: Re: [gentoo-user] Can't find driver for VGA in kernel source tree
|
24 |
|
25 |
|
26 |
On Sat 15 Oct 2011 07:43:23 AM IST, Lavender wrote:
|
27 |
> Hello, everyone ! I'm trying to build a kernel |
28 |
> manully and there is a problem. |
29 |
> I use lspci command and it shows my |
30 |
> VGA card information: |
31 |
> |
32 |
> 01:00.0 VGA compatible controller: |
33 |
> ATI Technologies Inc M92 LP |
34 |
> |
35 |
> Then I type |
36 |
> $ cd /sys/bus/pci/devices/0000:01:00.0 |
37 |
> $ cat vendor |
38 |
> $ cat device |
39 |
> |
40 |
> Now I get the vendor ID 0x1002 |
41 |
> and the device ID 0x9552 for my VGA card |
42 |
> |
43 |
> Then I type |
44 |
> $ grep -i 0x1002 include/linux/pci_ids.h |
45 |
> It shows #define PCI_VENDOR_ID_ATI 0x1002 |
46 |
> |
47 |
> $grep -i 0x9552 include/linux/pci_ids.h |
48 |
> It shows nothing |
49 |
> $grep -Rl PCI_VENDOR_ID_ATI |
50 |
> It prints a lot message, but I should notice |
51 |
> files in directory drivers/media video and gpu. |
52 |
> Here are the files in them: |
53 |
> /drivers/media/video/cx88/cx88-card.c |
54 |
> /drivers/video/aty/radeon_base.c |
55 |
> /drivers/video/aty/atyfb_base.c |
56 |
> /drivers/video/aty/aty128fb.c |
57 |
> /drivers/drm/radeon/radeon_agp.c |
58 |
> |
59 |
> I have searched through these files, but I didn't |
60 |
> find both 0x1002 and 0x9552 in one file which |
61 |
> means these files are not drivers I need. |
62 |
> If it means that there is no driver for my VGA in |
63 |
> kernel source tree ? But my laptop is bought two |
64 |
> years ago, hardware is not fashion. |
65 |
|
66 |
Have you tried lspci -v which gives verbose information about the
|
67 |
device, including the modules involved?
|
68 |
|
69 |
--
|
70 |
Nilesh Govindarajan
|
71 |
http://nileshgr.com |