Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Palm tungsten c usb sync problem - [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
muphicks
n00b
n00b


Joined: 22 Nov 2003
Posts: 48

PostPosted: Fri Dec 17, 2004 2:42 am    Post subject: Palm tungsten c usb sync problem - [SOLVED] Reply with quote

Hi,

I'm trying to get my palm tungsten c to sync and having a few problems doing it. So far I've compiled module support for usbserial and visor. I've also installed hotplug (and enabled the option in the kernel).

When I plugin my palm usb cradle and press the hotsync button I get the following message in my logs (and the visor/usbserial modules load in)

Quote:


Dec 17 02:38:14 [kernel] drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
Dec 17 02:38:14 [kernel] drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
Dec 17 02:38:14 [kernel] drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0
Dec 17 02:38:14 [kernel] usbcore: registered new driver visor
Dec 17 02:38:14 [kernel] drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver v2.1
Dec 17 02:38:27 [kernel] usb 3-1: new full speed USB device using uhci_hcd and address 12
Dec 17 02:38:28 [kernel] visor 3-1:1.0: Handspring Visor / Palm OS converter detected
Dec 17 02:38:28 [kernel] usb 3-1: Handspring Visor / Palm OS converter now attached to ttyUSB0
Dec 17 02:38:28 [kernel] usb 3-1: Handspring Visor / Palm OS converter now attached to ttyUSB1


I also after trying a few syncs end up with ttyUSB2 to 9 in my logs. However the devices created are in /dev/usb/tts/0 to 9 etc

Straight after a reboot, I'll just get devices 0 and 1. If I try pilot-xfer -p /dev/usb/tts/0 -L (or 1) as root (as a test only incase this was permission related) I get a segmentation fault.

First off, is the visor the correct module to be using for the palm tungsten series? I've had a go at the suggestions in most peoples replies to other threads with similar problems, but I couldn't find any related to the tungsten c.

Also, when the device is connected, should I be getting more detail in my logs about the detected device, ie the fact that its a palm tungsten etc?

Any suggestions? Or things I may have missed? If you need more detailed info posting, let me know what.

cheers.

edit:
Forgot to mention, running kernel-2.6.10-rc2 (test branch - wonder if that has anything to do with this problem?)

Solution:
Looks like this was a bug in the kernel and/or visor module. Patches have been mentioned that might resolve this, however, emerging kernel-2.6.10-rc3 solves the problem.

Thanks to everyone for the help :)


Last edited by muphicks on Sun Dec 19, 2004 2:02 am; edited 1 time in total
Back to top
View user's profile Send private message
simon_irl
Guru
Guru


Joined: 07 Oct 2004
Posts: 403
Location: New Zealand

PostPosted: Fri Dec 17, 2004 3:47 am    Post subject: Reply with quote

if you want reassurance that your system recognises a tungsten, maybe try (as root): lsusb

on my system, dmesg gives the same output you're getting (when i press hotsync, it mentions a visor/palmos device but isn't specific about the device...however, when i try lsusb, it does list the device model (in my case, a Palm m515).

glancing at the usb/serial devices in the kernel configuration menu, it does look like the visor module is all there is...i'm running 2.6.9-gentoo-r9, so if there's a new tungsten-specific module, it's something you'll have to find elsewhere. i suggest googling for evidence that people have used the visor module successfully with tungstens.
Back to top
View user's profile Send private message
simon_irl
Guru
Guru


Joined: 07 Oct 2004
Posts: 403
Location: New Zealand

PostPosted: Fri Dec 17, 2004 3:51 am    Post subject: Reply with quote

doh...just realised that lsusb probably isn't any kind of reassurance at all...just because the usb subsystem recognises the device, doesn't mean there's any kind of kernel support.

sorry...maybe i'll leave this one for someone who knows what they're talking about!
Back to top
View user's profile Send private message
GenKreton
l33t
l33t


Joined: 20 Sep 2003
Posts: 828
Location: Cambridge, MA

PostPosted: Fri Dec 17, 2004 5:23 am    Post subject: Reply with quote

I use usbserial and visor modules for my T|C and jpilot as a frontend.

Under udev I need to set it to use /dev/tts/USB1 and all works as advertised. I don't even concern myself with the order, palm or software, as they fixed that.
Back to top
View user's profile Send private message
simon_irl
Guru
Guru


Joined: 07 Oct 2004
Posts: 403
Location: New Zealand

PostPosted: Fri Dec 17, 2004 6:24 am    Post subject: Reply with quote

there ya go! mine also is at /dev/tts/USB1 (only exists during hotsync).
Back to top
View user's profile Send private message
muphicks
n00b
n00b


Joined: 22 Nov 2003
Posts: 48

PostPosted: Fri Dec 17, 2004 12:12 pm    Post subject: Reply with quote

I don't get a tts/USB1 device, I get tts/1 or tts/0. Is this because I'm using devfs and not the newer usb dev system I've read about?
Back to top
View user's profile Send private message
GenKreton
l33t
l33t


Joined: 20 Sep 2003
Posts: 828
Location: Cambridge, MA

PostPosted: Fri Dec 17, 2004 5:57 pm    Post subject: Reply with quote

I have no experience under devfs with it, your best bet is to ask google probably.

Udev is a maintained version of devfs in userspace. Worth looking at since Devfs has unfixed problems that will forever remain unfixed since the developer disappeared I guess.
Back to top
View user's profile Send private message
muphicks
n00b
n00b


Joined: 22 Nov 2003
Posts: 48

PostPosted: Fri Dec 17, 2004 11:05 pm    Post subject: Reply with quote

I've emerged udev and followed a few of the guides/post on these forums, but still get the same problem. The device detects as /dev/tts/USB0 and /dev/tts/USB1 (and is assigned correct permissions for root/usb group) after pressing the hotsync button. However if I try to then do pilot-xfer -p /dev/tts/USB1 -l (or 0) I get a segmentation fault.

If I press hotsync and do nothing, the palm eventually timesout saying it cannot sync. The log files show the connection and later disconnection of the palm as well as creating the devices, so I'm assuming that its talking correctly. However, I'm still not sure what might be causing the seg fault when I try to do anything that uses the device with pilot-xfer

As before, I get the following error in my logs after the seg fault is reported:
Quote:
Dec 17 22:57:52 [kernel] Unable to handle kernel NULL pointer dereference at virtual address00000000

Which doesn't really help much, well for me anyway.

I'm pretty sure my kernel is configured correctly, and visor/usbserial load fine, the usb device is detected after pressing hotsync.. its just not usable.

Anyone any other ideas I could try?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum