#2057: Udev-122
------------------------------------------+---------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  [email protected]
     Type:  enhancement                   |       Status:  new                  
        
 Priority:  normal                        |    Milestone:  7.0                  
        
Component:  Book                          |      Version:  SVN                  
        
 Severity:  normal                        |   Resolution:                       
        
 Keywords:                                |  
------------------------------------------+---------------------------------
Comment (by LydianKnight):

 I have an idea, but I don't know how well it could work

 Instead of trying to create a cut version of udev or just copying the host
 rules... Could we try to, in the host and prior to begin the construction
 of the temporary LFS system, update the PCI & USB device database, make a
 quick run of the lspci & lsusb commands, grep the result for the words
 'Ethernet' (for ethernet ports) and 'Network' (for wireless devices), add
 those results into a file, saved into $LFS/sources and run sort of a
 script to make use of the first characters in the file for each line?

 I mean, the first characters in each file (at least for the lspci command)
 correspond to the pci address space id like this:

 {{{
 02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet
 Controller
 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network
 Connection (rev 02)
 }}}

 we could then try to write a udev rule for the devices based on its pci
 address space id rather to try anything else, but... I don't know how
 efficient or inefficient this would be, but if this could work for all,
 the only requisite we should add to the host system would be to have a
 recent version of the pci.ids & ubs.ids (but I haven't tried the usb part,
 just an idea that bumped into my mind yesterday tonight and I have been
 thinking about it)

 Any comments on this? :)

 Julio

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2057#comment:30>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to