LinHES Forums
http://forums.linhes.org/

Serial Card Problem "getattr: Input/output error"
http://forums.linhes.org/viewtopic.php?f=14&t=8739
Page 1 of 1

Author:  NoDrugAds [ Tue Feb 28, 2006 1:11 pm ]
Post subject:  Serial Card Problem "getattr: Input/output error"

I have a working 5A30.2 setup. Except I cannot get the serial card I bought to work so I can control a second DirecTV box. Here is my hardware:

Biostar M7NCG 400 nForce2 Socket A Motherboard
AMD Sempron 3300+
512MB PC3200 DDR
Seagate 250GB EIDE HD 7200/8MB/ATA-100
PNY GeForce 5200 64MB AGP w/TV-OUT
Sony DRU810 16x DVD Burner
CABLES UNLIMITED (NetMos Technology), I/O Card, DB9 Serial, PCI, 2 PT
Hauppauge pvr250 with silver remote
Hauppauge pvr150



The auto install seems to recongnize the device:

Bus 1, device 8, function 0:
Serial controller: PCI device 9710:1835 (NetMos Technology) (rev 1).
IRQ 21.
Master Capable. Latency=32.
I/O at 0x9000 [0x9007].
I/O at 0x9400 [0x9407].
I/O at 0x9800 [0x9807].
I/O at 0x9c00 [0x9c07].
I/O at 0xa000 [0xa007].
I/O at 0xa400 [0xa40f].

And I have tried every kind of way I could find to manualy configure the setserial but every time I run the directtv control script on any port but the ttyS0 I get:
getattr: Input/output error

I love the mythtv setup. Even with one card and receiver. But I bought all this stuff to make the second one work. Does anyone know how to fix this? I am a newbie but am trying hard to learn and get things working.

Author:  NoDrugAds [ Wed Mar 01, 2006 11:14 am ]
Post subject: 

Anybody have a clue how I should fix this?

Author:  NoDrugAds [ Thu Mar 02, 2006 4:57 pm ]
Post subject: 

Seriously. No one has an idea? I am posting in the wrong forum?

Author:  bene [ Fri Mar 03, 2006 2:07 am ]
Post subject: 

NoDrugAds wrote:
Seriously. No one has an idea? I am posting in the wrong forum?


I think the majority of linux users are past the point where we spend a lot of time mucking with serial ports. You might have better luck in a more general linux forum.

What's the device look like in 'lspci' output? Can you link to the actual product page please? I did some Googling to see if I could help you out, but that device ID doesn't return any hits. The LKM has patches posted to it for support of other chipsets in that line, but does not specifically mention the 9710.

Author:  NoDrugAds [ Fri Mar 03, 2006 10:07 am ]
Post subject: 

I really appreciate your reply. Here is the 'lspci' output. It shows up as unknown device so that looks like a clue.

0000:01:08.0 Serial controller: NetMos Technology: Unknown device 1835 (rev 01)


Here is the actual card I have:
http://www.tigerdirect.com/applications ... =C250-2274

Hopefully the problem is simple. This is my first linux project. Thanks again.

Author:  Dinki [ Fri Mar 03, 2006 10:15 am ]
Post subject: 

I might be able to help as I have been in your situation before. I too have a serial card as I needed an extra port to control a Directv receiver while the onboard serial listens for LIRC commands. Try using lspci -v . When I do I get this output:

Code:
0000:00:09.0 Serial controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01) (prog-if 02 [16550])
   Subsystem: LSI Logic / Symbios Logic 2S (16C550 UART)
   Flags: medium devsel, IRQ 11
   I/O ports at d000 [size=8]
   I/O ports at cc00 [size=8]
   I/O ports at c800 [size=8]
   I/O ports at c400 [size=8]
   I/O ports at c000 [size=8]
   I/O ports at bc00 [size=16]


You'll notice that mine is on IRQ 11. At this point I can do this:

Code:
rmmod serial ;setserial /dev/ttyS2 irq 11 port 0xd000 uart 16550;modprobe serial;


At this point I can use my serial port as /dev/ttyS2 . This should get you started.

You may find this link informative as well:

http://www.linux.com/howtos/Serial-HOWTO-9.shtml

Best of luck.

Author:  NoDrugAds [ Fri Mar 03, 2006 10:45 am ]
Post subject: 

Thanks for your help as well. For some reason the serial module can not be found. I ran in to this on my own as well while trying different setserial commands I found through google.

root@mythtv:~# rmmod serial ;setserial /dev/ttyS2 irq 21 port 0x9000 uart 16550;modprobe serial;
ERROR: Module serial does not exist in /proc/modules
FATAL: Module serial not found.

Any idea why this is happening? My ttyS0 works fine.

Author:  Dinki [ Fri Mar 03, 2006 10:48 am ]
Post subject: 

I really wish I could help you more, but I am by far no expert when it comes to this. Hopefully someone else will be able to help you figure out what's going on with your serial module.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/