Author Topic: RTM8000 and loading new serial_cs.o  (Read 2554 times)

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
RTM8000 and loading new serial_cs.o
« on: July 19, 2004, 04:34:12 pm »
Hi,
hope anybody can help on this!

I have an Audiovox RTM8000 and have found the correct patched serial_cs.o but it does not insmod autimatically on a SL5500G with Sharp ROM 3.10.

What I have done:
1) checked that cardctl ident identifies the card with function 2 (serial)
2) verified that /etc/pcmcia/config contains an entry for function 2 to bind "serial_cs"
3) checked that serial_cs.o is installed at /lib/modules/2.4.18-rmk7-pxa3-embedix/pcmcia/ and owned by root
4) executed depmod

But it does not load automatically. If I do a manual insmod, everything is fine and inserting the card works (without bad Vcc error). By the way, the serial_cs module is then tagged as unused:

Code: [Select]
# lsmod
Module                  Size  Used by
serial_cs               4608   0  (unused)
sa1100_bi              23088   0  (unused)
net_fd                 16688   1
usbdcore               22592   0  [sa1100_bi net_fd]
usbdmonitor             5488   0
sharp_mmcsd_m          27408   2
devinfo                 2912   0  (unused)
# cardctl resume
# cardctl config
Socket 0:
  Vcc 3.3V  Vpp1 0.0V  Vpp2 0.0V
  interface type is "memory and I/O"
  irq 35 [exclusive] [level]
  Speaker output is enabled
  function 0:
    config base 0x00f8
      option 0x41 status 0x08 pin 0x00 copy 0x00
    io 0xc56703f8-0xc5670407 [8bit]
Socket 1:
  not configured

So the issue is that there seems to be a built-in (kernel??) serial_cs and the new one is not automatically loaded by /sbin/cardmgr

Any help would be appreciated!

-- hns
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
RTM8000 and loading new serial_cs.o
« Reply #1 on: July 20, 2004, 04:23:27 pm »
Quote
So the issue is that there seems to be a built-in (kernel??) serial_cs and the new one is not automatically loaded by /sbin/cardmgr

Yes, the default serial_cs code is compiled into the kernel

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
RTM8000 and loading new serial_cs.o
« Reply #2 on: July 21, 2004, 05:04:02 am »
Quote
Quote
So the issue is that there seems to be a built-in (kernel??) serial_cs and the new one is not automatically loaded by /sbin/cardmgr

Yes, the default serial_cs code is compiled into the kernel
Hi,
once again you knowing everything about the Z :-)

This brings me to the following idea I will try: rename the serial_cs to a different name and provide my own .conf file specific for that card.

-- hns
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
RTM8000 and loading new serial_cs.o
« Reply #3 on: July 21, 2004, 11:27:16 am »
Quote
once again you knowing everything about the Z :-)

Actualy no, but I know this as I've moved serial_cs into a separate module in Cacko ROMs.

Quote
This brings me to the following idea I will try: rename the serial_cs to a different name and provide my own .conf file specific for that card

You can give it a try, although I don't know if that will work.