udev 024 and missing virtual consoles
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.
Signature · 13 lines
Todd Musall <[email protected]> ------------------------------------------------------- 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_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
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
Quoted 38 lines · Philippe Gramoullé
Hello Tod,
If by any chance, your
/etc/inittabhas 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 <[email protected]> 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 <[email protected]>
Signature · 13 lines
Todd Musall <[email protected]> ------------------------------------------------------- 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_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 3 lines · Todd Musall
I'm running udev 024 over /dev with on a 2.6.5 kernel and directory
/dev/vcisn'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_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
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
Quoted 22 lines · Greg KH
Quoted 3 lines · Todd Musall
I'm running udev 024 over /dev with on a 2.6.5 kernel and directory
/dev/vcisn'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_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Signature · 13 lines
Todd Musall <[email protected]> ------------------------------------------------------- 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_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 6 lines · Todd Musall
Greg,
Instead I used this rule to create /dev/vc/[0-9] symlinks:
KERNEL="tty[0-9]", NAME="%k", SYMLINK="vc/%m"
Quoted 7 lines
Works like a charm.
I've almost got udev completely working. My last issue is with LIRC. The device node
/dev/lirc0isn'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_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 4 lines · On Wed, 14 Apr 2004 12:13:09 -0700 Greg KH <[email protected]> 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)
Signature · 1 line
Olivier Mehani <[email protected]>