FS#12563 - hwd-5.4-1 fail when multiple same PCI vendor ID (with simple FIX)

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Wednesday, 24 December 2008, 20:51 GMT
Last edited by Thayer Williams (thayer) - Tuesday, 30 December 2008, 17:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: hwd-5.4-1 fail when multiple same PCI vendor ID.
The MODULE variable takes multiples values and the script fail.

Lines likes this: (in simple mode)
/etc/hwd/pci.hw: line 65: sata_nv
sata_nv: command not found
/etc/hwd/pci.hw: line 71: sata_nv
sata_nv: command not found
/etc/hwd/pci.hw: line 77: sata_nv
sata_nv: command not found

or likes this (in expert mode)
10de:037f IDE interface: nVidia Corporation module: sata_nv
sata_nv
sata_nv
MCP55 SATA Controller
10de:037f IDE interface: nVidia Corporation module: sata_nv
sata_nv
sata_nv
MCP55 SATA Controller
10de:037f IDE interface: nVidia Corporation module: sata_nv
sata_nv
sata_nv


Additional info:
extra/hwd-5.4-1

# lspci -n
00:00.0 0500: 10de:02f4 (rev a2)
00:00.1 0500: 10de:02fa (rev a2)
00:00.2 0500: 10de:02fe (rev a2)
00:00.3 0500: 10de:02f8 (rev a2)
00:00.4 0500: 10de:02f9 (rev a2)
00:00.5 0500: 10de:02ff (rev a2)
00:00.6 0500: 10de:027f (rev a2)
00:00.7 0500: 10de:027e (rev a2)
00:04.0 0604: 10de:02fb (rev a1)
00:08.0 0500: 10de:0369 (rev a1)
00:09.0 0601: 10de:0360 (rev a2)
00:09.1 0c05: 10de:0368 (rev a2)
00:0a.0 0c03: 10de:036c (rev a1)
00:0a.1 0c03: 10de:036d (rev a2)
00:0c.0 0101: 10de:036e (rev a1)
00:0d.0 0101: 10de:037f (rev a2) #here
00:0d.1 0101: 10de:037f (rev a2) #here
00:0d.2 0101: 10de:037f (rev a2) #here
00:0e.0 0604: 10de:0370 (rev a2)
00:10.0 0680: 10de:0373 (rev a2)
00:18.0 0600: 1022:1100
00:18.1 0600: 1022:1101
00:18.2 0600: 1022:1102
00:18.3 0600: 1022:1103
01:00.0 0300: 10de:0393 (rev a1)
02:08.0 0401: 1102:0002 (rev 08)


to fix i modified one line in function detectpci()

-FILE=`cat /tmp/dump.hwd`
+FILE=`head -1 /tmp/dump.hwd`
This task depends upon

Closed by  Thayer Williams (thayer)
Tuesday, 30 December 2008, 17:22 GMT
Reason for closing:  Upstream
Comment by Greg (dolby) - Friday, 26 December 2008, 12:26 GMT
Please contact the developer of the application. His username is rasat on the Archlinux forum. Hwd is not an official Archlinux tool.
Comment by Rasat (rasat) - Tuesday, 30 December 2008, 10:43 GMT
Thanks for the report. New update 5.4.2

Loading...