[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] USB sync problem...
- To: coldsync-hackers at lusars dot net
- Subject: [coldsync-hackers] USB sync problem...
- From: beh at icemark dot net
- Date: Fri, 10 Jan 2003 18:54:34 +0100 (CET)
- Reply-to: coldsync-hackers at lusars dot net
- Resent-date: Wed, 22 Jan 2003 20:47:11 -0800
- Resent-from: jferg at newshell dot lusars.net
- Resent-message-id: <200301230447.h0N4lBXm031988@shell.lusars.net>
- Resent-to: coldsync-hackers-archive at lusars dot net
- Sender: owner-coldsync-hackers at lusars dot net
Hi there,
a few weeks I asked a question regarding linux USB sync
support. Unfortunately, since then I've hardly had time to look
into this any further...
...anyway - I'm running linux-2.5.51, and everything LOOKS fine,
at first.
But, I still can't sync the palm yet...
There is one thing, that I find rather interesting:
- I put the Tungsten in its cradle and plug the cradle into the
USB port of my notebook.
- I run 'coldsync -mb', and I get:
Warning: no device on /dev/ttyUSB0. Sleeping
This message is printed every few seconds.
- But when I press the HotSync button on the palm, then a few
seconds later, the message 'Please press the HotSync button.'
appears on the console -- and after that, nothing happens any
more.
Note: I've tried that a few times, the "Please press the HotSync
button" message only appears, AFTER I push the HotSync button...
Here's the output from strace:
15435 fstat64(3, {st_mode=S_IFREG|0664, st_size=7636, ...}) = 0
15435 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40012000
15435 read(3, "# sample.coldsyncrc\n#\n# $Id: sam"..., 8192) = 7636
15435 read(3, "", 4096) = 0
15435 read(3, "", 8192) = 0
15435 ioctl(3, 0x5401, 0xbfffd7d0) = -1 ENOTTY (Inappropriate ioctl for device)
15435 close(3) = 0
15435 munmap(0x40012000, 4096) = 0
15435 stat64("/home/beh/lib/Tungsten/20030110", {st_mode=S_IFDIR|0775, st_size=0, ...}) = 0
15435 brk(0x80a0000) = 0x80a0000
15435 open("/dev/ttyUSB0", O_RDWR) = -1 ENODEV (No such device)
15435 write(2, "Warning: no device on /dev/ttyUS"..., 45) = 45
15435 rt_sigprocmask(SIG_BLOCK, [CHLD], [32], 8) = 0
15435 rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
15435 rt_sigprocmask(SIG_SETMASK, [32], NULL, 8) = 0
15435 nanosleep({5, 0}, {5, 0}) = 0
15435 open("/dev/ttyUSB0", O_RDWR) = -1 ENODEV (No such device)
15435 write(2, "Warning: no device on /dev/ttyUS"..., 45) = 45
15435 rt_sigprocmask(SIG_BLOCK, [CHLD], [32], 8) = 0
15435 rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
15435 rt_sigprocmask(SIG_SETMASK, [32], NULL, 8) = 0
15435 nanosleep({5, 0}, {5, 0}) = 0
15435 open("/dev/ttyUSB0", O_RDWR) = -1 ENODEV (No such device)
15435 write(2, "Warning: no device on /dev/ttyUS"..., 45) = 45
15435 rt_sigprocmask(SIG_BLOCK, [CHLD], [32], 8) = 0
15435 rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
15435 rt_sigprocmask(SIG_SETMASK, [32], NULL, 8) = 0
[some time during this nanosleep, I pressed the hotsync button...]
15435 nanosleep({5, 0}, {5, 0}) = 0
15435 open("/dev/ttyUSB0", O_RDWR) = 3
15435 ioctl(3, 0x5401, {B9600 -opost -isig -icanon -echo ...}) = 0
15435 ioctl(3, 0x5402, {B230400 -opost -isig -icanon -echo ...}) = 0
15435 ioctl(3, 0x5401, {B230400 -opost -isig -icanon -echo ...}) = 0
15435 ioctl(3, 0x5401, {B230400 -opost -isig -icanon -echo ...}) = 0
15435 ioctl(3, 0x5402, {B9600 -opost -isig -icanon -echo ...}) = 0
15435 ioctl(3, 0x5401, {B9600 -opost -isig -icanon -echo ...}) = 0
15435 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
15435 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40012000
15435 write(1, "Please press the HotSync button."..., 33) = 33
15435 select(4, [3], NULL, NULL, {30, 0}) = 1 (in [3], left {29, 999000})
15435 read(3, "\1", 1) = 1
15435 read(3, "\377", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\26", 1) = 1
15435 read(3, "\220", 1) = 1
15435 read(3, "\1", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, " ", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\10", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\1", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, "\0", 1) = 1
15435 read(3, 0x809a2ec, 1) = ? ERESTARTSYS (To be restarted)
Running 'coldsync -mb' through ircomm0 works fine, it's just the
USB that seems to cause problems...
Any clue, what's causing the trouble?
Benedikt
BEAUTY, n. The power by which a woman charms a lover and terrifies a
husband.
(Ambrose Bierce, The Devil's Dictionary)
--
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.