Skip to contentSkip to conversation

US Robotics (Hardware) Modem Not Detected

DISCUSSION Brad Davis 2 participants 4 messages Jul 27, 2005 – Jul 29, 2005

lore
Share & tools
lore

Brad Davis

author
#0 lore raw

I'm trying to get a PCI-USRobotics Modem (Yes, it is a true hardware modem) working on a G4 with Kernel version 2.6.10/2.6.11.

When I try to "modprobe 8250_pci". I get the following error message:

WARNING: Error inserting 8250 (/lib/modules/2.6.10enrock.2/kernel/drivers/serial/8250.ko): No such device
FATAL: Error inserting 8250_pci (/lib/modules/2.6.10enrock.2/kernel/drivers/serial/8250_pci.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

It looks to me like the 8250 module isn't recognizing the modem as a seial port. The appropriate lines from dmesg are:

serial8250_init: nothing to do on PowerMac 8250_pci: Unknown symbol serial8250_unregister_port 8250_pci: Unknown symbol serial8250_resume_port 8250_pci: Unknown symbol serial8250_register_port 8250_pci: Unknown symbol serial8250_suspend_port

The "serial_core" module is correctly loaded as it shows up with a lsmod. I get the same results whether I enable the PCI card (via "setpci -d 12b9:1008 command=1") before the modprobe or not.

Everything looks good with lspci -vv (below). The card has an allocated IO address (0x1020) and IRQ (53). It is disabled (I/O-), but I understand the serial driver will enable it when it is found. There are no /dev/ttyS* devices, but I also understand that these will be created by the driver/udev system when the module has been correctly loaded. I have tried manually creating a /dev/ttyS* file and then tried to use setserial on it, but it complains.

I am currently dual-booting this machine with 2.4.X kernel and the modem works fine there, so I guess something has changed in the new 2.6.X modules.

Output from lspci -vv:
0001:11:03.0 Serial controller: 5610 56K FaxModem 56K FaxModem Model 5610 (rev 01) (prog-if 02 [16550])
Subsystem: 5610 56K FaxModem USR 56k Internal Voice Modem (Model 2976)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium

Quoted 1 line

TAbort- <TAbort- <MAbort- >SERR- <PERR-

Interrupt: pin A routed to IRQ 53
Region 0: I/O ports at 1020 [disabled] [size=8]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA
PME(D0+,D1-,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-

Can someone point me in the right direction to get this card working with the 2.6 kernel stream?

Thanks in advance for any help.

Brad
--
[email protected]

#1 lore raw
Quoted 9 lines · Brad Davis

I'm trying to get a PCI-USRobotics Modem (Yes, it is a true hardware modem) working on a G4 with Kernel version 2.6.10/2.6.11.

When I try to "modprobe 8250_pci". I get the following error message:

WARNING: Error inserting 8250 (/lib/modules/2.6.10enrock.2/kernel/drivers/serial/8250.ko): No such device

This would be the root case. 8250 is _never_ supposed to fail with ENODEV, even if it doesn't detect any devices itself. And doesn't fail like this.

Quoted 8 lines

FATAL: Error inserting 8250_pci (/lib/modules/2.6.10enrock.2/kernel/drivers/serial/8250_pci.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

It looks to me like the 8250 module isn't recognizing the modem as a seial port. The appropriate lines from dmesg are:

serial8250_init: nothing to do on PowerMac

serial8250_init does not contain any such message, so you're not running a mainline kernel, but some patched version. Are these patches available somewhere?

I guess these patches are your problem, and it seems that there's at least one which is completely unnecessary or inappropriate.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core
author
#2 lore raw
Quoted 3 lines · Russell King

serial8250_init does not contain any such message, so you're not running a mainline kernel, but some patched version. Are these patches available somewhere?

I'm compiling from the Ubuntu (based on Debian) sources. I'll either download a clean kernel source tonight and try it out or try remove the patches to the serial driver and try that.

Quoted 2 lines

I guess these patches are your problem, and it seems that there's at least one which is completely unnecessary or inappropriate.

Thanks for the help, I'll post my results.

Brad

Signature · 1 line
[email protected]
author
#3 lore raw
Quoted 9 lines · Brad Davis
Quoted 3 lines · Russell King

serial8250_init does not contain any such message, so you're not running a mainline kernel, but some patched version. Are these patches available somewhere?

I'm compiling from the Ubuntu (based on Debian) sources. I'll either download a clean kernel source tonight and try it out or try remove the patches to the serial driver and try that.

OK. I got the modem working. I used the Ubuntu sources (2.6.10), but replaced the serial driver code with the pristine code from 2.6.10. I'll have to follow up with the debian or ubuntu people.

Thanks for the help, and sorry to have bothered you with a distribution specific issue.

Brad

Signature · 1 line
[email protected]