Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 28 Aug 2014, 09:23
All times are UTC - 4
 Forum index » Advanced Topics » Hardware
My 2 pcmcia-cards don't work
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Author Message
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Thu 30 Dec 2010, 13:13    Post subject:  My 2 pcmcia-cards don't work  

I have two pcmcia cards. The one is a USB-2.0-pcmcia-cardbus-card. The other is a TP.-Link 10/100-fast-ethernet-adapter TF-5239. Both don't work under puppy wary 5.

First I tried the USB-2.0-pcmcia-cardbus-card. I used the wakepup disk image to boot. And i found out that the USB-card works under freedos. So the question is: How come that it doesn't work under puppy wary 5?

This is lsmod-output:
    Module Size Used by
    snd 56292 0
    soundcore 7008 1 snd
    usbhid 26944 0
    usbcore 143472 1 usbhid
    battery 9872 0
    evdev 9536 0
    serio_raw 5264 0
    pcspkr 2348 0
    apm 16648 1
    fuse 58888 0
    aufs 153580 480
    nls_iso8859_1 3724 1
    nls_cp437 5356 0
    squashfs 22480 1
    yenta_socket 23928 2
    rsrc_nonstatic 11436 1 yenta_socket
    nls_cp850 4524 1

This is lspci-output:
    00:00.0 Host bridge: PicoPower Technology National PC87550 System Controller (rev 02)
    00:02.0 VGA compatible controller: S3 Inc. 86cM65 [Aurora64V+] (rev 43)
    00:04.0 CardBus bridge: Texas Instruments PCI1131 (rev 01)
    00:04.1 CardBus bridge: Texas Instruments PCI1131 (rev 01)
    00:05.0 ISA bridge: PicoPower Technology PT86C523 [Vesuvius v3] PCI-ISA Bridge Slave
    00:06.0 IDE interface: Silicon Image, Inc. PCI0643

This is part of dmesg:
    yenta_cardbus 0000:00:04.0: CardBus bridge found [0000:0000]
    yenta_cardbus 0000:00:04.0: no PCI IRQ, CardBus support disabled for this socket.
    yenta_cardbus 0000:00:04.0: check your BIOS CardBus, BIOS IRQ or ACPI settings.
    yenta_cardbus 0000:00:04.0: ISA IRQ mask 0x06b8, PCI irq 0
    yenta_cardbus 0000:00:04.0: Socket status: 30000006
    yenta_cardbus 0000:00:04.1: CardBus bridge found [0000:0000]
    yenta_cardbus 0000:00:04.1: no PCI IRQ, CardBus support disabled for this socket.
    yenta_cardbus 0000:00:04.1: check your BIOS CardBus, BIOS IRQ or ACPI settings.
    input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input1
    yenta_cardbus 0000:00:04.1: ISA IRQ mask 0x06b8, PCI irq 0
    yenta_cardbus 0000:00:04.1: Socket status: 30000020
    pcmcia_socket pcmcia_socket1: cs: cardbus cards are not supported.

I should mention there is a PCMCIA-Cardbus PCI 1131 (TexasInstruments).
Any ideas to get the pcmcia-cards work?
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Tue 04 Jan 2011, 07:20    Post subject: http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO.html  

I found this pcmcia howto in the web.
http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO.html

And so i found this pcmcia-cs-3.2.8-package.
It contains some pcmcia-debug tools.

I typed in my shell: # uname -r
So i know: my kernel is a 2.6.31.14

And so i compiled this package.
Now i've built this pet:
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Tue 04 Jan 2011, 17:26    Post subject:  

This seems to be the last version of pcmcia-cs at http://sourceforge.net/projects/pcmcia-cs
But i think i won't need it...

Last edited by germanix on Thu 06 Jan 2011, 15:36; edited 4 times in total
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Tue 04 Jan 2011, 19:10    Post subject: latest howtos & sources  

Now, these are the latest HOWTOs which i could find:

Linux Kernel 2.6 PCMCIA
Linux Kernel 2.6 PCMCIA - mini-HOWTO
Linux Kernel 2.6 PCMCIA: cardmgr to pcmciautils HowTo


So we need these pets to install:

sysfsutils-2.1.0-w5.pet and perhaps sysfsutils_DOC-2.1.0-w5.pet
module-init-tools-3.11.1-w5.pet and perhaps module-init-tools_DOC-3.11.1-w5.pet
pcmciautils-016-w5.pet and perhaps pcmciautils_DOC-016-w5.pet

This seems to be better...
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Wed 05 Jan 2011, 11:52    Post subject:  

There are more informations in the internet:

wikipedia: pc_card
PCMCIA/PC Card and CardBus FAQ
official pcmcia association
linux pcmcia
pcmcia pinouts
pccard pinouts
ExpressCard Tools for Developers
Linux PCMCIA Programmer's Guide
CardBus

Last edited by germanix on Thu 06 Jan 2011, 19:01; edited 3 times in total
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Thu 06 Jan 2011, 18:38    Post subject:  

It's important to know, whether the PC Card is a Cardbus or 16-bit-Card:
"CardBus PC Cards have an extra metal grounding strip on top of the cards right over the connector. 16-bit PC Cards do not have this connector."

It's also important to know, whether the PC Card host computer has CardBus or 16-bit, because you cannot run a CardBus PC Card in a 16-bit PC Card slot:
On linux: You should run the hardware information of your system and search for "PCI-Devices". There schould be an entry. Or you use the lspci command
But almost all CardBus hosts will accept a 16-bit card.

In my case: My cards are both Cardbus-PC-Cards and I have 2 cardbus slots (both: Texas Instruments PCI1131).
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Fri 07 Jan 2011, 02:59    Post subject:  

Hi germanix

The good news is you don't have 5v 16bit pcmcia as later 3.3v pcmcia/cardbus cards won't plug in!

The PCI1131 is a bridge between the PCI system bus and two PC Card sockets, but no guarantee the sockets are 32 bit cardbus or 16 bit pcmcia.

It could be a bios issue, or acpi as your logs suggest

Quote:
check your BIOS CardBus, BIOS IRQ or ACPI settings.


however it also says:-

Quote:
pcmcia_socket pcmcia_socket1: cs: cardbus cards are not supported.

I'd check the bios first and see if there are any settings to enable it, acpi, or irq - turn off plug'n'pray [sorry - play]

puppy sometimes needs boot parameters set at the 5 second startup page, type:

puppy acpi=force, or acpi=noirq, or acpi=off

also try adding after whichever acpi doesn't cause problems:

pci=biosirq, or irqpoll, or routeirq

Sorry not to be more specific, but hardware and bois's vary a lot
Some bios settings need 'quickboot' set to off, if you have that type of bios?

I'm afraid puppy's boot params page is out of date

http://puppylinux.org/wikka/BootParams

HTH

Perhaps if you post the actual make and model of the Laptop, it would help identify its pcmcia specs?

You may need to be lucky enough to locate 16 bit pcmcia Lancard/usb cards

Xircom CreditCard Ethernet 10/100 with dongle

more info

http://www.quatech.com/support/comm-over-pcmcia.php

Aitch Smile
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Fri 07 Jan 2011, 08:36    Post subject:  

Thank you for replying.
Quote:
The PCI1131 is a bridge between the PCI system bus and two PC Card sockets, but no guarantee the sockets are 32 bit cardbus or 16 bit pcmcia.

It's a 32 bit Cardbus bridge. And it did work under freedos. See my lspci-output above:
    00:04.0 CardBus bridge: Texas Instruments PCI1131 (rev 01)
    00:04.1 CardBus bridge: Texas Instruments PCI1131 (rev 01)

But you are right, it could be a bios issue or acpi or irq issue. The laptop is an old CANON BN 750. There are no special cardbus bios settings to enable it.
I didn't post it, but I tried different boot parameters. I use grub4dos to start puppy linux. And I started vmlinuz with these options:
    pci=biosirq
    => booting process stopped

    pci=acpi
    => booting, no special effects, no success

    acpi=off pci=bios
    => booting, no special effects, no success

    acpi=off pci=irqmask=0x02b8
    => There I've found a good explanation for these settings.
    => I tried different irqmasks, no special effects, no success

But I've found in my dmesg some more interesting informations:
    Allocating PCI resources starting at 4000000 (gap: 4000000:fbfc0000)

    PCI: PCI BIOS revision 2.10 entry at 0xeb070, last bus=2
    PCI: Using configuration type 1 for base access

    PCI: Probing PCI hardware
    PCI: Probing PCI hardware (bus 00)

    pci 0000:00:00.0: reg 10 io port: [0x3000-0x301f]
    pci 0000:00:02.0: reg 10 32bit mmio: [0x80000000-0x83ffffff]
    pci 0000:00:02.0: reg 30 32bit mmio: [0xc000000-0xc00ffff]
    pci 0000:00:04.0: reg 10 32bit mmio: [0x000000-0x000fff]
    pci 0000:00:04.1: reg 10 32bit mmio: [0x000000-0x000fff]
    pci 0000:00:06.0: reg 10 io port: [0x1f0-0x1ff]
    pci 0000:00:06.0: reg 14 io port: [0x3f4-0x3f7]
    pci 0000:00:06.0: reg 18 io port: [0x170-0x17f]
    pci 0000:00:06.0: reg 1c io port: [0x374-0x377]
    pci 0000:00:06.0: reg 20 io port: [0x500-0x50f]

    pci 0000:00:04.0: CardBus bridge, secondary bus 0000:01
    pci 0000:00:04.0: IO window: 0x001000-0x0010ff
    pci 0000:00:04.0: IO window: 0x001400-0x0014ff
    pci 0000:00:04.0: PREFETCH window: 0x4000000-0x7ffffff
    pci 0000:00:04.0: MEM window: 0x8000000-0xbffffff
    pci 0000:00:04.1: CardBus bridge, secondary bus 0000:05
    pci 0000:00:04.1: IO window: 0x001800-0x0018ff
    pci 0000:00:04.1: IO window: 0x001c00-0x001cff
    pci 0000:00:04.1: PREFETCH window: 0x10000000-0x13ffffff
    pci 0000:00:04.1: MEM window: 0x14000000-0x17ffffff
    pci 0000:00:04.0: can't find IRQ for PCI INT A; please try using pci=biosirq
    pci 0000:00:04.0: setting latency timer to 64
    pci 0000:00:04.1: can't find IRQ for PCI INT B; please try using pci=biosirq
    pci_bus 0000:00: resource 0 io: [0x00-0xffff]
    pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
    pci_bus 0000:01: resource 0 io: [0x1000-0x10ff]
    pci_bus 0000:01: resource 1 io: [0x1400-0x14ff]
    pci_bus 0000:01: resource 2 pref mem [0x4000000-0x7ffffff]
    pci_bus 0000:01: resource 3 mem: [0x8000000-0xbffffff]
    pci_bus 0000:05: resource 0 io: [0x1800-0x18ff]
    pci_bus 0000:05: resource 1 io: [0x1c00-0x1cff]
    pci_bus 0000:05: resource 2 pref mem [0x10000000-0x13ffffff]
    pci_bus 0000:05: resource 3 mem: [0x14000000-0x17ffffff]

    pci 0000:00:02.0: Boot video device
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found

    yenta_cardbus 0000:00:04.0: CardBus bridge found [0000:0000]
    yenta_cardbus 0000:00:04.0: no PCI IRQ, CardBus support disabled for this socket.
    yenta_cardbus 0000:00:04.0: check your BIOS CardBus, BIOS IRQ or ACPI settings.
    yenta_cardbus 0000:00:04.0: ISA IRQ mask 0x06b8, PCI irq 0
    yenta_cardbus 0000:00:04.0: Socket status: 30000006
    yenta_cardbus 0000:00:04.1: CardBus bridge found [0000:0000]
    yenta_cardbus 0000:00:04.1: no PCI IRQ, CardBus support disabled for this socket.
    yenta_cardbus 0000:00:04.1: check your BIOS CardBus, BIOS IRQ or ACPI settings.
    input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input1
    yenta_cardbus 0000:00:04.1: ISA IRQ mask 0x06b8, PCI irq 0
    yenta_cardbus 0000:00:04.1: Socket status: 30000020
    pcmcia_socket pcmcia_socket1: cs: cardbus cards are not supported.

    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    usbcore: registered new interface driver hiddev
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcff: clean.
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: clean.
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: excluding 0x220-0x22f 0x278-0x27f 0x330-0x337 0x340-0x35f 0x378-0x37f 0x388-0x38f
    pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
    pcmcia_socket pcmcia_socket1: cs: IO port probe 0xc00-0xcff: clean.
    pcmcia_socket pcmcia_socket1: cs: IO port probe 0x820-0x8ff: clean.
    pcmcia_socket pcmcia_socket1: cs: IO port probe 0x3e0-0x4ff: clean.
    pcmcia_socket pcmcia_socket1: cs: IO port probe 0x100-0x3af: excluding 0x220-0x22f 0x278-0x27f 0x330-0x337 0x340-0x35f 0x378-0x37f 0x388-0x38f
    pcmcia_socket pcmcia_socket1: cs: IO port probe 0xa00-0xaff: clean.
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Fri 07 Jan 2011, 16:22    Post subject:  

I think you may need tempestuous's help on this, as I'm now at the end of my knowledge

http://www.murga-linux.com/puppy/profile.php?mode=viewprofile&u=217

I can't find anything useful for that laptop, except:

http://reviews.cnet.com/laptops/canon-libris-bn-750/1707-3121_7-30000062.html

It may just be that we're barking up the wrong tree and it's a driver issue for the cards you trying to put in.....

Aitch Smile
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Sat 08 Jan 2011, 04:20    Post subject:  

Thank you for your reply.
I think there are two steps.

1) Loading modules for the pcmcia-cards:
This should be for the one card only 8139too. So I think there's no problem.
The other card might need no special module.

2) Loading modules for bridges:
During booting process there is loaded this pcmcia-module yenta_socket.
I tried to remove it using shell-console: # rmmod yenta_socket
Then there occurs an error that it cannot be removed.
Because there are two other modules in use: pcmcia_core and rsrc_nonstatic.
So I suppose that pcmcia_core is implemented in the linux kernel.

Then I found out that there should be a special module for this CardBus bridge: Texas Instruments PCI1131.
This module should be implemented in module i82365. So I tried to load i82365, but there occurs an error. Suspect.

=> So now, what to do?
There is a good idea to try early/older puppies. Perhaps their pcmcia support is a better one.
Then I'll have a look inside of these older pcmcia-cs packages.
And I'll have a look inside of these pcmciautils-packages.
Perhaps I can get more informations there.
Or I can compile with other options (e.g. supporting hotplug instead of udev or s.th. like this)
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sat 08 Jan 2011, 07:11    Post subject:  

Quote:
=> So now, what to do?


I've PM'd tempestuous, with a link here Wink

good luck

Aitch Smile
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5238
Location: Australia

PostPosted: Sat 08 Jan 2011, 16:03    Post subject:  

pcmcia troubleshooting information here
http://www.murga-linux.com/puppy/viewtopic.php?p=31707#31707
see the "July 2008 update" section.

And forum member tubby reports that pcmcia services fail to be initialised in Puppy 5.1.x
http://murga-linux.com/puppy/viewtopic.php?p=461413#461413
tubby's fix is consistent with the diagnostic commands I explained above.
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sun 09 Jan 2011, 19:18    Post subject:  

Thanks, tempestuous

Aitch Smile
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Sun 09 Jan 2011, 19:41    Post subject:  

I've tried what you've suggested. But no success.
Code:
pccardctl eject
pccardctl insert
pccardctl status
pccardctl ident

I cannot see my device listed.
I restarted pcmciautils
Code:
pcmcia-socket-startup


The "CardBus bridge: Texas Instruments PCI1131" seems to be managed by the yenta_socket-module.
But I cannot see the cards.
So what to do now?
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Fri 14 Jan 2011, 22:41    Post subject:  

It seems that NO cardbus cards are supported by puppy linux till now,
because of the special compiling of puppy linux...
Strange, isn't it?Sad
Otherwise someone (e.g. Mr. tempestuous) would have answered...
Thank you.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1039s ][ Queries: 13 (0.0043s) ][ GZIP on ]