Author Topic: Get PCMCIA 3COM 3C3FEM556C Ethernet / Modem card to work with IBM Thinkpad 600E  (Read 3036 times)

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
HA! We got somewhere!

Hootiegibbon told me to run something :P...

Quote
[root@wishthinkpad andrzejl]# pcmcia-socket-startup
[root@wishthinkpad andrzejl]# pccardctl info
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255
PRODID_1="3Com"
PRODID_2="Megahertz 3CCFEM556"
PRODID_3="LAN + 56k Modem"
PRODID_4=""
MANFID=0101,0556
FUNCID=6

[root@wishthinkpad andrzejl]# pccardctl status
Socket 0:
  no card
Socket 1:
  5.0V 16-bit PC Card
  Subdevice 0 (function 0) bound to driver "3c574_cs"
  Subdevice 1 (function 1) bound to driver "serial_cs"

[root@wishthinkpad andrzejl]#

And the card shows up in pcc now :P

Quote
                        ┌ Network & Internet Configuration ──────────────────┐
                         │                                                                                                    │
                         │  Ethernet                                                                                    │
                         │                                                                                                    │
                         │  Select the network interface to configure:                                │
                         │                                                                                                    │
                         │  wlan0: 3Com Megahertz 3CCFEM556 LAN + 56k Modem          │
                         │  eth0: 3Com Megahertz 3CCFEM556 LAN + 56k Modem            │
                         │                                                                                                     │
                         │                                                                                                     │
                         │                                                                                                     │
                         │ < Previous > < Next >                                                                │
                         └───────────────────────────────────────────────────-----─┘

I think I have to get the LAN cable now :P :D!

Good one! :D

Andy


Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Hehe... To early to be happy.

After reboot there was no network so I ran

Code: [Select]
pcmcia-socket-startup
and all was peachy eth0 appeared...

So I added the command to

Code: [Select]
/etc/rc.local
to be executed at boot time.

After reboot laptop froze after loading LXDE. I rebooted with the card removed and laptop started up just fine. I plugged in the card, ran the command and the card started working. I removed the command from rc.local file and rebooted with card plugged in - booted fine.

I ran the command as root after it booted - laptop froze... So no matter when the command is ran - laptop freezes randomly when 3COM card is used.

This is a deep freeze kinda situation. It freezes and even REISUB won't defrost it - only a cold reboot...

What do You think folks?

Andy
« Last Edit: April 27, 2012, 05:20:32 PM by AndrzejL »

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151


background teh call by using

pcmcia-socket-startup &

Jase


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...


background teh call by using

pcmcia-socket-startup &

Jase

Deepfreeze...

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151

remove teh entry from te rc.

and add it to the xsession file and fork it to teh background with teh &

Jase


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Hold on - I might have messed up :P...

It didn't froze - it just wouldn't let me in via ssh. Changed the structure of the rc.local file a bit but I think I have it this time ;).

Andy
« Last Edit: April 27, 2012, 05:41:02 PM by AndrzejL »

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Uhmmmmmm... Deepfreeze yet again... So it's a no go with the rc.local file...


remove teh entry from te rc.

and add it to the xsession file and fork it to teh background with teh &

Jase

Will try this now :)...

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Jase which file did You meant?

Quote
[root@wishthinkpad andrzejl]# locate xsession
/etc/xdg/lxsession
/etc/xdg/lxsession/LXDE
/etc/xdg/lxsession/LXDE/autostart
/etc/xdg/lxsession/LXDE/autostart.rpmsave
/etc/xdg/lxsession/LXDE/desktop.conf
/home/andrzejl/.xsession-errors
/home/andrzejl/.config/lxsession
/home/andrzejl/.config/lxsession/LXDE
/home/andrzejl/.config/lxsession/LXDE/desktop.conf
/usr/bin/lxsession
/usr/bin/lxsession-edit
/usr/bin/lxsession-logout
/usr/share/lxsession
/usr/share/lxsession-edit
/usr/share/xsessions
/usr/share/applications/lxsession-edit.desktop
/usr/share/doc/lxsession-edit-0.2.0
/usr/share/doc/lxsession-edit-0.2.0/AUTHORS
/usr/share/doc/lxsession-edit-0.2.0/COPYING
/usr/share/doc/lxsession-edit-0.2.0/README
/usr/share/locale/en_GB/LC_MESSAGES/lxsession.mo
/usr/share/lxsession/images
/usr/share/lxsession/images/gnome-session-hibernate.png
/usr/share/lxsession/images/gnome-session-reboot.png
/usr/share/lxsession/images/gnome-session-suspend.png
/usr/share/lxsession/images/gnome-session-switch.png
/usr/share/lxsession/images/system-log-out.png
/usr/share/lxsession/images/system-shutdown.png
/usr/share/lxsession-edit/lxsession-edit.ui
/usr/share/man/man1/lxsession-logout.1.bz2
/usr/share/man/man1/lxsession.1.bz

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151


try a .xinitrc file to start off with wit the command withing the file #! /bin/bash

or a suitable autostart file failing that

which ever file your ?dm (k.g or x) looks at to launch teh session

Jase


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Hmmm OK... MAYBE this time I have it ;). xinitrc was a no go... BUT I had another idea...

Quote
[root@wishthinkpad andrzejl]# cat /etc/rc.d/init.d/network
#! /bin/bash
#
# network       Bring up/down networking
#
# chkconfig: - 10 90
# description: Activates/Deactivates all network interfaces configured to \
#              start at boot time.
# probe: false
#
### BEGIN INIT INFO
# Provides: network
# Should-Start: harddrake irda resolvconf slmodemd
# Should-Stop: irda resolvconf slmodemd
# Default-Start: 2 3 4 5
# Short-Description: Bring up/down networking
# Description: Activates/Deactivates all network interfaces configured to
#              start at boot time.
# Should-Start: iptables ip6tables
# Short-Description: Bring up/down networking
# Description: Bring up/down networking
### END INIT INFO
pcmcia-socket-startup &
# Source function library.
. /etc/init.d/functions

if [ ! -f /etc/sysconfig/network ]; then
    echo "NETWORKING=no" > /etc/sysconfig/network
    exit 6
fi

[... SNIPPED ...]

        gprintf "Usage: %s\n" "$(basename $0) {start|stop|restart|reload|status}"
        exit 2
esac

exit $rc
[root@wishthinkpad andrzejl]#

Will reboot couple of times before will be 99% sure but after first reboot network interface eth0 was present ;)...

It's a dirty solution but I have thought about it. I was always adding this command after:

a) network service was up
b) new hardware check was done

SO I have decided to add this command BEFORE network and hardware check were done ;)...

Think we have it this time :D! I won't mark it as solved till I won't get the network cable and test it properly but for now we can call it a break ;)...

Thanks AS and Hootiegibbon for Your help, ideas and time :D.

Andy
« Last Edit: April 27, 2012, 06:47:03 PM by AndrzejL »

Offline Hootiegibbon

  • Hero Member
  • *****
  • Posts: 4151


np andy


I am Hootiegibbon, undisputed champion fo the typo

My .dotfiles