[ale] Handspring/USB with Linux
Gene Matthews
gene at mmc-inc.com
Fri Dec 14 14:51:42 EST 2001
I forgot to include usbview output in the last note:
USB UHCI Root Hub
Serial Number: 1c00
Speed: 12Mb/s (full)
Number of Ports: 2
Bandwidth allocated: 0 / 900 (0%)
Total number of interrupt requests: 0
Total number of isochronous requests: 0
USB Version: 1.00
Device Class: 09(hub )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Config Number: 1
Number of Interfaces: 1
Attributes: 40
MaxPower Needed: 0mA
Interface Number: 0
Name: hub
Alternate Number: 0
Class: 09(hub )
Sub Class: 0
Protocol: 0
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 8
Interval: 255ms
gene
Gene Matthews wrote:
> ok, i'm up on the 2.4.9-12 kernel now under RH 7.1. The dmesg looks
> pretty clean after a reboot for usb:
>
>
> [root at matthew /root]# dmesg|grep usb
> usb.c: registered new driver usbdevfs
> usb.c: registered new driver hub
> usb-uhci.c: $Revision: 1.259 $ time 18:40:10 Oct 30 2001
> usb-uhci.c: High bandwidth mode enabled
> usb-uhci.c: USB UHCI at I/O 0x1c00, IRQ 11
> usb-uhci.c: Detected 2 ports
> usb.c: new USB bus registered, assigned bus number 1
> usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
>
>
> I have /dev/pilot as follows:
>
> lrwxrwxrwx 1 root root 16 Dec 13 22:29 /dev/pilot ->
> /dev/usb/ttyUSB0
>
> When I run jpilot (version 0.99) after hitting the sync button on the
> cradle and then the sync button in jpilot:
>
>
>
> usb.c: USB device 2 (vend/prod 0x82d/0x100) is not claimed by any active
> driver.
> usbserial.c: USB Serial support registered for Generic
> usb.c: registered new driver serial
> usbserial.c: USB Serial Driver core v1.3
> usbserial.c: USB Serial support registered for Handspring Visor
> usbserial.c: Handspring Visor converter detected
> usbserial.c: Handspring Visor converter now attached to ttyUSB0 (or
> usb/tts/0 for devfs)
> usbserial.c: Handspring Visor converter now attached to ttyUSB1 (or
> usb/tts/1 for devfs)
> usbserial.c: USB Serial support registered for Palm M500
> usbserial.c: USB Serial support registered for Palm M505
> usbserial.c: USB Serial support registered for Sony Clie 3.5
> usbserial.c: USB Serial support registered for Sony Clie 4.0
> usb-uhci.c: interrupt, status 3, frame# 1459
> usb.c: USB disconnect on device 2
> usb-uhci.c: interrupt, status 2, frame# 1465
> usbserial.c: Handspring Visor converter now disconnected from ttyUSB0
> usbserial.c: Handspring Visor converter now disconnected from ttyUSB1
>
>
> Ok, tried it the other way: sync button in jpilot then on cradle:
>
>
> usbserial.c: Handspring Visor converter detected
> usbserial.c: Handspring Visor converter now attached to ttyUSB0 (or
> usb/tts/0 for devfs)
> usbserial.c: Handspring Visor converter now attached to ttyUSB1 (or
> usb/tts/1 for devfs)
> usb-uhci.c: interrupt, status 3, frame# 1484
> usb.c: USB disconnect on device 3
> usb-uhci.c: interrupt, status 2, frame# 1494
> usbserial.c: Handspring Visor converter now disconnected from ttyUSB0
> usbserial.c: Handspring Visor converter now disconnected from ttyUSB1
>
>
> Any thoughts?
>
> Thanks,
>
> Gene
>
>
>
>
>
>
>
>
>
>
>
>
> Gene Matthews wrote:
>
>> What do you see in the usbview output that indicates it is not working
>> properly?
>>
>> I have RH 7.1 distro. I'll see about getting 2.4.9 from the RH site.
>>
>> dmesg does show some "usb.c: error getting string descriptor" messages.
>>
>> Thanks,
>> Gene
>>
>> dmesg output (I just grep'd for usb):
>>
>>
>> usb.c: registered new driver usbdevfs
>> usb.c: registered new driver hub
>> usb-uhci.c: $Revision: 1.251 $ time 20:53:29 Apr 8 2001
>> usb-uhci.c: High bandwidth mode enabled
>> usb-uhci.c: USB UHCI at I/O 0x1c00, IRQ 11
>> usb-uhci.c: Detected 2 ports
>> usb.c: new USB bus registered, assigned bus number 1
>> usb.c: USB device 2 (vend/prod 0x82d/0x100) is not claimed by any
>> active driver.
>> usbserial.c: USB Serial support registered for Generic
>> usb.c: registered new driver serial
>> usbserial.c: USB Serial support registered for Handspring Visor
>> usbdevfs: async_completed: status 0 errcount 0 actlen 18 pipe 0x80000280
>> usbdevfs: async_completed: status 0 errcount 0 actlen 18 pipe 0x80000280
>> usbdevfs: async_completed: status 0 errcount 0 actlen 9 pipe 0x80000280
>> usbdevfs: async_completed: status 0 errcount 0 actlen 46 pipe 0x80000280
>> usbdevfs: async_completed: status 0 errcount 0 actlen 4 pipe 0x80000280
>> usbdevfs: async_completed: status 0 errcount 0 actlen 34 pipe 0x80000280
>> usbdevfs: async_completed: status 0 errcount 0 actlen 4 pipe 0x80000280
>> usbdevfs: async_completed: status 0 errcount 0 actlen 34 pipe 0x80000280
>> usb.c: USB disconnect on device 2
>> usbserial.c: Handspring Visor converter detected
>> usb-uhci.c: ENXIO 80000380, flags 0, urb cf3dab40, burb cf3da4c0
>> usb.c: error getting string descriptor 0 (error=-6)
>> usb-uhci.c: ENXIO 80000380, flags 0, urb cf3dab40, burb cf3da4c0
>> usb.c: error getting string descriptor 0 (error=-6)
>> usb-uhci.c: ENXIO 80000380, flags 0, urb cf3dab40, burb cf3da4c0
>> usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 4 ret -6
>> usbserial.c: Handspring Visor converter now attached to ttyUSB0 (or
>> usb/tts/0 for devfs)
>> usbserial.c: Handspring Visor converter now attached to ttyUSB1 (or
>> usb/tts/1 for devfs)
>> usb-uhci.c: interrupt, status 3, frame# 437
>> usb.c: USB disconnect on device 3
>> usb-uhci.c: interrupt, status 2, frame# 439
>> usbserial.c: Handspring Visor converter now disconnected from ttyUSB0
>> usbserial.c: Handspring Visor converter now disconnected from ttyUSB1
>> usbserial.c: Handspring Visor converter detected
>> usb-uhci.c: ENXIO 80000480, flags 0, urb cf3daec0, burb cf3dac40
>> usb.c: error getting string descriptor 0 (error=-6)
>> usb-uhci.c: ENXIO 80000480, flags 0, urb cf3daec0, burb cf3dac40
>> usb.c: error getting string descriptor 0 (error=-6)
>> usb-uhci.c: ENXIO 80000480, flags 0, urb cf3daec0, burb cf3dac40
>> usbdevfs: USBDEVFS_CONTROL failed dev 4 rqt 128 rq 6 len 4 ret -6
>> usb-uhci.c: ENXIO 80000480, flags 0, urb cf3daec0, burb cf3dac40
>> usb.c: error getting string descriptor 0 (error=-6)
>> usb-uhci.c: ENXIO 80000480, flags 0, urb cf3daec0, burb cf3dac40
>> usb.c: error getting string descriptor 0 (error=-6)
>> usbserial.c: Handspring Visor converter now attached to ttyUSB0 (or
>> usb/tts/0 for devfs)
>> usbserial.c: Handspring Visor converter now attached to ttyUSB1 (or
>> usb/tts/1 for devfs)
>> usb-uhci.c: interrupt, status 3, frame# 1138
>> usb.c: USB disconnect on device 4
>> usb-uhci.c: interrupt, status 2, frame# 1157
>> usbserial.c: Handspring Visor converter now disconnected from ttyUSB0
>> usbserial.c: Handspring Visor converter now disconnected from ttyUSB1
>>
>>
>>
>>
>>
>>
>> Chris Woodruff wrote:
>>
>>> OK it doesn't look like you have usb working correctly. Can you please
>>> paste in the dmesg from the /var/log/ dir so I can see it. If you scan
>>> through there and see that there are errors in regards to usb.c then we
>>> may have to recompile the kernel. I assume that you not performed a
>>> custom compile?
>>>
>>> Did you buy a copy of RH 7.1 or is this a burned copy? I ask because RH
>>> has an upgrade for the kernel to 2.4.9 and that may help with this
>>> problem. This usb stuff is stuff to make work sometimes.
>>>
>>> I was having problems with usb on my laptop since I needed to use a
>>> mouse and all it had was usb ports. I am looking at getting a new palm
>>> since my palm III died not too long ago.
>>>
>>> Chris W
>>>
>>> On Fri, 2001-12-14 at 09:23, Gene Matthews wrote:
>>>
>>>> Well, I was assuming I didn't have usbview installed, but I do.
>>>> I think it looks ok, output is below:
>>>>
>>>> USB UHCI Root Hub
>>>> Serial Number: 1c00
>>>> Speed: 12Mb/s (full)
>>>> Number of Ports: 2
>>>> Bandwidth allocated: 0 / 900 (0%)
>>>> Total number of interrupt requests: 0
>>>> Total number of isochronous requests: 0
>>>> USB Version: 1.00
>>>> Device Class: 09(hub )
>>>> Device Subclass: 00
>>>> Device Protocol: 00
>>>> Maximum Default Endpoint Size: 8
>>>> Number of Configurations: 1
>>>>
>>>> Config Number: 1
>>>> Number of Interfaces: 1
>>>> Attributes: 40
>>>> MaxPower Needed: 0mA
>>>>
>>>> Interface Number: 0
>>>> Name: hub
>>>> Alternate Number: 0
>>>> Class: 09(hub )
>>>> Sub Class: 0
>>>> Protocol: 0
>>>> Number of Endpoints: 1
>>>>
>>>> Endpoint Address: 81
>>>> Direction: in
>>>> Attribute: 3
>>>> Type: Int.
>>>> Max Packet Size: 8
>>>> Interval: 255ms
>>>>
>>>>
>>>>
>>>>
>>>> Are you using Jpilot?
>>>>
>>>>
>>>> Thanks again,
>>>>
>>>> Gene
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Gene Matthews wrote:
>>>>
>>>>
>>>>> Thanks. I don't have my distro cds with me at the moment. If I
>>>>> can't find usbview on the net for download, I'll do it tonight or
>>>>> tommorow.
>>>>>
>>>>> Thanks for the reply.
>>>>>
>>>>> Gene
>>>>>
>>>>> Chris Woodruff wrote:
>>>>>
>>>>>
>>>>>> Make sure that USB is working correctly. I have been fighting
>>>>>> with USB
>>>>>> on a laptop for a few days and it finally works. I will lend a
>>>>>> hand to
>>>>>> help since it was also a RH 7.1 install. First install usbview
>>>>>> (if not
>>>>>> already installed. It is on the distro cd's) and see if the system
>>>>>> recognizes that you have USB controllers. If so then it should also
>>>>>> tell if it sees the usb device off the controller.
>>>>>>
>>>>>> That's the first step. Email me if you want further help.
>>>>>>
>>>>>> Chris Woodruff
>>>>>>
>>>>>> On Fri, 2001-12-14 at 09:03, Gene Matthews wrote:
>>>>>>
>>>>>>
>>>>>>> I'm trying to get my Handspring visor to sync under linux with a
>>>>>>> USB cable. I've never used any USB devices under linux before.
>>>>>>> I'm not real sure how to see if USB is working properly.
>>>>>>>
>>>>>>> I'm running RH 7.1 (2.4.2-2).
>>>>>>>
>>>>>>> I'm trying jpilot, but I haven't gotten it sync successfuly. And
>>>>>>> afer looking at the jpilot web page, it looks like it only does
>>>>>>> serial not usb. I do have a serial cradle also, just not with me
>>>>>>> now.
>>>>>>>
>>>>>>> Anyone know of a palm package that works with USB?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Gene
>>>>>>>
>>>>>>>
>>>>>>> ---
>>>>>>> This message has been sent through the ALE general discussion list.
>>>>>>> See http://www.ale.org/mailing-lists.shtml for more info.
>>>>>>> Problems should be sent to listmaster at ale dot org.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>>
>> ---
>> This message has been sent through the ALE general discussion list.
>> See http://www.ale.org/mailing-lists.shtml for more info. Problems
>> should be sent to listmaster at ale dot org.
>>
>>
>
>
>
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems
> should be sent to listmaster at ale dot org.
>
>
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list