linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev 024 and missing virtual consoles
@ 2004-04-11 19:19 Todd Musall
  2004-04-12  3:03 ` Todd Musall
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Todd Musall @ 2004-04-11 19:19 UTC (permalink / raw)
  To: linux-hotplug

I'm running udev 024 over /dev with on a 2.6.5 kernel and directory
/dev/vc isn't being created. I had to manually create the vc devices to
get logged in.

I searched the list archives and found an older thread talking about a
patch to create virtual consoles. Does anyone know if this is still an
issue, or I'm missing something? I'm using the start_udev script as
described in HOWTO-udev_for_dev on an Arch linux distro that uses a
simple LFS init system. Any help here is greatly appreciated.

Thanks.
-- 
Todd Musall <tmusall@comcast.net>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: udev 024 and missing virtual consoles
  2004-04-11 19:19 udev 024 and missing virtual consoles Todd Musall
@ 2004-04-12  3:03 ` Todd Musall
  2004-04-12 19:18 ` Greg KH
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Todd Musall @ 2004-04-12  3:03 UTC (permalink / raw)
  To: linux-hotplug

Philippe,

That was it :) Thank you very much. I suspected that /dev/vc/0 was a
devfs naming convention (which arch linux uses) and just needed to use
the standard kernel device name but wasn't sure. Thanks again for the
help.

-Todd

On Sun, 2004-04-11 at 18:33, Philippe Gramoullé wrote:
> Hello Tod,
> 
> If by any chance, your /etc/inittab has something like:
> 
> 1:2345:respawn:/sbin/getty 38400 vc/1
> 2:23:respawn:/sbin/getty 38400 vc/2
> etc..
> 
> then replace it by:
> 
> 1:2345:respawn:/sbin/getty 38400 tty1
> 2:23:respawn:/sbin/getty 38400 tty2
> etc..
> 
> and look if this helps.
> 
> Thanks,
> 
> Bye,
> 
> Philippe
>  
> On Sun, 11 Apr 2004 15:19:17 -0400
> Todd Musall <tmusall@comcast.net> wrote:
> 
>   | I'm running udev 024 over /dev with on a 2.6.5 kernel and directory
>   | /dev/vc isn't being created. I had to manually create the vc devices to
>   | get logged in.
>   | 
>   | I searched the list archives and found an older thread talking about a
>   | patch to create virtual consoles. Does anyone know if this is still an
>   | issue, or I'm missing something? I'm using the start_udev script as
>   | described in HOWTO-udev_for_dev on an Arch linux distro that uses a
>   | simple LFS init system. Any help here is greatly appreciated.
>   | 
>   | Thanks.
>   | -- 
>   | Todd Musall <tmusall@comcast.net>
-- 
Todd Musall <tmusall@comcast.net>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: udev 024 and missing virtual consoles
  2004-04-11 19:19 udev 024 and missing virtual consoles Todd Musall
  2004-04-12  3:03 ` Todd Musall
@ 2004-04-12 19:18 ` Greg KH
  2004-04-13  3:26 ` Todd Musall
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2004-04-12 19:18 UTC (permalink / raw)
  To: linux-hotplug

On Sun, Apr 11, 2004 at 03:19:17PM -0400, Todd Musall wrote:
> I'm running udev 024 over /dev with on a 2.6.5 kernel and directory
> /dev/vc isn't being created. I had to manually create the vc devices to
> get logged in.

Or you can use the latest -mm kernel which has the sysfs patch that
creates the vc nodes in it :)

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: udev 024 and missing virtual consoles
  2004-04-11 19:19 udev 024 and missing virtual consoles Todd Musall
  2004-04-12  3:03 ` Todd Musall
  2004-04-12 19:18 ` Greg KH
@ 2004-04-13  3:26 ` Todd Musall
  2004-04-14 19:13 ` Greg KH
  2004-04-14 19:58 ` Olivier Mehani
  4 siblings, 0 replies; 6+ messages in thread
From: Todd Musall @ 2004-04-13  3:26 UTC (permalink / raw)
  To: linux-hotplug

Greg,

Instead I used this rule to create /dev/vc/[0-9] symlinks:

KERNEL="tty[0-9]", NAME="%k", SYMLINK="vc/%m"

Works like a charm.

I've almost got udev completely working.  My last issue is with LIRC. 
The device node /dev/lirc0 isn't being created.  I'm using a patched
LIRC version for 2.6 kernels and on devfs everything works fine.  I
haven't had time to debug it further but wondered if anyone else has got
LIRC working with udev?

-Todd

On Mon, 2004-04-12 at 15:18, Greg KH wrote:
> On Sun, Apr 11, 2004 at 03:19:17PM -0400, Todd Musall wrote:
> > I'm running udev 024 over /dev with on a 2.6.5 kernel and directory
> > /dev/vc isn't being created. I had to manually create the vc devices to
> > get logged in.
> 
> Or you can use the latest -mm kernel which has the sysfs patch that
> creates the vc nodes in it :)
> 
> thanks,
> 
> greg k-h
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
> _______________________________________________
> Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
> Linux-hotplug-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
-- 
Todd Musall <tmusall@comcast.net>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: udev 024 and missing virtual consoles
  2004-04-11 19:19 udev 024 and missing virtual consoles Todd Musall
                   ` (2 preceding siblings ...)
  2004-04-13  3:26 ` Todd Musall
@ 2004-04-14 19:13 ` Greg KH
  2004-04-14 19:58 ` Olivier Mehani
  4 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2004-04-14 19:13 UTC (permalink / raw)
  To: linux-hotplug

On Mon, Apr 12, 2004 at 11:26:15PM -0400, Todd Musall wrote:
> Greg,
> 
> Instead I used this rule to create /dev/vc/[0-9] symlinks:
> 
> KERNEL="tty[0-9]", NAME="%k", SYMLINK="vc/%m"
> 
> Works like a charm.
> 
> I've almost got udev completely working.  My last issue is with LIRC. 
> The device node /dev/lirc0 isn't being created.  I'm using a patched
> LIRC version for 2.6 kernels and on devfs everything works fine.  I
> haven't had time to debug it further but wondered if anyone else has got
> LIRC working with udev?

Odds are lirc code needs to be patched to work with sysfs.  Does anyone
know why the lirc code is not in the mainline kernel?  I can't seem to
be able to connect to the site that holds their 2.6 kernel patch...

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: udev 024 and missing virtual consoles
  2004-04-11 19:19 udev 024 and missing virtual consoles Todd Musall
                   ` (3 preceding siblings ...)
  2004-04-14 19:13 ` Greg KH
@ 2004-04-14 19:58 ` Olivier Mehani
  4 siblings, 0 replies; 6+ messages in thread
From: Olivier Mehani @ 2004-04-14 19:58 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 439 bytes --]

On Wed, 14 Apr 2004 12:13:09 -0700
Greg KH <greg@kroah.com> wrote:

> Odds are lirc code needs to be patched to work with sysfs.  Does
> anyone know why the lirc code is not in the mainline kernel?  I can't
> seem to be able to connect to the site that holds their 2.6 kernel
> patch...

the cvs version works with 2.6.5, but i had to write a script which
creates the devices at boot time (with udev)

-- 
Olivier Mehani <shtrom@ssji.net>

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-04-14 19:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-11 19:19 udev 024 and missing virtual consoles Todd Musall
2004-04-12  3:03 ` Todd Musall
2004-04-12 19:18 ` Greg KH
2004-04-13  3:26 ` Todd Musall
2004-04-14 19:13 ` Greg KH
2004-04-14 19:58 ` Olivier Mehani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).