LINUX.ORG.RU

Сообщения willliam

 

Настройка скорости ttyS0

Форум — Linux-hardware

Суть вопроса: нужно наладить взаимодействие между модемом и embeded linux по com-порту. Проблема в том, что модем может работать только на скорости 115200, а ttyS0 использует по умолчанию другую - 9600. как настроить? Ядро 2.6 busybox Спасибо

inttab: # /etc/inittab # # Note: BusyBox init doesn't support runlevels. The runlevels field is # completely ignored by BusyBox init. If you want runlevels, use # divinity. # # Format for each entry: <id>:<runlevels>:<action>:<process> # # id == tty to run on, or empty for /dev/console # runlevels == ignored # action == one of sysinit, respawn, askfirst, wait, and once # process == program to run

# Startup the system #null::sysinit:/bin/mount -o remount,rw / null::sysinit:/bin/mount -a

# now run any rc scripts ::sysinit:/etc/init.d/rcS

# Put a shell on the serial port ttyS1::respawn:/bin/sh -sc ". /etc/profile"

# Stuff to do before rebooting ::ctrlaltdel:/sbin/reboot ::shutdown:/sbin/halt

willliam
()

RSS подписка на новые темы