Page 1 of 2

PCMCIA/CardBus/PC-Card driver

Posted: Tue Dec 03, 2013 10:02 pm
by hidnplayr
I'm working on PCMCIA driver for KolibriOS.
If anybody has such hardware and wants to test, let me know here.

Re: PCMCIA/CardBus/PC-Card driver

Posted: Thu Dec 05, 2013 10:19 pm
by G@К
Привет
There is D-Link DWL-650+

Re: PCMCIA/CardBus/PC-Card driver

Posted: Thu Dec 05, 2013 10:32 pm
by hidnplayr
G@К wrote:Привет
There is D-Link DWL-650+
It can be used to test if the initialisation of PCMCIA bridge works.

copy 'cardbus.obj' to '/sys/drivers/' and run command 'loaddrv cardbus'

Please post debug output and pci device list after the driver has been executed.

Re: PCMCIA/CardBus/PC-Card driver

Posted: Sun Dec 08, 2013 1:14 am
by G@К
O.K.

Re: PCMCIA/CardBus/PC-Card driver

Posted: Sun Dec 08, 2013 1:45 am
by hidnplayr
G@К wrote:O.K.
Thanks a lot for the test, Unfortunately it seems that initialisation of the card timed-out.
In one of my test PC's I have the same PCMCIA bridge and the same problem occurs.
I'll let you know when I can fix it.

Re: PCMCIA/CardBus/PC-Card driver

Posted: Mon Jan 13, 2014 2:09 am
by MustardMan
I have several PCMCIA cards : Dlink network cards, a USB2+Firewire adapter, an old memory card and an adapter card for Compact Flash (which can adapt further to SD and uSD).

My only avaiilable PCMCIA enabed computer is a laptop, a T20 and a T22 (IBM thinkpad). Kolibri works on both, to an extent able to test cards anyway.

On an unrelated matter, when booting the 'search for partitians on disk drives' is quite slow. But of more interest only the 'Eolite' file manager can see all disks and partitians, whereas 'KFM' can't see any, and I havn't been able to get 'Kfar' to look at anything other than the ram disk.


Your last post suggests the detection hangs. Would you like me to wait for a revised version, or try the one you released?

Cheers,
MM

Re: PCMCIA/CardBus/PC-Card driver

Posted: Mon Jan 13, 2014 2:21 am
by yogev_ezra
MustardMan wrote:On an unrelated matter, when booting the 'search for partitians on disk drives' is quite slow.
What do you mean by "search for partitions is slow?"
MustardMan wrote:But of more interest only the 'Eolite' file manager can see all disks and partitians, whereas 'KFM' can't see any, and I havn't been able to get 'Kfar' to look at anything other than the ram disk.
Eolite has interface like Windows Explorer. KFM has interface like Total Commander so you need to use commands like in Total Commander. KFAR has interface like FAR (or Norton Commander), so you need to use commands like in Norton Commander. To change disk in KFAR, user ALT+F1 for left panel, and ALT+F2 for right panel. In KFM, use the drop-down box like on screenshot below to change the disk.

Re: PCMCIA/CardBus/PC-Card driver

Posted: Mon Jan 13, 2014 6:21 am
by hidnplayr
MustardMan wrote:I have several PCMCIA cards : Dlink network cards, a USB2+Firewire adapter, an old memory card and an adapter card for Compact Flash (which can adapt further to SD and uSD).

My only avaiilable PCMCIA enabed computer is a laptop, a T20 and a T22 (IBM thinkpad). Kolibri works on both, to an extent able to test cards anyway.

Your last post suggests the detection hangs. Would you like me to wait for a revised version, or try the one you released?

Cheers,
MM
As there seemed to be little interest in the topic, this drivers hasnt been finished yet.
Actually, the version that you can download here is the latest version available.

Test results are always welcome.

Other funnies (off topic) of booting & fiile managers.

Posted: Tue Jan 14, 2014 10:46 am
by MustardMan
@yogev_ezra

Attacking the second problem first... your tips pointed me in exactly the right directiion.
KFM : I was looking at (and clicking on) the green coloured boxes with 'rd' 'fd' ... Interestingly, there is no 'usb' box, even though the dropdown list certainly has 'usbhd0/1/'.
KFAR : Once I knew the buttons, it all came up! I had been trying just the function keys by themselves, not 'alt' function keys. Thanks!!

The first problem, well, not really a problem, more of an observation.
Booting (from CD).
When I set the default 'blue screen' startup "b" to "on" (add the disks visible by BIOS), it takes about 32 seconds to 'search partitians on disk devices', which seems like an eternity (at first I thought it had crashed).
However, if I leave it at the default (off), it passes the 'search...' step virtually instantly, and boots just fine. I had thought it would therefore not know about any disk devices, but all disks & partitians are visible in the file managers (including USB memory sticks).

But, this is not really the thread for talking about such stuff. I'll look for a more appropriate thread to point out such things in future (I have one problem noted already).

Thanks,
MM.

Re: Other funnies (off topic) of booting & fiile managers.

Posted: Wed Jan 15, 2014 5:35 am
by yogev_ezra
MustardMan wrote:KFM : I was looking at (and clicking on) the green coloured boxes with 'rd' 'fd' ... Interestingly, there is no 'usb' box, even though the dropdown list certainly has 'usbhd0/1/'.
Because the drop-down box in KFM lists the disks that are actually available, and the green buttons show the disks that were potentially available in 2007 (the last version of KFM was made on 13/10/2007 - v0.47b - and since then, there were only bug fixes and no new features). Support for USB disks was added in 2011-2012, that's why there is no green button for it.
MustardMan wrote:The first problem, well, not really a problem, more of an observation.
Booting (from CD).
When I set the default 'blue screen' startup "b" to "on" (add the disks visible by BIOS), it takes about 32 seconds to 'search partitians on disk devices', which seems like an eternity (at first I thought it had crashed).
However, if I leave it at the default (off), it passes the 'search...' step virtually instantly, and boots just fine. I had thought it would therefore not know about any disk devices, but all disks & partitians are visible in the file managers (including USB memory sticks).
This option is currently needed only for SATA disks or CD/DVD disks that are not visible in KolibriOS when it's off. If all your disks are visible already, then you shouldn't turn it on, as it only slows down KolibriOS, and nothing more.

Re: PCMCIA/CardBus/PC-Card driver

Posted: Fri Jan 17, 2014 10:38 am
by MustardMan
Back on topic again...

I tested some of the PCMCIA cards that I had.

1- "bare" : The laptop with nothing but a 16GB USB stick plugged into it. This remained plugged in for all my tests.
2- "4m" : A 4 megabyte memory card (still works - but it can only store one jpeg!)
3 - "1394+usb2" : A no-name brand adapter with 2x USB2.0 ports + 2x 1394 ports.
4- "G630" : A Dlink airplus DWL-G630. Apparently it works, but I've never found compatible XP drivers for it.

#3 is the most useful card. My laptop goes out at night to impersonate a boat anchor, and only has one USB 1 port. The PCMCIA adapter gives me two USB2.0 ports (and I use the firewire port occasionally too). Interestingly, this also works under DOS when using the Panasonic 2.20 driver. I tested it with a 4GB stick - nothing showed up in the file managers.

#2 also did not show up in the file managers.

Since I am limited to 3 attachments, all the files are included in-line.

BARE
Spoiler:

Code: Select all

K : Attach Interrupt 6 Handler 8003224D
K : Set IDE IRQ6 return code 8005F280
K : Channel 1 Disk 0
K : Dev: IBM-DJSA-220                             
K : PIO mode 00000003
K : Multiword DMA mode 00000007
K : Ultra DMA mode 0000041F
K : Channel 1 Disk 1
K : Channel 2 Disk 0
K : Dev: HITACHI DVD-ROM GD-S200                  
K : PIO mode 00000003
K : Multiword DMA mode 00000007
K : Ultra DMA mode 00000407
K : Channel 2 Disk 1
K : UHCI controller at 00:3A with 2 ports initialized
K : Attach Interrupt 11 Handler 8002EB6D
K : [41] UHCI 80B9182C connect status changed, 009B/0091
K : Attach Interrupt 1 Handler 80034460
K : IRQ1 error code 8005F2A8
K : Attach Interrupt 12 Handler 80B9F2E4
K : kernel SVN r4391
K : 1 CPU detected
K : BAR0 01F0 
K : BAR1 03F4 
K : BAR2 0170 
K : BAR3 0374 
K : BAR4 1C00 
K : IDEContrProgrammingInterface 0180 
K : IDE_Interrupt 0000 
K : Primary Bus Master IDE Status Register 00000020
K : Secondary Bus Master IDE Status Register 00000020
K : Attach Interrupt 14 Handler 8003332C
K : Set IDE IRQ14 return code 8005F2D0
K : Attach Interrupt 15 Handler 8003336C
K : Set IDE IRQ15 return code 8005F2E4
K : IDE CH1 DMA enabled
K : IDE CH2 PIO, because ATAPI drive present
K : IDE DMA mode
3C59X: Device is a vortex type
3C59X: I'm sorry but vortex code hasnt been tested yet
3C59X: Please contact me on hidnplayr@kolibrios.org
3C59X: If you can help me finish it!
K : [53] UHCI 80B9182C status 0280/0093
K : reset done at 53
K : [55] UHCI 80B9182C status 0095
K : address set in device
K : address set for controller
K : device descriptor: 12 01 00 02 00 00 00 40 A5 18 00 03 00 01 01 02 03 01
K : found USB device with ID 18A5:0300, 1 configuration(s)
K : config descriptor: 09 02 20 00 01 01 00 80 64 09 04 00 00 02 08 06 50 00 07 05 81 02 40 00 00 07 05 02 02 40 00 00
K : USB interface class/subclass/protocol = 08/06/50
K : USB mass storage device detected
K : 1 logical unit(s)
trying to add disk
its size is not specified, 10% from free RAM will be used
new DiskSize:  MB
operation completed successfully
K : Command 03 failed
K : media is ready
K : 1 attempts, 177 ticks
K : peripheral device type is 00
K : direct-access mass storage device detected
K : sector size is 512, last sector is 30283007
BARE
Spoiler:

Code: Select all

   Don`t forget to enable PCI Access to Applications in Setup Menu.

PCI Version  = 2.10; Last PCI Bus = 7
User MMIO channel = 0F.F:F 
Number of PCI units = 0ch

VenID DevID Bus# Dev# Fnc Rev  Class  Subclass/ IRQ                 Company                      Description
                                      Interface
----- ----- ---- ---- --- ---  -----  --------- --- ------------------------------------------ --------------------------------
8086  7190   00   00   00   03   06   00   00   00   Intel Corp.                                Bridge - CPU/PCI 
8086  7191   00   01   00   03   06   04   00   00   Intel Corp.                                Bridge - PCI/PCI 
104c  ac1b   00   02   00   03   06   07   00   0b   TEXAS INSTRUMENTS                          Bridge - CarClassIDus 
104c  ac1b   00   02   01   03   06   07   00   0b   TEXAS INSTRUMENTS                          Bridge - CarClassIDus 
10b7  6056   00   03   00   20   02   00   00   0b   3COM Corp, Networking Division             Network - Ethernet 
10b7  1007   00   03   01   20   07   80   00   0b   3COM Corp, Networking Division             Communication - misc 
1013  6003   00   05   00   01   04   01   00   0b   Cirrus Logic                               Multimedia - Audio 
8086  7110   00   07   00   02   06   80   00   00   Intel Corp.                                Bridge - misc 
8086  7111   00   07   01   01   01   01   80   00   Intel Corp.                                Storage - IDE 
8086  7112   00   07   02   01   0c   03   00   0b   Intel Corp.                                Serial Bus - USB Universal HC 
8086  7113   00   07   03   03   06   80   00   00   Intel Corp.                                Bridge - misc 
5333  8c12   01   00   00   13   03   00   00   0b   S3 Graphics Co., Ltd.                      Display - VGA-compatible c. 
 
4M
Spoiler:

Code: Select all

K : Attach Interrupt 6 Handler 8003224D
K : Set IDE IRQ6 return code 8005F280
K : Channel 1 Disk 0
K : Dev: IBM-DJSA-220                             
K : PIO mode 00000003
K : Multiword DMA mode 00000007
K : Ultra DMA mode 0000041F
K : Channel 1 Disk 1
K : Channel 2 Disk 0
K : Dev: HITACHI DVD-ROM GD-S200                  
K : PIO mode 00000003
K : Multiword DMA mode 00000007
K : Ultra DMA mode 00000407
K : Channel 2 Disk 1
K : UHCI controller at 00:3A with 2 ports initialized
K : Attach Interrupt 11 Handler 8002EB6D
K : [41] UHCI 80B9182C connect status changed, 009B/0091
K : Attach Interrupt 1 Handler 80034460
K : IRQ1 error code 8005F2A8
K : Attach Interrupt 12 Handler 80B9F2E4
K : kernel SVN r4391
K : 1 CPU detected
K : BAR0 01F0 
K : BAR1 03F4 
K : BAR2 0170 
K : BAR3 0374 
K : BAR4 1C00 
K : IDEContrProgrammingInterface 0180 
K : IDE_Interrupt 0000 
K : Primary Bus Master IDE Status Register 00000020
K : Secondary Bus Master IDE Status Register 00000020
K : Attach Interrupt 14 Handler 8003332C
K : Set IDE IRQ14 return code 8005F2D0
K : Attach Interrupt 15 Handler 8003336C
K : Set IDE IRQ15 return code 8005F2E4
K : IDE CH1 DMA enabled
K : IDE CH2 PIO, because ATAPI drive present
K : IDE DMA mode
3C59X: Device is a vortex type
3C59X: I'm sorry but vortex code hasnt been tested yet
3C59X: Please contact me on hidnplayr@kolibrios.org
3C59X: If you can help me finish it!
K : [53] UHCI 80B9182C status 0280/0093
K : reset done at 53
K : [55] UHCI 80B9182C status 0095
K : address set in device
K : address set for controller
K : device descriptor: 12 01 00 02 00 00 00 40 A5 18 00 03 00 01 01 02 03 01
K : found USB device with ID 18A5:0300, 1 configuration(s)
K : config descriptor: 09 02 20 00 01 01 00 80 64 09 04 00 00 02 08 06 50 00 07 05 81 02 40 00 00 07 05 02 02 40 00 00
K : USB interface class/subclass/protocol = 08/06/50
K : USB mass storage device detected
K : 1 logical unit(s)
trying to add disk
its size is not specified, 10% from free RAM will be used
new DiskSize:  MB
operation completed successfully
K : Command 03 failed
K : media is ready
K : 1 attempts, 168 ticks
K : peripheral device type is 00
K : direct-access mass storage device detected
K : sector size is 512, last sector is 30283007
Loading cardbus driver
Searching for cardbus bridges...
Found cardbus bridge: bus=0x00000000, dev=0x00000010
Latency, bus,.. 0xB0080800
Capabilities offset=0xA0
Socket present state reg: 0x10
Cardbus KO
Found cardbus bridge: bus=0x00000000, dev=0x00000011
Latency, bus,.. 0xB0080800
Capabilities offset=0xA0
Socket present state reg: 0x06
Cardbus KO
Search complete
K : destroy app object
4M
Spoiler:

Code: Select all

   Don`t forget to enable PCI Access to Applications in Setup Menu.

PCI Version  = 2.10; Last PCI Bus = 9
User MMIO channel = 0F.F:F 
Number of PCI units = 0ch

VenID DevID Bus# Dev# Fnc Rev  Class  Subclass/ IRQ                 Company                      Description
                                      Interface
----- ----- ---- ---- --- ---  -----  --------- --- ------------------------------------------ --------------------------------
8086  7190   00   00   00   03   06   00   00   00   Intel Corp.                                Bridge - CPU/PCI 
8086  7191   00   01   00   03   06   04   00   00   Intel Corp.                                Bridge - PCI/PCI 
104c  ac1b   00   02   00   03   06   07   00   0b   TEXAS INSTRUMENTS                          Bridge - CarClassIDus 
104c  ac1b   00   02   01   03   06   07   00   0b   TEXAS INSTRUMENTS                          Bridge - CarClassIDus 
10b7  6056   00   03   00   20   02   00   00   0b   3COM Corp, Networking Division             Network - Ethernet 
10b7  1007   00   03   01   20   07   80   00   0b   3COM Corp, Networking Division             Communication - misc 
1013  6003   00   05   00   01   04   01   00   0b   Cirrus Logic                               Multimedia - Audio 
8086  7110   00   07   00   02   06   80   00   00   Intel Corp.                                Bridge - misc 
8086  7111   00   07   01   01   01   01   80   00   Intel Corp.                                Storage - IDE 
8086  7112   00   07   02   01   0c   03   00   0b   Intel Corp.                                Serial Bus - USB Universal HC 
8086  7113   00   07   03   03   06   80   00   00   Intel Corp.                                Bridge - misc 
5333  8c12   01   00   00   13   03   00   00   0b   S3 Graphics Co., Ltd.                      Display - VGA-compatible c. 
 
1394+USB2
Spoiler:

Code: Select all

K : Attach Interrupt 6 Handler 8003224D
K : Set IDE IRQ6 return code 8005F280
K : Channel 1 Disk 0
K : Dev: IBM-DJSA-220                             
K : PIO mode 00000003
K : Multiword DMA mode 00000007
K : Ultra DMA mode 0000041F
K : Channel 1 Disk 1
K : Channel 2 Disk 0
K : Dev: HITACHI DVD-ROM GD-S200                  
K : PIO mode 00000003
K : Multiword DMA mode 00000007
K : Ultra DMA mode 00000407
K : Channel 2 Disk 1
K : UHCI controller at 00:3A with 2 ports initialized
K : Attach Interrupt 11 Handler 8002EB6D
K : [37] UHCI 80B9182C connect status changed, 009B/0091
K : Attach Interrupt 1 Handler 80034460
K : IRQ1 error code 8005F2A8
K : Attach Interrupt 12 Handler 80B9F2E4
K : kernel SVN r4391
K : 1 CPU detected
K : BAR0 01F0 
K : BAR1 03F4 
K : BAR2 0170 
K : BAR3 0374 
K : BAR4 1C00 
K : IDEContrProgrammingInterface 0180 
K : IDE_Interrupt 0000 
K : Primary Bus Master IDE Status Register 00000020
K : Secondary Bus Master IDE Status Register 00000020
K : Attach Interrupt 14 Handler 8003332C
K : Set IDE IRQ14 return code 8005F2D0
K : Attach Interrupt 15 Handler 8003336C
K : Set IDE IRQ15 return code 8005F2E4
K : IDE CH1 DMA enabled
K : IDE CH2 PIO, because ATAPI drive present
K : IDE DMA mode
3C59X: Device is a vortex type
3C59X: I'm sorry but vortex code hasnt been tested yet
3C59X: Please contact me on hidnplayr@kolibrios.org
3C59X: If you can help me finish it!
K : [49] UHCI 80B9182C status 0280/0083
K : reset done at 49
K : [51] UHCI 80B9182C status 0095
K : address set in device
K : address set for controller
K : device descriptor: 12 01 00 02 00 00 00 40 A5 18 00 03 00 01 01 02 03 01
K : found USB device with ID 18A5:0300, 1 configuration(s)
K : config descriptor: 09 02 20 00 01 01 00 80 64 09 04 00 00 02 08 06 50 00 07 05 81 02 40 00 00 07 05 02 02 40 00 00
K : USB interface class/subclass/protocol = 08/06/50
K : USB mass storage device detected
K : 1 logical unit(s)
trying to add disk
its size is not specified, 10% from free RAM will be used
new DiskSize:  MB
operation completed successfully
K : Command 03 failed
K : media is ready
K : 1 attempts, 178 ticks
K : peripheral device type is 00
K : direct-access mass storage device detected
K : sector size is 512, last sector is 30283007
Loading cardbus driver
Searching for cardbus bridges...
Found cardbus bridge: bus=0x00000000, dev=0x00000010
Latency, bus,.. 0xB0080800
Capabilities offset=0xA0
Socket present state reg: 0x20
Card inserted
Resetting card
Interface is powered up
Writing 0x7EFFF000 to 0x0000001C
Writing 0x7EFFFFFF to 0x00000020
Writing 0x7EFFE000 to 0x00000024
Writing 0x7EFFE000 to 0x00000028
Writing 0x0000FC00 to 0x0000002C
Writing 0x0000FCFF to 0x00000030
Writing 0x00000000 to 0x00000034
Writing 0x00000000 to 0x00000038
Write posting enabled
Timeout!
Found cardbus bridge: bus=0x00000000, dev=0x00000011
Latency, bus,.. 0xB0080800
Capabilities offset=0xA0
Socket present state reg: 0x69
Card inserted
Resetting card
Interface is powered up
Writing 0x7EFFF000 to 0x0000001C
Writing 0x7EFFFFFF to 0x00000020
Writing 0x7EFFE000 to 0x00000024
Writing 0x7EFFE000 to 0x00000028
Writing 0x0000FC00 to 0x0000002C
Writing 0x0000FCFF to 0x00000030
Writing 0x00000000 to 0x00000034
Writing 0x00000000 to 0x00000038
Write posting enabled
Timeout!
Search complete
K : destroy app object
K : destroy app object
1394+USB2
Spoiler:

Code: Select all

   Don`t forget to enable PCI Access to Applications in Setup Menu.

PCI Version  = 2.10; Last PCI Bus = 9
User MMIO channel = 0F.F:F 
Number of PCI units = 0ch

VenID DevID Bus# Dev# Fnc Rev  Class  Subclass/ IRQ                 Company                      Description
                                      Interface
----- ----- ---- ---- --- ---  -----  --------- --- ------------------------------------------ --------------------------------
8086  7190   00   00   00   03   06   00   00   00   Intel Corp.                                Bridge - CPU/PCI 
8086  7191   00   01   00   03   06   04   00   00   Intel Corp.                                Bridge - PCI/PCI 
104c  ac1b   00   02   00   03   06   07   00   0b   TEXAS INSTRUMENTS                          Bridge - CarClassIDus 
104c  ac1b   00   02   01   03   06   07   00   0b   TEXAS INSTRUMENTS                          Bridge - CarClassIDus 
10b7  6056   00   03   00   20   02   00   00   0b   3COM Corp, Networking Division             Network - Ethernet 
10b7  1007   00   03   01   20   07   80   00   0b   3COM Corp, Networking Division             Communication - misc 
1013  6003   00   05   00   01   04   01   00   0b   Cirrus Logic                               Multimedia - Audio 
8086  7110   00   07   00   02   06   80   00   00   Intel Corp.                                Bridge - misc 
8086  7111   00   07   01   01   01   01   80   00   Intel Corp.                                Storage - IDE 
8086  7112   00   07   02   01   0c   03   00   0b   Intel Corp.                                Serial Bus - USB Universal HC 
8086  7113   00   07   03   03   06   80   00   00   Intel Corp.                                Bridge - misc 
5333  8c12   01   00   00   13   03   00   00   0b   S3 Graphics Co., Ltd.                      Display - VGA-compatible c. 
 
G630
Spoiler:

Code: Select all

K : Attach Interrupt 6 Handler 8003224D
K : Set IDE IRQ6 return code 8005F280
K : Channel 1 Disk 0
K : Dev: IBM-DJSA-220                             
K : PIO mode 00000003
K : Multiword DMA mode 00000007
K : Ultra DMA mode 0000041F
K : Channel 1 Disk 1
K : Channel 2 Disk 0
K : Dev: HITACHI DVD-ROM GD-S200                  
K : PIO mode 00000003
K : Multiword DMA mode 00000007
K : Ultra DMA mode 00000407
K : Channel 2 Disk 1
K : UHCI controller at 00:3A with 2 ports initialized
K : Attach Interrupt 11 Handler 8002EB6D
K : [39] UHCI 80B9182C connect status changed, 009B/0091
K : Attach Interrupt 1 Handler 80034460
K : IRQ1 error code 8005F2A8
K : Attach Interrupt 12 Handler 80B9F2E4
K : kernel SVN r4391
K : 1 CPU detected
K : BAR0 01F0 
K : BAR1 03F4 
K : BAR2 0170 
K : BAR3 0374 
K : BAR4 1C00 
K : IDEContrProgrammingInterface 0180 
K : IDE_Interrupt 0000 
K : Primary Bus Master IDE Status Register 00000020
K : Secondary Bus Master IDE Status Register 00000020
K : Attach Interrupt 14 Handler 8003332C
K : Set IDE IRQ14 return code 8005F2D0
K : Attach Interrupt 15 Handler 8003336C
K : Set IDE IRQ15 return code 8005F2E4
K : IDE CH1 DMA enabled
K : IDE CH2 PIO, because ATAPI drive present
K : IDE DMA mode
3C59X: Device is a vortex type
3C59X: I'm sorry but vortex code hasnt been tested yet
3C59X: Please contact me on hidnplayr@kolibrios.org
3C59X: If you can help me finish it!
K : [51] UHCI 80B9182C status 0280/0093
K : reset done at 51
K : [53] UHCI 80B9182C status 0095
K : address set in device
K : address set for controller
K : device descriptor: 12 01 00 02 00 00 00 40 A5 18 00 03 00 01 01 02 03 01
K : found USB device with ID 18A5:0300, 1 configuration(s)
K : config descriptor: 09 02 20 00 01 01 00 80 64 09 04 00 00 02 08 06 50 00 07 05 81 02 40 00 00 07 05 02 02 40 00 00
K : USB interface class/subclass/protocol = 08/06/50
K : USB mass storage device detected
K : 1 logical unit(s)
trying to add disk
its size is not specified, 10% from free RAM will be used
new DiskSize:  MB
operation completed successfully
K : Command 03 failed
K : media is ready
K : 1 attempts, 177 ticks
K : peripheral device type is 00
K : direct-access mass storage device detected
K : sector size is 512, last sector is 30283007
Loading cardbus driver
Searching for cardbus bridges...
Found cardbus bridge: bus=0x00000000, dev=0x00000010
Latency, bus,.. 0xB0080800
Capabilities offset=0xA0
Socket present state reg: 0x20
Card inserted
Resetting card
Interface is powered up
Writing 0x7EFFF000 to 0x0000001C
Writing 0x7EFFFFFF to 0x00000020
Writing 0x7EFFE000 to 0x00000024
Writing 0x7EFFE000 to 0x00000028
Writing 0x0000FC00 to 0x0000002C
Writing 0x0000FCFF to 0x00000030
Writing 0x00000000 to 0x00000034
Writing 0x00000000 to 0x00000038
Write posting enabled
Timeout!
Found cardbus bridge: bus=0x00000000, dev=0x00000011
Latency, bus,.. 0xB0080800
Capabilities offset=0xA0
Socket present state reg: 0x69
Card inserted
Resetting card
Interface is powered up
Writing 0x7EFFF000 to 0x0000001C
Writing 0x7EFFFFFF to 0x00000020
Writing 0x7EFFE000 to 0x00000024
Writing 0x7EFFE000 to 0x00000028
Writing 0x0000FC00 to 0x0000002C
Writing 0x0000FCFF to 0x00000030
Writing 0x00000000 to 0x00000034
Writing 0x00000000 to 0x00000038
Write posting enabled
Timeout!
Search complete
G630
Spoiler:

Code: Select all

   Don`t forget to enable PCI Access to Applications in Setup Menu.

PCI Version  = 2.10; Last PCI Bus = 9
User MMIO channel = 0F.F:F 
Number of PCI units = 0ch

VenID DevID Bus# Dev# Fnc Rev  Class  Subclass/ IRQ                 Company                      Description
                                      Interface
----- ----- ---- ---- --- ---  -----  --------- --- ------------------------------------------ --------------------------------
8086  7190   00   00   00   03   06   00   00   00   Intel Corp.                                Bridge - CPU/PCI 
8086  7191   00   01   00   03   06   04   00   00   Intel Corp.                                Bridge - PCI/PCI 
104c  ac1b   00   02   00   03   06   07   00   0b   TEXAS INSTRUMENTS                          Bridge - CarClassIDus 
104c  ac1b   00   02   01   03   06   07   00   0b   TEXAS INSTRUMENTS                          Bridge - CarClassIDus 
10b7  6056   00   03   00   20   02   00   00   0b   3COM Corp, Networking Division             Network - Ethernet 
10b7  1007   00   03   01   20   07   80   00   0b   3COM Corp, Networking Division             Communication - misc 
1013  6003   00   05   00   01   04   01   00   0b   Cirrus Logic                               Multimedia - Audio 
8086  7110   00   07   00   02   06   80   00   00   Intel Corp.                                Bridge - misc 
8086  7111   00   07   01   01   01   01   80   00   Intel Corp.                                Storage - IDE 
8086  7112   00   07   02   01   0c   03   00   0b   Intel Corp.                                Serial Bus - USB Universal HC 
8086  7113   00   07   03   03   06   80   00   00   Intel Corp.                                Bridge - misc 
5333  8c12   01   00   00   13   03   00   00   0b   S3 Graphics Co., Ltd.                      Display - VGA-compatible c. 
 
Hope it helps,
MM

Re: PCMCIA/CardBus/PC-Card driver

Posted: Fri Jan 17, 2014 1:15 pm
by hidnplayr
Your computer shows very similar behaviour to one of my test machines, and G@K's computer.
(Initialisation of the PCI/PCMCIA bridge results in timeout)
I'll post in this thread when that problem might be fixed...

I also see you have an integrated ethernet card for which I have yet to finish the driver :)

Much work.. much work....

Re: PCMCIA/CardBus/PC-Card driver

Posted: Sat Jan 18, 2014 1:46 am
by MustardMan
Hi hidnplar,

I do think that PCMCIA cards are sadly a thing of the past. Finding a PCMCIA adapter for a modern computer is not that easy any more! I suppose as electronics shrink, there is no longer a need for such a 'clunky' card. More function can fit on an SD "card" these days... the eye-fi for example...

As I said, my two boat-anchor laptops (T20 & T22) are the only PCMCIA slots I have. All my other (newer) laptops have neglected this nicety... and they have also neglected a serial port & parallel port... the reason why I still use the old one. Having a portable TTY is nice.

I don't use the ethernet port and many other things on this. They were probably cutting edge at the time : IR port, modem port (phone connection), video out (YC).

Don't get too worked up about creating/finishing drivers for this clunker! I'm only too glad to help out testing stuff when I can though.

Cheers,
Owen.

Re: PCMCIA/CardBus/PC-Card driver

Posted: Sat Jan 18, 2014 3:00 pm
by hidnplayr
It's not high on the priority list, but PCMCIA is usefull for old laptops and some mini-itx boards.
I have a pentium-II based laptop with 64Mb of RAM, it would serve nice as minimalist KolibriOS test bed, but has no integrated ethernet.

The PCMCIA driver was ported from HWTEST program (https://sites.google.com/site/pfranz73/)
Unfortunately it only works with one chipset, unless I made an error in the port.
I will upload sources to the SVN server, if somebody is brave enough to read full PCMCIA spec, they can fix it :)

Re: PCMCIA/CardBus/PC-Card driver

Posted: Sat Jan 18, 2014 3:47 pm
by yogev_ezra
MustardMan wrote:I tested some of the PCMCIA cards that I had.
Since I am limited to 3 attachments, all the files are included in-line.
Hi,
I placed your test logs inside

Code: Select all

[spoiler][/spoiler]
tag because it made the post too long.
In the future, if you want to attach more than 3 attachments, you can just place them all inside 7zip archive - such way it would become only 1 file :-)