Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.hardware > #571
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | General Schvantzkoph <schvantzkoph@yahoo.com> |
| Newsgroups | comp.os.linux.hardware, comp.arch.fpga |
| Subject | Re: Is there a utility to peek and poke PCIe devices |
| Date | 11 Aug 2011 15:30:55 GMT |
| Lines | 30 |
| Message-ID | <9aiatfFf73U5@mid.individual.net> (permalink) |
| References | <9agc44Ff73U3@mid.individual.net> <4e437d24$0$6539$9b4e6d93@newsspool4.arcor-online.net> <9ai3abFf73U4@mid.individual.net> <4e43df37$0$6542$9b4e6d93@newsspool4.arcor-online.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net 5kO01/1DhLzAE2pgo/jjHAnNBDMuH5gVsd8ZU9dceBTjAij3m/ |
| Cancel-Lock | sha1:u7krbx/ZFY18nAy9pLxTJqMOglY= |
| User-Agent | Pan/0.133 (House of Butterflies) |
| Xref | x330-a1.tempe.blueboxinc.net comp.os.linux.hardware:571 comp.arch.fpga:1671 |
Cross-posted to 2 groups.
Show key headers only | View raw
On Thu, 11 Aug 2011 15:55:33 +0200, rndhro wrote: >> How do I determine which device is mine? >> >> Here is the lspci output >> 01:00.0 Unassigned class [ff00]: Altera Corporation Device 0004 (rev >> 01) > > you should be able to use the pci-ID from lspci as directory name in > /sys/bus/pcie/devices/ > >> Here are the devices under /sys/bus/pci/devices >> >> 0000:00:00.0/ 0000:00:02.0/ 0000:00:06.0/ 0000:00:09.0/ 0000:00:0c.0/ >> 0000:00:18.0/ 0000:00:18.3/ 0000:05:00.0/ 0000:00:01.0/ 0000:00:02.1/ >> 0000:00:07.0/ 0000:00:0a.0/ 0000:00:0d.0/ 0000:00:18.1/ 0000:01:0d.0/ >> 0000:00:01.1/ 0000:00:04.0/ 0000:00:08.0/ 0000:00:0b.0/ 0000:00:0e.0/ >> 0000:00:18.2/ 0000:03:00.0 > > I don't really know why your device 0000:01:00.0 doesn't appear here - > did you list the directory on the same machine & while the card is > detected? Just a guess: maybe you have to set a device class in the FPGA > Firmware other than ff00? (my Xilinx ML605 gets detected as "RAM memory" > for example by setting the appropriate device/vendor IDs) I'm switching the class to 5 from FF, I'll see what happens.
Back to comp.os.linux.hardware | Previous | Next — Previous in thread | Find similar
Is there a utility to peek and poke PCIe devices General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-08-10 21:39 +0000
Re: Is there a utility to peek and poke PCIe devices rndhro <rnd@hro.org> - 2011-08-11 08:57 +0200
Re: Is there a utility to peek and poke PCIe devices glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2011-08-11 08:33 +0000
Re: Is there a utility to peek and poke PCIe devices General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-08-11 13:21 +0000
Re: Is there a utility to peek and poke PCIe devices rndhro <rnd@hro.org> - 2011-08-11 15:55 +0200
Re: Is there a utility to peek and poke PCIe devices General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-08-11 15:30 +0000
csiph-web