LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-18-2010, 11:26 PM   #1
ieatbunnies
Member
 
Registered: Feb 2010
Posts: 37

Rep: Reputation: 14
virtual com ports in ubuntu 10.04


been trying to use a rs232 device that uses the usb port. it calls for a virtual com port to be created. i am running on ubuntu 10 and get hella confused with the search results i have come across.

some call for the usbdevfs which apparently doesn't exist under lucid. another had me do use some "magic" in getting it to work. they provided a script mountusbfs.sh

Code:
 #
 # Magic to make /proc/bus/usb work
 #

 mkdir -p /dev/bus/usb/.usbfs
 domount usbfs "" /dev/bus/usb/.usbfs usbfs -obusmode=0700,devmode=0600,listmode=0644
 ln -s .usbfs/devices /dev/bus/usb/devices
 domount --rbind /dev/bus/usb /proc/bus/usb
of course when i tried it the domount command doesn't exist so i modified the above script replacing the domount with mount and it seemed to do something things.

usbview is specified as the determining factor whether or not you have the usbfs mounted properly. it wants to use proc bus and ubuntu doesn't use that anymore apparenlty.

help!!!!!!!!!
need a serial to usb port
a com1,2,3 or 4 to be created.

i have read that i need to enable a usbmon (flag?option?) in the kernel to be set. which it isn't when i followed the steps to check.
 
Old 05-18-2010, 11:44 PM   #2
ieatbunnies
Member
 
Registered: Feb 2010
Posts: 37

Original Poster
Rep: Reputation: 14
i have come across the usbmon portion and how to supposedly enable it. this is the type of problems i have that make me want to bang my head against a wall. i love it though.


ieb@ieb-nb:~$ sudo mount -t debugfs none_debugs /sys/kernel/debug
[sudo] password for ieb:
mount: none_debugs already mounted or /sys/kernel/debug busy
mount: according to mtab, none is already mounted on /sys/kernel/debug
ieb@ieb-nb:~$ modprobe usbmon
FATAL: Module usbmon not found.
 
Old 05-19-2010, 12:10 AM   #3
kurwongbah
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 23
Can you please post the output of: lsusb
Run as root (Ubuntu...so use sudo lsusb), with the device attached?
 
Old 06-13-2010, 02:10 PM   #4
ieatbunnies
Member
 
Registered: Feb 2010
Posts: 37

Original Poster
Rep: Reputation: 14
Bus 005 Device 003: ID 046d:c52b Logitech, Inc.
Bus 005 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 003 Device 002: ID 0801:0001 Mag-Tek
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 04f2:b128 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
  


Reply


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
udev: Making rules for device with multiple virtual USB-Serial Ports damien_d Linux - Hardware 1 07-12-2009 12:28 PM
LXer: IBM, Virtual Bridges and Canonical Offer Ubuntu-based Virtual Desktop LXer Syndicated Linux News 0 12-05-2008 07:10 AM
Need to block all ports and open only select ports on Ubuntu 7.1 Mr.J Linux - Networking 1 11-18-2008 03:45 AM
How do I install the drivers for my USB ports in my virtual box? natattack Linux - Newbie 8 09-22-2008 07:58 PM
Can't do Apache2 virtual host different ports SK_pt Linux - Software 3 01-30-2005 08:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration