Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 1999 18:38:55 +0200 (CEST)
From:      Dirk-Willem van Gulik <dirkx@webweaving.org>
To:        Fernando Schapachnik <fpscha@via-net-works.net.ar>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Sony VAIO CD-ROM
Message-ID:  <Pine.BSF.4.05.9908191834450.605-100000@kim.ispra.webweaving.org>
In-Reply-To: <199908191525.MAA19203@ns1.sminter.com.ar>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 19 Aug 1999, Fernando Schapachnik wrote:

> Yes, it says NinjaATA.

So check out the section 'ATAPI CD-ROM Cards' in pccard.conf.

You propably want to make an entry like

card ".*" "NinjaATA.* 
	config default wdc1 any
	insert logger -s Sony CDROM Inserted
	remove logger -s Sony CDROM Removed

The first line is guessed from:
> Tuple #2, code = 0x15 (Version 1 info), length = 26
>     000:  04 01 20 00 4e 69 6e 6a 61 41 54 41 2d 00 56 31
>     010:  2e 30 00 41 50 30 30 20 00 ff
> 	Version = 4.1, Manuf = [ ],card vers = [NinjaATA-]
> 	Addit. info = [V1.0],[AP00 ]

And the values in the 'config default...' line is what you
might end up playing with; setting it to 0x1b perhaps. Though I am
no expert and understanding the output below.

> Tuple #4, code = 0x1b (Configuration entry), length = 21
>     000:  e1 01 3d 11 55 1e fc 23 f0 61 80 01 07 86 03 01
>     010:  30 68 d0 10 00
> 	Config index = 0x21(default)
> 	Interface byte = 0x1 (I/O)
> 	Vcc pwr:
> 		Nominal operating supply voltage: 5 x 1V
> 		Max current average over 1 second: 1.5 x 100mA
> 	Wait scale Speed = 1.5 x 1 us
> 	Card decodes 3 address lines, 8 Bit I/O only
> 		IRQ modes: Level
> 		IRQ level = 3
> 	Memory space length = 0x61f0
> Tuple #5, code = 0x1b (Configuration entry), length = 15
>     000:  22 38 f0 61 90 01 07 96 03 01 30 68 d0 10 00
> 	Config index = 0x22
> 	Card decodes 16 address lines, full 8/16 Bit I/O
> 		I/O address # 1: block start = 0x190 block length = 0x8
> 		I/O address # 2: block start = 0x396 block length = 0x2
> 		IRQ modes: Level
> 		IRQs:  4 5 11 13 14
> 	Memory space length = 0x10
> Tuple #6, code = 0x1b (Configuration entry), length = 15
>     000:  23 38 f0 61 a0 01 07 a6 03 01 30 68 d0 10 00
> 	Config index = 0x23
> 	Card decodes 16 address lines, full 8/16 Bit I/O
> 		I/O address # 1: block start = 0x1a0 block length = 0x8
> 		I/O address # 2: block start = 0x3a6 block length = 0x2
> 		IRQ modes: Level
> 		IRQs:  4 5 11 13 14
> 	Memory space length = 0x10
> Tuple #7, code = 0x14 (No link), length = 0
> Tuple #8, code = 0xff (Terminator), length = 0
> 1 slots found

>>  Sorry for my ignorance but what is PAO?

See http://www.jp.freebsd.org/PAO. You actually might want to check the
list of hardware. Someone might have done this before.

Dw.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9908191834450.605-100000>