Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  18 May 2009, Exaos Lee, Suggestion, Question about using mvmestd.h 
    Reply  18 May 2009, Stefan Ritt, Suggestion, Question about using mvmestd.h 
    Reply  19 May 2009, Konstantin Olchanski, Suggestion, Question about using mvmestd.h 
       Reply  20 May 2009, Exaos Lee, Suggestion, Question about using mvmestd.h 
Message ID: 582     Entry time: 20 May 2009     In reply to: 581
Author: Exaos Lee 
Topic: Suggestion 
Subject: Question about using mvmestd.h 
> > The problem is: I renamed my SIS1100 devices as /dev/sis1100/xxxxx. So I have to hack the 
> "sis3100.c".
> 
> As in the old joke, "Doctor, it hurts when I do *this*; Doctor answers: then don't do it!"
> 
> But I am curious why you want to change the "manufacturer-default" device names. For the vmivme.c and 
> gefvme.c drivers that we use at TRIUMF, there is no obvious reason or gain from changing device names.
> 
> K.O.

I used the old V2.04 driver for SIS1100/SIS3100. The old package contains a script which creates devices
as /tmp/sis1100_XXXX. So I created another script and installed it into /etc/init.d/. That script can be
invoked by using standard rc.d tools. In order to make the /dev directory tidy, it creates device files
into just one directory as /dev/sis1100/. That's the story.

Now, I found, the new sis1100.ko of version 2.12 can create devices automatically as /dev/sis1100_xxxx.
So, my script can be retired now. And also, I needn't to hack the "sis3100.c" anymore.
ELOG V3.1.4-2e1708b5