R: Re: Uwatec Smart Com

Dirk Hohndel dirk at hohndel.org
Sun Apr 14 10:13:02 PDT 2013


Hey Jef,

you are the obvious expert to maybe help here...

"himura.kenshin at libero.it" <himura.kenshin at libero.it> writes:
> Hi Dirk,
>
> Thank you for your answer, but as I told you in chat, it didn't work. I still am unable to establish a contact between subsurface and my Uwatec Smart Com.
> I tried also to change the file /etc/default/irda-utils of my kubuntu 12.04. The change was DEVICE="/dev/ttyS1" ---> DEVICE="irda0" and rebooted the pc. But no progress. Anyway it seems the error message is a little bit different:
>
> $ sudo irattach irda0 -s
> $ subsurface
> [4.000] ERROR: No dive computer found. [in uwatec_smart.c:193 (uwatec_smart_device_open)]
>
> yesterday it was
>
> [4.099] ERROR: No dive computer found. [in uwatec_smart.c:193 (uwatec_smart_device_open)] 
>
> I don't know if it means something, but [4.099] becomes [4.000].

That's just a time stamp :-)

But hopefully Jef can spot what's wrong.

/D



>>----Messaggio originale----
>>Da: dirk at hohndel.org
>>Data: 14/04/2013 15.55
>>A: "himura.kenshin at libero.it"<himura.kenshin at libero.it>, <subsurface at hohndel.org>
>>Ogg: Re: Uwatec Smart Com
>>
>>
>>Looking back into our own mail archive, I think I now understand what
>>your problem may be (and that is an omission in our documentation it
>>seems).
>>
>>In order for irda devices to work you appear to have to call
>>
>>sudo irattach irda0 -s
>>
>>in order to connect the new device to the irda utilities...
>>
>>I don't have such a device so I had forgotten about it.
>>
>>Can you try and confirm, please?
>>
>>Thanks
>>
>>/D
>>
>>"himura.kenshin at libero.it" <himura.kenshin at libero.it> writes:
>>
>>> Hi,
>>>
>>> I've got your e-mail address from dirkhh in #subsurface at irc.freenode.net.
>>>
>>> If I write you, it's because I've a connection problem with my Uwatec Smart 
>>> Com (that seems to be supported according to the internet site of subsurface).
>>>
>>> When I try to connect my pc with my SmartCom Uwatec (I'm using a usb-IrDA 
>>> bundle), subsurface suggests me to use /dev/ttyUSB0 as device/mount point, but 
>>> then I get the message "Unable to open Uwatec Smart Com (/dev/ttyUSB0)". I'm 
>>> running kubuntu 12.04.
>>> I tryed to understand what was wrong, so I tryed to type in the terminal the 
>>> following commands (results are at the end of this e-mail): 
>>> 1/ lsusb && lsusb -t
>>> 2/ dmesg
>>> 3/ subsurface -v
>>>
>>> But I'm a newbie and still unable to understand what is wrong.The only useful 
>>> information I can give you is that when I was on MS Windows XP (10 years ago) 
>>> that usb-IrDA bundle used to work fine with my SmartCom and SmartTrak (the 
>>> software of Uwatec). Now I've left windows because of some issue on my pc and 
>>> be very happy with Linux and don't want to change back or emulate the other OS.
>>>
>>> I hope that someone of you was able to communiate to an Uwatec Smart Com with 
>>> subsurface, and if so, please help me.
>>>
>>> Thank you in advance.
>>>
>>> Yours faithfully,
>>>
>>> Ab3L
>>> (#ubuntu-it-chat, #kubuntu-offtopic, and other @ irc.freenode.net)
>>>
>>> ========
>>>
>>> Results of lsusb && lsusb -t
>>>
>>>
>>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>> Bus 001 Device 002: ID 046d:0825 Logitech, Inc. Webcam C270
>>> Bus 001 Device 004: ID 1058:1110 Western Digital Technologies, Inc. 
>>> Bus 001 Device 005: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
>>> Bus 003 Device 002: ID 03f0:0b0c Hewlett-Packard Wireless Keyboard and Optical 
>>> Mouse 
>>> receiver                                                                                           
>>> Bus 001 Device 009: ID 066f:4210 SigmaTel, Inc. STIr4210 IrDA 
>>> Bridge                                                                                                                    
>>> /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 
>>> 12M                                                                                                                       
>>> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 
>>> 12M                                                                                                                       
>>> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 
>>> 12M                                                                                                                       
>>>     |__ Port 1: Dev 2, If 0, Class=HID, Driver=usbhid, 1.5
>>> M                                                                                                                             
>>>     |__ Port 1: Dev 2, If 1, Class=HID, Driver=usbhid, 1.5
>>> M                                                                                                                             
>>> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 
>>> 12M                                                                                                                       
>>> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 
>>> 480M                                                                                                                      
>>>     |__ Port 2: Dev 2, If 0, Class='bInterfaceClass 0x0e not yet handled', 
>>> Driver=uvcvideo, 
>>> 480M                                                                                        
>>>     |__ Port 2: Dev 2, If 1, Class='bInterfaceClass 0x0e not yet handled', 
>>> Driver=uvcvideo, 
>>> 480M                                                                                        
>>>     |__ Port 2: Dev 2, If 2, Class=audio, Driver=snd-usb-audio, 
>>> 480M                                                                                                                    
>>>     |__ Port 2: Dev 2, If 3, Class=audio, Driver=snd-usb-audio, 
>>> 480M                                                                                                                    
>>>     |__ Port 4: Dev 4, If 0, Class=stor., Driver=usb-storage, 480M
>>>     |__ Port 6: Dev 9, If 0, Class=app., Driver=ir-usb, 480M
>>>     |__ Port 7: Dev 5, If 0, Class=stor., Driver=usb-storage, 480M
>>>
>>>
>>> ===================
>>>
>>> Results of dmesg
>>>
>>> [46137.144980] usb 1-6: new high-speed USB device number 9 using ehci_hcd
>>> [46137.307259] IRDA-USB found at address 9, Vendor: 66f, Product: 4210
>>> [46137.307839] irda_usb_parse_endpoints(), And our endpoints are : in=02, 
>>> out=01 (512), int=00[46137.346415] irda_usb_init_qos(), dongle says 
>>> speed=0x17F, size=0x20, window=0x8, bofs=0x80, turn=0x4[46137.347530] IrDA: 
>>> Registered device irda0[46137.349860] STIR421X: Couldn't upload patch
>>> [46137.384419] irda-usb: probe of 1-6:1.0 failed with error -2[46137.384452] ir-
>>> usb 1-6:1.0: IR Dongle converter detected[46137.384749] usb 1-6: IR Dongle 
>>> converter now attached to ttyUSB0
>>>
>>> ===================
>>>
>>> Results of subsurface -v
>>>
>>>  [4.099] ERROR: No dive computer found. [in uwatec_smart.c:193 
>>> (uwatec_smart_device_open)] 
>>>
>>> ===================
>>>
>>> And also results of dpkg -l | grep -i dive
>>>
>>> ii  diveboard-plugin                          
>>> 1.2.0                                              Web Browser plugin for 
>>> DiveBoard:
>>> ii  libdivecomputer0                          0.3.0-
>>> 1~exp1ppa1                                   dive computer interface library
>>> ii  subsurface                                3.0.2-
>>> 1~exp2ppa1                                   Logbook program for scuba divers
>>>
>>>  
>>> _______________________________________________
>>> subsurface mailing list
>>> subsurface at hohndel.org
>>> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>>
>>-- 
>>Dirk Hohndel
>>Intel Open Source Technology Center
>>
>
>  
-- 
Dirk Hohndel
Intel Open Source Technology Center


More information about the subsurface mailing list