LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 06-07-2009, 02:01 PM   #1
cdhslacker
LQ Newbie
 
Registered: Jun 2009
Location: Myrtle Beach SC
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Question usb-serial port not working


I have connected a USB-SERIAL adapter to my Slackware 12.1 box. Running 2.6.21.5 core

I have followed several threads both in Slackware and other forums that define the steps in getting this to work. I have uncommented the rc.d/modules entry to enable the usb serial driver

I have run mknod (appears to be successful)

mknod /dev/ttyUSB0 c 188 0
mknod /dev/ttyUSB1 c 188 1
...
mknod /dev/ttyUSB8 c 188 8

I then attempt to run minicom (and I get the same message)

minicom: cannot open /dev/ttyUSBX: No such device

I'm attempting to connect minicom via a NULL Modem cable to a gumstix, I have verified the cable and the gumstix work correctly on another terminal with a built it serial card via the same null modem cable. Thus it appears to be a slackware configuration problem on my part, but I can't figure out what I'm missing.

Any advice would be appreciated.
 
Old 06-16-2009, 08:39 AM   #2
cdhslacker
LQ Newbie
 
Registered: Jun 2009
Location: Myrtle Beach SC
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
Did I ask this question incorrectly

Hi All,

I'm very new to this forum and have gotten no response to my question and could sure use some help. I'm new to Linux System configuration issues like this and would appreciate any comments, suggestions or nudge in the right direction.

Thanks,
 
Old 06-16-2009, 11:01 AM   #3
jmacloue
LQ Newbie
 
Registered: Apr 2009
Posts: 12

Rep: Reputation: 1
I believe you loaded the appropriate driver for your adapter model, pl2303 for example?

If not - look up the modules in /lib/modules/..../kernel/drivers/usb/serial/ and try to load it by hand (but usually kernel does it automatically when the device is connected). lsusb output will provide some hints.

mknod command will succeed regardless the device is recognized, and actually there is not many cases you should use mknod directly - udevd will make device nodes for you. If you don't have /dev/ttyUSB0 file - then automatic detection failed for some reason (e.g. your adapter is not supported, whatever).
 
Old 06-16-2009, 11:43 AM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.16.2
Posts: 1,571
Blog Entries: 13

Rep: Reputation: 182Reputation: 182
Someone (though not necessarily me ) might find it helpful if you ran lsusb to identify the hardware and ensure the module is loaded. You might need to run setserial as well to setup the serial port.
 
Old 06-16-2009, 03:17 PM   #5
cordata
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Rep: Reputation: 0
I just got one of these running very easily with Slack 12.2.

Everything was automatic except I had to go into minicom config and put the device as /dev/ttyUSB0 - I'm using pl2303 device.
 
Old 06-16-2009, 07:32 PM   #6
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-13
Posts: 247

Rep: Reputation: 40
You might have to build the Kernel modules for that. Please post the output of dmesg if you would like more help.
 
Old 06-17-2009, 08:13 AM   #7
cdhslacker
LQ Newbie
 
Registered: Jun 2009
Location: Myrtle Beach SC
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks everyone, this really helped. The system was not recognizing the device and thus the ttyUSBx ... x were not being created. I upgraded to 12.2 and rebuilt the kernel and now the device is being recognized and minicom is working great over that port.

Thanks for all the help and suggestions they resulted in hours of reading and new knowledge.

Kindest!
 
  


Reply

Tags
configuration, port, serial, slackware, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not working serial port gungner Linux - Hardware 1 11-02-2006 09:34 PM
serial port not working properly billyseth Linux - Hardware 1 10-27-2006 10:30 PM
serial port on the db1500 not working? ashlesha Linux - General 0 07-25-2006 01:40 PM
Using an USB port as a standard DB9 Serial Port Lsteele Linux - Newbie 1 10-22-2005 10:48 AM
serial port not working. Gregorygoh Linux - Hardware 1 02-23-2005 01:08 AM


All times are GMT -5. The time now is 08:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration