From: DylanB <dbr...@un...> - 2009-08-31 09:46:41
|
Hello, I'm having trouble establishing a connection via serial. I don't have a serial port on my laptop so I am using a USB to serial conversion. This (the same cable) has worked for me in the past many times. Now when I try to establist a connection via kermit I get the following: dylan@dylan-laptop:~$ kermit -l /dev/USB0 can't open device I have tried all of the ports on my laptop, both of the ubuntu versions I have (8.04 and 9.04), and also a different cable that I connect my ipod to. Nothing has worked. What I am most puzzled about is that I was working one minute and then not the next. I was trying to establish a connection with my IMU (microstrain 3dm-gx1) when the problem started. The sequence of events was as follows: Cable diagram laptop---USB------------RS232--------------4pins (Tx Rx V gnd)--IMU (battery connected to IMU) -IMU command recognises USB0 port and establishes connection. -I get other errors that I think relate to a bent pin connecting into the IMU. -I correct the pin and reassemble -IMU command gets virtually same errors -I change the baud rate on the IMU -Same errors -I unplug the cable and try again and the port is no longer recognised -No sign of ttyUSB* in /dev -I have restarted a couple of times I'm just listing everything that happened because I have no idea where the error is. Thanks. -- View this message in context: http://www.nabble.com/USB-port-trouble-tp25220786p25220786.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Rod B. <rb...@st...> - 2009-08-31 10:22:34
|
I don't want to teach granny to suck eggs but when I use USB serial port on my fedora Linux box they are usually ttyUSB0,1,2... and I have to a member of the uucp group sorry if this information is already known or I have the wrong end of the stick here. Regards, Rod Boyce -----Original Message----- From: DylanB [mailto:dbr...@un...] Sent: 31 August 2009 18:46 To: gum...@li... Subject: [Gumstix-users] USB port trouble Hello, I'm having trouble establishing a connection via serial. I don't have a serial port on my laptop so I am using a USB to serial conversion. This (the same cable) has worked for me in the past many times. Now when I try to establist a connection via kermit I get the following: dylan@dylan-laptop:~$ kermit -l /dev/USB0 can't open device |
From: DylanB <dbr...@un...> - 2009-08-31 12:12:00
|
>I don't want to teach granny to suck eggs but when I use USB serial port >on my fedora Linux box they are usually ttyUSB0,1,2... and I have to a >member of the uucp group sorry if this information is already known or I >have the wrong end of the stick here. Sorry that was my fault. To clarify: dylan@dylan-laptop:~$ kermit -l /dev/ttyUSB0 can't open device I still can't open get access. Dylan. -- View this message in context: http://www.nabble.com/USB-port-trouble-tp25220786p25222498.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Dave H. <dhy...@gm...> - 2009-08-31 14:05:59
|
Hi Dylan, On Mon, Aug 31, 2009 at 5:13 AM, DylanB<dbr...@un...> wrote: > >>I don't want to teach granny to suck eggs but when I use USB serial port >>on my fedora Linux box they are usually ttyUSB0,1,2... and I have to a >>member of the uucp group sorry if this information is already known or I >>have the wrong end of the stick here. > > Sorry that was my fault. > To clarify: > > dylan@dylan-laptop:~$ kermit -l /dev/ttyUSB0 > can't open device > > I still can't get access. Check to see if the port "moved" on you. On my ubuntu machine, my USB-to-serial adapter would change from /dev/ttyUSB0 to /dev/ttyUSB1, seemingly on a whim, about once a day, wihout me even touching anything. ls /dev/ttyUSB* If it still isn't showing up, then try unplugging and replugging the adapter and see what the console says. -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/ |
From: DylanB <dbr...@un...> - 2009-09-01 07:21:17
|
Hi, I have tried to plug/unplug several times. Still with no luck. I have also reformatted my computer a couple of times with ubuntu 8.04 and 9.04. Still I get the same error. This makes me think something in the computer has been switched or something like that. I don't know if that makes sense though. I have no idea on this, so if anyone can shed some light it would be greatly appreciated. When I enter : dylan@dylan-laptop:~$ ls /dev/ttyUSB* ls: cannot access /dev/ttyUSB*: No such file or directory $ tail -f /var/log/messages ---------unplug then plug cable--------- Sep 1 17:17:10 dylan-laptop -- MARK -- Sep 1 17:19:00 dylan-laptop kernel: [ 534.013660] usb 2-2: new full speed USB device using uhci_hcd and address 11 Sep 1 17:19:01 dylan-laptop kernel: [ 534.140630] usb 2-2: new full speed USB device using uhci_hcd and address 12 Sep 1 17:19:02 dylan-laptop kernel: [ 534.443096] usb 2-2: new full speed USB device using uhci_hcd and address 13 Sep 1 17:19:02 dylan-laptop kernel: [ 534.582185] usb 2-2: new full speed USB device using uhci_hcd and address 14 Dylan. -- View this message in context: http://www.nabble.com/USB-port-trouble-tp25220786p25235493.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Dave H. <dhy...@gm...> - 2009-09-01 14:14:46
|
Hi Dylan, > When I enter : > > dylan@dylan-laptop:~$ ls /dev/ttyUSB* > ls: cannot access /dev/ttyUSB*: No such file or directory > > $ tail -f /var/log/messages ---------unplug then plug cable--------- > > Sep 1 17:17:10 dylan-laptop -- MARK -- > Sep 1 17:19:00 dylan-laptop kernel: [ 534.013660] usb 2-2: new full speed > USB device using uhci_hcd and address 11 > Sep 1 17:19:01 dylan-laptop kernel: [ 534.140630] usb 2-2: new full speed > USB device using uhci_hcd and address 12 > Sep 1 17:19:02 dylan-laptop kernel: [ 534.443096] usb 2-2: new full speed > USB device using uhci_hcd and address 13 > Sep 1 17:19:02 dylan-laptop kernel: [ 534.582185] usb 2-2: new full speed > USB device using uhci_hcd and address 14 It sounds like the driver for your USB-to-serial adapter is missing. I recall being hit by the issue mentioned in this thread as well; <http://ubuntuforums.org/showthread.php?t=737338> -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/ |
From: richard d. <rdo...@gm...> - 2009-09-01 14:00:07
|
Does an lsusb show the device as being there? Rick On Tue, Sep 1, 2009 at 2:21 AM, DylanB <dbr...@un...> wrote: > > Hi, > > I have tried to plug/unplug several times. Still with no luck. I have also > reformatted my computer a couple of times with ubuntu 8.04 and 9.04. Still > I > get the same error. > This makes me think something in the computer has been switched or > something > like that. I don't know if that makes sense though. I have no idea on this, > so if anyone can shed some light it would be greatly appreciated. > > When I enter : > > dylan@dylan-laptop:~$ ls /dev/ttyUSB* > ls: cannot access /dev/ttyUSB*: No such file or directory > > $ tail -f /var/log/messages ---------unplug then plug cable--------- > > Sep 1 17:17:10 dylan-laptop -- MARK -- > Sep 1 17:19:00 dylan-laptop kernel: [ 534.013660] usb 2-2: new full speed > USB device using uhci_hcd and address 11 > Sep 1 17:19:01 dylan-laptop kernel: [ 534.140630] usb 2-2: new full speed > USB device using uhci_hcd and address 12 > Sep 1 17:19:02 dylan-laptop kernel: [ 534.443096] usb 2-2: new full speed > USB device using uhci_hcd and address 13 > Sep 1 17:19:02 dylan-laptop kernel: [ 534.582185] usb 2-2: new full speed > USB device using uhci_hcd and address 14 > > > Dylan. > > -- > View this message in context: > http://www.nabble.com/USB-port-trouble-tp25220786p25235493.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > -- Say you can or say you can't, either way you will be right. Computers are like old testament gods: Lots of rules and no mercy. |
From: DylanB <dbr...@un...> - 2009-09-01 14:17:49
|
Hi, >Does an lsusb show the device as being there? Device: usb to rs232 converter with tweener attached. Not plugged in... dylan@dylan-laptop:~$ lsusb Bus 008 Device 003: ID 5986:0137 Bison Bus 008 Device 001: ID 0000:0000 Bus 007 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 005 Device 002: ID 03f0:171d Hewlett-Packard Bus 005 Device 001: ID 0000:0000 Bus 004 Device 002: ID 138a:0001 Bus 004 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 006 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Plugged in... dylan@dylan-laptop:~$ lsusb Bus 008 Device 003: ID 5986:0137 Bison Bus 008 Device 001: ID 0000:0000 Bus 007 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 005 Device 002: ID 03f0:171d Hewlett-Packard Bus 005 Device 001: ID 0000:0000 Bus 004 Device 002: ID 138a:0001 Bus 004 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 006 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Dylan. -- View this message in context: http://www.nabble.com/USB-port-trouble-tp25220786p25241140.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: DylanB <dbr...@un...> - 2009-09-07 02:57:41
|
Hello, Turns out I had two bad cables (same generic brand). Bought a new one and it works fine now. Thanks for the help. Dylan. -- View this message in context: http://www.nabble.com/USB-port-trouble-tp25220786p25324364.html Sent from the Gumstix mailing list archive at Nabble.com. |