[Armadeus-commitlog] armadeus branch, master, updated. release-3.3-394-g11af503
Brought to you by:
sszy
|
From: jscheer <js...@us...> - 2011-03-03 09:22:11
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 11af5039cd031c949730ec447f9d045cb65e0f0b (commit)
from 2ac4f8705d82caf1bf636e059c36f217610f686a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 11af5039cd031c949730ec447f9d045cb65e0f0b
Author: Jeremie Scheer <jer...@ar...>
Date: Thu Mar 3 10:21:32 2011 +0100
[TEST] Correct ttyGS0 device test in PPS' USB Gadget Serial test script.
-----------------------------------------------------------------------
Summary of changes:
target/pps/scripts/test_rs232_gadget.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/pps/scripts/test_rs232_gadget.sh b/target/pps/scripts/test_rs232_gadget.sh
index 8838139..7f7caf8 100644
--- a/target/pps/scripts/test_rs232_gadget.sh
+++ b/target/pps/scripts/test_rs232_gadget.sh
@@ -23,12 +23,12 @@ modprobe -r g_serial
modprobe g_serial
-if [ ! -f /dev/ttyGS0 ]; then
+sleep 4
+
+if [ ! -c /dev/ttyGS0 ]; then
mknod /dev/ttyGS0 c 249 0
fi
-sleep 4
-
echo -e "\nTo test the RS232 Gadget device, you first have to load usbserial module on your host PC:
sudo modprobe usbserial vendor=0x0525 product=0xA4A6
Then you should be able to enter datas through /dev/ttyACM0 on your host PC:
hooks/post-receive
--
armadeus
|