[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rebuild Kernel for Qube 2 on sarge and LCD Status Display like woody

Hash: SHA1

Marcus Schwarz wrote:
> Martin Michlmayr wrote:
> Hi Martin
>> Also, if you let us know which modules are useful, we can built them
>> into future versions of the Debian kernel.  I know the Qube has one
>> PCI slot but I'm not sure what people put in there.  I guess sound
>> cards make sense, but what else?
> I would prefer soundcards , firewire and usb support just as modules. I
> guess this should be good enough.

Some other devices you might want to consider:

* Network interfaces (i.e. wireless or ethernet)
* SCSI Support (to hook up external drives)
* ISDN & PSTN Modems (i.e. the Lucent-based Winmodems that the Gateway
Microservers came with -- or at least the one mine came with)
* PPPoE support for ADSL users

This is one of the main sticking points I had with Debian Woody, is the
lack of support for these devices.  Certainly modules will suffice for
this, after all, even if the kernel did have SCSI support built in, the
PROM still doesn't know anything about SCSI -- and won't ever know.

With the LCD panel, I also find it very useful to know what's happening
at startup.  IMHO this could also be useful for those with LCD4Linux
compatable display panels, so it shouldn't be a cobalt-specific
extension.  Is it possible for the rc scripts (the ones fired off by
init, not just the ones in /etc/init.d) to put in a generic message?

if [ -x /etc/rc.lcd ]; then
	source /etc/rc.lcd	# <-- User defined

for file in /etc/rc.$RUNLEVEL/S*; do
	if [ "$LCDOK" = 1 ]; then
		service=`basename \`readlink $file\``
		putlcd_starting $service

	$file start

	if [ "$LCDOK" = 1 ]; then
		putlcd_result $service $?

		# Wait a while, so the user can see the result.
		sleep 1

Similarly for stopping services.  An example /etc/rc.lcd could be:

putlcd_starting () {
	putlcd "Starting..." "$1"

putlcd_putlcd_result () {
	if [ "$2" = 0 ]; then
		putlcd "Started:" "$1"
		putlcd "Failed to start:" "$1"

These shell scripts will probably need some tidying, but it's a start.
- --
| Stuart Longland -oOo- http://stuartl.longlandclan.hopto.org |
| Atomic Linux Project     -oOo-    http://atomicl.berlios.de |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| I haven't lost my mind - it's backed up on a tape somewhere |
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


Reply to: