* [gentoo-user] 回复: [gentoo-user] Can't find driver for VGA in kernel source tree
@ 2011-10-15 3:30 Lavender
2011-10-15 9:03 ` Mick
0 siblings, 1 reply; 2+ messages in thread
From: Lavender @ 2011-10-15 3:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2451 bytes --]
I have just tried , the output is like something below
01:00.0 VGA compatible controller: ATI Technologies Inc M92 LP
Subsystem: Hewlett-Packard Company Device 3644
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at 80000000 (32bit, prefetchable) [size=256M]
I/O ports at 3000 [size=256]
Memory at 90300000 (32bit, non-prefetchable) [size=64K]
Expansion ROM at 90320000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enabel- Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
How can I find the driver according to these information ?
------------------ 原始邮件 ------------------
发件人: "Nilesh Govindarajan"<contact@nileshgr.com>;
发送时间: 2011年10月15日(星期六) 中午11:43
收件人: "gentoo-user"<gentoo-user@lists.gentoo.org>;
主题: Re: [gentoo-user] Can't find driver for VGA in kernel source tree
On Sat 15 Oct 2011 07:43:23 AM IST, Lavender wrote:
> Hello, everyone ! I'm trying to build a kernel
> manully and there is a problem.
> I use lspci command and it shows my
> VGA card information:
>
> 01:00.0 VGA compatible controller:
> ATI Technologies Inc M92 LP
>
> Then I type
> $ cd /sys/bus/pci/devices/0000:01:00.0
> $ cat vendor
> $ cat device
>
> Now I get the vendor ID 0x1002
> and the device ID 0x9552 for my VGA card
>
> Then I type
> $ grep -i 0x1002 include/linux/pci_ids.h
> It shows #define PCI_VENDOR_ID_ATI 0x1002
>
> $grep -i 0x9552 include/linux/pci_ids.h
> It shows nothing
> $grep -Rl PCI_VENDOR_ID_ATI
> It prints a lot message, but I should notice
> files in directory drivers/media video and gpu.
> Here are the files in them:
> /drivers/media/video/cx88/cx88-card.c
> /drivers/video/aty/radeon_base.c
> /drivers/video/aty/atyfb_base.c
> /drivers/video/aty/aty128fb.c
> /drivers/drm/radeon/radeon_agp.c
>
> I have searched through these files, but I didn't
> find both 0x1002 and 0x9552 in one file which
> means these files are not drivers I need.
> If it means that there is no driver for my VGA in
> kernel source tree ? But my laptop is bought two
> years ago, hardware is not fashion.
Have you tried lspci -v which gives verbose information about the
device, including the modules involved?
--
Nilesh Govindarajan
http://nileshgr.com
[-- Attachment #2: Type: text/html, Size: 3392 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] 回复: [gentoo-user] Can't find driver for VGA in kernel source tree
2011-10-15 3:30 [gentoo-user] 回复: [gentoo-user] Can't find driver for VGA in kernel source tree Lavender
@ 2011-10-15 9:03 ` Mick
0 siblings, 0 replies; 2+ messages in thread
From: Mick @ 2011-10-15 9:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1828 bytes --]
On Saturday 15 Oct 2011 04:30:18 Lavender wrote:
> I have just tried , the output is like something below
>
> 01:00.0 VGA compatible controller: ATI Technologies Inc M92 LP
> Subsystem: Hewlett-Packard Company Device 3644
> Flags: bus master, fast devsel, latency 0, IRQ 10
> Memory at 80000000 (32bit, prefetchable) [size=256M]
> I/O ports at 3000 [size=256]
> Memory at 90300000 (32bit, non-prefetchable) [size=64K]
> Expansion ROM at 90320000 [disabled] [size=128K]
> Capabilities: [50] Power Management version 3
> Capabilities: [58] Express Legacy Endpoint, MSI 00
> Capabilities: [a0] MSI: Enabel- Count=1/1 Maskable- 64bit+
> Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
>
> How can I find the driver according to these information ?
There should be an additional line with the kernel modules just below what you
showed. This is what mine is showing:
=================================
02:00.0 VGA compatible controller: ATI Technologies Inc Device 9488 (prog-if
00 [VGA controller])
Subsystem: Dell Device 02fe
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at d0000000 (32-bit, prefetchable) [size=256M]
I/O ports at 2000 [size=256]
Memory at cfef0000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at cfe00000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: radeon
=================================
Are you using the latest LiveCD? Have you tried booting with this?
http://www.sysresccd.org
It usually has the latest kernel and drivers.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-15 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-15 3:30 [gentoo-user] 回复: [gentoo-user] Can't find driver for VGA in kernel source tree Lavender
2011-10-15 9:03 ` Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox