OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: dhns on July 19, 2004, 04:34:12 pm

Title: RTM8000 and loading new serial_cs.o
Post by: dhns 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
Title: RTM8000 and loading new serial_cs.o
Post by: maslovsky 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
Title: RTM8000 and loading new serial_cs.o
Post by: dhns 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
Title: RTM8000 and loading new serial_cs.o
Post by: maslovsky 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.