Murasaki
murasaki (another HotPlug)
Last modified: Sun Apr 24 13:19:06 JST 2005
Japanese Update Summery Feature Requirement Download Files SETUP

Update

Apr/24/2005 0.9.1-2, 0.8.11-2 release
Apr/24/2005 0.9.1, 0.8.11 release
Jan/23/2005 0.8.10 release
Dec/30/2004 0.9.0 release
Sep/l3/2004 0.8.9 release
Aug/l5/2004 0.7.13 release
Jul/25/2004 Link of murasaki-usb-mount was added.
Apr/11/2004 0.8.8 release
Apr/10/2004 0.8.7 release
Feb/21/2004 0.8.6 release
Feb/09/2004 0.8.5 release
Feb/08/2004 0.8.4 release
Jan/09/2004 0.7.12 release
Dec/15/2003 0.8.3, 0.7.11 and 0.6.12 release
Dec/09/2003 0.8.2 release
Dec/01/2003 0.8.1 release
Nov/13/2003 0.8.0 release
Sep/28/2003 0.7.10 release
Sep/20/2003 0.7.9 release
Sep/15/2003 0.7.8 release
Sep/11/2003 0.7.7 release
Sep/07/2003 0.6.11 release. mod: description of "murasaki.generic". add: description of "murasaki.genericlist".
Aul/29/2003 0.7.6 release
Aul/18/2003 some explainations were added and modified
Aul/12/2003 0.7.5 release
Aul/09/2003 0.7.4 release
Jul/17/2003 add: description of "add.preload" and "remove.preload"
Jul/12/2003 0.7.3 release
Jul/07/2003 0.6.10 release
Jun/28/2003 0.6.9 release
Jun/08/2003 0.6.8 and 0.7.2 release
Jun/03/2003 0.6.7 and 0.7.1 release
May/20/2003 Add: descriptions of murasaki.conf, murasaki.precall and murasaki.sticky
May/18/2003 0.7.0 release
May/15/2003 0.6.6 tar.gz src.rpm release
Apr/20/2003 0.6.6 release
Apr/15/2003 The link to Debian was modified
Apr/14/2003 0.6.5 release
Apr/01/2003 0.6.4 release
Mar/30/2003 0.6.3 release
Mar/16/2003 Rewrited HTML using CSS
Summery

Murasaki automatically loads and unloads modules for HotPlugable devices using new feature "HotPlug" in Linux 2.4.
Then to modify setting of murasaki allows to load/unload the modules depending on the module and to execute the file to set up it.
Additionally, all USB devices which work well by using usbmgr work well.

These devices are supported now.
Device name Hotplug name Kernel 2.4 Kernel 2.6/SYSFS Note
USB usb O O -
PCI(CardBus) pci O O -
network net O O using murasaki.generic
IEEE1394 ieee1394 O X IEEE1394 with sysfs is not available on a developing kernel.
PCMCIA pcmcia_socket X o Only manufacture ID, Version1 infos and Function ID are used.
pcmcia_socket is Not called by a current developing kernel.
firmware firmware O O using murasaki.generic
input input X o Current 2.6 kernel does not have enough infos on SYSFS.
But Hotplug is able to succeed without SYSFS.
SCSI scsi X O Shell script
any any X O using murasaki.generic
SYSFS is new HotPlug system in Kernel 2.5 or later.
Murasaki-0.7.x starts using SYSFS.

Top

Feature

Top

Requirement

Top

Download

The following file is available.

Status File Date Cksum Description
Development New murasaki-0.9.1.tar.gz Apr/24/2005 2448031934 68009 Fix: ignoring CLASS and SUBSYS_ID of PCI
Fix: matching the invalid PCI value
Fix: Interface of USB is not matched
Fix-2: Agent of pcmcia_socket is not included
Development New murasaki-0.9.1-2.i386.rpm Apr/24/2005 2413863519 105252 SRC RPM
murasaki-0.9.1-2.src.rpm
Stable New murasaki-0.8.11.tar.gz Apr/24/2005 4075964447 63557 Fix: Interface of USB is not matched
Fix-2: Agent of pcmcia_socket is not included
Stable New murasaki-0.8.11-2.i386.rpm Apr/24/2005 2306232634 80001 SRC RPM
murasaki-0.8.11-2.src.rpm
Pre Stable murasaki-0.7.13.tar.gz Aug/15/2004 60136872 41080 fix: Beep
Pre Stable murasaki-0.7.13-1.i386.rpm Aug/15/2004 2297014941 48567 SRC RPM
murasaki-0.7.13-1.src.rpm
Stable murasaki Debian Web - - Debian Package
Pre Stable murasaki Debian Web - - Debian Package

Additional scripts for Murasaki

Name Date Distributor Description
murasaki-usb-mount Jun/28/2004 Harada kazutaka
kazutaka@dc4.so-net.ne.jp
This script automatically mounts/umounts USB block device (ex: USB memory stick,USB-FD/CD/DVD-ROM and so on), which is connected into PC, thru Murasaki.
Top

Files

Files of murasaki are following Version 0.9.x's files are modified, but they have not been ready still now.

File version
0.6 and later
Summery
hotplug.murasaki * Linux kernel calls this when a hotplugable device event happens.
murasaki.usb * Agent program for USB
murasaki.pci * Agent program for PCI(Cardbus)
murasaki.net -0.7.2 Agent program for network
(This was merged into murasaki.generic on 0.7.3)
murasaki.ieee1394 * Agent program for IEEE1394
murasaki.pcmcia_socket 0.8.0 Agent program for PCMCIA
murasaki.input 0.8.6 Agent program for input
murasaki.generic 0.7.3 Some device use this agent program.
murasaki_init.usb 0.6.1 This calls "murasaki.usb" when USB devices are connected on boot.
murasaki_init.pci 0.6.1 This calls "murasaki.pci" when PCI devices are connected on boot.
murasaki_init.ieee1394 0.7.3 This calls "murasaki.ieee1394" when IEEE1394 devices are connected on boot.
murasaki_init.pcmcia_socket 0.8.0 This reserves some appropriate resources and calls "murasaki.pcmcia_socket" when PCMCIA devices are inserted on boot.
murasaki.usbmap * murasaki.usb uses this to figure out the appropriate USB modules at first.
murasaki.pcimap * murasaki.pci uses this to figure out the appropriate PCI modules at first.
murasaki.ieee1394map * murasaki.ieee1394 uses this to figure out the appropriate IEEE1394 modules at first.
murasaki.pcmcia_socketmap 0.8.0 murasaki.pcmcia_socket uses this to figure out the appropriate PCMCIA modules.
murasaki.inputmap 0.8.6 murasaki.input uses this to figure out the appropriate input modules at first.
pcmcia_resource 0.8.0 Some resources,which PCMCIA needs, are written on this.
murasaki.conf 0.6.3 This controls beeping , Agent programs and murasaki_init.*.
murasaki.depend * The dependencies are written into this.
murasaki.call * The scripts which depend on modules are written into this.
murasaki.precall 0.6.5 This looks like murasaki.call, but scripts are called before loading/unloading modules.
murasaki.sticky 0.6.6 The modules which are NOT unloaded are written into this.
murasaki.blacklist 0.7.4 The modules which are NOT loaded are written into this.
murasaki.genericlist 0.7.6 murasaki.generic works as an Agent program even if a hotplugable device does not be supported by murasaki.generic when its name is put into this.
murasaki.preload * The loaded modules are written into this when RC is running.
add.preload 0.7.3 adding some modules to murasaki.preload
remove.preload 0.7.3 removing modules from murasaki.preload
auto_setup * This writes the appropriate modules into murasaki.preload when RC is running.
Top

SETUP

Initializing(version 0.8.4 and later)

  1. Run /usr/lib/murasaki/auto_setup (0.7.3-0.8.3: use /etc/murasaki/bin/auto_setup)

    $ /usr/lib/murasaki/auto_setup
    hid
    uhci-hcd

  2. Write some modules on /etc/murasaki/add.preload if the result of auto_setup does Not includes the modules which you want when your machine is booting.
  3. Write some modules on /etc/murasaki/remove.preload if the result of auto_setup includes the modules which you do Not want when your machine is booting.
Top

Back Go DotAster
Shuu Yamaguchi : shuu@dotAster.com