LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Kernel 3.2 and MOSCHIP 9865 chipset PCI serial adapter (https://www.linuxquestions.org/questions/linux-hardware-18/kernel-3-2-and-moschip-9865-chipset-pci-serial-adapter-947553/)

TVT 05-30-2012 05:22 AM

Kernel 3.2 and MOSCHIP 9865 chipset PCI serial adapter
 
Hi!

There was an Ubuntu 9.04 system with MOSCHIP 9865 chipset PCI serial adapter. I've built the kernel module MCS9865 Ver1.1 and it worked normal.

After I have upgraded the system to Ubuntu 12.04 with kernel v3.2 there was difficulties when rebuilding kernel module but I solved them as proposed in this page.

The 'mcs9865.ko' kernel module loads OK but without any notification and 'ttyD*' device creation. Using commands

Code:

mknod /dev/ttyD0 c 201 0
mknod /dev/ttyD1 c 201 1

didn't help.

Any suggestion would be appreciated.

lprent 06-17-2012 07:25 PM

I'm running on 12.04 with two MCS9865 cards with two serial ports . When I was running on an older version of Ubuntu I had to compile the MCS9865.c hacking it to fit with later versions of the 2.6 kernel and recompile each kernel upgrade.

However I couldn't remember doing that recently.

Using lspci -k.

05:03.0 Serial controller: NetMos Technology PCI 9865 Multi-I/O Controller
Subsystem: Device a000:1000
Kernel driver in use: serial
Kernel modules: parport_pc
05:03.1 Serial controller: NetMos Technology PCI 9865 Multi-I/O Controller
Subsystem: Device a000:1000
Kernel driver in use: serial
Kernel modules: parport_pc
05:03.2 Parallel controller: Illegal Vendor ID Device 9865
Subsystem: Device a000:2000
05:04.0 Serial controller: NetMos Technology PCI 9865 Multi-I/O Controller
Subsystem: Device a000:1000
Kernel driver in use: serial
Kernel modules: parport_pc
05:04.1 Serial controller: NetMos Technology PCI 9865 Multi-I/O Controller
Subsystem: Device a000:1000
Kernel driver in use: serial
Kernel modules: parport_pc
05:04.2 Parallel controller: Illegal Vendor ID Device 9865
Subsystem: Device a000:2000

Looks like the standard drivers work ok. At least up to 115200. If I stty them to 230400 I get

> sudo stty -F /dev/ttyS4 230400
stty: /dev/ttyS4: unable to perform all requested operations

Ummm anyone know how to get higher baud rates out of the standard serial drivers?


All times are GMT -5. The time now is 03:56 PM.