[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [coldsync-hackers] usb syncronisation troubles



>> and i have some troubles ;)
>> largest is - coldsync can't get serial number from palmos5 devices.
>> but i can see tungsten t serial number in lsusb output. it's any other
>> way to get it???
>> second - i can't do 2 or more syncs at one time
>> 
>> i see coldsync and visor.c code and can rewrite it, but what way (use
>> libusb or use visor kernel module) is best?

AZ> libusb, when i tested it, was faster, don't know which is "best".

it's very complex ;)
i try select stable, standart (compatible), fast, easy to support
solution 

>> 1. using kernel visor module
>>  - today two sync at one time don't work properly
>> 
>> IMHO it's not very hard to fix it

AZ>  Never tried, i thought it would have worked. Can you explain?

i think trouble is in kernel visor module

>>  - i don't know how get serial number using only palmos hotsync
>>  protocol (may be i stupid?)

AZ>  no, you arent ;) PalmOS 5.0 doesn't support reading the serial number
AZ> in the old way.

AZ>  Basically, the USB layer can get the serial number. We must implement
AZ> a way to pass this information to the upper layer in the coldsync
AZ> communication stack.

AZ>  For example, we could implement an ioctl toward the USB layer implemented
AZ> by libusb.

it's one trouble here
if at one time several palms are connected to computer how get
correspondence usb device with /dev/ttyUSBx device file?
only kernel know about it and i think kernel changes must be done

>> may be exist other solution? how about hotplug subsystem - can it
>> collect information about device and call coldsync with right options?

AZ>  technically it should.

again - afaik hotpulg don't know about ttyUSBx device

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.