Strona 1 z 1

Instalacja przejściówki USB RS232 COM PROLIFIC PL2303

: 15 marca 2009, 20:57
autor: nobek
Witam
Mam problem z zainstalowaniem tej przejściówki.
Przy komendzie lsusb wywala mi to :

Kod: Zaznacz cały

root@debian:~# lsusb
Bus 001 Device 005: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 001 Device 004: ID 0951:160b Kingston Technology
Bus 001 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 001 Device 001: ID 0000:0000

Kod: Zaznacz cały

~root@debian:~# lsusb -v | grep USB
  bcdUSB               1.10
  iProduct                2 USB Keyboard
  bcdUSB               2.00
  bcdUSB               2.00
  bcdUSB               1.10
  iProduct                2 USB-Serial Controller
Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
  bcdUSB               1.10
  idProduct          0x2046 TUSB2046 Hub
  bcdUSB               1.10
A komenda dmesg daje wynik :

Kod: Zaznacz cały

root@debian:~# dmesg
Linux version 2.6.19-gentoo-r5 (root@laptop) (gcc version 4.1.1 (Gentoo 4.1.1)) #1 PREEMPT Sun Mar 25 11:44:46 CEST 2007
BIOS-provided physical RAM map:
 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e801: 0000000000100000 - 0000000003d30000 (usable)
61MB LOWMEM available.
Entering add_active_range(0, 0, 15664) 0 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->    15664
early_node_map[1] active PFN ranges
    0:        0 ->    15664
On node 0 totalpages: 15664
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 90 pages used for memmap
  Normal zone: 11478 pages, LIFO batch:1
DMI not present or invalid.
Allocating PCI resources starting at 10000000 (gap: 03d30000:fc2d0000)
Detected 300.690 MHz processor.
Built 1 zonelists.  Total pages: 15542
Kernel command line: root=/dev/uba1 ro fromhd=/dev/sda1 noagp nopcmcia noapm noswap noscsi waitusb frugal
Initializing CPU#0
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 59512k/62656k available (1399k kernel code, 2736k reserved, 462k data, 124k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xffffd000 - 0xfffff000   (   8 kB)
    vmalloc : 0xc4800000 - 0xffffb000   ( 951 MB)
    lowmem  : 0xc0000000 - 0xc3d30000   (  61 MB)
      .init : 0xc02d4000 - 0xc02f3000   ( 124 kB)
      .data : 0xc025df82 - 0xc02d19b4   ( 462 kB)
      .text : 0xc0100000 - 0xc025df82   (1399 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 602.77 BogoMIPS (lpj=301389)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 00808131 01818131 00000000 00000000 00000000 00000000 00000000
Working around Cyrix MediaGX virtual DMA bugs.
Enable Memory-Write-back mode on Cyrix/NSC processor.
Enable Memory access reorder on Cyrix/NSC processor.
Enable Incrementor on Cyrix/NSC processor.
CPU: After all inits, caps: 00808131 00818131 00000000 00000001 00000000 00000000 00000000
Compat vDSO mapped to ffffe000.
CPU: NSC Geode(TM) Integrated Processor by National Semi stepping 02
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: Using configuration type 1
Setting up standard PCI resources
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:12.4
PCI: Ignore bogus resource 6 [0:0] of 0000:00:12.4
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
io scheduler noop registered
io scheduler cfq registered (default)
PCI: Fixup for MediaGX/Geode Slave Disconnect Boundary (0x41=0x9c)
platform pc8736x_gpio.0: NatSemi pc8736x GPIO Driver Initializing
platform pc8736x_gpio.0: no device found
nsc_gpio initializing
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
usbcore: registered new interface driver ub
natsemi dp8381x driver, version 2.1, Sept 11, 2006
  originally by Donald Becker <becker@scyld.com>
  [url]http://www.scyld.com/network/natsemi.html[/url]
  2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
PCI: Setting latency timer of device 0000:00:0f.0 to 64
natsemi eth0: NatSemi DP8381[56] at 0x10010000 (0000:00:0f.0), 00:80:64:33:7f:87, IRQ 10, port TP.
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
PCI: Setting latency timer of device 0000:00:13.0 to 64
ohci_hcd 0000:00:13.0: OHCI Host Controller
ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:13.0: irq 6, io mem 0x000cc000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v3.0
Initializing USB Mass Storage driver...
usb 1-1: new full speed USB device using ohci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.2: new full speed USB device using ohci_hcd and address 3
usb 1-1.2: configuration #1 chosen from 1 choice
usb 1-1.3: new full speed USB device using ohci_hcd and address 4
usb 1-1.3: configuration #1 chosen from 1 choice
 uba: uba1
usb 1-1.4: new low speed USB device using ohci_hcd and address 5
usb 1-1.4: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: CHESEN USB Keyboard as /class/input/input0
input: USB HID v1.10 Keyboard [CHESEN USB Keyboard] on usb-0000:00:13.0-1.4
input: CHESEN USB Keyboard as /class/input/input1
input: USB HID v1.10 Device [CHESEN USB Keyboard] on usb-0000:00:13.0-1.4
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
i8042.c: Can't read CTR while initializing i8042.
i8042: probe of i8042 failed with error -5
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
Time: tsc clocksource has been installed.
ReiserFS: uba1: found reiserfs format "3.6" with standard journal
ReiserFS: uba1: using ordered data mode
ReiserFS: uba1: journal params: device uba1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: uba1: checking transaction log (uba1)
ReiserFS: uba1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 124k freed
Dzięki za wszelkie sugestie co i jak zrobić żeby ta przejściówka działała.

: 15 marca 2009, 23:05
autor: AdeBe
Najpierw upewnij się, że masz załadowany moduł usbserial.
Jeśli nie, załaduj go i jeszcze raz odpal dmesg'a. Powinien wtedy bez problemu skonfigurować urządzenie.

: 16 marca 2009, 10:18
autor: nobek
Dobrze, przy próbie załadowania modułu mam to:

Kod: Zaznacz cały

root@debian:# modprobe usbserial vendor=0x067b product=0x2303
FATAL: Could not load /lib/modules/2.6.19-gentoo-r5/modules.dep: No such file or directory

Kod: Zaznacz cały

root@debian:# lsusb
Bus 001 Device 005: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 001 Device 004: ID 0951:160b Kingston Technology
Bus 001 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 001 Device 001: ID 0000:0000

: 16 marca 2009, 12:09
autor: AdeBe
1. Wystarczy samo modprobe usbserial, spokojnie.
2. Czemu widzę u Ciebie jakieś jajko 2.6.19 z gentoo, skoro korzystasz z debiana (co co wnioskuję z PS)? I to w dodatku z jajka 2.6.19, kiedy już nawet etch ma nowsze jądro?

: 16 marca 2009, 23:49
autor: nobek
Powinienem to napisać na początku, może cos to wyjaśni.
A więc tak. Musze mieć linux-a na terminalu compaq t20. Więc zainstalowałem linux-a na wirtualnej maszynie skopiowałem foldery /bin /dev /etc /home /sbin /usr /var a te utworzyłem puste /proc /root /sys /tmp na pendriva. Po małych problemach udało mi sie to uruchomić. Jednak dalej mam właśnie problem z urządzeniami podpiętymi pod ten terminal.

Wersję ściągnołem z tej stronki: http://www.debian.org/CD/netinst/
plik o nazwie : debian-500-i386-netinst

AdeBe pisze:1. Wystarczy samo modprobe usbserial, spokojnie.
Wywala ten sam błąd:

Kod: Zaznacz cały

FATAL: Could not load /lib/modules/2.6.19-gentoo-r5/modules.dep: No such file or directory

: 17 marca 2009, 00:02
autor: AdeBe
Nadal jakoś średnio rozumiem, co namieszałeś. Po pierwsze: skąd się bierze jądro gentoo, jeśli instalowałeś debiana? To jest dość ważna kwestia, a komunikat który dostajesz wyraźnie świadczy o tym, że jednak nie wszystko skopiowałeś (lub zainstalowałeś) tak jak trzeba.
Po drugie: nie wiem, czy moduł ten występuje w jajku .19, a jeśli tak to może być pod inną nazwą. Sam jestem pewien tylko wersji 2.6.23 i wyżej.

Ale powtarzam, twoim problemem jest jakiś błąd z plikami jądra. Skąd wzięło się jajko .19 z gentoo, jeśli twierdzisz, że zainstalowałeś Debiana Lenny (który ma jądro .26)?

: 17 marca 2009, 00:42
autor: nobek
Nie mam pojęcia dlaczego jest jądro gentoo. Jeszcze raz spróbuje zrobić wszystko od początku.