1 [2] Archiv / MLD 3.x / Development / Usbtools, Pcitools Und Module-init-tools
 

Offline MarMic

  • Administrator
  • Expert Member
  • ********
  • Posts: 4823
    • View Profile
Usbtools, Pcitools Und Module-init-tools
« Reply #15 on: October 02, 2012, 16:17:59 »
Lass aus die Technik und ruh dich aus. Wir fordern dich am Donnerstag schon genug, keine Angst!

Hihi

Greetz marmic
SZVDR HD: Intel e5300@1,2ghz - Gigabyte GA-EP41-UD3L - 2GB ddr2 800 - Gainward G210 512mb - Silverstone LC16MR - DVBSky S952 - Astra 19,2 - MLD 5.4

WZVDR HD: Intel g1610@1,6ghz - Intel DH61BE - Scythe Big Shuriken 2 - 4GB ddr3 1333 - Asus GT610 1024mb - Chieftec Hi-Fi HM-02 - Tevii s480 - Astra 19,2 - MLD 5.4


Offline wino

  • Expert Member
  • *****
  • Posts: 919
    • View Profile
Usbtools, Pcitools Und Module-init-tools
« Reply #16 on: October 02, 2012, 18:33:28 »
Quote
ja, nun sollte es bei allen Varianten funktionieren. Bitte mache nen svn Update der INITRAMFS und teste ob's funktioniert.

Claus
Der erste Eindruck ist positiv und es scheint mit der

Offline wino

  • Expert Member
  • *****
  • Posts: 919
    • View Profile
Usbtools, Pcitools Und Module-init-tools
« Reply #17 on: October 02, 2012, 20:13:33 »
Wäre ja auch zu schön um war zu sein. Mit dem Binary lspci aus dem Addon pciutils wird der Netzwerktreiber nicht mehr automatisch geladen.

Kann das pcimodules Skript für die Unterscheidung der beiden unterschiedlichen Befehle (Optionen) angepasst werden?

Die Ausgabe von lspci:
Code: [Select]
-mm             Produce machine-readable output (single -m for an obsolete format)
-t              Show bus tree

Display options:
-v              Be verbose (-vv for very verbose)
-k              Show kernel drivers handling each device
-x              Show hex-dump of the standard part of the config space
-xxx            Show hex-dump of the whole config space (dangerous; root only)
-xxxx           Show hex-dump of the 4096-byte extended config space (root only)
-b              Bus-centric view (addresses and IRQ's as seen by the bus)
-D              Always show domain numbers

Resolving of device ID's to names:
-n              Show numeric ID's
-nn             Show both textual and numeric ID's (names & numbers)
-q              Query the PCI ID database for unknown ID's via DNS
-qq             As above, but re-query locally cached entries
-Q              Query the PCI ID database for all ID's via DNS

Selection of devices:
-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]   Show only devices in selected slots
-d [<vendor>]:[<device>]                        Show only devices with specified ID's

Other options:
-i <file>       Use specified ID database instead of /usr/share/misc/pci.ids.gz
-p <file>       Look up kernel modules in a given file instead of default modules.pcimap
-M              Enable `bus mapping' mode (dangerous; root only)

PCI access options:
-A <method>     Use the specified PCI access method (see `-A help' for a list)
-O <par>=<val>  Set PCI access parameter (see `-O help' for a list)
-G              Enable PCI access debugging
-H <mode>       Use direct hardware access (<mode> = 1 or 2)
-F <file>       Read PCI configuration dump from a given file

MfG
wino

Offline Christian

  • MLD-Developer
  • Expert Member
  • ******
  • Posts: 1531
    • View Profile
    • http://www.minidvblinux.de
Usbtools, Pcitools Und Module-init-tools
« Reply #18 on: October 02, 2012, 20:24:01 »
Quote
Wäre ja auch zu schön um war zu sein. Mit dem Binary lspci aus dem Addon pciutils wird der Netzwerktreiber nicht mehr automatisch geladen.

Kann das pcimodules Skript für die Unterscheidung der beiden unterschiedlichen Befehle (Optionen) angepasst werden?

Die Ausgabe von lspci:
Code: [Select]
-mm             Produce machine-readable output (single -m for an obsolete format)
-t              Show bus tree

Display options:
-v              Be verbose (-vv for very verbose)
-k              Show kernel drivers handling each device
-x              Show hex-dump of the standard part of the config space
-xxx            Show hex-dump of the whole config space (dangerous; root only)
-xxxx           Show hex-dump of the 4096-byte extended config space (root only)
-b              Bus-centric view (addresses and IRQ's as seen by the bus)
-D              Always show domain numbers

Resolving of device ID's to names:
-n              Show numeric ID's
-nn             Show both textual and numeric ID's (names & numbers)
-q              Query the PCI ID database for unknown ID's via DNS
-qq             As above, but re-query locally cached entries
-Q              Query the PCI ID database for all ID's via DNS

Selection of devices:
-s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]   Show only devices in selected slots
-d [<vendor>]:[<device>]                        Show only devices with specified ID's

Other options:
-i <file>       Use specified ID database instead of /usr/share/misc/pci.ids.gz
-p <file>       Look up kernel modules in a given file instead of default modules.pcimap
-M              Enable `bus mapping' mode (dangerous; root only)

PCI access options:
-A <method>     Use the specified PCI access method (see `-A help' for a list)
-O <par>=<val>  Set PCI access parameter (see `-O help' for a list)
-G              Enable PCI access debugging
-H <mode>       Use direct hardware access (<mode> = 1 or 2)
-F <file>       Read PCI configuration dump from a given file

MfG
wino
jup, geht :)

z.B so

Code: [Select]
if apm l | grep pciutils; then
   **mache dies**
else
   **mache das**
fi
__________________________________________

"...ich schreibe 80% meiner Beiträge aus dem Kopf ... bitte nicht schlagen wenn mal ein Path nicht passt :) ..."

MFG Christian

Nokia Sat DBox2 + Multicam

Hardware VDR: ASUS E35M1-I Deluxe, 4GB RAM, ATI 6XXX onboard, TT S2-6400 FF, Samsung 500GB 2,5"


Offline MegaX

  • Administrator
  • Expert Member
  • ********
  • Posts: 1822
    • View Profile
Usbtools, Pcitools Und Module-init-tools
« Reply #19 on: October 02, 2012, 20:40:25 »
Quote
jup, geht :)

z.B so
Code: [Select]
if apm l | grep pciutils; then
   **mache dies**
else
   **mache das**
fi
Also das "mache dies" und "mache das" kapier ich schon mal :))


MegaX
Gruß MegaX

Hardware (show / hide)

Offline wino

  • Expert Member
  • *****
  • Posts: 919
    • View Profile
Usbtools, Pcitools Und Module-init-tools
« Reply #20 on: October 02, 2012, 21:11:56 »
Quote
jup, geht :)

z.B so

Code: [Select]
if apm l | grep pciutils; then
   **mache dies**
else
   **mache das**
fi
Ja, ist schon klar. Hatte ich mir auch in etwa so gedacht. :)  Man müsste halt nur noch wissen was die Unterschiede bei beiden Befehle ausmacht und neben etwas Ahnung mit dem Umgang von sed haben.

MfG
wino

1 [2] Archiv / MLD 3.x / Development / Usbtools, Pcitools Und Module-init-tools
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.