[nmglug] USB port string

Nick Frost nickf at nickorama.com
Wed Dec 2 08:10:54 PST 2009


On Dec 2, 2009, at 8:13 AM, a wrote:

> Good Morning:
> trying to get the usb to serial port adapter initialized. (hobby  
> Boards
> adapter). Any suggestions welcomed. Thanks Anthony K

Does /dev/ttyUSB exist?  If not you might have to create the device  
with mknod
for example;

http://www.linux-usb.org/USB-guide/x356.html

-Nick



>
> resourses:
>
> a at a-desktop:~$ digitemp_DS2490 -s/dev/ttyUSB1 -i
> DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
> GNU Public License v2.0 - http://www.digitemp.com
> Found DS2490 device #1 at 005/004
> USB ERROR: owAcquire called with invalid port string
>
> a at a-desktop:~$ digitemp_DS2490 -s/dev/ttyUSB -i
> DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
> GNU Public License v2.0 - http://www.digitemp.com
> Found DS2490 device #1 at 005/004
> USB ERROR: owAcquire called with invalid port string
>
>
> 2701.171559] usb 5-1: new full speed USB device using uhci_hcd and
> address 2
> [ 2701.337265] usb 5-1: configuration #1 chosen from 1 choice
> [ 2701.371300] Driver for 1-wire Dallas network protocol.
> [ 2701.399267] usbcore: registered new interface driver DS9490R
> [ 2702.942214] w1_master_driver w1 bus master: Family 10 for
> 10.000801dfdd99.28 is not registered.
> [ 2704.482400] w1_master_driver w1 bus master: Family 81 for
> 81.0000002ca460.27 is not registered.
> [ 3167.829069] usb 5-1: USB disconnect, address 2
> [ 3231.314542] usb 5-2: new full speed USB device using uhci_hcd and
> address 3
> [ 3231.476279] usb 5-2: configuration #1 chosen from 1 choice
> [ 3233.027363] w1_master_driver w1 bus master: Family 10 for
> 10.000801dfdd99.28 is not registered.
> [ 3234.567553] w1_master_driver w1 bus master: Family 81 for
> 81.0000002ca460.27 is not registered.
> [ 3338.597189] Failed to read 1-wire data from 0x81: err=-84.
> [ 3338.597194] 0x81: count=-84, status:
>
> a at a-desktop:~$ lsusb
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 006 Device 003: ID 0d62:2106 Darfon Electronics Corp.
> Bus 006 Device 002: ID 046d:c063 Logitech, Inc.
> Bus 006 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 003: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1
> Fob, 1-Wire adapter
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> a at a-desktop:~$ lsusb
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 006 Device 003: ID 0d62:2106 Darfon Electronics Corp.
> Bus 006 Device 002: ID 046d:c063 Logitech, Inc.
> Bus 006 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
> a at a-desktop:~$
>
> [dt-general] USB problem
> Brian C. Lane bcl at brianlane.com
> Fri Nov 5 08:36:33 CST 2004
>
>      * Previous message: [dt-general] USB problem
>      * Next message: [dt-general] Re: problem with temperature sensor
>        bias
>      * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
> ________________________________________________________________________
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Todd Patrick wrote:
> | I'm trying to get an USB sensor purchased from Puce Baboon to work  
> with
> | kernel 2.6.  When I try to initialize the .digitemprc file, I  
> receive
> | the following error:
> |
> | USB ERROR: owAcquire called with invalid port string
> |
> | This is the command I use:
> |
> | digitemp_DS2490 -s /dev/ttyUSB0 -i
> |
> | No matter what number I use (0-15) I still receive the error.   
> Probably,
> | I'm overlooking something easy but I can't figure it out.  Any
> suggestions?
> |
>
> You need to just pass it 'USB' for it to work right. Sorry about  
> that, I
> don't know how I missed putting that into the FAQ and changing the  
> error
> string. It will be fixed in the next release.
>
> Brian
>
>
> - --
> - ---[Office 67.8F]--[Fridge 34.7F]---[Fozzy 85.0F]--[Coaster  
> 64.0F]---
> Linux Software Developer                     http://www.brianlane.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFBi4/xIftj/pcSws0RAoaMAJ0SFq8/l1JYNzpqp+Rl77+T+cyXEQCdFiYs
> 6TmuKaCEjU5QlCKe0xJjz8Q=
> =2qhq
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> https://nmglug.org/mailman/listinfo/nmglug

---------------------------------------
Nicholas S. Frost
7 Avenida Vista Grande #325
Santa Fe, NM  87508
nickf at nickorama.com
----------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3819 bytes
Desc: not available
URL: <http://lists.nmglug.org/pipermail/nmglug-nmglug.org/attachments/20091202/8176419d/attachment.bin>


More information about the nmglug mailing list