Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have connected my laptop (Suse 10.1) VIA USB/serial to my desktop.
You don't mention your distribution or link the instructions you are following.
You are running "mknod" as root?
EDIT: Checking my laptop I see I have /dev/ttyUSB0.
I am guessing you either need to use that or create the USB directory first.
Last edited by 2damncommon; 04-16-2007 at 12:48 AM.
http://www.linux-usb.org/USB-guide/x356.html
The instructions do leave me lost.
"You need to turn on USB Serial Converter support..."
How?
"...then select whichever of the various particular drivers you need."
Which one/s?
Quote:
You are running "mknod" as root?
yes I believe I am.
I see activity from my weather station but it won't connect.
What is the make / manufacture of the USB serial port adapter?
Look at the output of the dmesg command. Is the adapter being recgonized by the OS?
Or try the command lsusb.
Also look at what modules are being loaded via the lsmod command.
Look for the usb-serial module and maybe pl2303 (if your adapter uses this chipset)
[ 16.356073] usbcore: registered new interface driver usbfs
[ 16.356106] usbcore: registered new interface driver hub
[ 16.356135] usbcore: registered new device driver usb
[ 16.436748] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 16.458768] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 16.464319] ieee1394: Initialized config rom entry `ip1394'
[ 16.508959] ata1.00: ata_hpa_resize 1: sectors = 241254720, hpa_sectors = 241254720
[ 16.508964] ata1.00: ATA-5: IC35L120AVVA07-0, VA6OA52A, max UDMA/100
[ 16.508968] ata1.00: 241254720 sectors, multi 16: LBA
[ 16.509102] ata1.01: ata_hpa_resize 1: sectors = 781422768, hpa_sectors = 781422768
[ 16.509105] ata1.01: ATA-7: ST3400632A, 3.04, max UDMA/100
[ 16.509107] ata1.01: 781422768 sectors, multi 16: LBA48
[ 16.520915] ata1.00: ata_hpa_resize 1: sectors = 241254720, hpa_sectors = 241254720
[ 16.520921] ata1.00: configured for UDMA/100
[ 16.532878] ata1.01: ata_hpa_resize 1: sectors = 781422768, hpa_sectors = 781422768
[ 16.532885] ata1.01: configured for UDMA/100
[ 16.532902] scsi1 : pata_sis
[ 16.554133] Floppy drive(s): fd0 is 1.44M
[ 16.610626] FDC 0 is a post-1991 82077
[ 17.035644] ata2.00: ATAPI, max UDMA/66
[ 17.035650] ata2.01: ATAPI, max UDMA/33
[ 17.207302] ata2.00: configured for UDMA/66
[ 17.378970] ata2.01: configured for UDMA/33
[ 17.379136] scsi 0:0:0:0: Direct-Access ATA IC35L120AVVA07-0 VA6O PQ: 0 ANSI: 5
[ 17.379593] scsi 0:0:1:0: Direct-Access ATA ST3400632A 3.04 PQ: 0 ANSI: 5
[ 17.383398] scsi 1:0:0:0: CD-ROM SONY DVD RW DRU-800A KY03 PQ: 0 ANSI: 5
[ 17.390206] scsi 1:0:1:0: CD-ROM PIONEER DVD-RW DVR-104 1.40 PQ: 0 ANSI: 5
[ 17.401952] ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 20
[ 17.401978] ohci_hcd 0000:00:03.0: OHCI Host Controller
[ 17.402402] ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 1
[ 17.402425] ohci_hcd 0000:00:03.0: irq 20, io mem 0xe6800000
[ 17.425410] SCSI device sda: 241254720 512-byte hdwr sectors (123522 MB)
[ 17.425470] sda: Write Protect is off
[ 17.425473] sda: Mode Sense: 00 3a 00 00
[ 17.425496] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 17.425584] SCSI device sda: 241254720 512-byte hdwr sectors (123522 MB)
[ 17.425596] sda: Write Protect is off
[ 17.425598] sda: Mode Sense: 00 3a 00 00
[ 17.425616] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 17.425620] sda: sda1 sda2 < sda5<6>usb usb1: configuration #1 chosen from 1 choice
[ 17.460750] hub 1-0:1.0: USB hub found
[ 17.460763] hub 1-0:1.0: 2 ports detected
[ 17.466387] sda6 > sda3
[ 17.467197] sd 0:0:0:0: Attached scsi disk sda
[ 17.467404] SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
[ 17.467421] sdb: Write Protect is off
[ 17.467424] sdb: Mode Sense: 00 3a 00 00
[ 17.467444] SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 17.467503] SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
[ 17.467514] sdb: Write Protect is off
[ 17.467516] sdb: Mode Sense: 00 3a 00 00
[ 17.467535] SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 17.467538] sdb: sdb1 sdb2 < sdb5 sdb6 >
[ 17.511641] sd 0:0:1:0: Attached scsi disk sdb
[ 17.516439] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 17.516469] sd 0:0:1:0: Attached scsi generic sg1 type 0
[ 17.516493] scsi 1:0:0:0: Attached scsi generic sg2 type 5
[ 17.516516] scsi 1:0:1:0: Attached scsi generic sg3 type 5
[ 17.547450] sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
[ 17.547458] Uniform CD-ROM driver Revision: 3.20
[ 17.547710] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 17.566578] ACPI: PCI Interrupt 0000:00:03.1[B] -> GSI 21 (level, low) -> IRQ 18
[ 17.566605] ohci_hcd 0000:00:03.1: OHCI Host Controller
[ 17.566641] ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 2
[ 17.566660] ohci_hcd 0000:00:03.1: irq 18, io mem 0xe6000000
[ 17.580497] sr1: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
[ 17.580772] sr 1:0:1:0: Attached scsi CD-ROM sr1
[ 17.628393] usb usb2: configuration #1 chosen from 1 choice
[ 17.628427] hub 2-0:1.0: USB hub found
[ 17.628442] hub 2-0:1.0: 2 ports detected
[ 17.734146] ACPI: PCI Interrupt 0000:00:03.2[C] -> GSI 22 (level, low) -> IRQ 19
[ 17.734172] ohci_hcd 0000:00:03.2: OHCI Host Controller
[ 17.734201] ohci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 3
[ 17.734220] ohci_hcd 0000:00:03.2: irq 19, io mem 0xe5800000
[ 17.796002] usb usb3: configuration #1 chosen from 1 choice
[ 17.796042] hub 3-0:1.0: USB hub found
[ 17.796057] hub 3-0:1.0: 2 ports detected
[ 17.865712] usb 1-1: new full speed USB device using ohci_hcd and address 2
[ 17.901902] 8139cp 0000:00:0e.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
[ 17.901906] 8139cp 0000:00:0e.0: Try the "8139too" driver instead.
[ 17.901918] 8139cp 0000:00:12.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
[ 17.901920] 8139cp 0000:00:12.0: Try the "8139too" driver instead.
[ 17.904336] 8139too Fast Ethernet driver 0.9.28
[ 17.904399] ACPI: PCI Interrupt 0000:00:0e.0[A] -> GSI 17 (level, low) -> IRQ 21
[ 17.904709] eth0: RealTek RTL8139 at 0xf8846000, 00:40:f4:c5:d0:76, IRQ 21
[ 17.904711] eth0: Identified 8139 chip type 'RTL-8100B/8139D'
[ 17.904734] ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 17 (level, low) -> IRQ 21
[ 17.905013] eth1: RealTek RTL8139 at 0xf8912000, 00:e0:18:a9:e7:0b, IRQ 21
[ 17.905015] eth1: Identified 8139 chip type 'RTL-8100B/8139D'
[ 17.905287] ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 18 (level, low) -> IRQ 16
[ 17.957185] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[16] MMIO=[e3000000-e30007ff] Max Packet=[2048] IR/IT contexts=[4/4]
[ 17.966769] ACPI: PCI Interrupt 0000:00:03.3[D] -> GSI 23 (level, low) -> IRQ 22
[ 17.966791] ehci_hcd 0000:00:03.3: EHCI Host Controller
[ 17.966856] ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 4
[ 17.966897] PCI: cache line size of 128 is not supported by device 0000:00:03.3
[ 17.966910] ehci_hcd 0000:00:03.3: irq 22, io mem 0xe5000000
[ 17.966919] ehci_hcd 0000:00:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 17.967022] usb usb4: configuration #1 chosen from 1 choice
[ 17.967054] hub 4-0:1.0: USB hub found
[ 17.967067] hub 4-0:1.0: 6 ports detected
[ 18.118887] Attempting manual resume
[ 18.118893] swsusp: Resume From Partition 8:6
[ 18.118895] PM: Checking swsusp image.
[ 18.119095] PM: Resume from disk failed.
[ 18.143972] kjournald starting. Commit interval 5 seconds
[ 18.143988] EXT3-fs: mounted filesystem with ordered data mode.
[ 18.644112] usb 1-1: new full speed USB device using ohci_hcd and address 3
[ 18.856778] usb 1-1: configuration #1 chosen from 1 choice
[ 19.243069] ieee1394: Host added: ID:BUS[0-00:1023] GUID[080046030134cfe7]
[ 27.875931] eth1: link down
[ 27.930237] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 29.212360] NET: Registered protocol family 17
[ 29.799891] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 29.803164] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 29.856110] sis96x_smbus 0000:00:02.1: SiS96x SMBus base address: 0xe600
[ 30.215050] Linux agpgart interface v0.102 (c) Dave Jones
[ 30.237663] agpgart: Detected SiS 651 chipset
[ 30.241834] agpgart: AGP aperture is 64M @ 0xe8000000
[ 30.442836] nvidia: module license 'NVIDIA' taints kernel.
[ 30.797122] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 17
[ 30.797455] NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-9631 Thu Nov 9 17:38:10 PST 2006
[ 30.984943] logips2pp: Detected unknown logitech mouse model 62
[ 31.012467] input: PC Speaker as /class/input/input2
[ 31.171544] parport: PnPBIOS parport detected.
[ 31.171593] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 31.515610] input: ImExPS/2 Logitech Explorer Mouse as /class/input/input3
[ 31.518845] usbcore: registered new interface driver usbserial
[ 31.518882] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 31.609984] ACPI: PCI Interrupt 0000:00:02.7[C] -> GSI 18 (level, low) -> IRQ 16
[ 31.705410] usbcore: registered new interface driver usbserial_generic
[ 31.705418] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 31.720872] drivers/usb/serial/usb-serial.c: USB Serial support registered for MCT U232
[ 31.720920] mct_u232 1-1:1.0: MCT U232 converter detected
[ 31.721273] usb 1-1: MCT U232 converter now attached to ttyUSB0
[ 31.721284] usbcore: registered new interface driver mct_u232
[ 31.721287] drivers/usb/serial/mct_u232.c: Magic Control Technology USB-RS232 converter driver z2.0
[ 32.443692] intel8x0_measure_ac97_clock: measured 59442 usecs
[ 32.443698] intel8x0: clocking to 48000
[ 32.645227] fuse init (API version 7.8)
[ 32.672680] lp0: using parport0 (interrupt-driven).
[ 32.737143] Adding 2385612k swap on /dev/disk/by-uuid/a55896e9-1a4c-4404-985c-74c6de8b2bff. Priority:-1 extents:1 across:2385612k
[ 32.847297] EXT3 FS on sda3, internal journal
[ 32.997159] NET: Registered protocol family 10
[ 32.997270] lo: Disabled Privacy Extensions
[ 32.997404] ADDRCONF(NETDEV_UP): eth1: link is not ready
Quote:
Is the adapter being recgonized by the OS?
Looks Like it.
Or try the command lsusb.
Code:
george@Sony-Vaio:~$ sudo lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 050d:0109 Belkin Components F5U109/F5U409 PDA Adapter
Bus 001 Device 001: ID 0000:0000
Quote:
Also look at what modules are being loaded via the lsmod command.
At first glance it appears that everything is loading.
The mknod command fails because the /dev/usb directory does not exist when executing the command:
mknod /dev/usb/ttyUSB0 c 188 0
Try
mknod /dev/ttyUSB0 c 188 0
Just curious if you ever got this problem resolved? I too am trying to figure out how to get my serial to usb adapter configured in linux.
Thanks
Avogodro
Just curious if you ever got this problem resolved? I too am trying to figure out how to get my serial to usb adapter configured in linux.
Thanks
Avogodro
Not resolved!
I've been away on a 2 week road trip. Now getting back up to speed.
I am a noob here. But what I did was change my user privileges to include tty to the groups. This worked for me. I dont know if this was some fluke.. since I am a noob.. but it worked for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.