Gentoo Archives: gentoo-user

From: Nilesh Govindarajan <contact@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't find driver for VGA in kernel source tree
Date: Sat, 15 Oct 2011 03:14:32
Message-Id: 4E98FA44.9070608@nileshgr.com
In Reply to: [gentoo-user] Can't find driver for VGA in kernel source tree by Lavender <448463782@qq.com>
1 On Sat 15 Oct 2011 07:43:23 AM IST, Lavender wrote:
2 > Hello, everyone ! I'm trying to build a kernel
3 > manully and there is a problem.
4 > I use lspci command and it shows my
5 > VGA card information:
6 >
7 > 01:00.0 VGA compatible controller:
8 > ATI Technologies Inc M92 LP
9 >
10 > Then I type
11 > $ cd /sys/bus/pci/devices/0000:01:00.0
12 > $ cat vendor
13 > $ cat device
14 >
15 > Now I get the vendor ID 0x1002
16 > and the device ID 0x9552 for my VGA card
17 >
18 > Then I type
19 > $ grep -i 0x1002 include/linux/pci_ids.h
20 > It shows #define PCI_VENDOR_ID_ATI 0x1002
21 >
22 > $grep -i 0x9552 include/linux/pci_ids.h
23 > It shows nothing
24 > $grep -Rl PCI_VENDOR_ID_ATI
25 > It prints a lot message, but I should notice
26 > files in directory drivers/media video and gpu.
27 > Here are the files in them:
28 > /drivers/media/video/cx88/cx88-card.c
29 > /drivers/video/aty/radeon_base.c
30 > /drivers/video/aty/atyfb_base.c
31 > /drivers/video/aty/aty128fb.c
32 > /drivers/drm/radeon/radeon_agp.c
33 >
34 > I have searched through these files, but I didn't
35 > find both 0x1002 and 0x9552 in one file which
36 > means these files are not drivers I need.
37 > If it means that there is no driver for my VGA in
38 > kernel source tree ? But my laptop is bought two
39 > years ago, hardware is not fashion.
40
41 Have you tried lspci -v which gives verbose information about the
42 device, including the modules involved?
43
44 --
45 Nilesh Govindarajan
46 http://nileshgr.com