Доброго времени суток. Надеюсь на помощ. Проблема в следующем. Модем ZTE 880+
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu maverick (development branch)"
uname -r
2.6.35-19-generic
железо asus 1005h
lsusb
Bus 002 Device 002: ID 19d2:fff5 ONDA Communication S.p.A.
пытался
modprobe usbserial vendor=0x19d2 product=0xfff5
но
dmesg
35.786552] scsi7 : usb-storage 2-1:1.0
[ 36.792117] scsi 7:0:0:0: CD-ROM ZTE USB Storage FFFE 2.31 PQ: 0 ANSI: 2
[ 36.820130] sr0: scsi-1 drive
[ 36.820141] Uniform CD-ROM driver Revision: 3.20
[ 36.820522] sr 7:0:0:0: Attached scsi CD-ROM sr0
[ 36.820732] sr 7:0:0:0: Attached scsi generic sg2 type 5
[ 39.362045] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
[ 39.362087] sr: Sense Key : Hardware Error [current]
пытался
modprobe usbserial vendor=0x19d2 product=0xfff5
то есть компьютер продолжает видеть модем как сдром. Гуглил по этому поводу много написано но решения так и ненашол.
редактировал rc.locl
редактируем файл /etc/*rc.local в конце которого дописиваем строчку (перед exit 0 если надо поправляем значение exit) modprobe usbserial vendor=0x19d2 product=0xfff5
lj,Добавлял правила в ruls.d
Now, you need to create a file called /etc/udev/rules.d/100-ril.rules (as root) and enter the following in it:
ATTRS{idVendor}==”19d2″ , ATTRS{idProduct}==”fff5”,RUN+=”/sbin/modprobe usbserial vendor=0x19d2 product=0xfff5”,SYMLINK+=”netdevice”
ACTION==”add”,SUBSYSTEM==”tty”,KERNEL==”ttyUSB0″,ATTRS{idVendor}==”19d2″ , ATTRS{idProduct}==”fff5”,RUN+=”/usr/bin/ril”
ACTION==”remove”,SUBSYSTEM==”usb”,KERNEL==”ttyUSB0″,ATTRS{idVendor}==”19d2″ , ATTRS{idProduct}==”fff5”,RUN+=”/usr/bin/msg_connection” ;
$gksu gedit /etc/udev/rules.d/zte_eject.rules
A blank file will open up. Copy the following text
ACTION!="add", GOTO="3G_End"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="fff5", ATTRS{idVendor}=="19d2", RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0xfff5"
LABEL="3G_End"
gksu gedit /etc/udev/rules.d/Zte.ruls
SUBSYSTEM=="usb", SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="fff5", RUN+="(command to eject the new /dev/sr0)"
редактировал sudo gedit /boot/grub/grub.cfg
### BEGIN /etc/grub.d/10_linux ### set root=(hd0,3)
search --fs-uuid --set 126317bd-2dd9-4016-8e65-df85fda33a34
menuentry "Ubuntu, linux 2.6.36-19-generic" {
linux /boot/vmlinuz-2.6.28-11-generic root=UUID=126317bd-2dd9-4016-8e65-df85fda33a34 ro quiet splash usbserial.vendor=0x19d2 usbserial.product=0xfff5
initrd /boot/initrd.img-2.6.36-19-generic
но результат прежний dmesg
6.792117] scsi 7:0:0:0: CD-ROM ZTE USB Storage FFFE 2.31 PQ: 0 ANSI: 2
sudo dmesg | grep tty
[ 0.000000] console [tty0] enabled
sudo ls -al /dev/ttyUSB*
ls: cannot access /dev/ttyUSB*: No such file or directory
sudo usb_modeswitch -v 0x19d2 -p 0xfff5
Looking for default devices ...
Found devices in default mode or class (1)
Accessing device 006 on bus 002 ...
Using endpoints 0x05 (out) and 0x82 (in)
Using endpoints 0x05 (out) and 0x82 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
SCSI inquiry data (for identification)
-------------------------
Vendor String: ZTE
Model String: USB Storage FFFE
Revision String: 2.31
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: ZTE, Incorporated
Product: USB Storage
Serial No.: 000000000002
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye.
sudo usb_modeswitch -v 0x19d2 -p 0xfff5 -a usbserial
Looking for default devices ...
Found devices in default mode or class (1)
Accessing device 006 on bus 002 ...
Using endpoints 0x05 (out) and 0x82 (in)
Using endpoints 0x05 (out) and 0x82 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached
SCSI inquiry data (for identification)
-------------------------
Vendor String: ZTE
Model String: USB Storage FFFE
Revision String: 2.31
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: ZTE, Incorporated
Product: USB Storage
Serial No.: 000000000002
-------------------------
Changing to alt setting 0 ...
OK, changed to alt setting
-> Run lsusb to note any changes. Bye.
sudo usb_modeswitch -v 0x19d2 -p 0xfff5
sudo usb_modeswitch -v 0x19d2 -p 0xfff5
Looking for default devices ...
Found devices in default mode or class (1)
Accessing device 007 on bus 002 ...
Using endpoints 0x05 (out) and 0x82 (in)
Using endpoints 0x05 (out) and 0x82 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
SCSI inquiry data (for identification)
-------------------------
Vendor String: ZTE
Model String: USB Storage FFFE
Revision String: 2.31
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: ZTE, Incorporated
Product: USB Storage
Serial No.: 000000000002
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye
sudo usb_modeswitch -v 0x19d2 -p 0xfffe
Looking for default devices ...
No devices in default mode or class found. Nothing to do. Bye
Пытался удалить autorun.flg с модема но в Linuxе надо чтобы бвло соединение через dev/ttyUSB1 а уменя sr0
В Linuxе у меня большого опыта нет, но хотелось бы всетаки завести этот модем. Прошу мудрого совета. Зарание благщдарен