здравствуйте. Помогите пожалуйста разобраться
Имею
1. модем huawei E160g и нетбук eee PC 4G
2. Ubuntu studio 8.04.1
3. ядро Linux ubuntu 2.6.24-23-rt #1 SMP PREEMPT RT Mon Jan 26 02:29:24 UTC 2009 i686 GNU/Linux
модем вставлен в компьютер. загружаюсь.
$lsusb
Bus 005 Device 003: ID 0951:1606 Kingston Technology
Bus 005 Device 002: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem
$dmesg
[ 19.481288] usbcore: registered new interface driver usbfs
[ 19.481346] usbcore: registered new interface driver hub
[ 19.503139] usbcore: registered new device driver usb
[ 19.526131] USB Universal Host Controller Interface driver v3.0
[ 19.526274] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 19
[ 19.526298] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[ 19.526307] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 19.527208] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[ 19.555131] uhci_hcd 0000:00:1d.0: irq 19, io base 0x0000e400
[ 19.555505] usb usb1: configuration #1 chosen from 1 choice
[ 19.555570] hub 1-0:1.0: USB hub found
[ 19.555587] hub 1-0:1.0: 2 ports detected
[ 19.656324] ACPI: PCI Interrupt 0000:00:1d.1 -> GSI 19 (level, low) -> IRQ 20
[ 19.656350] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[ 19.656361] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 19.656425] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[ 19.690100] uhci_hcd 0000:00:1d.1: irq 20, io base 0x0000e480
[ 19.690439] usb usb2: configuration #1 chosen from 1 choice
[ 19.690504] hub 2-0:1.0: USB hub found
[ 19.690522] hub 2-0:1.0: 2 ports detected
[ 19.791307] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
[ 19.791334] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[ 19.791344] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 19.791413] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[ 19.825094] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000e800
[ 19.825458] usb usb3: configuration #1 chosen from 1 choice
[ 19.825523] hub 3-0:1.0: USB hub found
[ 19.825540] hub 3-0:1.0: 2 ports detected
[ 19.862066] usb 1-2: new full speed USB device using uhci_hcd and address 2
[ 19.868615] SCSI subsystem initialized
[ 19.926281] ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
[ 19.926307] PCI: Setting latency timer of device 0000:00:1d.3 to 64
[ 19.926317] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[ 19.926384] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
[ 19.943083] uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000e880
[ 19.943428] usb usb4: configuration #1 chosen from 1 choice
[ 19.943494] hub 4-0:1.0: USB hub found
[ 19.943518] hub 4-0:1.0: 2 ports detected
[ 20.009426] usb 1-2: configuration #1 chosen from 1 choice
[ 20.019060] libata version 3.00 loaded.
[ 20.044390] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 19
[ 20.044421] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[ 20.044430] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 20.044496] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
[ 20.048441] ehci_hcd 0000:00:1d.7: debug port 1
[ 20.048454] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[ 20.048473] ehci_hcd 0000:00:1d.7: irq 19, io mem 0xf7eb7c00
[ 20.058517] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 20.058879] usb usb5: configuration #1 chosen from 1 choice
[ 20.058945] hub 5-0:1.0: USB hub found
[ 20.058963] hub 5-0:1.0: 8 ports detected
[ 20.159412] ata_piix 0000:00:1f.2: version 2.12
[ 20.159429] ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
[ 20.159493] ACPI: PCI Interrupt 0000:00:1f.2 -> GSI 19 (level, low) -> IRQ 20
[ 20.159568] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[ 20.252503] scsi0 : ata_piix
[ 20.282747] scsi1 : ata_piix
[ 20.286306] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
[ 20.286317] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
[ 20.374063] usb 5-2: new high speed USB device using ehci_hcd and address 2
[ 20.500620] usb 5-2: configuration #1 chosen from 1 choice
[ 20.613493] ata2.00: ATA-4: SILICONMOTION SM223AC, , max UDMA/66
[ 20.613504] ata2.00: 7815024 sectors, multi 0: LBA
[ 20.613545] ata2.00: limited to UDMA/33 due to 40-wire cable
[ 20.619427] ata2.00: configured for UDMA/33
[ 20.619773] scsi 1:0:0:0: Direct-Access ATA SILICONMOTION SM n/a PQ: 0 ANSI: 5
[ 20.708040] usb 5-5: new high speed USB device using ehci_hcd and address 3
[ 20.824284] usb 5-5: configuration #1 chosen from 1 choice
[ 20.824712] usb 1-2: USB disconnect, address 2
[ 22.136490] usbcore: registered new interface driver libusual
[ 22.161086] Initializing USB Mass Storage driver...
[ 22.170451] usb-storage: probe of 5-2:1.0 failed with error -5
[ 22.175030] usb-storage: probe of 5-2:1.1 failed with error -5
[ 22.404222] Driver 'sd' needs updating - please use bus_type methods
[ 22.405485] sd 1:0:0:0: [sda] 7815024 512-byte hardware sectors (4001 MB)
[ 22.405528] sd 1:0:0:0: [sda] Write Protect is off
[ 22.405536] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 22.405586] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 22.405732] sd 1:0:0:0: [sda] 7815024 512-byte hardware sectors (4001 MB)
[ 22.405764] sd 1:0:0:0: [sda] Write Protect is off
[ 22.405771] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 22.405818] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 22.405829] sda: sda1 sda2 < sda5 >
[ 22.407606] sd 1:0:0:0: [sda] Attached SCSI disk
[ 22.435186] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 22.815614] Attempting manual resume
[ 22.815624] swsusp: Resume From Partition 8:5
[ 22.815629] PM: Checking swsusp image.
[ 22.816098] PM: Resume from disk failed.
[ 22.870833] EXT3-fs: mounted filesystem with ordered data mode.
[ 22.871027] kjournald starting. Commit interval 5 seconds
[ 23.182655] scsi4 : SCSI emulation for USB Mass Storage devices
[ 23.192038] usb-storage: device found at 2
[ 23.192047] usb-storage: waiting for device to settle before scanning
[ 23.503918] Clocksource tsc unstable (delta = -100833258 ns)
[ 24.017312] scsi5 : SCSI emulation for USB Mass Storage devices
[ 24.017550] usb-storage: device found at 2
[ 24.017556] usb-storage: waiting for device to settle before scanning
[ 24.017638] scsi6 : SCSI emulation for USB Mass Storage devices
[ 24.017791] usbcore: registered new interface driver usb-storage
[ 24.017801] USB Mass Storage support registered.
[ 24.018670] usb-storage: device found at 3
[ 24.018678] usb-storage: waiting for device to settle before scanning
[ 27.045924] usb-storage: device scan complete
[ 27.047524] scsi 4:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 27.048437] scsi 4:0:0:0: Attached scsi generic sg1 type 5
[ 27.381527] Driver 'sr' needs updating - please use bus_type methods
[ 27.395367] sr0: scsi-1 drive
[ 27.395381] Uniform CD-ROM driver Revision: 3.20
[ 27.395529] sr 4:0:0:0: Attached scsi CD-ROM sr0
[ 28.087922] usb-storage: device scan complete
[ 28.088598] scsi 6:0:0:0: Direct-Access USB2.0 CardReader SD0 0100 PQ: 0 ANSI: 0
[ 28.090671] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 28.090791] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 28.126926] usb-storage: device scan complete
[ 28.128476] scsi 5:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2
[ 28.133633] sd 5:0:0:0: [sdc] Attached SCSI removable disk
[ 28.133827] sd 5:0:0:0: Attached scsi generic sg3 type 0
[ 29.907977] Linux agpgart interface v0.102
[ 29.989171] agpgart: Detected an Intel 915GM Chipset.
[ 29.989540] agpgart: Detected 7932K stolen memory.
[ 30.129309] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 30.432984] agpgart: AGP aperture is 256M @ 0xd0000000
[ 30.433085] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 31.011636] input: Power Button (FF) as /devices/virtual/input/input2
[ 31.019917] ACPI: Power Button (FF) [PWRF]
[ 31.020273] input: Lid Switch as /devices/virtual/input/input3
[ 31.027664] ACPI: Lid Switch [liD]
[ 31.027971] input: Sleep Button (CM) as /devices/virtual/input/input4
[ 31.039914] ACPI: Sleep Button (CM) [SLPB]
[ 31.040223] input: Power Button (CM) as /devices/virtual/input/input5
[ 31.051912] ACPI: Power Button (CM) [PWRB]
[ 34.283084] ACPI: AC Adapter [AC0] (on-line)
[ 34.647703] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input6
[ 34.658907] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 36.007842] ACPI: Battery Slot [BAT0] (battery present)
[ 37.175965] Attansic(R) L2 Ethernet Network Driver - version 1.0.40.2
[ 37.175978] Copyright (c) 2006 Attansic Corporation.
[ 37.178056] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 17
[ 37.178081] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 37.389598] input: PC Speaker as /devices/platform/pcspkr/input/input7
[ 37.484734] intel_rng: FWH not detected
[ 37.752252] iTCO_vendor_support: vendor-support=0
[ 37.804999] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.02 (26-Jul-2007)
[ 37.805361] iTCO_wdt: Found a ICH6-M TCO device (Version=2, TCOBASE=0x0860)
[ 37.805477] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 40.471099] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 40.471151] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 40.528271] usbcore: registered new interface driver usbserial
[ 40.528375] /build/buildd/linux-2.6.24/debian/build/custom-source-rt/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 40.528501] usbcore: registered new interface driver usbserial_generic
[ 40.528509] /build/buildd/linux-2.6.24/debian/build/custom-source-rt/drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 40.568638] /build/buildd/linux-2.6.24/debian/build/custom-source-rt/drivers/usb/serial/usb-serial.c: USB Serial support registered for airprime
[ 40.568751] airprime 5-2:1.0: airprime converter detected
[ 40.569307] usb 5-2: airprime converter now attached to ttyUSB0
[ 40.570309] usb 5-2: airprime converter now attached to ttyUSB1
[ 40.570952] usb 5-2: airprime converter now attached to ttyUSB2
[ 40.570989] airprime 5-2:1.1: airprime converter detected
[ 40.571954] usb 5-2: airprime converter now attached to ttyUSB3
[ 40.572309] usb 5-2: airprime converter now attached to ttyUSB4
[ 40.572953] usb 5-2: airprime converter now attached to ttyUSB5
[ 40.572993] usbcore: registered new interface driver airprime
[ 40.913684] /build/buildd/linux-2.6.24/debian/build/custom-source-rt/drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
[ 40.913801] usbcore: registered new interface driver option
[ 40.913809] /build/buildd/linux-2.6.24/debian/build/custom-source-rt/drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
[ 42.304430] Synaptics Touchpad, model: 1, fw: 6.5, id: 0x1c0b1, caps: 0xa04751/0xa00000
[ 42.390136] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input8
[ 46.626460] loop: module loaded
[ 46.747338] lp: driver loaded but no devices found
[ 47.292495] Adding 224868k swap on /dev/sda5. Priority:-1 extents:1 across:224868k
[ 47.511086] EXT3 FS on sda1, internal journal
[ 48.760545] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 49.616928] No dock devices found.
[ 51.684531] apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
[ 51.685184] apm: overridden by ACPI.
[ 52.360376] ppdev: user-space parallel port driver
[ 52.406621] audit(1236995687.979:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=5099 profile="/usr/sbin/cupsd" namespace="default"
[ 54.476681] Bluetooth: Core ver 2.11
[ 54.478095] NET: Registered protocol family 31
[ 54.478600] Bluetooth: HCI device and connection manager initialized
[ 54.478980] Bluetooth: HCI socket layer initialized
[ 54.610381] Bluetooth: L2CAP ver 2.9
[ 54.610831] Bluetooth: L2CAP socket layer initialized
[ 54.755348] Bluetooth: RFCOMM socket layer initialized
[ 54.755948] Bluetooth: RFCOMM TTY layer initialized
[ 54.756343] Bluetooth: RFCOMM ver 1.8
[ 56.411153] NET: Registered protocol family 10
[ 56.412276] lo: Disabled Privacy Extensions
[ 58.120752] [drm] Initialized drm 1.1.0 20060810
[ 58.132697] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 58.132723] PCI: Setting latency timer of device 0000:00:02.0 to 64
[ 58.132927] [drm] Initialized i915 1.6.0 20060119 on minor 0
после этого, естественно, подключения не происходит. Вытаскиваю модем и засовываю обратно.
в результате
$lsusb
Bus 005 Device 005: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem
Bus 005 Device 003: ID 0951:1606 Kingston Technology
и в логах добавляются следующие строчки
[ 115.565529] airprime ttyUSB0: airprime_open - failed submitting read urb 0 for port 0, error -22
[ 115.566592] airprime ttyUSB0: airprime_open - failed submitting read urb 0 for port 0, error -22
[ 115.567702] airprime ttyUSB0: airprime_open - failed submitting read urb 0 for port 0, error -22
[ 139.862834] usb 5-2: USB disconnect, address 2
[ 139.865283] airprime ttyUSB0: airprime converter now disconnected from ttyUSB0
[ 139.865805] airprime ttyUSB1: airprime converter now disconnected from ttyUSB1
[ 139.868549] airprime ttyUSB2: airprime converter now disconnected from ttyUSB2
[ 139.868608] airprime 5-2:1.0: device disconnected
[ 139.871715] airprime ttyUSB3: airprime converter now disconnected from ttyUSB3
[ 139.872923] airprime ttyUSB4: airprime converter now disconnected from ttyUSB4
[ 139.874139] airprime ttyUSB5: airprime converter now disconnected from ttyUSB5
[ 139.874188] airprime 5-2:1.1: device disconnected
[ 139.964037] usb 5-5: reset high speed USB device using ehci_hcd and address 3
[ 141.622462] usb 5-2: new high speed USB device using ehci_hcd and address 4
[ 141.676212] usb 5-2: configuration #1 chosen from 1 choice
[ 141.736817] scsi7 : SCSI emulation for USB Mass Storage devices
[ 141.741046] usb 5-2: USB disconnect, address 4
[ 141.741708] usb-storage: device found at 4
[ 141.742099] usb-storage: waiting for device to settle before scanning
[ 142.600322] usb 5-2: new high speed USB device using ehci_hcd and address 5
[ 142.654152] usb 5-2: configuration #1 chosen from 1 choice
[ 142.668771] usb-storage: probe of 5-2:1.0 failed with error -5
[ 142.668824] airprime 5-2:1.0: GSM modem (1-port) converter detected
[ 142.669328] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 142.675749] usb-storage: probe of 5-2:1.1 failed with error -5
[ 142.675801] airprime 5-2:1.1: GSM modem (1-port) converter detected
[ 142.676246] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 143.698272] scsi10 : SCSI emulation for USB Mass Storage devices
[ 143.706075] usb-storage: device found at 5
[ 143.706562] usb-storage: waiting for device to settle before scanning
[ 144.428103] scsi11 : SCSI emulation for USB Mass Storage devices
[ 144.432004] usb-storage: device found at 5
[ 144.432471] usb-storage: waiting for device to settle before scanning
[ 144.944967] usb-storage: device scan complete
[ 144.947284] scsi 10:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 144.978127] sr0: scsi-1 drive
[ 144.978734] sr 10:0:0:0: Attached scsi CD-ROM sr0
[ 144.978847] sr 10:0:0:0: Attached scsi generic sg1 type 5
[ 145.396242] usb-storage: device scan complete
[ 145.397796] scsi 11:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2
[ 145.407030] sd 11:0:0:0: [sdc] Attached SCSI removable disk
[ 145.407146] sd 11:0:0:0: Attached scsi generic sg3 type 0
после этого wvdial работает как часы, равно как и gnome-ppp
помогите, пожалуйста составить скрипт подключения к интернету.
ps. меня смущает, что модем начинает работать только после "перезапихивания" модема. характерно также, что модем модели E160g, система видит как E220.
команда sudo modprobe vendor=0x12d1 product=0x1003 выдает ошибку.