Re: Mandriva 2008 and libusb
Frederic Crozat <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.pilot |
|---|---|
| Organization | Mandriva |
| Message-ID | <[email protected]> |
Le mercredi 31 octobre 2007 à 07:44 +1100, Andrew Greig a écrit : > On Tue, 2007-10-30 at 17:56 +0100, Frederic Crozat wrote: > > Le mardi 30 octobre 2007 à 21:19 +1100, Andrew Greig a écrit : > > > Hi all, > > > > > > I understand that a Palm LifeDrive should sync "out of the box" with > > > Mandriva 2007+later under libusb. I have tried under 2007, 2007.1 and > > > now 2008 without success. In my desperation to use my business tool I > > > reverted to the visor module under 2007.1 and it was very reliable. I > > > have upgraded to Mandriva 2008 and I am otherwise pleased with it, but > > > sync is really a major irritation. > > > > > > bash-3.2$ cat /proc/bus/usb/devices (snip) > > > T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 13 Spd=480 MxCh= 0 > > > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > > > P: Vendor=0830 ProdID=0061 Rev= 1.00 > > > S: Manufacturer=palmOne, Inc. > > > S: Product=palmOne Handheld > > > S: SerialNumber=PVG0M635V3E1 > > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA > > > I:* If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) > > > E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=1250us > > > E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > > > E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > > > E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > > > (/snip) > > > > > > As you can see the Palm LifeDrive is detected but it will not sync under > > > libusb0.1_4. > > > > > > For some reason the visor module was loaded and I ran rmmod visor, > > > before trying the usb: setting. > > > > > > If I have missed something glaringly obvious, please be gentle;-) > > > > So, it looks like pilot-link doesn't detect your Lifedrive. > > > > Try running (and make sure visor module is NOT loaded) : > > PILOT_DEBUG=DEV PILOT_DEBUG_LEVEL=DEBUG PILOT_LOG=1 > > PILOT_LOGFILE=/tmp/your_pilot_log_file pilot-xfer -p usb: -l > > > > so we can see why it doesn't work. > > Thanks Frederic, > > [root@andrew log]# PILOT_DEBUG=DEV PILOT_DEBUG_LEVEL=DEBUG PILOT_LOG=1 > PILOT_LOGFILE=/tmp/Andrew_Greig_log_file pilot-xfer -p usb: -l > > Listening for incoming connection on usb:... usb_set_debug: Setting > debugging level to 2 (on) > usb_set_debug: Setting debugging level to 0 (off) > usb_set_debug: Setting debugging level to 2 (on) > usb_set_debug: Setting debugging level to 0 (off) > usb_set_debug: Setting debugging level to 2 (on) > usb_set_debug: Setting debugging level to 0 (off) > usb_set_debug: Setting debugging level to 2 (on) > usb_set_debug: Setting debugging level to 0 (off) > usb_set_debug: Setting debugging level to 2 (on) > usb_set_debug: Setting debugging level to 0 (off) > usb_set_debug: Setting debugging level to 2 (on) > etc..... till pilot times out > > Here is the log: > libusb.c 379 (u_open). > libusb.c 387 (u_open). > libusb.c 415 (u_wait_for_device). > libusb.c: checking device 0x8058d08 > libusb.c: checking device 0x8059dd0 > libusb.c: checking device 0x805be90 > libusb.c: 132, 0x0830 0x0061. > libusb.c: trying to open device 0x805be90 > libusb.c: USB_handle=0x8053e10 > usb: PALM_GET_EXT_CONNECTION_INFORMATION, num_ports=1, > endpoint_numbers_different=1 > [0] port_function_id='Lsfr' > [0] port=2 > [0] endpoint_info=98 > usb: PALM_GET_EXT_CONNECTION_INFORMATION - no hotsync port found. > libusb.c: USB configure failed for familar device: 0x0830 0x0061. > (LifeDrive issue?) I think, from the log, it is quite clear now : there is an issue in pilot-link through libusb with LifeDrive and you are hitting it. Maybe David Desrosiers will have a clue about it ? -- Frederic Crozat <[email protected]> Mandriva