Mitsumi CD I/O Address, Change it?

Mitsumi CD I/O Address, Change it?

Post by Nick Dang » Tue, 07 Jun 1994 09:00:37



    I have a Mitsumi CD (the original one) and am using a Sound Blaster
    MultiCD. The I/O address is set to 0x320 and not 0x300. I rebuilt
    the kernel and now its looking at 0x300. How can I change this?

    There is a line in the mcd.c that sets BASE_ADDR but I don't know
    where it gets the value from.

    I am using the Yggdrasil Plug & Play Summ '94.

   Thanks

   -Nick

--
Nicholas Brenckle                    |  Its all part of my master plan to
Armstrong State College              |             Rule the World.
Computer Information Services        |

 
 
 

Mitsumi CD I/O Address, Change it?

Post by S.E.P. Bro » Thu, 16 Jun 1994 00:40:33




>    I have a Mitsumi CD (the original one) and am using a Sound Blaster
>    MultiCD. The I/O address is set to 0x320 and not 0x300. I rebuilt
>    the kernel and now its looking at 0x300. How can I change this?

Its in the file /usr/src/linux/include/linux/mcd.h I believe.

Shawn

--


 
 
 

Mitsumi CD I/O Address, Change it?

Post by Jon Gefae » Fri, 17 Jun 1994 12:12:01




>    I have a Mitsumi CD (the original one) and am using a Sound Blaster
>    MultiCD. The I/O address is set to 0x320 and not 0x300. I rebuilt
>    the kernel and now its looking at 0x300. How can I change this?

>    There is a line in the mcd.c that sets BASE_ADDR but I don't know
>    where it gets the value from.

mcd.h lives in a diferent directory. I forget which...

find /usr/src/linux -name mcd.h -print

If you didn't know the file to look for was mcd.h you might have tried

find /usr/src/linux -exec grep BASE_ADDR {} \; -print|less, but that might
find a number of files, of course grep would report the file names and you'd
notice mcd.h, adding a -name \*.h in front of the -exec would make the search
quicker, and you'd be assuming (likely) that the assignment would be found
in a header file.

/usr/src/linux/include/linux/mcd.h by the way...
--
<a href=:"http://www.veryComputer.com/.*ia.EDU/~jeg7e/">Jon Gefaell's Home Page</a>
_____________________________________________________________________________
\ \  /  Jon Gefaell, Computer Systems Engineer       | Amateur Radio, KD4CQY
 \/\/  Community Internetwork Research & Development | -Will chmod for Food-

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 DoD #1439 '82 CB900F "The Turing Machine" | B4 t+ w++ dc g++ k+ s+ m r p++

 
 
 

Mitsumi CD I/O Address, Change it?

Post by Nick Dang » Fri, 17 Jun 1994 22:28:36


 I found it. Thanks. I changed the BASE_ADDR from what it was (I don't
 know where the number was comming from) to 0x320 and recompiled. Its
 fine now. No problems.

 -Nick

--
Nicholas Brenckle                    |  Its all part of my master plan to
Armstrong State College              |             Rule the World.
Computer Information Services        |

 
 
 

Mitsumi CD I/O Address, Change it?

Post by Wallace Rober » Tue, 21 Jun 1994 23:37:00


        [ ...snip happens... ]

Quote:>If you didn't know the file to look for was mcd.h you might have tried

>find /usr/src/linux -exec grep BASE_ADDR {} \; -print|less

this is an inefficient use of the find cmd; instead, try:

    find /usr/src/linux -name '*.h' -print | xargs egrep BASE_ADDR | less

think about process creation/termination... then you'll realize why the
above is *far* more efficient.

btw, many moons ago i ran some tests on fgrep vs egrep vs grep; egrep won
every contest, even for fixed strings.  in fact it was, on average, about
*3* times faster than fgrep.  go figure.

i'm beginning to believe the other grep's are kept around merely for
nostalgia.  :->

gears,
ye wilde ryder
--

"E Pluribus Unix" | 79 it250 "mr. reliable"
"Criminals (especially tyrants) prefer unarmed victims."
"Ignorance can be cured; stupidity, on the other hand, is hereditary."

 
 
 

Mitsumi CD I/O Address, Change it?

Post by David Kastr » Wed, 22 Jun 1994 16:50:55



>btw, many moons ago i ran some tests on fgrep vs egrep vs grep; egrep won
>every contest, even for fixed strings.  in fact it was, on average, about
>*3* times faster than fgrep.  go figure.
>i'm beginning to believe the other grep's are kept around merely for
>nostalgia.  :->

Well, I don't know about fgrep, but grep can do things egrep can't. In short,
egrep can be implemented by a finite automaton, grep can't. This is due
to the \1-\9 things.

However. fgrep has no excuse for being slower. It ought to be bashed,
only bash is really slow.
--

 Tel: +49-241-72419 Fax: +49-241-79502
 Goethestr. 20, D-52064 Aachen

 
 
 

Mitsumi CD I/O Address, Change it?

Post by Kjetil Torgrim Hom » Sun, 26 Jun 1994 06:35:22


+--- Wallace Roberts:
| btw, many moons ago i ran some tests on fgrep vs egrep vs grep;
| egrep won every contest, even for fixed strings. in fact it was, on
| average, about *3* times faster than fgrep. go figure.

GNU fgrep is (should be) just a link to GNU grep, and so is GNU egrep.
In the past GNU fgrep was a separate package, and it sounds like you
have that old (slow!) version.

+--- David Kastrup:
| Well, I don't know about fgrep, but grep can do things egrep can't.
| In short, egrep can be implemented by a finite automaton, grep
| can't. This is due to the \1-\9 things.

Egrep has OR (|), so egrep can do things grep can't do, too.

Kjetil T.

 
 
 

1. Mitsumi CD-ROM base address. How to change?

I am helping a friend setup up his linux system and we encountered a problem
setting up his cd-rom. He has a Mitsumi double speed set to base address 0x340.
The driver makes the assumption that the base address is 0x300 (I think, something
different anyway).

How do you specify which base address to use?

I tried the solution to this used by the sony cd31a, using the append statement in the
lilo.conf but this  did not work. I may have not specified everything correctly but
there is no documentation on this.

Thank in advance
 James


2. MultiProcessor System Architecture

3. change MAC address can change IP address of a machine?

4. Running X applications from CD-ROMS

5. IOPORT address for a Mitsumi CD-ROM...

6. Concurrent use of DNS and NIS/local config files on HPs

7. Mitsumi CD-ROM address

8. Deleting Zero Length Files?

9. Mitsumi 2x CD-ROM drive, IRQ 11 address?

10. Mitsumi CD-ROM timeout value - how to change?

11. Q: Mitsumi CD-ROM and disk change ?

12. Mitsumi CD-ROM + sound card, what's the cd's interupt?

13. Mitsumi CD and T-A Slackware CD easy.