From: Ian Pratt <Ian.P<ratt@cl...> - 2004-09-30 08:13:47
> On Wed, Sep 29, 2004 at 08:45:50AM +0100, Ian Pratt wrote:
> > Does anyone have a pointer to some documentation on udev? The
> > OLS2003 paper doesn't go into any detail of what drivers need to
> > do.
> It's done through hotplug and sysfs. Drivers need to export a
> /sys/...../dev file and produce a hotplug event when they're registered.
> udev then gets called by hotplug and reads the /sys/....../dev file and
> creates a node based on that and a userspace database of device->name
I've looked through the other console drivers in 22.214.171.124
drivers/char and can't see any obvious calls to sysfs or
hotplug. Am I missing something?
From: James Harper <JamesH@bendigoit.com.au> - 2004-10-01 01:07:50
I'll try it out today.
> -----Original Message-----
> From: maw48@... [mailto:maw48@...] On Behalf
> Mark A. Williamson
> Sent: Friday, 1 October 2004 10:42
> To: xen-devel@...
> Cc: James Harper
> Subject: Re: [Xen-devel] /dev/tty1 and udev
> I've tweaked the console driver and it the Xen console now appears in
> udev should "just work" for now.
> For those that are interested, I had to add a call to
> tty_register_device() to
> make this work. Other console drivers that support devfs don't need
> that, hence the apparent lack of sysfs magic in them. It seems that
> consoles (and who knows what else), stuff that's registered using
> also appears in sysfs(!). In fact tty_register_device() seems to do
> apparently devfs-related things(!!)
> It does seem insane :-) but don't worry - it does *not* require devfs
> kernel and the tty *does* appear in sysfs(!!!). Apparently the tty
> currently bonkers.
> I'd expect udev to be OK now - could you please try it out?
> On Wednesday 29 September 2004 04:12, James Harper wrote:
> > After installing udev, I don't get a /dev/tty1. I can create the
> > manually and it works but that's not really the right way to do it.
> > Does anyone know offhand how to configure udev (under debian if that
> > matters) to create a /dev/tty1 so I can get something useful under a
> > console?
> > Thanks
> > James
> > -------------------------------------------------------
> > This SF.net email is sponsored by: IT Product Guide on
> > Use IT products in your business? Tell us what you think of them.
> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find
> > http://productguide.itmanagersjournal.com/guidepromo.tmpl
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@...
> > https://lists.sourceforge.net/lists/listinfo/xen-devel