From: Lavender <448463782@qq.com>
To: gentoo-user <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] 回复: [gentoo-user] Can't find driver for VGA in kernel source tree
Date: Sat, 15 Oct 2011 11:30:18 +0800 [thread overview]
Message-ID: <tencent_2D9067BE6BC829166A4F56A4@qq.com> (raw)
[-- 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 --]
next reply other threads:[~2011-10-15 3:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-15 3:30 Lavender [this message]
2011-10-15 9:03 ` [gentoo-user] 回复: [gentoo-user] Can't find driver for VGA in kernel source tree Mick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_2D9067BE6BC829166A4F56A4@qq.com \
--to=448463782@qq.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox