Find the answer to your Linux question:
Results 1 to 10 of 10
Moved up to a Dell Inspiron 300m laptop running fedora core 2 (now). Next step is getting my Palm 3C which worked fine via serial on my old laptop to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Posts
    12

    Connecting serial palm to USB via converter help needed


    Moved up to a Dell Inspiron 300m laptop running fedora core 2 (now). Next step is getting my Palm 3C which worked fine via serial on my old laptop to the new one. Having no serial ports I bought a serial to usb converter and at this stage.

    Looking at /messages file I see the following on plug in of the device;
    Jun 21 14:28:10 localhost kernel: usb 2-1: new full speed USB device using addre ss 4
    Jun 21 14:28:10 localhost kernel: usbserial 2-1:1.0: PL-2303 converter detected
    Jun 21 14:28:10 localhost kernel: usb 2-1: PL-2303 converter now attached to tty USB0 (or usb/tts/0 for devfs)

    There is no pilot so I created one using ln -s TTYUSB0 pilot and setting up propper ownership.

    On the inital gnome-pilot section I chose USB as the connection and /dev/pilot (as there is no /dev/ttyUSB) yet on the inital sync there is no connection (and nothing written to log file)

    Any help is appreciated.
    thanks.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Can you post the output of the following command?
    Code:
    ls -l /sys/bus/usb/devices/2-1:1.0

  3. #3
    Just Joined!
    Join Date
    Jun 2004
    Posts
    12

    Here is the output. tnx

    ls -l /sys/bus/usb/devices/2-1:1.0
    lrwxrwxrwx 1 root root 0 Jun 22 09:27 /sys/bus/usb/devices/2-1:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0

    Hope this gets me sync'n

    lr

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Sorry, my fault... I knew that was a symlink. Stupid me.
    Try again with a slash at the end, ie. like this:
    Code:
    ls -l /sys/bus/usb/devices/2-1:1.0/
    Sorry for the inconvenience.

  6. #5
    Just Joined!
    Join Date
    Jun 2004
    Posts
    12
    lol, no problem the palm is at work with the laptop so I still have 2 + hours here *sigh*... anyway, here goes;

    ls -l /sys/bus/usb/devices/2-1:1.0/
    total 0
    -r--r--r-- 1 root root 4096 Jun 22 09:27 bAlternateSetting
    -r--r--r-- 1 root root 4096 Jun 22 09:27 bInterfaceClass
    -r--r--r-- 1 root root 4096 Jun 22 09:27 bInterfaceNumber
    -r--r--r-- 1 root root 4096 Jun 22 09:27 bInterfaceProtocol
    -r--r--r-- 1 root root 4096 Jun 22 09:27 bInterfaceSubClass
    -r--r--r-- 1 root root 4096 Jun 22 09:27 bNumEndpoints
    -rw-r--r-- 1 root root 4096 Jun 22 09:27 detach_state
    -r--r--r-- 1 root root 4096 Jun 22 09:27 iInterface
    drwxr-xr-x 2 root root 0 Jun 22 09:27 power
    drwxr-xr-x 3 root root 0 Jun 22 09:27 ttyUSB0

  7. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I'm just a bit confused about your first post... can you clarify some things?

    1. You said "ln -s TTYUSB0 pilot". Did you really mean TTYUSB0 with all capitals? In that case it's no wonder it didn't work, since I can't believe it would be spelled with capitals. It's usually ttyUSB0, as far as I know.

    2. You said "(as there is no /dev/ttyUSB)". Yet you said that you had symlinked /dev/pilot to it. Is there really no /dev/ttyUSB*?

  8. #7
    Just Joined!
    Join Date
    Jun 2004
    Posts
    12

    bad typing

    my bad. /dev/pilot is the following;
    ls -l /dev/pilot
    lrwxrwxrwx 1 root uucp 7 Jun 21 14:30 /dev/pilot -> ttyUSB0

    where as I type and see problem # 1. ttyUSB0 is under /dev/usb/ folder. Think I need to relink that and try!

    brb!

  9. #8
    Just Joined!
    Join Date
    Jun 2004
    Posts
    12

    pilot update

    ok, now here is the folllowing;

    ls -l pilot
    lrwxrwxrwx 1 root root 16 Jun 22 15:24 pilot -> /dev/usb/ttyUSB0

    tested that, still no output. Tried the pilot section in evoltion using both serial and USB with /dev/pilot as the port. Could it be permissions, but all /usb/ttyUSB devices are owned by root?

    No clue, tnx.

  10. #9
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    I think that what you should do first of al lis to open the file manually and see if that can be done. Try "cat /dev/pilot" and see if you get an error. If you don't, type Ctrl+C to interrupt cat. If you do get an error, the fault is somewhere around that, while if you don't get an error, the fault has to be with the sync program somehow.

  11. #10
    Just Joined!
    Join Date
    Jun 2004
    Posts
    12

    There it is!

    Tryed to cat /dev/pilot last night and got an error, (then again there was no device attached) so I wisly choose not to comment back....

    1st thing this am, cat the device and it sat there (no errors). Broke out, went to evolution, and did the sync.

    Naturally it took a few seconds, waited, waited, finally heard the sync, and read the info perfectly!

    Thanks sooooo much, u just made my day!

    Take care and thanks again.

    lr

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •