Re: -current on ibm tp a20p?

2000-11-30 Thread Warner Losh

In message [EMAIL PROTECTED] Archie Cobbs writes:
: One thing I noticed is that /etc/defaults/pccard.conf says:
:   # Available memory slots
:   memory  0xd4000  96k
: while /etc/rc.pccard says:
: case ${pccard_mem} in
:   [Dd][Ee][Ff][Aa][Uu][Ll][Tt])
:   pccardc pccardmem 0xd
: Seems like there are two settings for the same "default"..
: or am I confusing two different things?

You are confusing two different things.  The pccardc pccardmem command
sets the memory that is used to map the CIS, while pccard.conf sets
memory to dole out to the cards inserted.  Much like there's a
management IRQ and a card IRQ.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current on ibm tp a20p?

2000-11-28 Thread Warner Losh

In message [EMAIL PROTECTED] Christian 
Carstensen writes:
: sound output results in "pcm0: play interrupt timeout, channel dead".
: when inserting a pccard, the card is not being recognized, pccardd tends
: to  call it something like "Null, Null".

You must change the default pccardd memory address from 0xd to
0xd8000.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: -current on ibm tp a20p?

2000-11-27 Thread Christian Carstensen

On Sun, 26 Nov 2000, Cameron Grant wrote:

  the sound card is a Crystal Semiconductor CS 4624 controller with CS 4297A
  AC97 codec, pcic0 is a TI PCI-1450 PCI-CardBus Bridge.
  
  sound output results in "pcm0: play interrupt timeout, channel dead".
 
 try turning off apm and all power saving in the bios setup.

I've tried that, when I first encountered that problem. This doesn't
change anything. - Sigh...


regards,
  Christian



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current on ibm tp a20p?

2000-11-27 Thread Christian Carstensen

On Sat, 25 Nov 2000, Peter Wemm wrote:

 This means your pccard memory window overlaps something.  Do you have an
 ATI rage chipset by any chance?  My Vaio has one of these and its rom is
 80K long and goes from 0xc - 0xd3fff.  pccardd defaults to 0xd
 for mapping the CIS which is right underneath the ROM.
 
 Try:
 pccard_mem="0xd4000"
 in /etc/rc.conf.  Or even 0xd8000 if that doesn't work.

Peter,

Thanks for your comment. For some reason my notebook needs 
pccard_mem="0xdc000", but with this option set pcmcia support
works well.


regards,
  Christian



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current on ibm tp a20p?

2000-11-27 Thread Archie Cobbs

Christian Carstensen writes:
  pccard_mem="0xd4000"
  in /etc/rc.conf.  Or even 0xd8000 if that doesn't work.
 
 Peter,
 
 Thanks for your comment. For some reason my notebook needs 
 pccard_mem="0xdc000", but with this option set pcmcia support
 works well.

One thing I noticed is that /etc/defaults/pccard.conf says:

# Available memory slots
memory  0xd4000  96k

while /etc/rc.pccard says:

case ${pccard_mem} in
[Dd][Ee][Ff][Aa][Uu][Ll][Tt])
pccardc pccardmem 0xd

Seems like there are two settings for the same "default"..
or am I confusing two different things?

-Archie

__
Archie Cobbs * Packet Design * http://www.packetdesign.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: -current on ibm tp a20p?

2000-11-26 Thread Cameron Grant

 the sound card is a Crystal Semiconductor CS 4624 controller with CS 4297A
 AC97 codec, pcic0 is a TI PCI-1450 PCI-CardBus Bridge.
 
 sound output results in "pcm0: play interrupt timeout, channel dead".

try turning off apm and all power saving in the bios setup.

-cg



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current on ibm tp a20p?

2000-11-25 Thread Peter Wemm

Christian Carstensen wrote:
 On Fri, 24 Nov 2000, Rogier R. Mulhuijzen wrote:
 
  1) is this a CardBus card maybe?
 
 It happens with
 
a) Lucent WaveLAN (silver)
b) 3com 3c589d
 
 
  2) What does 'pccardc dumpcis' return?
 
 Code 85 not found
 Code 85 not found
 code Unknown ignored
 Code 134 not found
 Code 134 not found

This means your pccard memory window overlaps something.  Do you have an
ATI rage chipset by any chance?  My Vaio has one of these and its rom is
80K long and goes from 0xc - 0xd3fff.  pccardd defaults to 0xd
for mapping the CIS which is right underneath the ROM.

Try:
pccard_mem="0xd4000"
in /etc/rc.conf.  Or even 0xd8000 if that doesn't work.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



-current on ibm tp a20p?

2000-11-24 Thread Christian Carstensen


hi,

has someone of you got -current working on a ibm thinkpad a20p?
at the moment, i can't use pccard and sound card support.
to be honest, this problem is not -current specific, - it also occurs
with 4.x os.

the sound card is a Crystal Semiconductor CS 4624 controller with CS 4297A
AC97 codec, pcic0 is a TI PCI-1450 PCI-CardBus Bridge.

sound output results in "pcm0: play interrupt timeout, channel dead".
when inserting a pccard, the card is not being recognized, pccardd tends
to  call it something like "Null, Null".

Any hints or ideas?


regards,
   christian



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current on ibm tp a20p?

2000-11-24 Thread Rogier R. Mulhuijzen



when inserting a pccard, the card is not being recognized, pccardd tends
to  call it something like "Null, Null".

1) is this a CardBus card maybe?
2) What does 'pccardc dumpcis' return?

 DocWilco



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current on ibm tp a20p?

2000-11-24 Thread Christian Carstensen

On Fri, 24 Nov 2000, Rogier R. Mulhuijzen wrote:

 1) is this a CardBus card maybe?

It happens with

   a) Lucent WaveLAN (silver)
   b) 3com 3c589d


 2) What does 'pccardc dumpcis' return?

Code 85 not found
Code 85 not found
code Unknown ignored
Code 134 not found
Code 134 not found
code Unknown ignored
Code 13 not found
Code 13 not found
code Unknown ignored
Code 195 not found
Code 195 not found
code Unknown ignored
Code 100 not found
Code 100 not found
code Unknown ignored
Code 115 not found
Code 115 not found
code Unknown ignored
Code 93 not found
Code 93 not found
code Unknown ignored
Code 96 not found
Code 96 not found
code Unknown ignored
Code 192 not found
Code 192 not found
code Unknown ignored
Configuration data for card in slot 0
Tuple #1, code = 0x0 (Null tuple), length = 12
000:  40 cb a3 00 00 00 00 00 00 20 40 60
Tuple #2, code = 0x0 (Null tuple), length = 139
000:  55 44 16 00 01 f3 00 30 70 50 49 2e c0 8b 2e c0
010:  50 49 86 29 00 18 00 00 0c 01 00 00 2e c0 8b 8b
020:  24 6e 01 00 00 00 00 b4 c6 02 00 00 00 41 00 00
030:  0d 43 70 72 67 74 28 29 31 39 2c 39 38 31 39 20
040:  49 74 6c 43 72 6f 61 69 6e 0a 49 74 6c 43 72 6f
050:  61 69 6e 49 74 6c 55 44 2c 50 45 32 30 28 75 6c
060:  20 37 29 18 18 ff 00 80 54 41 00 f2 00 b4 cd 0a
070:  74 32 c3 01 16 02 c0 c0 02 e4 c0 55 ec 60 46 b4
080:  bb 00 01 cd 66 90 c2 00 20 e2 c3
Tuple #3, code = 0x0 (Null tuple), length = 220
000:  6a e8 ff 55 ec 53 c5 04 07 00 09 e4 e8 ff eb 1f
010:  58 c2 00 8b 50 46 24 04 3c 76 04 50 a2 58 c2 00
020:  8b 50 46 c0 04 e8 ff c0 50 d1 58 c2 00 8b 50 46
030:  86 50 d9 86 50 d3 58 c2 00 8b 66 66 46 66 c0 50
040:  d7 66 c0 50 cf 66 5d 04 55 ec 50 8b 04 c1 10 e8
050:  ff 3a 36 66 c0 50 ab 66 5d 04 55 ec 53 1e 46 8e
060:  06 8b 08 4e 67 03 43 f9 59 5b e4 c2 00 66 06 30
070:  2b 8b 4e 02 75 16 66 f6 f5 6c 66 c0 c0 c1 04 03
080:  89 02 c1 10 46 88 07 46 2f c6 05 8d 10 56 66 ca
090:  88 04 76 66 ca c7 00 ff 46 93 6c 89 02 c1 10 5e
0a0:  88 07 c1 10 46 ff c6 05 b4 f8 15 5d c4 55 07 5e
0b0:  32 80 00 01 c3 80 28 f0 00 1e 4d 1e 46 f0 07 59
0c0:  38 59 00 60 08 2e 1e 00 e1 cd 72 80 00 1a e1 80
0d0:  80 0b 2e 1e 00 e1 cd 72 80 00 00 61
Tuple #4, code = 0x0 (Null tuple), length = 96
000:  8b e6 bf 00 0a cd 66 f9 74 f6 01 1c 2a 18 b8 b1
010:  1a 83 01 30 b8 b1 1a 06 02 10 83 01 30 b8 b1 1a
020:  06 02 61 c3 60 3e 02 77 80 bd 00 18 33 0e 02 33
030:  2e 1e 00 30 b8 b1 1a 1d 0e 02 8b e6 bf 00 0a cd
040:  66 e1 bf 00 0d cd 66 90 52 4c f5 88 02 00 03 49
050:  74 6c 42 6f 20 67 6e 20 65 73 6f 20 2e 20 42 69
Tuple #5, code = 0x0 (Null tuple), length = 48
000:  36 00 00 00 00 00 00 01 e8 ff 83 bd 00 04 c0 04
010:  01 cb 60 06 40 26 13 0e 83 20 e0 66 33 66 00 00
020:  2e 0e 03 03 8a 66 c1 03 00 d1 66 e9 66 83 40 00
Tuple #6, code = 0x0 (Null tuple), length = 14
000:  26 e8 fd 3c 0d 50 45 45 30 20 6f 6c 20 6f
Tuple #7, code = 0x20 (Manufacturer ID), length = 105
000:  64 65 6f 67 20 72 65 62 73 20 65 6f 79 00 c0 ff
010:  80 00 8d 81 00 75 e2 8c c1 06 8c 8b 6a 07 8b 13
020:  83 20 e1 8e 2e 26 03 50 53 2e 3e 02 75 66 8b a5
030:  66 0f 1e 02 2e b7 ab 66 d9 17 2e 16 02 2e b7 b5
040:  66 0f 0e 02 03 66 d3 83 10 c1 04 c1 04 33 5b 66
050:  e3 66 e3 33 2e 0e 03 03 8e 83 02 e9 1b 73 eb e8
060:  fe 50 e0 0e 0f 50 ff 92 cb
PCMCIA ID = 0x6564, OEM ID = 0x676f
Tuple #8, code = 0x0 (Null tuple), length = 229
000:  5b 8e 8b fb 8b 8a 2e 0e 03 c1 03 e9 d1 c1 0a 03
010:  90 81 00 8e 33 33 fc aa 1d 0a 45 69 69 67 74 65
020:  52 4c 4c 61 65 0d 0a e8 fd 68 05 d4 b4 b9 00 c0
030:  cd 07 66 90 e8 fd e8 fe f8 75 c3 a9 0e c6 e8 fb
040:  68 00 a6 53 66 57 1e 0f 0f 66 83 b1 00 0b f7 a3
050:  40 0f c6 ba c0 da 3e 00 aa 69 c2 00 fa f0 ec 68
060:  05 68 66 83 b1 00 85 00 12 0d 50 45 45 31 20 61
070:  65 63 64 20 4f 20 44 73 72 63 75 65 77 73 6e 74
080:  66 75 64 00 c3 07 e3 f8 eb 08 eb 03 72 eb 8a 02
090:  80 00 8e e3 53 6a 1e 00 a8 3c 74 e9 ff 3e 00 ff
0a0:  74 3b 73 66 3d 42 24 b8 b6 04 f8 72 50 00 1e 00
0b0:  78 3c 74 eb 8c 8e 66 83 b1 00 17 f7 a3 40 0f 92
0c0:  66 81 24 43 0f 86 0e 20 2e 36 00 ff ee 2e 36 00
0d0:  ff e8 2e 36 00 00 c4 50 68 06 26 75 cb c4 5a c4
0e0:  83 00 1f 68 06
Tuple #9, code = 0x0 (Null tuple), length = 82
000:  af eb 0d 42 5f 6f 64 72 29 3d 20 bb 00 db 48 8a
010:  6c 38 74 8a e2 0f 0f 07 5e 66 59 c3 0a 4e 49 49
020:  4c 29 66 0f 16 00 2e b7 2e 66 d0 2e b7 30 66 d0
030:  2e b7 b9 66 d0 2e b7 bb 66 d0 81 ff 00 66 ea b8
040:  00 c0 8b 13 2b 26 36 00 66 53 50 a1 00 e0 8e 66
050:  e2 66
Tuple #10, code = 0x0 (Null tuple), length = 219
000:  89 66 74 83 04 f4 db c3 10 db db e8 58 66 1f d0
010:  c1 10 c4 c1 10 8b 2c fa 40 8e 36 26 00 e4 8e 8b
020:  fb c1 10 50 53 57 55 00 00 6a 66 00 56 ec 40 8e
030:  26 16 00 e2 83 18 fc a1 00 89 02 a1 00 89 04 a1
040:  00 89 06 a1 00 89 08 

Re: -current on ibm tp a20p?

2000-11-24 Thread Yoichi ASAI

Christian Carstensen [EMAIL PROTECTED] wrote:

 has someone of you got -current working on a ibm thinkpad a20p?
 at the moment, i can't use pccard and sound card support.
 to be honest, this problem is not -current specific, - it also occurs
 with 4.x os.

I have ThinkPad A20m, perhaps that is a subset of A20p.
On these laptops, use 0xd4000 as memory slots.

-- kernel config hint file --
hint.pcic.0.maddr="0xd4000"

-- /etc/pccard.conf --
memory  0xd4000  96k

Pccard works fine with these settings.

On the other hand, sound chip does not work. Kernel recognizes
Crystal SoundFusion as CS461x, with device pcm and csa included
in my config. But IRQ sharing prevents it from working.
mpg123 and play (sox) return this message:

pcm0: play interrupt timeout, channel dead

-- dmesg --
csa0: Crystal Semiconductor CS4614/4622/4624 Audio accelerator/
4280 Audio controller mem 0xf400-0xf40f,0xf4121000-0xf4
121fff irq 11 at device 5.0 on pci0
pcm0: CS461x PCM Audio on csa0

---
Yoichi ASAI [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message