Re: [stable] Wanted: Allow adding new device IDs during the -stable cycle



On Tue, May 22, 2007 at 03:51:35PM -0400, Dave Jones wrote:
On Tue, May 22, 2007 at 12:35:38PM -0700, Greg Kroah-Hartman wrote:
> On Tue, May 22, 2007 at 03:04:08PM -0400, Jeff Garzik wrote:
> > Greg KH wrote:
> > > What's wrong with the current sysfs way of adding new device ids without
> > > touching the kernel? Devices described above was the very reason we
> > > added that functionality, so users would not have to constantly update
> > > their kernel. The distros provide userspace tools that enable these ids
> > > to be added and at boot time, everything "just works" properly.
> >
> > I haven't found a single distro that (a) makes it trivial to add PCI IDs at
> > install time, and then (b) ensures those PCI IDs remain persistent for each
> > boot. We are not at all to the "just works" stage yet.
>
> Well, SuSE handles this just fine, but I do notice that RHEL 5 disables
> the new_id stuff entirely, so I can see why you might get this
> impression :)

That's news to me. I didn't even realise it was possible to disable this.
Pointer?

Jon Masters told me this last week at FreedomHEC, so I don't have a
pointer to the patch that disables it, sorry.

> I'm just trying to point out that the new_id sysfs stuff is there
> explicitly for this very reason, as people were demanding that (Dell
> being the major company behind it.)

Theres more to this than just PCI IDs though.
ac97 ID updates, usb id updates, etc, etc.

USB ids also can be added through sysfs :)

We have many different forms of what are fundamentally, the same thing.

That's why we tried to have the same userspace interface in sysfs for
them all. We have PCI, USB, and USB-Serial already covered this way, if
people want more, we can add them too, it's not that hard.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Not wanting to send my box to =?UTF-8?B?z4QgQ2V0aQ==?=
    ... Thank you for the recomendation of an IDS. ... actually was a firewall in the kernel... ... Learning the chrootkit output will be quite a nice challenge to tackle I ... configuration tool, such as shorewall. ...
    (comp.os.linux.security)
  • Re: *ICN - A Conspiracy of Inertia?
    ... So their software basically is trend based IDS? ... levels or content] breaks the trend beyond certain parameters and the kernel ... > founders of cylant and their technical people a couple weeks back, ... > after a period of measurement on a mail server, ...
    (Focus-IDS)
  • Re: modules.pnpmap output support
    ... I was about to do it for hotplug. ... > can you get full ID out of sysfs? ... > for on-board legacy devices detected by PNP BIOS like floppy, ... since a driver may require multiple ids. ...
    (Linux-Kernel)
  • Re: [stable] Wanted: Allow adding new device IDs during the -stable cycle
    ... The very large majority of users out there use a distro kernel, ... config option at startup that adds the ids to the drivers through sysfs. ... patch, i.e. we don't just diff the device tables. ... That's a quirk addition, not a new device id following the above ...
    (Linux-Kernel)
  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)