como incluo o módulo qcserial no kernel?

0

Eu preciso de um kernel compilado, apresentando o módulo qcserial para ter suporte para o modelo Huawei EM 680 (Gobi 3000). Eu tenho o kernel 3.11.6 e posso encontrar o arquivo de origem apropriado em ./drivers/usb/serial/qcserial.c , mas como posso ter certeza de que ele seja compilado e carregado estaticamente? Não consigo encontrá-lo na janela de configuração do kernel ... alguma idéia?

Eu estou compilando este kernel para um CPU AT91 e preciso de suporte para o modem de celular acima ...

" A partir do linux-3.1.1-1 o dispositivo é detectado pelo módulo qcserial " - é o que eu encontrei em link

edite o gerenciador de modem

depois de instalar o modem-manager, eu tentei lançá-lo, mas eu realmente não entendo nada, veja o saída de tela abaixo:

# modem-manager  
modem-manager[2417]: <info>  ModemManager (version 0.5.2.0) starting...
modem-manager[2417]: <info>  Loaded plugin Novatel
modem-manager[2417]: <info>  Loaded plugin ZTE
modem-manager[2417]: <info>  Loaded plugin Option High-Speed
modem-manager[2417]: <info>  Loaded plugin Longcheer
modem-manager[2417]: <info>  Loaded plugin Ericsson MBM
modem-manager[2417]: <info>  Loaded plugin Samsung
modem-manager[2417]: <info>  Loaded plugin Nokia
modem-manager[2417]: <info>  Loaded plugin SimTech
modem-manager[2417]: <info>  Loaded plugin Huawei
modem-manager[2417]: <info>  Loaded plugin MotoC
modem-manager[2417]: <info>  Loaded plugin X22X
modem-manager[2417]: <info>  Loaded plugin Generic
modem-manager[2417]: <info>  Loaded plugin Sierra
modem-manager[2417]: <info>  Loaded plugin Option
modem-manager[2417]: <info>  Loaded plugin Wavecom
modem-manager[2417]: <info>  Loaded plugin Linktop
modem-manager[2417]: <info>  Loaded plugin Gobi
modem-manager[2417]: <info>  Loaded plugin AnyData
modem-manager[2417]: <info>  (ttyUSB0) opening serial port...
modem-manager[2417]: <info>  (ttyUSB1) opening serial port...
modem-manager[2417]: <info>  (ttyUSB2) opening serial port...
modem-manager[2417]: <info>  (ttyS1) opening serial port...
modem-manager[2417]: <info>  (ttyS2) opening serial port...
modem-manager[2417]: <info>  (ttyS3) opening serial port...
modem-manager[2417]: <info>  (ttyS4) opening serial port...
modem-manager[2417]: <info>  (ttyS0) opening serial port...
modem-manager[2417]: <info>  (ttyUSB0) closing serial port...
modem-manager[2417]: <info>  (ttyUSB0) serial port closed
modem-manager[2417]: <info>  (ttyUSB0) opening serial port...
modem-manager[2417]: <info>  (ttyUSB1) closing serial port...
modem-manager[2417]: <info>  (ttyUSB1) serial port closed
modem-manager[2417]: <info>  (ttyUSB1) opening serial port...
modem-manager[2417]: <info>  (ttyUSB2) closing serial port...
modem-manager[2417]: <info>  (ttyUSB2) serial port closed
modem-manager[2417]: <info>  (ttyUSB2) opening serial port...
modem-manager[2417]: <info>  (ttyS1) closing serial port...
modem-manager[2417]: <info>  (ttyS1) serial port closed
modem-manager[2417]: <info>  (ttyS1) opening serial port...
modem-manager[2417]: <info>  (ttyS2) closing serial port...
modem-manager[2417]: <info>  (ttyS2) serial port closed
modem-manager[2417]: <info>  (ttyS2) opening serial port...
modem-manager[2417]: <info>  (ttyS3) closing serial port...
modem-manager[2417]: <info>  (ttyS3) serial port closed
modem-manager[2417]: <info>  (ttyS3) opening serial port...
modem-manager[2417]: <info>  (ttyS4) closing serial port...
modem-manager[2417]: <info>  (ttyS4) serial port closed
modem-manager[2417]: <info>  (ttyS4) opening serial port...
modem-manager[2417]: <info>  (ttyS0) closing serial port...
modem-manager[2417]: <info>  (ttyS0) serial port closed
modem-manager[2417]: <info>  (ttyS0) opening serial port...
modem-manager[2417]: <info>  (ttyUSB0) closing serial port...
modem-manager[2417]: <info>  (ttyUSB0) serial port closed
modem-manager[2417]: <info>  (ttyUSB1) closing serial port...
modem-manager[2417]: <info>  (ttyUSB1) serial port closed
modem-manager[2417]: <info>  (ttyUSB2) closing serial port...
modem-manager[2417]: <info>  (ttyUSB2) serial port closed
modem-manager[2417]: <info>  (ttyS1) closing serial port...
modem-manager[2417]: <info>  (ttyS1) serial port closed
modem-manager[2417]: <info>  (ttyS2) closing serial port...
modem-manager[2417]: <info>  (ttyS2) serial port closed
modem-manager[2417]: <info>  (ttyS3) closing serial port...
modem-manager[2417]: <info>  (ttyS3) serial port closed
modem-manager[2417]: <info>  (ttyS4) closing serial port...
modem-manager[2417]: <info>  (ttyS4) serial port closed
modem-manager[2417]: <info>  (ttyS0) closing serial port...
modem-manager[2417]: <info>  (ttyS0) serial port closed

O que é um pouco estranho como quando eu plugin o modem, no dmesg agora eu recebo:

usb 1-1: New USB device found, idVendor=12d1, idProduct=14f1
usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
usb 1-1: Product: Huawei EM680 w/Gobi Technology
usb 1-1: Manufacturer: HUAWEI Incorporated
qcserial 1-1:1.1: Qualcomm USB modem converter detected
usb 1-1: Qualcomm USB modem converter now attached to ttyUSB0
qcserial 1-1:1.2: Qualcomm USB modem converter detected
usb 1-1: Qualcomm USB modem converter now attached to ttyUSB1
qcserial 1-1:1.3: Qualcomm USB modem converter detected
usb 1-1: Qualcomm USB modem converter now attached to ttyUSB2
    
por cerr 28.12.2013 / 18:45

1 resposta

3

Se você olhar para drivers/usb/serial/Makefile , verá que CONFIG_USB_SERIAL_QUALCOMM é responsável por esse driver.

Execute make menuconfig e vá para "Drivers de dispositivo" - > "Suporte a USB" - > "Suporte a conversor serial USB" - > "Modem serial USB Qualcomm"

    
por 28.12.2013 / 18:54