LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-09-2008, 04:37 PM   #1
El1iP3S01D
LQ Newbie
 
Registered: Apr 2008
Location: Bklyn
Distribution: Debian Etch amd64
Posts: 21

Rep: Reputation: 15
Format for the Bus ID


What is the proper format for PCI Id when you are configuring the nvidia driver in Xserver-xorg? I forgot to add my Geforce 8800 GTX id is PCI ID 0x0191, everytime i type this into the editor it states wrong format for pci id...Can any of you help me?

Last edited by El1iP3S01D; 04-09-2008 at 04:46 PM.
 
Old 04-10-2008, 08:54 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Don't do it by hand, run the installer again.
 
Old 04-11-2008, 06:48 PM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
The PCI Id refers to "which PCI slot" it's plugged into on the mother board. If I remember correctly, when you run the command as root: dpkg-reconfigure xserver-xorg, you run the xserver configuration utility and the format is similar to: 0:0:0 . I usually just leave it at the default the reconfiguration utility suggests and it works.
 
Old 04-15-2008, 01:15 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
I agree, it's better not to try this by hand. But if you insist/have to, here's what I know about the format & meaning of the numeric specifier.

Although I'm not about to risk messing up my config by running dpkg-reconfigure xserver-xorg, this is what I get from lspci:
Code:
# lspci
0000:00:00.0 Host bridge: ...
from http://linux.die.net/man/8/lspci:
Quote:
-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]
Show only devices in the specified domain (in case your machine has several host bridges, they can either share a common bus number space or each of them can address a PCI domain of its own; domains are numbered from 0 to ffff), bus (0 to ff), slot (0 to 1f) and function (0 to 7). Each component of the device address can be omitted or set to "*", both meaning "any value". All numbers are hexadecimal. E.g., "0:" means all devices on bus 0, "0" means all functions of device 0 on any bus, "0.3" selects third function of device 0 on all buses and ".4" shows only the fourth function of each device.
So, a complete ID would be DDDD:BB:SS.F
  • I KNOW that some systems (distros?, kernels?) omit the domain ("DDDD"),
  • I don't know if you are obligated to pad the fields to the # of digits shown
  • I know the delimiters are 2 colons (':') & a period ('.').

HTH, & good luck.
 
Old 04-15-2008, 03:33 PM   #5
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Code:
grep PCI /etc/X11/xorg.conf
       BusID           "PCI:1:0:0"
Try with:
Code:
Xorg -scanpci
or just look at "man xorg.conf"
Me wonders if the OP hasn't solved this already though.
 
Old 04-16-2008, 06:58 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Then s/he should post that & how it was done.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 06:30 AM
How to convert rm format music files to mp3 format me4linux Linux - Software 2 05-15-2007 01:45 PM
Format of /proc/bus/pci/devices file. chuckleberry Linux - Software 2 02-08-2006 11:40 AM
use vi to convert linux format to windows format intolinux Linux - Software 2 12-10-2003 10:20 PM
Format Problems Saving Star Office Docs in Word Format kkempter Linux - Software 4 08-27-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration