a7thson Apprentice
Joined: 08 Apr 2006 Posts: 176 Location: your pineal gland
|
Posted: Mon Jul 17, 2006 1:07 am Post subject: SerialGear PCMCIA dual serial card on >2.6.13 kernel |
|
|
I have a SerialGear MG-2SCBH 2-port serial PCMCIA adaptor that seems to be detected without issue but does not seem to be creating the serial devices I need to access. It's recommended to look for a distro-specific answer first, so that's why I'm here before I roll the dice with tech support. The card has worked fine and has been without issue under WinXP in several months of use, so it is definitely not a hardware issue.
I'm trying to get Linux to recognize the device, however, and am having difficulties. I haven't found much help via googling (though I now know far more about serial ports and PCMCIA support) or searching the forums. The majority of available documentation is oriented around the pre-2.6.13 kernel's standard pcmcia_cs and (http://kernel.org/pub/linux/utils/kernel/pcmcia/howto.html) has the basic information I needed to get PCMCIA up and working, but doesn't seem to address my specific hardware issue.
The card itself is being detected. Kernel logfile shows:
Code: |
Jul 16 17:22:39 neuros pccard: PCMCIA card inserted into slot 0
Jul 16 17:22:39 neuros pcmcia: registering new device pcmcia0.0
|
PCMCIA interface info: lspci -vv gives
Code: |
03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
Subsystem: Dell Unknown device 0189
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168
Interrupt: pin A routed to IRQ 17
Region 0: Memory at dfc00000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=03, secondary=04, subordinate=07, sec-latency=176
Memory window 0: 40000000-41fff000 (prefetchable)
Memory window 1: 42000000-43fff000
I/O window 0: 00002000-000020ff
I/O window 1: 00002400-000024ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
|
card is detected (note the lack of manufacturer, generic driver).
pccardctl ident
Code: |
Socket 0:
product info: "PC CARD", "GENERIC", "", ""
manfid: 0x0279, 0x950b
function: 2 (serial)
|
setserial /dev/ttyS0 -v autoconfig (same for ttyS1..S3)
Code: |
/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
|
I am running Gentoo on a 2.6.16 kernel, and the system is seeing the card insert/remove without a problem, but is not registering the creation of serial ports (/dev/ttyS*), none report a known UART.
Are there special drivers or some kernel options I've forgotten to compile in? I have setserial installed as well as pcmciautils (as can be seen in the commands above). I've no previous experience with serial ports under Linux and hope someone can point me in the right direction, or tell me that I've missed something obvious. I tried this with a vanilla gentoo-sources as well as beyond-dev with the same result. I can post more information (kernel config etc) if requested. Where do I go from here? _________________ i7-3610QM | E5-2670 | FX-8300 |
|