Bonjour,
J'ai sous la main un convertisseur USB série TUSB3410 et je souhaite
l'installer sous un OS Linux 2.6.11.7.
Le driver est déjà présent dans le noyau et il faut juste rajouter un
firmware dans le répertoire /etc/hotplug/usb/ti_usb_3410_5052. Ce que
j'ai fait mais le convertisseur ne s'attache pas à ttyUSB0 et je ne
sais pas pourquoi.
Quand je fait un dmesg, j'ai le log suivant:
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
ocp-ohci 02: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ocp-ohci 02: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS
PES CCS
usb 1-1: new full speed USB device using ocp-ohci and address 5
ocp-ohci 02: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS
PES CCS
usb 1-1: ep0 maxpacket = 8
usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: default language 0x0409
usb 1-1: Product: TUSB3410UART EVM
usb 1-1: Manufacturer: Texas Instruments
usb 1-1: SerialNumber: 00000231
usb 1-1: hotplug
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1:1.0: hotplug
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
normalement apres le dernier hotplug, le device devrai s'attacher mais
ne le fait pas.
J'ai utiliser un PL2303 de chez prolific et lui fonctionne
correctement. J'ai le log suivant:
usb 1-1: Product: USB-Serial Controller
usb 1-1: Manufacturer: Prolific Technology Inc.
usb 1-1: hotplug
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1:1.0: hotplug
pl2303 1-1:1.0: usb_probe_interface
usb_probe_interface
pl2303 1-1:1.0: usb_probe_interface - got id
drivers/usb/serial/usb-serial.c: usb_serial_probe
drivers/usb/serial/usb-serial.c: descriptor matches
drivers/usb/serial/usb-serial.c: found interrupt in on endpoint 0
drivers/usb/serial/usb-serial.c: found bulk out on endpoint 1
drivers/usb/serial/usb-serial.c: found bulk in on endpoint 2
pl2303 1-1:1.0: PL-2303 converter detected
drivers/usb/serial/usb-serial.c: get_free_serial 1
drivers/usb/serial/usb-serial.c: get_free_serial - minor base = 0
drivers/usb/serial/usb-serial.c: usb_serial_probe - setting up 1 port
structures
for this device
drivers/usb/serial/pl2303.c: device type: 2
drivers/usb/serial/usb-serial.c: usb_serial_probe - registering ttyUSB0
usb 1-1: PL-2303 converter now attached to ttyUSB0
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
Sauriez vous pourquoi mon device ne s'attache pas correctement??
Je doit avoir un probleme avec hotplug ou modprobe. J'avoue que je
suis un peu pommé je connais pas grand chose à linux.
merci d'avance