dump_cis for pcmciautils?

Jar jar at pcuf.fi
Sun Jul 24 09:26:01 EDT 2005


> On Sun, Jul 24, 2005 at 01:35:41PM +0300, Jar wrote:
>>
>> >> is there a version of the dump_cis tool that uses sysfs instead of pcmcia
>> >> ioctl?
>> >
>> > Get and unpack latest revision of pcmciautils, then:
>> >
>> > make debugtools
>> > ./dump_cis [socket number]
>>
>> Does this './dump_cis [socket number]' also pack the cis to binary form or does it
>> just dump the ascii form?
>
> It just dumps the ascii decode. You can access the binary form directly in
> /sys/class/pcmcia_socket/pcmcia_socket0/cis

Yes but, howto to do correct cis then, if there is no pack_cis utility? For example
my WL200 basically lacks irq info in it's cis data. Now the incorret cis will be
found from /sys/class/pcmcia_socket/pcmcia_socket0/cis and the equivalent
(incorrect) ascii version can be dumped out by using dump_cis tool.

But how to reconstruct (dump_cis->reconstruct cis->pack cis->load cis) the correct
cis? How to append the line 'irq mask 0xffff [level] [pulse]' to the ascii dump and
pack wl200.cis binary cis?

-- 
Best Regards, Jar



More information about the linux-pcmcia mailing list