Trouble getting PCMCIA slot recognized in a recent Puppy?

Please post any bugs you have found
Post Reply
Message
Author
User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Trouble getting PCMCIA slot recognized in a recent Puppy?

#1 Post by BarryK »

I need assistance from someone who has experienced trouble with getting their PCMCIA slot to be recognized with a recent Puppy, but who did have it recognized with an older Puppy (say 4.3.1).

See my blog post for test questions:

http://bkhome.org/blog/?viewDetailed=02274

Please note that my request is for recognition of the slot itself, not whatever card is plugged in. They are actually two different issues.
[url]https://bkhome.org/news/[/url]

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#2 Post by Keef »

Read the blog first and wrote this up - not sure its what you want now, but here it is anyway. (Can't mount CF card in adapter on the recent pups without the edit).

Quirky 421
Compaq Armada M700 PIII 450

Booted clean frugal install (pfix=ram):

#pcmcia-socket-startup

/sys/class/pcmcia_socket/
pcmcia_socket0
pcmcia_socket1

Output of elspci -l
01:00.0 030000 1002:4C4D <>
00:09.1 070000 11C1:0445 <ltmodem>
00:09.0 020000 8086:1229 <e100>
00:08.0 040100 125D:1978 <>
00:07.3 068000 8086:7113 <piix4_smbus>
00:07.2 0C0300 8086:7112 <uhci_hcd>
00:07.1 010180 8086:7111 <ata_piix>
00:07.0 068000 8086:7110 <>
00:04.1 060700 104C:AC1B <yenta_cardbus>
00:04.0 060700 104C:AC1B <yenta_cardbus>
00:01.0 060400 8086:7191 <>
00:00.0 060000 8086:7190 <agpgart-intel>

---------------
Uncomment following line, save & reboot:
pcmcia-socket-startup

/sys/class/pcmcia_socket/
pcmcia_socket0
pcmcia_socket1

Output of elspci -l
01:00.0 030000 1002:4C4D <>
00:09.1 070000 11C1:0445 <ltmodem>
00:09.0 020000 8086:1229 <e100>
00:08.0 040100 125D:1978 <ES1968 (ESS Maestro)>
00:07.3 068000 8086:7113 <piix4_smbus>
00:07.2 0C0300 8086:7112 <uhci_hcd>
00:07.1 010180 8086:7111 <ata_piix>
00:07.0 068000 8086:7110 <>
00:04.1 060700 104C:AC1B <yenta_cardbus>
00:04.0 060700 104C:AC1B <yenta_cardbus>
00:01.0 060400 8086:7191 <>
00:00.0 060000 8086:7190 <agpgart-intel>
--------------------------------------------------------
Hardinfo report (in case its useful):
PCI Devices
Host bridge Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
PCI bridge Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge
CardBus bridge Texas Instruments PCI1450
CardBus bridge Texas Instruments PCI1450
Bridge Intel Corporation 82371AB/EB/MB PIIX4 ISA
IDE interface Intel Corporation 82371AB/EB/MB PIIX4 IDE
USB Controller Intel Corporation 82371AB/EB/MB PIIX4 USB
Bridge Intel Corporation 82371AB/EB/MB PIIX4 ACPI
Multimedia audio controller ESS Technology ES1978 Maestro 2E
Ethernet controller Intel Corporation 82557/8/9/0/1 Ethernet Pro 100
Serial controller Agere Systems LT WinModem
VGA compatible controller ATI Technologies Inc Rage Mobility P/M AGP 2x

User avatar
vickyg2003
Posts: 63
Joined: Sat 30 Apr 2011, 02:18

#3 Post by vickyg2003 »

Answer from Lucid Puppy 5.2.5
Question 1
Then look in /sys/class, do you see pcmcia_socket/pcmcia_socket0?
Yes both 0 and 1

(Do you think its those of us with 2 pcmcia slots that are problematic)


Question 2
Run this in a terminal:
# elspci -l
(that is letter l on the end)
You should see a line with <yenta_socket> on it, can you please post that entire line here or the forum.



EDIT:
Better yet, send the entire output from running "elspci -l" (highlight text in terminal by holding left-mouse-button down and drag, then click the middle-mouse-button to paste)
no I don't see the socket. However I don't have a middle button on my mouse (new mouse is on order) so have attached screen shot.

Question 3
Then, if you uncomment uncomment line 16 in /etc/init.d/rc.pcmcia:
pcmcia-socket-startup

then reboot, look again in /sys/class, do you get pcmcia_socket?

If I uncomment that line an reboot card is recognized and orinco_cs is selected.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#4 Post by BarryK »

I think that I know how to fix the problem....

Keef,
If I could trouble you to do one more thing. Comment-out that "pcmcia-socket-startup" line, then reboot.

So, you now have a non-functioning PCMCIA slot.

Open a terminal and type this:

Code: Select all

# udevadm trigger --subsystem-match="pcmcia*"
wait a few seconds, then... is your PCMCIA card now recognised? -- running "elspci -l", you should see the line with "ESS Maestro" in it.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#5 Post by BarryK »

vivkyg2003,
Thanks for responding, your post overlapped my previous one.

Would you mind also trying that thing with "udevadm"?

A note on "mice", yeah the middle button is most helpful with Linux, it pastes currently-highlighted text.

Most scroll-wheel mice also support the middle button -- my Logitech scrollwheel mouse, the scrollwheel can be clicked by pressing on it, so is also a middle button.

User avatar
vickyg2003
Posts: 63
Joined: Sat 30 Apr 2011, 02:18

#6 Post by vickyg2003 »

BarryK wrote:I think that I know how to fix the problem....

If I could trouble you to do one more thing. Comment-out that "pcmcia-socket-startup" line, then reboot.

So, you now have a non-functioning PCMCIA slot.

Open a terminal and type this:

Code: Select all

# udevadm trigger --subsystem-match="pcmcia*"
wait a few seconds, then... is your PCMCIA card now recognised? -- running
Yes it started blinking within a second.
"elspci -l", you should see the line with "ESS Maestro" in it.
Nope

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#7 Post by BarryK »

That "ESS Maestro" was a reply to Keef, he/she has a ESS modem card plugged into the PCMCIA slot.

Anyway, thanks for the feedback. That's great, I know how to fix it.
[url]https://bkhome.org/news/[/url]

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#8 Post by Keef »

Just to confirm that:

Code: Select all

udevadm trigger --subsystem-match="pcmcia*"
worked for me too.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#9 Post by rcrsn51 »

BarryK wrote:# udevadm trigger --subsystem-match="pcmcia*"
This is interesting. There have been numerous reports of problems with recent Woof-built Puppies not detecting USB devices if they are already powered-on at boot-up.

I have seen this with certain printer-scanners where sane-find-scanner cannot detect the device, even though it is listed in lsusb and /sys/bus/usb.

A restart of the device makes it visible. This occurs in Wary 511, but not in older Puppies like Quirky 1.1.

However

Code: Select all

 udevadm trigger --subsystem-match="usb*"
solves the problem without requiring a restart.

User avatar
vickyg2003
Posts: 63
Joined: Sat 30 Apr 2011, 02:18

#10 Post by vickyg2003 »

I did a google search trying to understand what this command is doing, but that didn't help. What does this do?

I'm totally new to linux, and now that my puppy is working and doing exactly what I wanted to accomplish, I'd really like to become an informed user.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#11 Post by BarryK »

rcrsn51 wrote:
BarryK wrote:# udevadm trigger --subsystem-match="pcmcia*"
This is interesting. There have been numerous reports of problems with recent Woof-built Puppies not detecting USB devices if they are already powered-on at boot-up.

I have seen this with certain printer-scanners where sane-find-scanner cannot detect the device, even though it is listed in lsusb and /sys/bus/usb.

A restart of the device makes it visible. This occurs in Wary 511, but not in older Puppies like Quirky 1.1.

However

Code: Select all

 udevadm trigger --subsystem-match="usb*"
solves the problem without requiring a restart.
rc.sysinit in Woof has --subsystem-match=usb, but I have now appended the *. The full line is now:

udevadm trigger --action=add --subsystem-match="pcmcia*" --subsystem-match="usb*" #110513
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#12 Post by BarryK »

vickyg2003 wrote:I did a google search trying to understand what this command is doing, but that didn't help. What does this do?

I'm totally new to linux, and now that my puppy is working and doing exactly what I wanted to accomplish, I'd really like to become an informed user.
In google, type "man udevadm" to find the man page. It will take awhile to understand this stuff though.
[url]https://bkhome.org/news/[/url]

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#13 Post by tempestuous »

It's great that the PCMCIA problem in Woof/Lupu appears close to being fixed ...
but I point out that there have been a few reports that simply getting the PCMCIA system initialised still did not provide a fix in certain cases.
peebee reported that an updated pcmciautils Lucid deb package was necessary -
http://www.murga-linux.com/puppy/viewto ... 392#446392

and germanix went a step further by compiling various updated pcmciautils packages from scratch
http://www.murga-linux.com/puppy/viewto ... 425#488425

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#14 Post by tempestuous »

... and has anyone noticed that there have been quite a few reported instances of dhcpcd failures in Puppy 5.1/5.2?

Post Reply