Cardservices functionality at 2.6
Steve Jones
steve at jonescape.com
Fri Mar 12 12:04:08 GMT 2004
On Fri, Mar 12, 2004 at 03:47:24PM +0000, Russell King wrote:
> > In researching this, I gather that cardservices is deprecated for
> > 2.6.
>
> That's incorrect, and I've heard that and similar things in the past.
> Could you provide me with a pointer to the information which drew you
> to that conclusion, so it can be corrected for future readers?
I will certainly try to. I'm afraid I'm not a very responsible
surfer; especially when desperation sets in and the links really
start to fly. But I'll see when I can recall.
> First you need to give us some information about your system, so we can
> work out where the problem is. Can you provide:
>
> - a description of the hardware
A Sony VAIO laptop PCGFR130 <http://www.richsawin.com/vaio/>
Ricoh cardbus bridge
VIA Chipset
(more?)
> - lspci output
################################################################################
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
Subsystem: Sony Corporation: Unknown device 8143
Flags: bus master, 66Mhz, medium devsel, latency 0
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Capabilities: <available only to root>
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP] (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: e1000000-e1ffffff
Prefetchable memory behind bridge: f0000000-f7ffffff
Capabilities: <available only to root>
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Sony Corporation: Unknown device 8143
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 1400 [size=256]
Memory at e0000000 (32-bit, non-prefetchable) [size=512]
Capabilities: <available only to root>
00:0e.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
Subsystem: Sony Corporation: Unknown device 8143
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
16-bit legacy interface ports at 0001
00:0e.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev aa)
Subsystem: Sony Corporation: Unknown device 8143
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
16-bit legacy interface ports at 0001
00:0e.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 02) (prog-if 10 [OHCI])
Subsystem: Sony Corporation: Unknown device 8143
Flags: medium devsel, IRQ 11
Memory at e0000800 (32-bit, non-prefetchable) [disabled] [size=2K]
Capabilities: <available only to root>
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Sony Corporation: Unknown device 8143
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 1020 [size=32]
Capabilities: <available only to root>
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Sony Corporation: Unknown device 8143
Flags: bus master, medium devsel, latency 0
I/O ports at 1040 [size=32]
Capabilities: <available only to root>
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80) (prog-if 00 [UHCI])
Subsystem: Sony Corporation: Unknown device 8143
Flags: bus master, medium devsel, latency 0
I/O ports at 1060 [size=32]
Capabilities: <available only to root>
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
Subsystem: Sony Corporation: Unknown device 8143
Flags: medium devsel
Memory at e0000400 (32-bit, non-prefetchable) [disabled] [size=256]
Capabilities: <available only to root>
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
Subsystem: Sony Corporation: Unknown device 8143
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: <available only to root>
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: Sony Corporation: Unknown device 8143
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at 1000 [size=16]
Capabilities: <available only to root>
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
Subsystem: Sony Corporation: Unknown device 8143
Flags: medium devsel, IRQ 11
I/O ports at 1800 [size=256]
Capabilities: <available only to root>
00:11.6 Communication controller: VIA Technologies, Inc. Intel 537 [AC97 Modem] (rev 80)
Subsystem: Sony Corporation: Unknown device 8143
Flags: medium devsel, IRQ 11
I/O ports at 1c00 [disabled] [size=256]
Capabilities: <available only to root>
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go] (rev a3) (prog-if 00 [VGA])
Subsystem: Sony Corporation: Unknown device 8143
Flags: 66Mhz, medium devsel, IRQ 11
Memory at e1000000 (32-bit, non-prefetchable) [size=16M]
Memory at f4000000 (32-bit, prefetchable) [size=64M]
Memory at f0000000 (32-bit, prefetchable) [size=512K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: <available only to root>
################################################################################
> - lsmod output under the working 2.4 kernel
################################################################################
Module Size Used by Not tainted
orinoco_cs 4808 1
orinoco 31832 0 [orinoco_cs]
hermes 5924 0 [orinoco_cs orinoco]
binfmt_misc 5984 1
apm 10176 2 (autoclean)
usbmouse 2328 0 (unused)
snd-via82xx 12332 0 (unused)
snd-pcm 59456 0 [snd-via82xx]
snd-timer 14600 0 [snd-pcm]
snd-ac97-codec 37120 0 [snd-via82xx]
snd-page-alloc 4876 0 [snd-via82xx snd-pcm]
snd-mpu401-uart 3392 0 [snd-via82xx]
snd-rawmidi 13504 0 [snd-mpu401-uart]
snd-seq-device 4288 0 [snd-rawmidi]
snd 30372 0 [snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3652 0 [snd]
sr_mod 16024 0 (unused)
ide-scsi 8816 0
sg 32588 0 (unused)
scsi_mod 94868 3 [sr_mod ide-scsi sg]
mousedev 4276 1
hid 19140 0 (unused)
keybdev 2080 0 (unused)
usbkbd 3640 0 (unused)
input 3264 0 [usbmouse mousedev hid keybdev usbkbd]
usb-uhci 23180 0 (unused)
usbcore 68768 1 [usbmouse hid usbkbd usb-uhci]
################################################################################
> - lsmod output under the non-working 2.6 kernel
################################################################################
Module Size Used by
snd_usb_audio 69568 0
snd_pcm_oss 58468 0
snd_mixer_oss 19584 2 snd_pcm_oss
binfmt_misc 8072 1
apm 15844 2
uhci_hcd 30540 0
ohci_hcd 28612 0
evdev 7616 0
snd_via82xx 25120 1
snd_pcm 99748 3 snd_usb_audio,snd_pcm_oss,snd_via82xx
snd_timer 24644 1 snd_pcm
snd_ac97_codec 63492 1 snd_via82xx
gameport 3584 1 snd_via82xx
snd_page_alloc 9988 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7104 1 snd_via82xx
snd_rawmidi 22752 2 snd_usb_audio,snd_mpu401_uart
snd_seq_device 7176 1 snd_rawmidi
snd 58180 10 snd_usb_audio,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 7392 2 snd
sr_mod 15012 0
ide_scsi 12228 0
sg 33696 0
scsi_mod 106808 3 sr_mod,ide_scsi,sg
hid 40648 0
usbkbd 6016 0
usbcore 100764 7 snd_usb_audio,uhci_hcd,ohci_hcd,hid,usbkbd
################################################################################
> - any error messages found in /var/log/messages referring to "yenta"
> "ds" or any other PCMCIA-related message.
'yenta' does not appear at all under 2.6 unless...
Ha!
I just inserted yenta_socket and the following flew by in the logs:
################################################################################
Mar 12 11:08:58 faramir kernel: PCI: IRQ 5 for device 0000:00:0e.0
doesn't match PIRQ mask - try pci=usepirqmask
Mar 12 11:08:58 faramir kernel: PCI: Found IRQ 5 for device 0000:00:0e.0
Mar 12 11:08:58 faramir kernel: PCI: Sharing IRQ 5 with 0000:00:11.1
Mar 12 11:08:58 faramir kernel: Yenta: CardBus bridge found at
0000:00:0e.0 [104d:8143]
Mar 12 11:08:58 faramir kernel: Yenta: ISA IRQ mask 0x0498, PCI irq 5
Mar 12 11:08:58 faramir kernel: Socket status: 30000416
Mar 12 11:08:58 faramir kernel: PCI: Found IRQ 9 for device 0000:00:0e.1
Mar 12 11:08:58 faramir kernel: PCI: Sharing IRQ 9 with 0000:00:0c.0
Mar 12 11:08:58 faramir kernel: Yenta: CardBus bridge found at
0000:00:0e.1 [104d:8143]
Mar 12 11:08:58 faramir kernel: Yenta: ISA IRQ mask 0x0498, PCI irq 9
Mar 12 11:08:58 faramir kernel: Socket status: 30000006
################################################################################
The LED on the card just turned on as well.
# cardctl status out ##########################################################
Socket 0:
5V 16-bit PC Card
function 0: [ready]
Socket 1:
no card
################################################################################
My sense of well-being just jumped a notch or two, thanks.
I'm not exactly sure how to set up the interface, cardmrg always
just did it for me before (well, I *may* have done it manually
initially, but if so, I don't remember).
> Thanks.
No, thank *you*! :)
I'll poke around for those misleading links too.
--
Steve Jones
"Outside of a dog, a book is man's best friend. Inside of
a dog, it's too dark to read." -- G. Marx
More information about the linux-pcmcia
mailing list