LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 11-05-2008, 11:21 AM   #1
GiacomoPennella
LQ Newbie
 
Registered: Nov 2008
Location: Prato (Italy)
Distribution: Debian and Ubuntu
Posts: 1
Thanked: 0
Question Serial Driver and RS485 problem (Debian Etch/ 2.6.18-6)


[Log in to get rid of this advertisement]
I'm new here, so... Hi everyone!

The machine is a Mini PC with 4 serial port:
-ttyS0
-ttyS1
-ttyS2
for RS232 connection

and
-ttyS3
for RS232 / RS485 Connection (Selection is done by internal jumpers that enable a SP485EC chip)

on Debian I can use port ttyS0 and ttyS1 (RS232) without problem. ttyS2 is not on the rear panel (I don't know where it is...) so I can't use it. The last port, ttyS3, is recognized by the OS but I can't send or receive anything neither via RS485 nor via RS232.

On a Windows OS I can the fourth port ttyS3 (COM4) via RS485 and RS485.

I'm very confused: I tried a lot of software like GtkTerm, CuteCom, Minicom, scope.... but nothing!

Some reports..


debian:/home/jbox01# lspci
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
01:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 10)
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VM (LOM) Ethernet Controller (rev 82)
debian:/home/jbox01#

from dmsg:
[...]
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
serial8250: ttyS3 at I/O 0x2e8 (irq = 3) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:09: ttyS2 at I/O 0x3e8 (irq = 10) is a 16550A
00:0a: ttyS3 at I/O 0x2e8 (irq = 11) is a 16550A
[...]


Any suggest would be very appreciated!
Best regards,
Giacomo Pennella
GiacomoPennella is offline  
Tag This Post ,
Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Driver installation on Debian/etch Jinouchi Linux - Software 1 06-17-2008 07:35 AM
How to toggle RTS signal within Linux-2.6.17.13 RS485 driver? yyqoons Linux - Newbie 1 06-10-2008 10:47 PM
Getting a driver for RocketRAID 1742 (Debian Etch) edhe1 Linux - Hardware 0 10-11-2007 01:45 AM
DEbian etch, problem with new nvidia driver isuck@linux Debian 18 09-12-2007 01:53 PM
PCI Serial Card Install in Debian Etch w/ kernel 2.6.19 mykeaster Linux - Hardware 0 02-27-2007 09:50 AM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration