/dev/ttyUSB0 eltűnt. Kimaradt valami a kernelből?

 ( bzs | 2011. december 9., péntek - 18:32 )

Sziasztok.

Eredetileg valami udevre gyanakodtam, de mégsem.
Cseréltem kernelt, valami régebbire, és azzal indítottam a Salixot(13.37slackware). Így már van /dev/ttyUSB0 fájlom, a rácsatlakoztatott sorosusb-konvertert tudom használni.

Vajon mit rontottam el kernelfordításkor, valami megdöbbentően fontos dolog kell a külső usb-s dolgok használatához a saját driverein kívül?

Amit használnék:
gps antenna soros-usb átalakítóval,
külső klaviatúra,
tp-link modem.

Hozzászólás megjelenítési lehetőségek

A választott hozzászólás megjelenítési mód a „Beállítás” gombbal rögzíthető.

Jó lenne látni, hogy mit ír a syslogba, amikor felcsatlakoztatod?

lsusb:

root[a]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0951:1606 Kingston Technology
Bus 001 Device 003: ID eb1a:2761 eMPIA Technology, Inc. EeePC 701 integrated Webcam
Bus 002 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 007: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
root[a]#

lsmod:

root[a]# lsmod
Module Size Used by
bluetooth 76289 0
squashfs 24414 24
xz_dec 12678 1 squashfs
i915 446671 2
drm_kms_helper 21448 1 i915
drm 145592 3 i915,drm_kms_helper
root[a]#

(a lótúró is modulba van forgatva, ergo itt semmi sem látszik)

syslog:

Dec 9 21:44:49 darkstar kernel: [ 66.008057] usb 1-2: new high speed USB device number 4 using ehci_hcd
Dec 9 21:44:50 darkstar kernel: [ 66.142933] usb 1-2: New USB device found, idVendor=0cf3, idProduct=9271
Dec 9 21:44:50 darkstar kernel: [ 66.142942] usb 1-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
Dec 9 21:44:50 darkstar kernel: [ 66.142952] usb 1-2: Product: USB2.0 WLAN
Dec 9 21:44:50 darkstar kernel: [ 66.142959] usb 1-2: Manufacturer: ATHEROS
Dec 9 21:44:50 darkstar kernel: [ 66.142966] usb 1-2: SerialNumber: 12345
Dec 9 21:45:15 darkstar kernel: [ 91.331806] usb 1-2: USB disconnect, device number 4
Dec 9 21:45:19 darkstar kernel: [ 95.542059] usb 1-4: new high speed USB device number 5 using ehci_hcd
Dec 9 21:45:19 darkstar kernel: [ 95.676939] usb 1-4: New USB device found, idVendor=0cf3, idProduct=9271
Dec 9 21:45:19 darkstar kernel: [ 95.676948] usb 1-4: New USB device strings: Mfr=16, Product=32, SerialNumber=48
Dec 9 21:45:19 darkstar kernel: [ 95.676958] usb 1-4: Product: USB2.0 WLAN
Dec 9 21:45:19 darkstar kernel: [ 95.676965] usb 1-4: Manufacturer: ATHEROS
Dec 9 21:45:19 darkstar kernel: [ 95.676972] usb 1-4: SerialNumber: 12345
Dec 9 21:45:27 darkstar acpid: client 2257[0:0] has disconnected
Dec 9 21:45:27 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:45:27 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:45:44 darkstar /usr/sbin/gpm[2137]: *** info [client.c(275)]:
Dec 9 21:45:44 darkstar /usr/sbin/gpm[2137]: Request on 6 (console 2)
Dec 9 21:45:44 darkstar /usr/sbin/gpm[2137]: *** info [client.c(284)]:
Dec 9 21:45:44 darkstar /usr/sbin/gpm[2137]: Closing
Dec 9 21:45:51 darkstar /usr/sbin/gpm[2137]: *** info [client.c(137)]:
Dec 9 21:45:51 darkstar /usr/sbin/gpm[2137]: Connecting at fd 6
Dec 9 21:45:58 darkstar acpid: client connected from 2257[0:0]
Dec 9 21:45:58 darkstar acpid: 1 client rule loaded
Dec 9 21:46:02 darkstar kernel: [ 138.332942] usb 1-4: USB disconnect, device number 5
Dec 9 21:46:57 darkstar kernel: [ 193.233196] usb 2-2: new full speed USB device number 2 using uhci_hcd
Dec 9 21:46:57 darkstar kernel: [ 193.371424] usb 2-2: New USB device found, idVendor=067b, idProduct=2303
Dec 9 21:46:57 darkstar kernel: [ 193.371433] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Dec 9 21:47:12 darkstar kernel: [ 208.991193] usb 1-4: new high speed USB device number 7 using ehci_hcd
Dec 9 21:47:13 darkstar kernel: [ 209.125962] usb 1-4: New USB device found, idVendor=0cf3, idProduct=9271
Dec 9 21:47:13 darkstar kernel: [ 209.125971] usb 1-4: New USB device strings: Mfr=16, Product=32, SerialNumber=48
Dec 9 21:47:13 darkstar kernel: [ 209.125981] usb 1-4: Product: USB2.0 WLAN
Dec 9 21:47:13 darkstar kernel: [ 209.125988] usb 1-4: Manufacturer: ATHEROS
Dec 9 21:47:13 darkstar kernel: [ 209.125995] usb 1-4: SerialNumber: 12345
Dec 9 21:47:18 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:47:18 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:47:22 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:47:22 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:47:49 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:47:49 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:47:53 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:47:53 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:48:01 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:48:01 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:48:13 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:48:13 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:48:29 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:48:29 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:48:33 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:48:33 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:48:37 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:48:37 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:48:49 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:48:49 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:48:57 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:48:57 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:49:04 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:49:04 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:49:08 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:49:08 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:49:52 darkstar kernel: [ 368.415857] usb 1-4: USB disconnect, device number 7
Dec 9 21:50:04 darkstar kernel: [ 380.250266] usb 2-2: USB disconnect, device number 2
Dec 9 21:50:08 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:50:08 darkstar logger: ACPI group ac_adapter / action AC0 is not defined
Dec 9 21:50:20 darkstar logger: ACPI group battery / action BAT0 is not defined
Dec 9 21:50:20 darkstar logger: ACPI group ac_adapter / action AC0 is not defined

---
--- A gond akkor van, ha látszólag minden működik. ---
---

Az adott Soros-usb átalakító modulját érdemes beforgatni :)

Igen.
4 hete keresem...
Tulajdonképpen ezidáig azt hittem, semmi baj vele, de használnom kellett volna, ekkor derült ki.
Rutinból megvan a liloban a régi kernel is...

---
--- A gond akkor van, ha látszólag minden működik. ---
---

Fejből mondom, mert rég piszkáltam ráadásul régi kernelnél, de ugyanilyen vezérlővel megáldott soros-usb átalakítóm van nekem is.
A serial eszközök között kell keresni. Abból nyílik egy soros-usb almenü és ott megleled ezt a PL2303-at.

ez lenne az?

<*> USB Prolific 2303 Single Port Serial Driver

már fordul a kernel. Itt vagyok a mezőn 1 sátorban, aksim meg véges..

Ha ez az, befonom a hajam.

---
--- A gond akkor van, ha látszólag minden működik. ---
---

Sátorban, mezőn? Jól nyomod:) Mindenesetre örülök, hogy sikerült. Anno én is szívtam vele:)

Ez volt az, igazad volt!
Köszönöm Neked.

root[a]# ls /dev/ttyUSB*
/dev/ttyUSB0

root[a]# ls /dev/ttyUSB*
/dev/ttyUSB0
root[a]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0951:1606 Kingston Technology
Bus 001 Device 003: ID eb1a:2761 eMPIA Technology, Inc. EeePC 701 integrated Webcam
Bus 002 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
root[a]#

Lehet, hogy a másik atherosos cuccnak is egy sorosátalakítója van.
Szétszedem.

---
--- A gond akkor van, ha látszólag minden működik. ---
---