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

Reply via email to