Etch / ThinkPad 600E / How to blacklist the soundcard?

2007-04-25 Thread Michael Lueck
Significant changes have been made between Sarge and Etch. The files mentioned long long ago to cure PnP trying to load an AC97 driver for a ThinkPad 600E with integrated CS423x chip are no longer 
there. Where has the inequivalent functionality been moved?


Michael Lueck wrote:
 Antonio-Blasco Bonito wrote:

 1- Add lines to /etc/discover.conf-2.6
 skip snd-cs46xx

 2- Add lines to /etc/hotplug/blacklist
 snd_cs46xx

 Was the _ vs - intentional?

 I am running Sarge with the 2.6x i686 kernel. Is skip/blacklist the only
 option in Debian to skip a driver? There is no method to remove drivers
 from the master list of drivers vs the logic flow of detected but I
 am suppose to skip it?

 My 600E was also loading the ac97 driver, so I added it in these spots
 as well, and it no longer loads either. I will try dropping ac97 to see
 if these lines were actually enough, maybe it trying ac97 was a side
 affect of the cs64xx failing.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Etch / ThinkPad 600E / How to blacklist the soundcard?

2007-04-25 Thread Greg Folkert
On Wed, 2007-04-25 at 10:28 -0400, Michael Lueck wrote:
 Significant changes have been made between Sarge and Etch. The files
 mentioned long long ago to cure PnP trying to load an AC97 driver for
 a ThinkPad 600E with integrated CS423x chip are no longer 
 there. Where has the inequivalent functionality been moved?

I no longer have any ISA enabled machines... most of this is from memory
and reading the man pages and other references. I remember most
stinkpads had Crystal Audio in them... but I could be wrong.


princess:~# modprobe -l | grep cs423
/lib/modules/2.6.20-1-k7/kernel/sound/isa/opti9xx/snd-opti92x-cs4231.ko
/lib/modules/2.6.20-1-k7/kernel/sound/isa/cs423x/snd-cs4236.ko
/lib/modules/2.6.20-1-k7/kernel/sound/isa/cs423x/snd-cs4232.ko
/lib/modules/2.6.20-1-k7/kernel/sound/isa/cs423x/snd-cs4231-lib.ko
/lib/modules/2.6.20-1-k7/kernel/sound/isa/cs423x/snd-cs4231.ko
/lib/modules/2.6.20-1-k7/kernel/sound/isa/cs423x/snd-cs4236-lib.ko
/lib/modules/2.6.20-1-k7/kernel/sound/oss/cs4232.ko

Here are the things I'd start with:

apt-gte install pnputils
lspnp -v | grep -e audio -e crystal

Look for something like codec or card Look for the prefix (first 2
character, should be in hex) Like B0 or 1E or something like that. Once
you discover that prefix do it for each prefix except the joystick (the
joystick and the MPU401 would conflict):

setpnp $prefix_number on

If that gives you an error, I haven't been able to determine if that is
because I no longer have ISA in the machine I am trying or not. But in
any case, you should make sure you load the proper snd-cs-423[1|2|6]
module with apropos settings. Which right now escapes me.

Just found a possibly apropos thing on the Ubuntu forums (see
*SOMETIMES* forums do work):

http://ubuntuforums.org/showthread.php?t=230076

Its old, but it still might work for you.



-- 
greg, [EMAIL PROTECTED]

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


signature.asc
Description: This is a digitally signed message part


Re: Etch / ThinkPad 600E / How to blacklist the soundcard?

2007-04-25 Thread Michael Lueck

Greg Folkert wrote:

princess:~# modprobe -l | grep cs423


Mine comes back with...

/lib/modules/2.6.18-4-686/kernel/sound/oss/cs4232.ko
/lib/modules/2.6.18-4-686/kernel/sound/isa/opti9xx/snd-opti92x-cs4231.ko
/lib/modules/2.6.18-4-686/kernel/sound/isa/cs423x/snd-cs4236.ko
/lib/modules/2.6.18-4-686/kernel/sound/isa/cs423x/snd-cs4236-lib.ko
/lib/modules/2.6.18-4-686/kernel/sound/isa/cs423x/snd-cs4232.ko
/lib/modules/2.6.18-4-686/kernel/sound/isa/cs423x/snd-cs4231.ko
/lib/modules/2.6.18-4-686/kernel/sound/isa/cs423x/snd-cs4231-lib.ko


Here are the things I'd start with:

apt-gte install pnputils


I corrected the apt-get name, the package was not found in Debian Stable / Etch.


Just found a possibly apropos thing on the Ubuntu forums (see
*SOMETIMES* forums do work):

http://ubuntuforums.org/showthread.php?t=230076

Its old, but it still might work for you.


I will have a look. Thanks.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Etch / ThinkPad 600E / How to blacklist the soundcard?

2007-04-25 Thread Greg Folkert
On Wed, 2007-04-25 at 12:40 -0400, Michael Lueck wrote:
 Greg Folkert wrote:
  princess:~# modprobe -l | grep cs423
 
 Mine comes back with...
 
 /lib/modules/2.6.18-4-686/kernel/sound/oss/cs4232.ko
 /lib/modules/2.6.18-4-686/kernel/sound/isa/opti9xx/snd-opti92x-cs4231.ko
 /lib/modules/2.6.18-4-686/kernel/sound/isa/cs423x/snd-cs4236.ko
 /lib/modules/2.6.18-4-686/kernel/sound/isa/cs423x/snd-cs4236-lib.ko
 /lib/modules/2.6.18-4-686/kernel/sound/isa/cs423x/snd-cs4232.ko
 /lib/modules/2.6.18-4-686/kernel/sound/isa/cs423x/snd-cs4231.ko
 /lib/modules/2.6.18-4-686/kernel/sound/isa/cs423x/snd-cs4231-lib.ko
 
  Here are the things I'd start with:
  
  apt-gte install pnputils
 
 I corrected the apt-get name, the package was not found in Debian Stable / 
 Etch.

Sorry, looks like pnputils nor pnpbios-tools made it into etch.

Hmm, that ain't good. Your questions stands: Where'd they GO?

I don't know.

  Just found a possibly apropos thing on the Ubuntu forums (see
  *SOMETIMES* forums do work):
  
  http://ubuntuforums.org/showthread.php?t=230076
  
  Its old, but it still might work for you.
 
 I will have a look. Thanks.

You might download the Ubuntu source for pnpbios-tools or the Debian
source for pnputils (from unstable) and compile it yourself and install
it.

Many, all I can say is sorry... it appears ISA has fallen on the floor
in Debian, and it might slip into a crack soon, if something isn't done.
-- 
greg, [EMAIL PROTECTED]

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


signature.asc
Description: This is a digitally signed message part


Re: Etch / ThinkPad 600E / How to blacklist the soundcard?

2007-04-25 Thread Michael Lueck

Greg Folkert wrote:


Many, all I can say is sorry... it appears ISA has fallen on the floor
in Debian, and it might slip into a crack soon, if something isn't done.


Still, SOMETHING that remains in Etch thinks it needs to load a driver, and all I am trying to stop. It is not that I want the driver to work. I have no need for sound card support for a text mode 
mobile server.


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Etch / ThinkPad 600E / How to blacklist the soundcard?

2007-04-25 Thread Greg Folkert
On Wed, 2007-04-25 at 13:32 -0400, Michael Lueck wrote:
 Greg Folkert wrote:
 
  Many, all I can say is sorry... it appears ISA has fallen on the
 floor
  in Debian, and it might slip into a crack soon, if something isn't
 done.
 
 Still, SOMETHING that remains in Etch thinks it needs to load a
 driver, and all I am trying to stop. It is not that I want the driver
 to work. I have no need for sound card support for a text mode 
 mobile server.

OK, easy enough.

I've followed this procedure for a while with modprobe and it tends to
work on most modular systems I've tried it on. This is for the
on-board audio card I hate in another machine... but it would still
apply:

[EMAIL PROTECTED]:/etc/modprobe.d$ cat blacklist-duke
blacklist snd_via82xx_modem
blacklist snd_via82xx

So, as you can see, you would need to make a file like this:

/etc/modprobe.d/blacklist-machinename

Add all the cs423* files in there like this:

blacklist snd-opti92x-cs4231
blacklist snd-cs4236
blacklist snd-cs4236-lib
blacklist snd-cs4232
blacklist snd-cs4231
blacklist snd-cs4231-lib

I use the blacklist-machinename so I know it will survive upgrades.
Quite a few times I had to re-edit the regular blacklist after an
upgrade. So I went through the scripts and found it looked for
blacklist* (pretty much that is) and did that.

Cheers.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster:  Linux


signature.asc
Description: This is a digitally signed message part


Re: Etch / ThinkPad 600E / How to blacklist the soundcard?

2007-04-25 Thread Michael Lueck

Simply adding the following line to file: /etc/modprobe.d/blacklist

blacklist snd_cs46xx

solved the trouble. For some reason Linux mis-detects the cs423x chip as a 
cs46xx chip which is Crystal's PCI chip.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]