LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-11-2004, 05:57 PM   #1
Slyder42
Member
 
Registered: Jun 2004
Location: Wheaton, IL
Distribution: trying to get FC4 to work
Posts: 46

Rep: Reputation: 15
Clie PEG-TJ27 .... can connect but no sync.


Ok... so I have been following several different threads to get connected to my Sony Clie PEG-TJ27. So far I am happy. I was able to do the following:

# dmesg | grep usb

Which led to...

usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usb 1-3: new high speed USB device using address 3
usb 2-1: new full speed USB device using address 2
usbcore: registered new driver usb-storage
usb 2-1.1: new low speed USB device using address 3
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.10 Mouse [USB OpticalWheel Mouse] on usb-0000:00:03.0-1.1
usb 2-1.2: new full speed USB device using address 4
usb 2-1.3: new full speed USB device using address 5
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x0704
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usb 2-3: new full speed USB device using address 6
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB1
usbcore: registered new driver visor
drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver v2.1
usb 2-3: USB disconnect, address 6
usb 2-3: new full speed USB device using address 7
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 2-3: USB disconnect, address 7
usb 2-3: new full speed USB device using address 8
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 2-3: USB disconnect, address 8
usb 3-3: new full speed USB device using address 2
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 3-3: USB disconnect, address 2
usb 3-3: new full speed USB device using address 3
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 3-3: USB disconnect, address 3
usb 3-3: new full speed USB device using address 4
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB1

So I could tell that my device is logging in as /dev/ttyUSB0

getting more excited... i type in:

# modprobe visor

then after 2 attempts I enter:

pilot-xfer -p /dev/ttyUSB0 /dev/ttyUSB1 -b ~/.jpilot

Which led to...

Backing up /root/.jpilot/SAMPLE1.JPG.pdb
Backing up /root/.jpilot/Adobe Reader_ADBE_appl_a68k.prc
Backing up /root/.jpilot/AGVersion.pdb
Backing up /root/.jpilot/AvantGo_AvGo_appl_a68k.prc
[INSERT LOTS OF PALM BACKUP FILES HERE]
Backing up /root/.jpilot/AddressTitlesDB.pdb
Backing up /root/.jpilot/To Do List_todo_appl_a68k.prc
Backing up /root/.jpilot/MBlnUserConfig.pdb
Backing up /root/.jpilot/MBlnProfile.pdb
Backing up /root/.jpilot/VendorsDB.pdb

RAM backup complete.
Time elapsed: 0:03:56

ok... so it backed up my handheld.... VERY HAPPY NOW!

THEN I enter:

$ dlpsh -p /dev/ttyUSB0

Port not connected, sleeping for 2 seconds, 4 retries..
Listening to port: /dev/ttyUSB0

Please press the HotSync button now... Connected


Welcome to the DLP Shell
Type 'help' for additional information

dlpsh> time
Now setting Palm time from desktop to: Wed Aug 11 16:27:33 CDT 2004

dlpsh> df
Filesystem 1k-blocks Used Available Used Total
Card0: ROM 16580608 n/a 16580608 n/a 16192k
Card0: RAM 32505856 20114152 12391704 61% 31744k
Total (ROM + RAM) 49086464 36694760 n/a n/a 47936k

dlpsh> user
Username = "rageagainstcomputer"
UserID = 0000619b (24987)
ViewerID = 00000000 (0)
PCid = 00001f87 (8071)
dlpsh> quit
Exiting.

[end of fooling around]

So... I entered in J-pilot all the settings I found necessessary.....
 
Old 08-11-2004, 06:03 PM   #2
Slyder42
Member
 
Registered: Jun 2004
Location: Wheaton, IL
Distribution: trying to get FC4 to work
Posts: 46

Original Poster
Rep: Reputation: 15
ROFLMAOPMP!!!!

I know something that I could do.... save, reboot and test it....

I got it to work....

sorry about that.....


Anyone that has a question about how I got my Clie to sync, I'll be glad to pass it along.
 
Old 12-03-2004, 03:01 AM   #3
Aliby
LQ Newbie
 
Registered: Oct 2004
Location: Midrand, South Africa
Distribution: Knoppix / KUbuntu
Posts: 1

Rep: Reputation: 0
Baby Steps

You asked if you could help? I have just got a clié TJ35

I would appreciate some steps as I am very new to the linux realm and have absolutely no idea how to connect and sync the clié. I know Linux can see my clié because when I tap the Data-Import/Export icon on the Clié the Card appears connected on the desktop as a drive.

I have no idea how to see the log that you mention where you see if linux has detected the unit. When I tap hot-sync there is some communication because I hear the hard drive respond? Beyond that the clié times out before anything else happens.

Looking forward to your response.

Alistair
 
Old 12-03-2004, 05:49 PM   #4
Slyder42
Member
 
Registered: Jun 2004
Location: Wheaton, IL
Distribution: trying to get FC4 to work
Posts: 46

Original Poster
Rep: Reputation: 15
Re: Baby Steps

Quote:
Originally posted by Aliby
You asked if you could help? I have just got a clié TJ35

I would appreciate some steps as I am very new to the linux realm and have absolutely no idea how to connect and sync the clié. I know Linux can see my clié because when I tap the Data-Import/Export icon on the Clié the Card appears connected on the desktop as a drive.
Okay... sorry it was a little confusing... I haven't messed with hotsyncing on Linux in a while, unfortunately. BUT, I DO remember all the steps I took and I can easily break it down more for you...

I had to figure out what port the handheld was being recognized at, so I typed in the command....

Code:
dmesg | grep usb
That allowed me to see what was hooked up via USB. The lines in bold below will show you "where" my Clie was found...

Code:
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usb 1-3: new high speed USB device using address 3
usb 2-1: new full speed USB device using address 2
usbcore: registered new driver usb-storage
usb 2-1.1: new low speed USB device using address 3
drivers/usb/input/hid-core.c: ctrl urb status -32 received
input: USB HID v1.10 Mouse [USB OpticalWheel Mouse] on usb-0000:00:03.0-1.1
usb 2-1.2: new full speed USB device using address 4
usb 2-1.3: new full speed USB device using address 5
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x0704
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usb 2-3: new full speed USB device using address 6
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB1
usbcore: registered new driver visor
drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver v2.1
usb 2-3: USB disconnect, address 6
usb 2-3: new full speed USB device using address 7
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 2-3: USB disconnect, address 7
usb 2-3: new full speed USB device using address 8
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 2-3: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 2-3: USB disconnect, address 8
usb 3-3: new full speed USB device using address 2
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 3-3: USB disconnect, address 2
usb 3-3: new full speed USB device using address 3
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 3-3: USB disconnect, address 3
usb 3-3: new full speed USB device using address 4
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 3-3: Handspring Visor / Palm OS converter now attached to ttyUSB1
When I executed that command, I set my handheld to hotsync so I knew what was going on and what it does. It searches for a USB "channel" to connect to its software and just cycles from So... If you can see the pattern, it connects to ttyUSB0 and then ttyUSB1 every time and uses different USB device addresses from 2 through 8...

Make sure you have good connectivity before plugging in settings to your JPilot or Ximian Revolution, or whatever you have chosen for a sync product.

Make sure that you have "modprobe" installed and working [can't help you with that... SHOULD BE pre-installed with many distros ;-) ] enter the following command... (as root I believe)

Code:
# modprobe visor
you won't see any text result... that means it worked....

test a backup of your Clie.... this worked for my Clie TJ27 and it should work for MANY devices...depending on your USB "port"

THIS command... run as your "user" and NOT root.

Code:
$ dlpsh -p /dev/ttyUSB0
this caused the following to display...

Code:
Port not connected, sleeping for 2 seconds, 4 retries..
Listening to port: /dev/ttyUSB0

Please press the HotSync button now... Connected


Welcome to the DLP Shell
Type 'help' for additional information

dlpsh> time
Now setting Palm time from desktop to: Wed Aug 11 16:27:33 CDT 2004

dlpsh> df
Filesystem 1k-blocks Used Available Used Total
Card0: ROM 16580608 n/a 16580608 n/a 16192k
Card0: RAM 32505856 20114152 12391704 61% 31744k
Total (ROM + RAM) 49086464 36694760 n/a n/a 47936k

dlpsh> user
Username = "rageagainstcomputer"
UserID = 0000619b (24987)
ViewerID = 00000000 (0)
PCid = 00001f87 (8071)
dlpsh> quit
Exiting.
I earlier typed in help and it will allow you to browse your Clie as a "disk" or OS and play with it.... [I just looked around to test that I was connected to the system and not JUST the Memory stick....
I set the time...
couldn't remember what df was...
and I saw information about my "username" on my Clie. type exit... and it will "end the hotsync"

You know you got it connected.....

use the following (or modify if necessary if my example doesn't work for you...) in JPilot or whatever sync program to allow Hotsync.

Code:
 /dev/ttyUSB0
in the device line...

The other settings are there to play with, but be careful and write down the different steps you took when attempting this. Referring to them in times of problem or system reconfiguration will allow you to set up your Clie again in case of system failure or just switching distros.

remember. If it works... Make sure that you restart your computer (Save your settings, too) and make sure it HotSyncs after a full system restart. Make sure the settings "stick".

Best of Luck... From one to another
 
  


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
Sony Clie TJ27 support whatsizbucket Linux - Laptop and Netbook 8 06-28-2004 01:26 PM
Sony Clie PEG-NZ90/G Daem0hn Linux - Laptop and Netbook 1 02-12-2004 06:50 AM
Sony Clie PEG-SJ20 cannot sync using pilotlink 0.11.8 downinthemine Linux - Hardware 3 01-03-2004 12:47 PM
Hotsync Sony Clie PEG SJ30 neogeek Linux - Laptop and Netbook 3 09-28-2003 03:02 AM
Sony Clie' PEG-S360 USB with Slack8.1 jymbo Slackware 3 02-12-2003 07:45 PM

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

All times are GMT -5. The time now is 03:02 AM.

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