Rene Herman a écrit :
> Hulin Thibaud wrote:
> 
>> I followed your councils. About the post in text, I believe... that's
>> work !
> 
> It does. It is also very much preferred if you keep the list you posted 
> on in CC (using "reply to all" would've done that). That way, others can 
> look in on the conversation, correct given advice, give more advice, 
> learn from advice as well, and so on.
> 

Great council ! Just this : I receive two messages, on from Rene Herman, 
one other from Alsa user...

>> (/lib/modules/2.6.12-10-386/kernel/sound/isa/cs423x/snd-cs4236.ko): No 
>> such device
> 
> Okay...
> 
>> I suppose that I have the IsaPNP support (how can I be sure ?), 
>> because I have the folder /sys/devices/pnp and pnp1.
>> But I don't have the file card_id (searched with 'locate').
> 
> "locate" is not useful here. It uses a database, but /sys is a  virtual 
> filesystem (meaning the files don't really "exist" on disk -- it's just 
> an illusion made up by the kernel, same as /proc). Anyways, you can just 
> browse around in /sys to see what's there. From the console for example 
> with "mc /sys", or using whatever graphical file manager you use.
> 
>> I have only links bus and driver, and the directory power, and the 
>> files id, options and resources.
> 
> Okay, that means you do have a device there it seems, as the bus and 
> driver links only exist in device directories. That is, in a directory 
> such as:
> 
> $ tree /sys/devices/pnp1/01:01/01:01.00
> /sys/devices/pnp1/01:01/01:01.00
> |-- bus -> ../../../../bus/pnp
> |-- driver -> ../../../../bus/pnp/drivers/cs4236_isapnp
> |-- id
> |-- options
> |-- power
> |-- resources
> `-- uevent
> 
> Please show me the output of that same "tree" command (for the directory 
> where your "bus" and "driver" and id file was). Also, what does that 
> "id" file say in that directory? For me:
> 
> $ cat /sys/devices/pnp1/01:01/01:01.00/id
> CSCa800

In the folder pnp1, there is only on file, /sys/devices/pnp1/power/state
So, after installing tree with an apt-get install, I obtain with tree 
/sys/devices/pnp0 :
/sys/devices/pnp0/
|-- 00:00
|   |-- bus -> ../../../bus/pnp
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:01
|   |-- bus -> ../../../bus/pnp
|   |-- driver -> ../../../bus/pnp/drivers/system
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:02
|   |-- bus -> ../../../bus/pnp
|   |-- driver -> ../../../bus/pnp/drivers/system
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:03
|   |-- bus -> ../../../bus/pnp
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:04
|   |-- bus -> ../../../bus/pnp
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:05
|   |-- bus -> ../../../bus/pnp
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:06
|   |-- bus -> ../../../bus/pnp
|   |-- driver -> ../../../bus/pnp/drivers/i8042 kbd
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:07
|   |-- bus -> ../../../bus/pnp
|   |-- driver -> ../../../bus/pnp/drivers/i8042 aux
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:08
|   |-- bus -> ../../../bus/pnp
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:09
|   |-- bus -> ../../../bus/pnp
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:0a
|   |-- bus -> ../../../bus/pnp
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:0b
|   |-- bus -> ../../../bus/pnp
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:0c
|   |-- bus -> ../../../bus/pnp
|   |-- driver -> ../../../bus/pnp/drivers/serial
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:0e
|   |-- bus -> ../../../bus/pnp
|   |-- driver -> ../../../bus/pnp/drivers/parport_pc
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:0f
|   |-- bus -> ../../../bus/pnp
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:10
|   |-- bus -> ../../../bus/pnp
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
|-- 00:11
|   |-- bus -> ../../../bus/pnp
|   |-- id
|   |-- options
|   |-- power
|   |   `-- state
|   `-- resources
`-- power
     `-- state

58 directories, 69 files



> The card_id file I said should be one directory up. Is that CS4237 card 
> by the way the only ISA-PnP card you have in the machine?

I'm not perfectly sure. From the documentation of my computer, there not 
an other device indicated with the bus ISA as I can rode here :
http://docs.us.dell.com/support/edocs/systems/pmojav/54723.pdf

With a lspci, I obtain :
0000:00:00.0 Host bridge: Intel Corp. 430TX - 82439TX MTXC (rev 01)
0000:00:01.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 01)
0000:00:01.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:01.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:01.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 01)
0000:00:02.0 VGA compatible controller: Neomagic Corporation NM2160 
[MagicGraph 128XD] (rev 01)
0000:00:03.0 CardBus bridge: Texas Instruments PCI1131 (rev 01)
0000:00:03.1 CardBus bridge: Texas Instruments PCI1131 (rev 01)

It show an other ISA with the bridge d'Intel ?

And for the cat command, this is the results after every 00:xx files on 
one or two lines :
00:00
PNP0a03
00:02
PNP0c0a
00:04
PNP0100
00:06
PNP0303
00:08
PNP0800
00:0a
PNP0c04
00:0c
PNP0501
00:0f
CSC0000
00:11
PNP0700
00:01
PNP0c01
00:03
PNP0000
00:05
PNP0200
00:07
PNP0f13
00:09
PNP0b00
00:0b
PNP0e03
PNP0e00
00:0e
PNP0401
00:10
CSC0010

So, the last is the CS4237B sound card isa port, isn't it ?!...




 >> So, the command pnpdump conclue "No boards found"...
 >
 > pnpdump is another tool which you should not be using anymore on 2.6. It
 > should still work though, and it bypasses the kernel. If it isn't
 > finding anything, that's very strange seeing as how apparently the
 > kernel code _did_ find something. Please also just make sure the
 > board(s) is/are inserted properly.
 >
 > Rene.
 >

What is a board ? Must I open my computer to look that ?

 >Rene Herman wrote:

 >> I suppose that I have the IsaPNP support (how can I be sure ?), 
because I have the folder /sys/devices/pnp and pnp1.

 >By the way, also please try a "zgrep ISAPNP /proc/config.gz". You 
should see a CONFIG_ISAPNP=y. If the /proc/config.gz file does not 
exist, go shoot your distribution's kernel maintainer and try "grep 
ISA_PNP >/boot/config-$(uname -r)" instead.

 >For all I know, your pnp1 is PnP-BIOS, with pnp0 being PNPACPI or 
something...

 >Rene.

"zgrep ISAPNP /proc/config.gz" don't work, but "cat 
/boot/config-2.6.12-10-386 | grep ISAPNP" give a CONFIG_ISAPNP=y

I think you're a great professionnal !
Thibaud.



_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to