site  contact  subhomenews

PCMCIA questions

May 10, 2011 — BarryK
There are some people who have reported problems with PCMCIA (pccard) in recent puppies, but it worked with Puppy 4.3.1.

I recall in the forum, a couple of people reported that if they uncomment line 16 in /etc/init.d/rc.pcmcia:

pcmcia-socket-startup

then rebooted, PCMCIA worked.

I want to find someone who is in this situation, to do a test for me.

Firstly, comment-out that line, if not already, and reboot if you have had to comment it out.

Question 1
Then look in /sys/class, do you see pcmcia_socket/pcmcia_socket0?

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)

Question 3
Then, if you uncomment that line, then reboot, look again in /sys/class, do you get pcmcia_socket?

Comments

PCMCIA replies
Username: BarryK
I have had some feedback on the forum: http://murga-linux.com/puppy/viewtopic.php?t=67696 Puppy 4.3.1 has the line "pcmcia-socket-startup" in /etc/init.d/rc.pcmcia, but later puppies have that line commented-out. 'pcmcia-socket-startup' does not normally need to be executed, I think only for older PCMCIA slot interfaces that require firmware (.cis files in /lib/firmware) to be loaded. 'pcmcia-socket-startup' execution is now supposed to be triggered via a udev rule (see /etc/udev/rules.d/85-pcmcia.rules or /lib/udev/rules.d/60-pcmcia.rules). However, the code in /etc/rc.d/rc.sysinit is not replaying the pcmcia kernel uevents. There is code in there to do the replay, but there seems to have been a change in the layout in /sys. Anyway, after getting feedback from vickyg2003, I can see how to do the replay, and have put a fix in to /etc/rc.d/rc.sysinit.

PCMCIA fix confirmed
Username: BarryK
"Forum member Keef has also confirmed that the fix works. This is very good.


Tags: wary