LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-28-2003, 03:27 PM   #1
rcarr
Member
 
Registered: Sep 2003
Posts: 45

Rep: Reputation: 15
Problems with HotSync on Sony PDA


I'm trying to get my Sony Clie PEG S300 to HotSync to Red Hat 9. Here are the steps I've done so far:

1. pressed hotsync to see what port my Sony was on using grep. Return value was ttyUSB0.

2. Executed command ln -s /dev/ttyUSB0 /dev/pilot

I checked my PDA to see how it was hotsyncing. I've tried direct serial and USB to PC. Both fail.

Any ideas?
 
Old 09-28-2003, 05:32 PM   #2
christer
Member
 
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Rep: Reputation: 15
Can you give me a run down on the commands you used to find out what port your PDA was using? I'm having problems with my SJ30 right now. I can't seem to find where it's connecting.

Thanks.
 
Old 09-28-2003, 05:44 PM   #3
rcarr
Member
 
Registered: Sep 2003
Posts: 45

Original Poster
Rep: Reputation: 15
I pressed the hotsync button and then issued this command:

dmesg | grep usb

The last line will show you the USB port your device is attached to.
 
Old 09-28-2003, 05:47 PM   #4
rcarr
Member
 
Registered: Sep 2003
Posts: 45

Original Poster
Rep: Reputation: 15
Here is what I get when I use grep after a hotsync. Anyone see any problems here?

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe0849000, IRQ 9
usb-ohci.c: usb-00:0c.0, Lucent Microelectronics USS-312 USB Controller
usb.c: new USB bus registered, assigned bus number 1
usb-uhci.c: $Revision: 1.275 $ time 10:15:52 Feb 27 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
usb.c: USB device 2 (vend/prod 0x5dc/0x1) is not claimed by any active driver.
input0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb2:2.0
usb.c: registered new driver usb-storage
usb.c: USB device 3 (vend/prod 0x54c/0x38) is not claimed by any active driver.
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for Handspring Visor / Palm 4.0 / Cli�4.x
usbserial.c: USB Serial support registered for Sony Cli�3.5
usbserial.c: Sony Cli�3.5 converter detected
usbserial.c: Sony Cli�3.5 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
usb.c: USB disconnect on device 00:07.2-2 address 3
usbserial.c: Sony Cli�3.5 converter now disconnected from ttyUSB0
 
Old 09-28-2003, 05:56 PM   #5
christer
Member
 
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Rep: Reputation: 15
This is what I get after that command. Anyone see anyting I can work with? it's still fairly greek to me.

[christer@localhost christer]$ dmesg | grep usb
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe084c000, IRQ 19
usb-ohci.c: usb-02:00.0, Advanced Micro Devices [AMD] AMD-768 [Opus] USB
usb.c: new USB bus registered, assigned bus number 1
usb.c: new USB bus registered, assigned bus number 2
usb-uhci.c: $Revision: 1.275 $ time 11:25:48 Aug 18 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0x20a0, IRQ 17
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
usb-uhci.c: USB UHCI at I/O 0x20c0, IRQ 18
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 4
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
usb.c: USB device 2 (vend/prod 0x4b8/0x802) is not claimed by any active driver.usb-uhci.c: ENXIO 80000280, flags 0, urb c2207b40, burb dfebd440
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6
usb-uhci.c: ENXIO 80000280, flags 0, urb dfebd440, burb dfebd540
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 9 ret -6
usb-uhci.c: ENXIO 80000280, flags 0, urb dfebd540, burb dfebd440
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 9 ret -6
usb-uhci.c: ENXIO 80000280, flags 0, urb dfebd440, burb dfebd540
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 9 ret -6
usb-uhci.c: ENXIO 80000280, flags 0, urb dfebd440, burb dfebd540
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -6
usb.c: USB device 2 (vend/prod 0x4cb/0x11a) is not claimed by any active driver.usb.c: registered new driver usb-storage
usb-uhci.c: interrupt, status 3, frame# 16
usb-uhci.c: interrupt, status 3, frame# 1781
usb-uhci.c: interrupt, status 3, frame# 547
usb.c: USB disconnect on device 02:05.0-2 address 2
usb-uhci.c: interrupt, status 3, frame# 1391
usb-uhci.c: interrupt, status 3, frame# 399
usb.c: USB disconnect on device 02:05.0-2 address 3
usb.c: USB device 3 (vend/prod 0x54c/0x66) is not claimed by any active driver.
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for Handspring Visor / Treo / Palm 4.0 / Cli? 4.x
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter detected
usb-uhci.c: interrupt, status 2, frame# 237
usb_control/bulk_msg: timeout
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
usbserial.c: USB Serial support registered for Sony Cli? 3.5
usb.c: USB disconnect on device 02:05.1-2 address 3
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter now disconnected from ttyUSB0
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter now disconnected from ttyUSB1
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter detected
usb-uhci.c: interrupt, status 2, frame# 846
usb_control/bulk_msg: timeout
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
usb.c: USB disconnect on device 02:05.1-2 address 4
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter now disconnected from ttyUSB0
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter now disconnected from ttyUSB1
 
Old 09-29-2003, 09:12 PM   #6
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
First of all have you installed pilot-link?
Then you will want to install j-pilot at least this is the one I use since it works really well with my Sony Clie PEG-S320, even allows me to add other apps to my Clie.

Now once you have these two programs installed you will want to type this at a command prompt:

modprobe visor
chmod 666 /dev/ttyUSB1 (christer) /dev/ttyUSB0 (rcarr)
dlpsh -p /dev/ttyUSB1 (christer) /dev/ttyUSB0 (rcarr) the hit the Hot Sync button on your Clie


You should hear your Sony Clie make the tone for a Hot Sync. This will drop you into a shell now type exit we now know that your Clie syncs with your PC.

You then will open up Jpilot, type at the run line or in a Xterm jpilot, this will open the jpilot program. Then go to -->File-->Preferences-->Settings and make sure that Serial Port says /dev/ttyUSB1 (christer) /dev/ttyUSB0 (rcarr) Now close the Jpilot program.

Now open up an Xterm and type pilot-xfer -p /dev/ttyUSB1 (christer) /dev/ttyUSB0 (rcarr) -b ~/.jpilot DON'T HIT ENTER YET.

Now hit the Hot Sync button on your Clie and now Enter.

Now your Clie and JPilot will be synchronized.

Now you can run Jpilot and all your info will be in Jpilot.

Now that you have Jpilot and the Clie synchronizing, you will see a Sync button to the left on Jpilot click this then click on Hot Sync on your Clie and everything will Synchronize.

PS. If using Red Hat or Mandrake I would put modprobe visor in the /etc/rc.d/rc.local file so that when you reboot the Visor module will be loaded.
 
Old 09-29-2003, 09:47 PM   #7
christer
Member
 
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Rep: Reputation: 15
Ok, when I run this command:

dlpsh -p /dev/ttyUSB1

I can browse thru my palm in the terminal. However when I run this command:

pilot-xfer -p /dev/ttyUSB1 -b -/jpilot

I get:

Time elapsed: 0:00:00
[prompt]$

Am I doing something wrong? I knwo it's connecting at this point from the earlier command but it doesn't seem to want to actually Sync.
 
Old 09-29-2003, 09:57 PM   #8
christer
Member
 
Registered: Sep 2003
Location: Utah
Distribution: Red Hat 9
Posts: 131

Rep: Reputation: 15
Ok, I got it to work. I had some syntax errors in my command line entry.

It's all backing up right now to my /home/user/jpilot folder. This is awesome that it works.

Thanks a ton for the help!
 
Old 10-14-2003, 01:00 AM   #9
neogeek
LQ Newbie
 
Registered: Sep 2003
Location: NY, USA
Posts: 10

Rep: Reputation: 0
Hi,

I tried the above mentioned steps but I still can't get it.

Well, I did it the simple way by setting up the pilot link in root and it managed to hot-sync but the minute I switch to my user name account .. it just can't hot-sync. Is there something that i am missing out?

Any help would be greatly appreciated!
 
Old 01-11-2004, 11:08 AM   #10
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Rep: Reputation: 15
I have an SJ22 Clie and it is on /dev/ttyUSB1. I can use pilot-xfer to backup the whole thing with no problems at all. Gnome-pilot was able to retrieve the user info from the Clie on the same port (haven't tried to do a sync with it). However, KPilot and JPilot cannot connect to the Clie at all. KPilot does nothing, but sometimes JPilot is able to initiate the sync, but the Clie's HotSync applet says "Identifying User" then seems to hang when it gets to "Synchronizing." After a minute or so, the Clie gives an error saying it lost the connection with the desktop. Any advice?
 
Old 01-11-2004, 05:09 PM   #11
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
I don't know if this will help but erase the .jpilot directory in your home directory then as your normal user issue the command pilot-xfer -p /dev/ttyUSB1 -b ~/.jpilot as above. This should back up everything to the .jpilot directory, then open up jpilot and ensure that under file-->preferences has the serial device as /dev/ttyUSB1 then hit the Sync button on the jpilot main screen then hit the Hot-Sync button on the Clie.

HTH
 
Old 01-12-2004, 04:19 PM   #12
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Rep: Reputation: 15
thanks for the tips, but that's what i've already done. i can get the data from the palm to the computer, but i want to be able to actually "sync" and send things to the pilot also.

the JPilot "about" screen says it wasn't built with support for USB -- is that the problem? does linux treat /dev/ttyUSB(n) like a regular serial port, or a usb port?
 
Old 01-12-2004, 05:53 PM   #13
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
I'm not sure what is going on ? Sorry, I guess I may be lucky with my Sony Clie I can actually "sync" if I put something in Jpilot it appears on my Clie and vice versa, I can even install programs.
 
Old 11-01-2004, 03:46 PM   #14
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Rep: Reputation: 30
I'm trying to sync a treo 90, and I tried all the steps, and I checked which port the device is on, but dlpsh -p /dev/usb/ttyUSB1 returns:

Port not connected, sleeping for 2 seconds, 0 retries..

Device not found on /dev/usb/ttyUSB1, Did you hit HotSync?

Unable to bind to port: /dev/usb/ttyUSB1
Please use --help for more information

I'm using kpilot, but all the other steps work anyway, do I have to ave jpilto? Is there any advice?

-Peter
 
Old 11-01-2004, 08:09 PM   #15
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
When you enter the command dlpsh -p /dev/usb/ttyUSB1, press your enter button then Hot Synch on the Treo.

HTH
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PDA help. Looking for a good PDA for Linux. qwijibow Linux - Laptop and Netbook 11 10-11-2005 10:30 AM
sony camera problems cartman12345 Linux - Hardware 1 03-31-2005 12:35 PM
pda sony sj22 floris Linux - Hardware 0 03-11-2005 04:25 PM
Hotsync Sony Clie PEG SJ30 neogeek Linux - Laptop and Netbook 3 09-28-2003 03:02 AM
Sony Clie (PDA) WSG Linux - General 1 06-04-2002 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration