#1 Le 18/02/2007, à 14:17
- bryanfury
vérifier le on fonctionnement de ces ports série (ajout d'une carte)
bonjour à tous ......
voila je viens de faire l'acquisition d'un carte port série x2 et je l'ai installé dans mon pc cependant je ne connais pas le moyen pour vérifier si le pc a bien accepté la carte....
j'ai fait une recherche sur le fofo mais pas de réponses sinon sur google beaucoup parle de setserial mais je ne comprend pas tout alors si quelqu'un pouvais me filer un coup de pouce pour ca je lui en serais reconnaissant .....
d'avance merci et bonne journée à tous......
@plouche
Hors ligne
#2 Le 19/02/2007, à 00:41
- bidou
Re : vérifier le on fonctionnement de ces ports série (ajout d'une carte)
la commande lspci permet de savoir si les périphériques PCI sont détectés ou pas. il faut ensuite installer les pilotes car ta carte est peut-être détectée mais pas commandée.
pour vérifier les modules chargés, il faut utiliser des commandes du style modprobe(monter les pilotes pour le périphérique) il y en d'autres du même styles.
bon courage
si microsoft lancerai, un produit qui ne planterai pas, cela serai un clou!!!
Hors ligne
#3 Le 19/02/2007, à 01:57
- bryanfury
Re : vérifier le on fonctionnement de ces ports série (ajout d'une carte)
bonsoir .....
un grand merci pour cette réponse qui m'a donc permit de voir ma carte en effet .....
saurais tu m'aiguyer pour l'installation car j'avoue nager un peu meme beaucoup en fait
@plouche et d'avance merci ....
Hors ligne
#4 Le 19/02/2007, à 02:30
- bryanfury
Re : vérifier le on fonctionnement de ces ports série (ajout d'une carte)
rebonsoir ....
bon j'ai fuiner dans le cd fournit avec la carte et je pense avoir quelque infos ....
premierement la commande lspci me donne ceci :
0000:00:08.0 Serial controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
j'opterai pour ma carte controlleur série....
apres sur le cd j'ai trouvé une archive 9835 avec un mini how-too voila ce qu'il dise:
This installation guide describes the procedures to install NetMos Technology Nm9735CV, Nm9745CV, Nm9835CV, Nm9845CV PCI serial ports in Linux platform.
Linux Platform
l Operating System : RedHat, SuSe
l Terminal Emulation AP : minicom
l Internet Dialer : Kppp
Find the available serial ports
Since Linux only support 4 serial ports (ttyS0, ttyS1, ttyS2, ttyS3) under the default condition. Most likely, ttyS0 & ttyS1 are supported by mother board's built-in serial controllers and ttyS2 & ttyS3 are free for additional I/O card.
Serial ports could be checked by the following commands.
setserial /dev/ttyS0 -a (COM-1)
setserial /dev/ttyS1 -a (COM-2)
setserial /dev/ttyS2 -a (COM-3)
setserial /dev/ttyS3 -a (COM-4)
If COM-1 is used by mouse, the response is similar to
/dev/ttyS0 : Device or resource busy
If the COM-1 does not attach any device, the response is similar to
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x3f8, irq: 4
Baud_base: 115200, clos_delay: 50, divisor: 0
closing_wait: 3000, closing_wait2: infinite
Flags: spd_normal skip_test
In case ttyS2 (COM-3) is free, the response for command setserial /dev/ttyS2 -a is shown below.
/dev/ttyS2, Line 2, UART: unknown, Port: 0x3e8, irq: 4
Baud_base: 115200, clos_delay: 50, divisor: 0
closing_wait: 3000, closing_wait2: infinite
Flags: spd_normal skip_test
Find the PCI card resource ( I/O port address & IRQ) for the serial ports
Enter the command more /proc/pci
The response is similar to the following
Bus 0, Device 11, function 0:
Serial controller : Unknown vendor Unknown device (rev 01).
Vendor id=9710, Device id=9735
Device id=9745
Device id=9820
Device id=9825
Device id=9835
Device id=9845
Medium devsel. Fast back-to-back capable. IRQ 11
Board with Nm9735CV part
I/O at 0xc000 [0xc001] serial port 1
0xc008 [0xc009] serial port 2
Board with Nm9745CV part
I/O at 0xc000 [0xc001] serial port 1
0xc008 [0xc009] serial port 2
0xc010 [0xc011] device 1
0xc018 [0xc019] device 2
0xc020 [0xc021] device 3
0xc028 [0xc029] device 4
Board with Nm9820CV part
I/O at 0xc000 [0xc001] serial port 1
I/O at 0xc400 [0xc401] not used
I/O at 0xc800 [0xc801] not used
I/O at 0xd000 [0xd001] not used
I/O at 0xd400 [0xd401] not used
I/O at 0xd800 [0xd801] not used
Board with Nm9825CV part
I/O at 0xc000 [0xc001] serial port 1
Board with Nm9835CV part
I/O at 0xc000 [0xc001] serial port 1
I/O at 0xc400 [0xc401] serial port 2
I/O at 0xc800 [0xc801] not used
I/O at 0xd000 [0xd001] not used
I/O at 0xd400 [0xd401] not used
I/O at 0xd800 [0xd801] not used
Board with Nm9845CV part
I/O at 0xc000 [0xc001] serial port 1
I/O at 0xc400 [0xc401] serial port 2
I/O at 0xc800 [0xc801] device 1
I/O at 0xd000 [0xd001] device 2
I/O at 0xd400 [0xd401] device 3
I/O at 0xd800 [0xd801] device 4
Board with Nm9755CV part
I/O at 0xc000 [0xc001] not used
I/O at 0xc400 [0xc401] not used
I/O at 0xc800 [0xc801] device 1
I/O at 0xd000 [0xd001] device 2
I/O at 0xd400 [0xd401] device 3
I/O at 0xd800 [0xd801] device 4
From the /proc/pci file, it is possible to find the PCI card's I/O port address and IRQ. Especially, the NetMos parts always shows
Vendor id=9710, Device id=9735
Device id=9745
Device id=9820
Device id=9825
Device id=9835
Device id=9845
Configure the parameters for ttyS2 or ttyS3
Enter (if ttyS2 or ttyS3 are free)
setserial /dev/ttyS2 port 0xc000 UART 16550A
irq 11 Baud_base 115200
setserial /dev/ttyS3 port 0xc008 UART 16550A
irq 11 Baud_base 115200
Check the setting for ttyS2 or ttyS3
Type setserial /dev/ttyS2 -a
/dev/ttyS2, Line 2, UART: 16550A, Port: 0xc000, irq: 11
Baud_base: 115200, clos_delay: 50, divisor: 0
closing_wait: 3000, closing_wait2: infinite
Flags: spd_normal skip_test
The ttyS2 or ttyS3 are ready for application
y'a un truc qui me chagrine on dirait bien que la carte est là mais eux marque:
l Operating System : RedHat, SuSe
alors possible ou pas sur ubuntu ?
si on suit le tuto, les premières étapes ca va puis lorsque je tappe :
more /proc/pci
ben rien ne ce passe en fait donc là je séche ......
une idée ?
@plouche et d'avance merci.....;)
Dernière modification par bryanfury (Le 19/02/2007, à 02:32)
Hors ligne
#5 Le 21/02/2007, à 19:17
- bidou
Re : vérifier le on fonctionnement de ces ports série (ajout d'une carte)
il semblerait que ta carte soit détecté mais pas pilotée. il faut donc trouver et installer les drivers.(c'est le plus simple)
d'après ce que j'ai compris du mini how-to, il faut chercher le port pci utilisé par ta carte. puis retrouver les ID vendor et devices. pour ensuite paramétrer le port pci de la carte. mais la modification se fait à la main. là çà dépasse mais compétences. installer un pilote oui mais modifier des fichiers de ce type bonjour
si microsoft lancerai, un produit qui ne planterai pas, cela serai un clou!!!
Hors ligne