LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   pda won't work with Evolution in Fedora (https://www.linuxquestions.org/questions/fedora-35/pda-wont-work-with-evolution-in-fedora-131568/)

mohapi 01-04-2004 09:26 PM

pda won't work with Evolution in Fedora
 
I'm having trouble using Evolution with my Sony Clie PEG-SJ22 pda. I've got the pilot settings set as /visorbackup localbasedir, MyPilot as pilot name, got the ID # from the pda, cradle as Device name, /dev/ttyUSB1 as Port, usb as device Type, Backup is enabled, Eaddress, Ecalendar, & E todo are all set as synchronize, File is enabled. My log looks like this after I try to connect Evolution and the pda;

Jan 4 19:22:23 localhost kernel: hub.c: new USB device 00:07.2-1.4, assigned address 13
Jan 4 19:22:23 localhost kernel: usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter detected
Jan 4 19:22:23 localhost kernel: usb-uhci.c: interrupt, status 2, frame# 50
Jan 4 19:22:26 localhost kernel: usb_control/bulk_msg: timeout
Jan 4 19:22:26 localhost kernel: visor.c: visor_startup - error -110 getting connection info
Jan 4 19:22:26 localhost kernel: usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
Jan 4 19:22:26 localhost kernel: usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
Jan 4 19:22:29 localhost kernel: usb-uhci.c: interrupt, status 3, frame# 1291
Jan 4 19:22:29 localhost kernel: usb.c: USB disconnect on device 00:07.2-1.4 address 13
Jan 4 19:22:30 localhost kernel: usb-uhci.c: ENXIO 80000d80, flags 0, urb efc9cdc0, burb efc9ccc0
Jan 4 19:22:30 localhost usb.agent[30636]: missing kernel or user mode driver visor
Jan 4 19:22:30 localhost kernel: usb-uhci.c: ENXIO 80000d80, flags 0, urb efc9c740, burb efc9ccc0
Jan 4 19:22:30 localhost kernel: usb-uhci.c: ENXIO 80000d80, flags 0, urb efc9c740, burb efc9ccc0
Jan 4 19:22:31 localhost kernel: sda: Unit Not Ready, sense:
Jan 4 19:22:31 localhost kernel: Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
Jan 4 19:22:31 localhost kernel: sda : READ CAPACITY failed.
Jan 4 19:22:31 localhost kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jan 4 19:22:31 localhost kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
Jan 4 19:22:31 localhost kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jan 4 19:22:31 localhost kernel: sda: test WP failed, assume Write Enabled
Jan 4 19:22:31 localhost kernel: sda: I/O error: dev 08:00, sector 0
Jan 4 19:22:31 localhost kernel: I/O error: dev 08:00, sector 0
Jan 4 19:22:31 localhost kernel: unable to read partition table
Jan 4 19:22:31 localhost kernel: Device not ready. Make sure there is a disc in the drive.
Jan 4 19:22:31 localhost kernel: Device not ready. Make sure there is a disc in the drive.
Jan 4 19:22:31 localhost kernel: usb_control/bulk_msg: timeout
Jan 4 19:22:31 localhost kernel: visor.c: Bytes In = 199 Bytes Out = 142
Jan 4 19:22:31 localhost kernel: usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now disconnected from ttyUSB0
Jan 4 19:22:31 localhost kernel: usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now disconnected from ttyUSB1
Jan 4 19:22:31 localhost kernel: sda: Unit Not Ready, sense:
Jan 4 19:22:31 localhost kernel: Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
Jan 4 19:22:31 localhost kernel: sda : READ CAPACITY failed.
Jan 4 19:22:31 localhost kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jan 4 19:22:31 localhost kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
Jan 4 19:22:31 localhost kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jan 4 19:22:31 localhost kernel: sda: test WP failed, assume Write Enabled
Jan 4 19:22:31 localhost kernel: sda: I/O error: dev 08:00, sector 0
Jan 4 19:22:31 localhost kernel: I/O error: dev 08:00, sector 0
Jan 4 19:22:31 localhost kernel: unable to read partition table
Jan 4 19:22:31 localhost kernel: Device not ready. Make sure there is a disc in the drive.
Jan 4 19:22:31 localhost kernel: Device not ready. Make sure there is a disc in the drive.
Jan 4 19:22:35 localhost kernel: sda: Unit Not Ready, sense:
Jan 4 19:22:35 localhost kernel: Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
Jan 4 19:22:35 localhost kernel: sda : READ CAPACITY failed.
Jan 4 19:22:35 localhost kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jan 4 19:22:35 localhost kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
Jan 4 19:22:35 localhost kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jan 4 19:22:35 localhost kernel: sda: test WP failed, assume Write Enabled
Jan 4 19:22:35 localhost kernel: sda: I/O error: dev 08:00, sector 0
Jan 4 19:22:35 localhost kernel: I/O error: dev 08:00, sector 0
Jan 4 19:22:35 localhost kernel: unable to read partition table
Jan 4 19:22:35 localhost kernel: Device not ready. Make sure there is a disc in the drive.
Jan 4 19:22:35 localhost kernel: Device not ready. Make sure there is a disc in the drive.
Jan 4 19:22:35 localhost kernel: sda: Unit Not Ready, sense:
Jan 4 19:22:35 localhost kernel: Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
Jan 4 19:22:35 localhost kernel: sda : READ CAPACITY failed.
Jan 4 19:22:35 localhost kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jan 4 19:22:35 localhost kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
Jan 4 19:22:35 localhost kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jan 4 19:22:35 localhost kernel: sda: test WP failed, assume Write Enabled
Jan 4 19:22:35 localhost kernel: sda: I/O error: dev 08:00, sector 0
Jan 4 19:22:35 localhost kernel: I/O error: dev 08:00, sector 0
Jan 4 19:22:35 localhost kernel: unable to read partition table
Jan 4 19:22:35 localhost kernel: Device not ready. Make sure there is a disc in the drive.
Jan 4 19:22:35 localhost kernel: Device not ready. Make sure there is a disc in the drive.
Jan 4 19:22:38 localhost devlabel: devlabel service started/restarted
Jan 4 19:22:38 localhost devlabel: devlabel service started/restarted
Jan 4 19:22:40 localhost kernel: sda: Unit Not Ready, sense:
Jan 4 19:22:40 localhost kernel: Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
Jan 4 19:22:40 localhost kernel: sda : READ CAPACITY failed.
Jan 4 19:22:40 localhost kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jan 4 19:22:40 localhost kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
Jan 4 19:22:40 localhost kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jan 4 19:22:40 localhost kernel: sda: test WP failed, assume Write Enabled
Jan 4 19:22:40 localhost kernel: sda: I/O error: dev 08:00, sector 0
Jan 4 19:22:40 localhost kernel: I/O error: dev 08:00, sector 0
Jan 4 19:22:40 localhost kernel: unable to read partition table
Jan 4 19:22:40 localhost kernel: Device not ready. Make sure there is a disc in the drive.

Where is my error?
TIA

blaroe 01-05-2004 09:49 AM

Enter the following as root

chmod 0666 /dev/ttyUSB1

Then try the sync again.

bl

mohapi 01-05-2004 10:26 AM

still no sync.
[root@localhost root]# chmod 0666 /dev/ttyUSB1
[root@localhost root]# ls -lah /dev/ttyUSB1
crw------- 1 booda uucp 188, 1 Jan 4 19:22 /dev/ttyUSB1

mohapi 01-05-2004 10:28 AM

Do I need an /etc/fstab entry for this pda? My current is;

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
LABEL=/data1 /data1 ext3 defaults 1 2
LABEL=/data2 /data2 ext3 defaults 1 2
LABEL=/data3 /data3 ext3 defaults 1 2
LABEL=/data4 /data4 ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
LABEL=/opt1 /opt1 ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/usr/local /usr/local ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
/dev/hda12 swap swap defaults 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,user,kudzu,ro 0 0
/dev/sda1 /mnt/camera auto user,noauto 0 0
/dev/sda1 /mnt/neuros vfat user,sync,noauto 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

blaroe 01-05-2004 01:53 PM

No you don't need an fstab entry for this.

This line from your first mail is interesting -

Code:

Jan 4 19:22:30 localhost usb.agent[30636]: missing kernel or user mode driver visor
I don't have a Sony, but it looks like it's trying to use a visor driver and the module is missing. As root, if you type

/sbin/lsmod

you should see a Module called "visor". If you don't, try

/sbin/modprobe visor

and look again. If you see the visor module, try your sync again. If you don't see the module, you might need to do a search on Clie drivers, or try to load one with whatever package manager you are using.

bl

wiraone 01-05-2004 03:27 PM

If I'm not wrong, the kernel is trying to load the visor.o module (driver) which should be in the /lib/modules/<kernel release>/kernel/drivers/usb/serial/visor.o. I have no problem with my Sony TG50 using the same visor driver before but I couldn't help much in your case since I'm on kernel 2.6.0 right now..

mohapi 01-05-2004 08:34 PM

/sbin/lsmod

usbcore 78368 1 [usb-storage visor usbserial hid usb-uhci]

It's there.

Wombat 01-16-2004 07:31 PM

I have the same problem. Googling for the "error 110" brought me to this thread. It seems to be unique to Clie's so far. I have an SJ22, and my motherboard is using a VIA USB host. Running Fedora Core, and 2.4.22-1.2140.nptl

The visor module is loaded, and when I hit the hotsync button on the Clie, it will show up as a USB device if I lsusb. I've tried /dev/usb/ttyUSB00|1 and /dev/ttyUSB00|1

My error seems a bit different from mohapi's though. Here's what happens in my messages log when I hit the HotSync button, and let it time out with error. Note that I still have the lovely
Jan 16 18:23:41 lucien usb.agent[4339]: missing kernel or user mode driver visor

But the module shows up in lsmod.


***************************************
Jan 16 18:23:38 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:23:38 lucien kernel: visor.c: visor_startup - error -110 getting connection info
Jan 16 18:23:38 lucien kernel: usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
Jan 16 18:23:38 lucien kernel: usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
Jan 16 18:23:41 lucien kernel: usb-uhci.c: ENXIO 80001980, flags 0, urb d271b140, burb d271b540
Jan 16 18:23:41 lucien usb.agent[4339]: missing kernel or user mode driver visor
Jan 16 18:23:42 lucien kernel: usb-uhci.c: ENXIO 80001980, flags 0, urb d271b140, burb d271b540
Jan 16 18:23:42 lucien kernel: usb-uhci.c: ENXIO 80001980, flags 0, urb d271b140, burb d271b540
Jan 16 18:23:42 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:23:42 lucien kernel: usb-uhci.c: interrupt, status 2, frame# 1183
Jan 16 18:23:44 lucien devlabel: devlabel service started/restarted
Jan 16 18:23:45 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:23:45 lucien kernel: visor.c: Bytes In = 0 Bytes Out = 0
Jan 16 18:23:48 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:23:48 lucien kernel: usb-uhci.c: interrupt, status 2, frame# 1080
Jan 16 18:23:51 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:23:51 lucien kernel: visor.c: Bytes In = 0 Bytes Out = 0
Jan 16 18:23:53 lucien kernel: usb-uhci.c: interrupt, status 2, frame# 2014
Jan 16 18:23:56 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:23:59 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:23:59 lucien kernel: visor.c: Bytes In = 0 Bytes Out = 0
Jan 16 18:23:59 lucien kernel: usb-uhci.c: interrupt, status 2, frame# 1912
Jan 16 18:24:02 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:24:05 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:24:05 lucien kernel: visor.c: Bytes In = 0 Bytes Out = 0
Jan 16 18:24:07 lucien kernel: usb-uhci.c: interrupt, status 2, frame# 1771
Jan 16 18:24:10 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:24:13 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:24:13 lucien kernel: visor.c: Bytes In = 0 Bytes Out = 0
Jan 16 18:24:13 lucien kernel: usb-uhci.c: interrupt, status 2, frame# 166Jan 16 18:24:16 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:24:19 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:24:19 lucien kernel: visor.c: Bytes In = 0 Bytes Out = 0
Jan 16 18:24:21 lucien kernel: usb-uhci.c: interrupt, status 2, frame# 1528
Jan 16 18:24:24 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:24:27 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:24:27 lucien kernel: visor.c: Bytes In = 0 Bytes Out = 0
Jan 16 18:24:27 lucien kernel: usb-uhci.c: interrupt, status 2, frame# 1425
Jan 16 18:24:30 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:24:33 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:24:33 lucien kernel: visor.c: Bytes In = 0 Bytes Out = 0
Jan 16 18:24:35 lucien kernel: usb-uhci.c: interrupt, status 2, frame# 1286
Jan 16 18:24:35 lucien kernel: usb.c: USB disconnect on device 00:07.2-1 address 25
Jan 16 18:24:38 lucien kernel: usb_control/bulk_msg: timeout
Jan 16 18:24:38 lucien kernel: visor.c: Bytes In = 0 Bytes Out = 0
Jan 16 18:24:38 lucien kernel: usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now disconnected from ttyUSB0
Jan 16 18:24:38 lucien kernel: usbserial.c: Handspring Visor / Treo / Palm 4.0 / Clie 4.x converter now disconnected from ttyUSB1
Jan 16 18:24:40 lucien devlabel: devlabel service started/restarted
8

Wombat 01-16-2004 10:21 PM

It seems something is broken in Fedora. Here is a thread on RedHat's fedora list. No solution though.

http://www.redhat.com/archives/fedor.../msg05542.html

wiraone 01-17-2004 01:21 AM

I've no problem using my Clie TG50 with the old kernel (2.4) and the new kernel (2.6) .. so I guess this problem most probably unique to some Clie models .. anyway, my mobo is using VIA chipset too ..

Wombat 01-17-2004 01:36 AM

I found a user who said it was working for him with RH7 & RH8, but he upgraded to Fedora and it stopped working.

I've installed the 2.6.1 kernel rpm. The machine is running, but gpilotd segfaults. Still trying to track that down. And /var/log/messages isn't reporting anything when I try a hotsync. And I had to modprobe visor manually.

Here's the output from the modprobe, notice that the Clie 4 support isn't there:

*******************
Jan 16 22:03:05 lucien kernel: drivers/usb/core/usb.c: registered new driver usbfs
Jan 16 22:03:05 lucien kernel: drivers/usb/core/usb.c: registered new driver hub
Jan 16 22:03:05 lucien kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
Jan 16 22:03:05 lucien kernel: drivers/usb/core/usb.c: registered new driver usbserial
Jan 16 22:03:05 lucien kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
Jan 16 22:03:05 lucien kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
Jan 16 22:03:05 lucien kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
Jan 16 22:03:05 lucien kernel: drivers/usb/core/usb.c: registered new driver visor
Jan 16 22:03:05 lucien kernel: drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver v2.1

wiraone 01-17-2004 02:06 AM

gpilotd segfaults, seems very similar with what I was getting before .. have you check that your /dev/pilot is linked correctly to /dev/ttyUSB1? And the permission of /dev/ttyUSB1 should allows you to read/write to it?

here is mine ..

crw------- 1 mmisnan uucp 188, 1 Jan 5 17:49 /dev/ttyUSB1

mohapi 01-17-2004 09:38 AM

How do I link /dev/pilot to /dev/ttyUSB1? Is it " ln -s /dev/ttyUSB1 /dev/pilot" ?
And are my permissions ok , or should user have the rw ?

]# ls -lah /dev/ttyUSB1
crw-rw---- 1 root uucp 188, 1 Sep 15 06:40 /dev/ttyUSB1

wiraone 01-18-2004 01:56 AM

The first time I set it up, I have the permission set to user rw .. and when it does the first correct sync, it changed to the one as is now .. so, yes, change the permission to allow user to rw on that device ..

mohapi 01-18-2004 11:02 AM

My next question would be; " Does evolution automatically find my pda when I run a hotsinc on it and if not,how do i tell the two to hookup? I just answered that. It seems to be working. I synced, it gave info to Evolution's calendar and all hopefully will remain well.


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