Skip to contentSkip to conversation

/dev/tty1 and udev

DISCUSSION James Harper 1 participant 1 message Oct 1, 2004

lore
Share & tools
lore
#0 lore raw

I'll try it out today.

Quoted 2 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf

Of

Quoted 6 lines

Mark A. Williamson
Sent: Friday, 1 October 2004 10:42
To: [email protected]
Cc: James Harper
Subject: Re: [Xen-devel] /dev/tty1 and udev

Quoted 7 lines

I've tweaked the console driver and it the Xen console now appears in sysfs.
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

to do

Quoted 1 line

that, hence the apparent lack of sysfs magic in them. It seems that

for

Quoted 1 line

consoles (and who knows what else), stuff that's registered using

devfs

Quoted 2 lines

hooks
also appears in sysfs(!). In fact tty_register_device() seems to do

some

Quoted 3 lines

apparently devfs-related things(!!)

It does seem insane :-) but don't worry - it does *not* require devfs

in

Quoted 2 lines

the
kernel and the tty *does* appear in sysfs(!!!). Apparently the tty

layer

Quoted 10 lines

is
currently bonkers.

I'd expect udev to be OK now - could you please try it out?

Cheers,
Mark

Quoted 1 line · James Harper

After installing udev, I don't get a /dev/tty1. I can create the

node

Quoted 6 lines
Quoted 6 lines

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?

Quoted 8 lines
Quoted 8 lines

Thanks

James

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on

ITManagersJournal

Quoted 1 line
Quoted 1 line

Use IT products in your business? Tell us what you think of them.

Give

Quoted 2 lines

us

Quoted 1 line

Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find

out

Quoted 6 lines

more

Quoted 5 lines

http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl