* Serious problem with MAKEDEV and setserial command
@ 2003-05-05 19:53 Samuel Jobin
2003-05-06 21:08 ` Riley Williams
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Jobin @ 2003-05-05 19:53 UTC (permalink / raw)
To: linux-serial
Hi!
I have a serious problem with the MAKEDEV and setserial command. I'm
trying to put a lots of multimodem card into a standard linux pc
(Slakware 8.1). I have to associate the modem by myself with the
setserial command. For this, I do:
setserial /dev/ttyS20 irq 10 port 0xd000 ^auto_irq ^fourport skip_test
autoconfig
Everything works fine. The problem is that there's no enough ttyS. On
my linux box, I have ttyS1 to ttyS31, but I want more of them.
I triyed the /dev/MAKEDEV command (and I changed the group for uucp).
The new dev was created (ttyS32). I tried to make a setserial it and I got:
Cannot set serial info: Invalid argument
Tried a lot of time, from different method; nothing to do. I always
have the same error message. I think it's my /dev/ttyS32 that doesn't
work (because the same instruction with a ttyS that wasn't created by me
works great).
Does somebody could help me please? I just don't what to do. (and yes,
I RTFM! :) In fact, 2 books and the serial howto...
Thx,
Sam
--
Samuel Jobin
sjobin@gniinc.net
Software Development
_____________________
--== GNI inc.==--
5075 Wilfrid-Hamel O.
Suite 220
Québec (QC), G2E 5G3
Phone: (418) 864-7721
Fax: (418) 263-3150
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Serious problem with MAKEDEV and setserial command
2003-05-05 19:53 Serious problem with MAKEDEV and setserial command Samuel Jobin
@ 2003-05-06 21:08 ` Riley Williams
0 siblings, 0 replies; 2+ messages in thread
From: Riley Williams @ 2003-05-06 21:08 UTC (permalink / raw)
To: Samuel Jobin, linux-serial
Hi Sam.
> I have a serious problem with the MAKEDEV and setserial command.
> I'm trying to put a lots of multi-modem card into a standard Linux
> PC (Slackware 8.1). I have to associate the modem by myself with
> the setserial command. For this, I do:
>
> setserial /dev/ttyS20 irq 10 port 0xd000 ^auto_irq ^fourport \
> skip_test autoconfig
>
> Everything works fine. The problem is that there's no enough ttyS.
> On my Linux box, I have ttyS1 to ttyS31, but I want more of them.
It's possible that your MAKEDEV hasn't been taught how to create more
than 32 serial ports. The following commands should in theory create
all the valid ttyS ports, according to the devices.txt in the current
kernels...
cd /dev
rm -f ttyS*
for N in `seq 0 191` ; do mknod ttyS${N} c 4 $[${N}+64] ; done
chown uucp. ttyS*
...and watch the type of brackets on the third line as they do matter.
> I tried the /dev/MAKEDEV command (and I changed the group for uucp).
> The new dev was created (ttyS32). I tried to make a setserial
> it and I got:
As stated above, it's quite possible that your MAKEDEV doesn't know
how to do this as few systems have that many serial ports.
Best wishes from Riley.
---
* Nothing as pretty as a smile, nothing as ugly as a frown.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.476 / Virus Database: 273 - Release Date: 24-Apr-2003
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-06 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-05 19:53 Serious problem with MAKEDEV and setserial command Samuel Jobin
2003-05-06 21:08 ` Riley Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox