nixp.ru v3.0

30 мая 2017,
вторник,
08:21:25 MSK

DevOps с компанией «Флант»
redbull написал 1 июля 2007 года в 17:49 (418 просмотров) Ведет себя как мужчина; открыл 7 тем в форуме, оставил 15 комментариев на сайте.

Было прочитано моного статей, в том числе и статья на nixp.ru, благодаря чему сумел настроить жпрс соединение на редхат.

В редхат модем(сотка мотор л7) определялся как /dev/ttyACM0

Сейчас стоит Mandriva 2006 free (мне нравиться=)) никак не могу настроить мотор как модем, он определяеться либо как съемный диск либо никак=(

Помогить плиззз

Вот вывод dmesg:

Linux version 2.6.12-12mdk (apatard@n1.mandriva.com) (gcc version 4.0.1 (4.0.1-5

mdk for Mandriva Linux release 2006.0)) #1 Fri Sep 9 18:15:22 CEST 2005

Console: switching to colour frame buffer device 128×48

fb0: VESA VGA frame buffer device

isapnp: Scanning for PnP cards…

isapnp: No Plug & Play device found

Real Time Clock Driver v1.12

PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0×60,0×64 irq 1,12

serio: i8042 AUX port at 0×60,0×64 irq 12

serio: i8042 KBD port at 0×60,0×64 irq 1

Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled

ttyS0 at I/O 0×3f8 (irq = 4) is a 16550A

ttyS0 at I/O 0×3f8 (irq = 4) is a 16550A

ttyS0 at I/O 0×3f8 (irq = 4) is a 16550A

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize

pktcdvd: v0.2.0a 2004-07-14 Jens Axboe (axboe@suse.de) and petero2@telia.com

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

SIS5513: IDE controller at PCI slot 0000:00:02.5

ACPI: PCI Interrupt 0000:00:02.5[A] -> GSI 16 (level, low) -> IRQ 16

SIS5513: chipset revision 0

SIS5513: not 100% native mode: will probe irqs later

SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller

ide0: BM-DMA at 0xb400-0xb407, BIOS settings: hda:DMA, hdb:pio

ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA

Probing IDE interface ide0…

hda: ST380011A, ATA DISK drive

ide0 at 0×1f0-0×1f7,0×3f6 on irq 14

Probing IDE interface ide1…

hdc: TEAC CD-W552E, ATAPI CD/DVD-ROM drive

hdd: ATAPI DVD-ROM 16XMax, ATAPI CD/DVD-ROM drive

ide1 at 0×170-0×177,0×376 on irq 15

hda: max request size: 1024KiB

hda: Host Protected Area detected.

current capacity is 156299375 sectors (80025 MB)

native capacity is 156301488 sectors (80026 MB)

hda: Host Protected Area disabled.

hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)

hda: cache flushes supported

/dev/ide/host0/bus0/target0/lun0: p1 p3 < p5 p6 p7 >

mice: PS/2 mouse device common for all mice

md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27

NET: Registered protocol family 2

IP: routing cache hash table of 4096 buckets, 32Kbytes

TCP established hash table entries: 32768 (order: 6, 262144 bytes)

TCP bind hash table entries: 32768 (order: 5, 131072 bytes)

TCP: Hash tables configured (established 32768 bind 32768)

NET: Registered protocol family 1

swsusp: Suspend partition has wrong signature?

ACPI wakeup devices:

PCI0 PCI1 PS2K PS2M USB0 USB3 USB1 USB2 AC97

ACPI: (supports S0 S1 S3 S4 S5)

BIOS EDD facility v0.16 2004-Jun-25, 1 devices found

devfs_mk_dev: could not append to parent for md/0

md: Autodetecting RAID arrays.

md: autorun …

md: … autorun DONE.

RAMDISK: Compressed image found at block 0

VFS: Mounted root (ext2 filesystem).

input: AT Translated Set 2 keyboard on isa0060/serio0

kjournald starting. Commit interval 5 seconds

EXT3-fs: mounted filesystem with ordered data mode.

Freeing unused kernel memory: 268k freed

input: ImPS/2 Generic Wheel Mouse on isa0060/serio1

usbcore: registered new driver usbfs

usbcore: registered new driver hub

ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)

ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 20

ohci_hcd 0000:00:03.0: OHCI Host Controller

ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 1

ohci_hcd 0000:00:03.0: irq 20, io mem 0xe6800000

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 3 ports detected

ACPI: PCI Interrupt 0000:00:03.1 -> GSI 21 (level, low) -> IRQ 21

ohci_hcd 0000:00:03.1: OHCI Host Controller

ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 2

ohci_hcd 0000:00:03.1: irq 21, io mem 0xe6000000

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 3 ports detected

ACPI: PCI Interrupt 0000:00:03.3[D] -> GSI 23 (level, low) -> IRQ 23

ehci_hcd 0000:00:03.3: EHCI Host Controller

ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 3

ehci_hcd 0000:00:03.3: irq 23, io mem 0xe5800000

PCI: cache line size of 128 is not supported by device 0000:00:03.3

ehci_hcd 0000:00:03.3: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004

hub 3-0:1.0: USB hub found

hub 3-0:1.0: 6 ports detected

ts: Compaq touchscreen protocol output

EXT3 FS on hda6, internal journal

Adding 1132540k swap on /dev/hda7. Priority:-1 extents:1

Linux agpgart interface v0.101 (c) Dave Jones

agpgart: Detected SiS 650 chipset

agpgart: AGP aperture is 64M @ 0xe8000000

Supermount version 2.0.4 for kernel 2.6

ntfs: Ignoring new-style parameters in presence of obsolete ones

NTFS driver 2.1.22 [Flags: R/O DEBUG MODULE].

NTFS volume version 3.1.

NTFS volume version 3.1.

loop: loaded (max 8 devices)

hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)

Uniform CD-ROM driver Revision: 3.20

hdd: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)

ACPI: Power Button (FF) [PWRF]

Floppy drive(s): fd0 is 1.44M

FDC 0 is a post-1991 82077

NET: Registered protocol family 17

ACPI: PCI Interrupt 0000:00:02.7[C] -> GSI 18 (level, low) -> IRQ 18

AC’97 0 analog subsections not ready

intel8×0_measure_ac97_clock: measured 50427 usecs

intel8×0: clocking to 48000

NET: Registered protocol family 10

Disabled Privacy Extensions on device c03c5760(lo)

IPv6 over IPv4 tunneling driver

usb 1-2: new full speed USB device using ohci_hcd and address 2

usb 1-2: configuration #1 chosen from 2 choices

usb 1-2: USB disconnect, address 2

usb 1-2: new full speed USB device using ohci_hcd and address 3

usb 1-2: configuration #1 chosen from 2 choices

Genie

лично у меня при подключении Motorola L6 появляюются такие от строчки:

$dnesg | tail
...
usb0: unregister 'cdc_subset' usb-0000:00:02.1-3, Linux Device
usb 2-3: new full speed USB device using ohci_hcd and address 9
usb 2-3: configuration #1 chosen from 2 choices
cdc_acm 2-3:1.0: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters

сам телефон опрвделяется так:

$ lsusb | grep Moto
Bus 002 Device 009: ID 22b8:4902 Motorola PCS E398 GSM Phone

модуль, который подгружен:

$ lsmod | grep acm
cdc_acm                15712  0
usbcore               141580  10 cdc_acm,usb_storage,libusual,cdc_subset,usbnet,hci_usb,usbhid,ehci_hcd,ohci_hcd
$ /sbin/modinfo cdc_acm
filename:       /lib/modules/2.6.21.5-smp.k7/kernel/drivers/usb/class/cdc-acm.ko
author:         Armin Fuerst, Pavel Machek, Johannes Erdfelt, Vojtech Pavlik, David Kubicek
description:    USB Abstract Control Model driver for USB modems and ISDN adapters
license:        GPL
vermagic:       2.6.21.5-smp.k7 SMP mod_unload K7
depends:        usbcore
alias:          usb:v0870p0001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0482p0203d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v079Bp000Fd*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0ACEp1608d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0ACEp1611d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v22B8p7000d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v*p*d*dc*dsc*dp*ic02isc02ip01*
alias:          usb:v*p*d*dc*dsc*dp*ic02isc02ip02*
alias:          usb:v*p*d*dc*dsc*dp*ic02isc02ip03*
alias:          usb:v*p*d*dc*dsc*dp*ic02isc02ip04*
alias:          usb:v*p*d*dc*dsc*dp*ic02isc02ip05*
alias:          usb:v*p*d*dc*dsc*dp*ic02isc02ip06*

в общем, видимо или у тебя модуль не понимает довольно новый для него аппарат (а L7 вышел попозде ядра 2.6.12), лмбо не грузится. попробуй выполнить:

# modprobe cdc_acm

и смотри в <font color=«green»>dmesg | tail</font> за результатом.