reset of pcmcia device.

Krzysztof Drewicz hunter at mimuw.edu.pl
Fri May 5 03:17:57 EDT 2006


Pavel Roskin napisał(a):

>On Fri, 2006-05-05 at 00:13 +0200, Krzysztof Drewicz wrote:
>  
>
>>Hello group!
>>Maybe a stiupid question but what is the proper set of commands needed 
>>to fully reset pcmcia device?
>>    
>>
>
>pccardctl reset
>
>  
>
ok, it goes like that:
cs: IO port probe 0x100-0x3af: excluding 0x170-0x177 0x290-0x297 0x370-0x37f
cs: IO port probe 0x3e0-0x4ff: excluding 0x400-0x40f 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: excluding 0x828-0x87f
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
ttyS1 at I/O 0x2f8 (irq = 169) is a 16550A
lsmod
serial_cs 19208 0 - Live 0xc80bf000
yenta_socket 26508 3 - Live 0xc80b7000
rsrc_nonstatic 13696 1 yenta_socket, Live 0xc809a000
pcmcia 41020 1 serial_cs, Live 0xc80a1000
pcmcia_core 43924 3 yenta_socket,rsrc_nonstatic,pcmcia, Live 0xc8076000
firmware_class 10368 1 pcmcia, Live 0xc806f000


>>The card shouldn't be unbound imvho, or I need to bound it manually ?
>>    
>>
>
>What you need is a driver.  Try loading it by modprobe.  Ideally, udev
>should be doing it automatically.
>

I use hotplug, but it does initialization only first time, rmmoding 
pcmcia-related modules and modprobing gives error:
$ cat < /dev/ttyS1
cat: Read Error: Input/output error



-- 
Krzysztof Drewicz






More information about the linux-pcmcia mailing list