Автор Тема: USB модемы в Альт Линукс Школьный.  (Прочитано 6651 раз)

Spinoza

  • Гость
Re: USB модемы в Альт Линукс Школьный.
« Ответ #15 : 28.06.2010 14:47:07 »
Похоже, надо будет создать правило для hal. Отсоедените модем. Откройте ещё один терминал и так же дайте себе права администратора. Затем создадим само правило # echo 'SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"' | tee /etc/udev/rules.d/45-huawei1550.rules. Теперь можно подключить модем. И приведите новые логи.

kublo

  • Гость
Re: USB модемы в Альт Линукс Школьный.
« Ответ #16 : 28.06.2010 16:00:27 »
Модем обнаружен автозапуск не происходит, в синаптике мтс не могу найти. Запускал exe форматы Wine запускается виден на панели задач а никакого окна нет и через некоторое времы закрывается. Я не знаю что делать.
Почитай это http://rus-linux.net/nlib.php?name=/MyLDP/internet/modem-ru.html

Spinoza

  • Гость
Re: USB модемы в Альт Линукс Школьный.
« Ответ #17 : 28.06.2010 16:18:58 »
Ну да, можно конечно извращаться над модемом как угодно...

Оффлайн push87

  • Участник
  • *
  • Сообщений: 186
  • Новичок в Линуксе.
Re: USB модемы в Альт Линукс Школьный.
« Ответ #18 : 28.06.2010 18:03:01 »
Это появилось в первом окне когда ввел команду и подключил модем при этом во втором окне пусто.
Jul 28 17:54:46 comp-Celeron-CPU-d69ecb kernel: [13419.736022] usb 1-2: new high speed USB device using ehci_hcd and address 9
Jul 28 17:54:47 comp-Celeron-CPU-d69ecb kernel: [13419.879253] usb 1-2: New USB device found, idVendor=12d1, idProduct=1446
Jul 28 17:54:47 comp-Celeron-CPU-d69ecb kernel: [13419.879259] usb 1-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
Jul 28 17:54:47 comp-Celeron-CPU-d69ecb kernel: [13419.879263] usb 1-2: Product: HUAWEI Mobile
Jul 28 17:54:47 comp-Celeron-CPU-d69ecb kernel: [13419.879267] usb 1-2: Manufacturer: HUAWEI Technology
Jul 28 17:54:47 comp-Celeron-CPU-d69ecb kernel: [13419.879438] usb 1-2: configuration #1 chosen from 1 choice
Jul 28 17:54:47 comp-Celeron-CPU-d69ecb kernel: [13419.883863] scsi12 : SCSI emulation for USB Mass Storage devices
Jul 28 17:54:47 comp-Celeron-CPU-d69ecb kernel: [13419.900536] scsi13 : SCSI emulation for USB Mass Storage devices
Jul 28 17:54:52 comp-Celeron-CPU-d69ecb kernel: [13424.903422] scsi 12:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Jul 28 17:54:52 comp-Celeron-CPU-d69ecb kernel: [13424.925089] sr1: scsi-1 drive
Jul 28 17:54:52 comp-Celeron-CPU-d69ecb kernel: [13424.925335] sr 12:0:0:0: Attached scsi generic sg3 type 5
Jul 28 17:54:52 comp-Celeron-CPU-d69ecb kernel: [13424.928602] scsi 13:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2
Jul 28 17:54:52 comp-Celeron-CPU-d69ecb kernel: [13424.928815] sd 13:0:0:0: Attached scsi generic sg4 type 0
Jul 28 17:54:52 comp-Celeron-CPU-d69ecb kernel: [13424.950728] sd 13:0:0:0: [sdc] Attached SCSI removable disk

Решил второй раз ввести во второе окно туже команду и выдала вот это
> option-zerocd"' | tee /etc/udev/rules.d/45-huawei1550.rules

Spinoza

  • Гость
Re: USB модемы в Альт Линукс Школьный.
« Ответ #19 : 28.06.2010 18:40:13 »
Цитировать
Решил второй раз ввести во второе окно туже команду и выдала вот это
> option-zerocd"' | tee /etc/udev/rules.d/45-huawei1550.rules
Нажмите сочетание клавиш Ctrl+C чтобы завершить операцию. Проверьте, установлен ли у Вас пакет udev-extras rpm -qa | grep udev-extras А также покажите вывод lsusb -vv

Оффлайн push87

  • Участник
  • *
  • Сообщений: 186
  • Новичок в Линуксе.
Re: USB модемы в Альт Линукс Школьный.
« Ответ #20 : 28.06.2010 19:00:47 »
rpm -qa | grep udev-extras после появился udev-extras-0.20090516-alt4

lsusb -vv после появился

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:                                            
  bLength                18                                  
  bDescriptorType         1                                  
  bcdUSB               2.00                                  
  bDeviceClass            9 Hub                              
  bDeviceSubClass         0 Unused                            
  bDeviceProtocol         0 Full speed (or root) hub          
  bMaxPacketSize0        64                                  
  idVendor           0x1d6b Linux Foundation                  
  idProduct          0x0002 2.0 root hub                      
  bcdDevice            2.06                                  
  iManufacturer           3 Linux 2.6.30-std-def-alt14 ehci_hcd
  iProduct                2 EHCI Host Controller              
  iSerial                 1 0000:00:1d.7                      
  bNumConfigurations      1                                    
  Configuration Descriptor:                                    
    bLength                 9                                  
    bDescriptorType         2                                  
    wTotalLength           25                                  
    bNumInterfaces          1                                  
    bConfigurationValue     1                                  
    iConfiguration          0                                  
    bmAttributes         0xe0                                  
      Self Powered                                            
      Remote Wakeup                                            
    MaxPower                0mA                                
    Interface Descriptor:                                      
      bLength                 9                                
      bDescriptorType         4                                
      bInterfaceNumber        0                                
      bAlternateSetting       0                                
      bNumEndpoints           1                                
      bInterfaceClass         9 Hub                            
      bInterfaceSubClass      0 Unused                        
      bInterfaceProtocol      0 Full speed (or root) hub      
      iInterface              0                                
      Endpoint Descriptor:                                    
        bLength                 7                              
        bDescriptorType         5                              
        bEndpointAddress     0x81  EP 1 IN                    
        bmAttributes            3                              
          Transfer Type            Interrupt                  
          Synch Type               None                        
          Usage Type               Data                        
        wMaxPacketSize     0x0004  1x 4 bytes                  
        bInterval              12                              
Hub Descriptor:                                                
  bLength              11                                      
  bDescriptorType      41                                      
  nNbrPorts             8                                      
  wHubCharacteristic 0x000a                                    
    No power switching (usb 1.0)                              
    Per-port overcurrent protection                            
  bPwrOn2PwrGood       10 * 2 milli seconds                    
  bHubContrCurrent      0 milli Ampere                        
  DeviceRemovable    0x00 0x00                                
  PortPwrCtrlMask    0xff 0xff                                
 Hub Port Status:                                              
   Port 1: 0000.0100 power                                    
   Port 2: 0000.0503 highspeed power enable connect            
   Port 3: 0000.0100 power                                    
   Port 4: 0000.0100 power                                    
   Port 5: 0000.0100 power                                    
   Port 6: 0000.0503 highspeed power enable connect            
   Port 7: 0000.0100 power                                    
   Port 8: 0000.0100 power                                    
Device Status:     0x0003                                      
  Self Powered                                                
  Remote Wakeup Enabled                                        

Bus 001 Device 010: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 2.0 Stick (4GB) / PNY Attache 4GB Stick                                                    
Device Descriptor:                                                              
  bLength                18                                                    
  bDescriptorType         1                                                    
  bcdUSB               2.00                                                    
  bDeviceClass            0 (Defined at Interface level)                        
  bDeviceSubClass         0                                                    
  bDeviceProtocol         0                                                    
  bMaxPacketSize0        64                                                    
  idVendor           0x0930 Toshiba Corp.                                      
  idProduct          0x6545 Kingston DataTraveler 2.0 Stick (4GB) / PNY Attache 4GB Stick                                                                      
  bcdDevice            1.10                                                    
  iManufacturer           1 Kingston                                            
  iProduct                2 DataTraveler 2.0                                    
  iSerial                 3 03617380A231492B                                    
  bNumConfigurations      1                                                    
  Configuration Descriptor:                                                    
    bLength                 9                                                  
    bDescriptorType         2                                                  
    wTotalLength           32                                                  
    bNumInterfaces          1                                                  
    bConfigurationValue     1                                                  
    iConfiguration          0                                                  
    bmAttributes         0x80                                                  
      (Bus Powered)                                                            
    MaxPower              100mA                                                
    Interface Descriptor:                                                      
      bLength                 9                                                
      bDescriptorType         4                                                
      bInterfaceNumber        0                                                
      bAlternateSetting       0                                                
      bNumEndpoints           2                                                
      bInterfaceClass         8 Mass Storage                                    
      bInterfaceSubClass      6 SCSI                                            
      bInterfaceProtocol     80 Bulk (Zip)                                      
      iInterface              0                                                
      Endpoint Descriptor:                                                      
        bLength                 7                                              
        bDescriptorType         5                                              
        bEndpointAddress     0x81  EP 1 IN                                      
        bmAttributes            2                                              
          Transfer Type            Bulk                                        
          Synch Type               None                                        
          Usage Type               Data                                        
        wMaxPacketSize     0x0200  1x 512 bytes                                
        bInterval               0                                              
      Endpoint Descriptor:                                                      
        bLength                 7                                              
        bDescriptorType         5                                              
        bEndpointAddress     0x02  EP 2 OUT                                    
        bmAttributes            2                                              
          Transfer Type            Bulk                                        
          Synch Type               None                                        
          Usage Type               Data                                        
        wMaxPacketSize     0x0200  1x 512 bytes                                
        bInterval               0                                              
Device Qualifier (for other device speed):                                      
  bLength                10                                                    
  bDescriptorType         6                                                    
  bcdUSB               2.00                                                    
  bDeviceClass            0 (Defined at Interface level)                        
  bDeviceSubClass         0                                                    
  bDeviceProtocol         0                                                    
  bMaxPacketSize0        64                                                    
  bNumConfigurations      1                                                    
Device Status:     0x0000                                                      
  (Bus Powered)                                                                

Bus 001 Device 009: ID 12d1:1446 Huawei Technologies Co., Ltd.
Device Descriptor:                                            
  bLength                18                                    
  bDescriptorType         1                                    
  bcdUSB               2.00                                    
  bDeviceClass            0 (Defined at Interface level)      
  bDeviceSubClass         0                                    
  bDeviceProtocol         0                                    
  bMaxPacketSize0        64                                    
  idVendor           0x12d1 Huawei Technologies Co., Ltd.      
  idProduct          0x1446                                    
  bcdDevice            0.00                                    
  iManufacturer           2 HUAWEI Technology                  
  iProduct                1 HUAWEI Mobile                      
  iSerial                 0                                    
  bNumConfigurations      1                                    
  Configuration Descriptor:                                    
    bLength                 9                                  
    bDescriptorType         2                                  
    wTotalLength           55                                  
    bNumInterfaces          2                                  
    bConfigurationValue     1                                  
    iConfiguration          3 Qualcomm Configuration          
    bmAttributes         0xe0                                  
      Self Powered                                            
      Remote Wakeup                                            
    MaxPower              500mA                                
    Interface Descriptor:                                      
      bLength                 9                                
      bDescriptorType         4                                
      bInterfaceNumber        0                                
      bAlternateSetting       0                                
      bNumEndpoints           2                                
      bInterfaceClass         8 Mass Storage                  
      bInterfaceSubClass      6 SCSI                          
      bInterfaceProtocol     80 Bulk (Zip)                    
      iInterface              0                                
      Endpoint Descriptor:                                    
        bLength                 7                              
        bDescriptorType         5                              
        bEndpointAddress     0x81  EP 1 IN                    
        bmAttributes            2                              
          Transfer Type            Bulk                        
          Synch Type               None                        
          Usage Type               Data                        
        wMaxPacketSize     0x0200  1x 512 bytes                
        bInterval               0                              
      Endpoint Descriptor:                                    
        bLength                 7                              
        bDescriptorType         5                              
        bEndpointAddress     0x01  EP 1 OUT                    
        bmAttributes            2                              
          Transfer Type            Bulk                        
          Synch Type               None                        
          Usage Type               Data                        
        wMaxPacketSize     0x0200  1x 512 bytes                
        bInterval               0                              
    Interface Descriptor:                                      
      bLength                 9                                
      bDescriptorType         4                                
      bInterfaceNumber        1                                
      bAlternateSetting       0                                
      bNumEndpoints           2                                
      bInterfaceClass         8 Mass Storage                  
      bInterfaceSubClass      6 SCSI                          
      bInterfaceProtocol     80 Bulk (Zip)                    
      iInterface              0                                
      Endpoint Descriptor:                                    
        bLength                 7                              
        bDescriptorType         5                              
        bEndpointAddress     0x02  EP 2 OUT                    
        bmAttributes            2                              
          Transfer Type            Bulk                        
          Synch Type               None                        
          Usage Type               Data                        
        wMaxPacketSize     0x0200  1x 512 bytes                
        bInterval               0                              
      Endpoint Descriptor:                                    
        bLength                 7                              
        bDescriptorType         5                              
        bEndpointAddress     0x82  EP 2 IN                    
        bmAttributes            2                              
          Transfer Type            Bulk                        
          Synch Type               None                        
          Usage Type               Data                        
        wMaxPacketSize     0x0200  1x 512 bytes                
        bInterval               0                              
Device Qualifier (for other device speed):                    
  bLength                10                                    
  bDescriptorType         6                                    
  bcdUSB               2.00                                    
  bDeviceClass            0 (Defined at Interface level)      
  bDeviceSubClass         0                                    
  bDeviceProtocol         0                                    
  bMaxPacketSize0        64                                    
  bNumConfigurations      1                                    
Device Status:     0x0001                                      
  Self Powered                                                

Часть кода не помещается

Оффлайн push87

  • Участник
  • *
  • Сообщений: 186
  • Новичок в Линуксе.
Re: USB модемы в Альт Линукс Школьный.
« Ответ #21 : 28.06.2010 19:02:01 »
Вот продолжение.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:                                           
  bLength                18                                   
  bDescriptorType         1                                   
  bcdUSB               1.10                                   
  bDeviceClass            9 Hub                               
  bDeviceSubClass         0 Unused                           
  bDeviceProtocol         0 Full speed (or root) hub         
  bMaxPacketSize0        64                                   
  idVendor           0x1d6b Linux Foundation                 
  idProduct          0x0001 1.1 root hub                     
  bcdDevice            2.06                                   
  iManufacturer           3 Linux 2.6.30-std-def-alt14 uhci_hcd
  iProduct                2 UHCI Host Controller               
  iSerial                 1 0000:00:1d.0                       
  bNumConfigurations      1                                   
  Configuration Descriptor:                                   
    bLength                 9                                 
    bDescriptorType         2                                 
    wTotalLength           25                                 
    bNumInterfaces          1                                 
    bConfigurationValue     1                                 
    iConfiguration          0                                 
    bmAttributes         0xe0                                 
      Self Powered                                             
      Remote Wakeup                                           
    MaxPower                0mA                               
    Interface Descriptor:                                     
      bLength                 9                               
      bDescriptorType         4                               
      bInterfaceNumber        0                               
      bAlternateSetting       0                               
      bNumEndpoints           1                               
      bInterfaceClass         9 Hub                           
      bInterfaceSubClass      0 Unused                         
      bInterfaceProtocol      0 Full speed (or root) hub       
      iInterface              0                               
      Endpoint Descriptor:                                     
        bLength                 7                             
        bDescriptorType         5                             
        bEndpointAddress     0x81  EP 1 IN                     
        bmAttributes            3                             
          Transfer Type            Interrupt                   
          Synch Type               None                       
          Usage Type               Data                       
        wMaxPacketSize     0x0002  1x 2 bytes                 
        bInterval             255                             
Hub Descriptor:                                               
  bLength               9                                     
  bDescriptorType      41                                     
  nNbrPorts             2                                     
  wHubCharacteristic 0x000a                                   
    No power switching (usb 1.0)                               
    Per-port overcurrent protection                           
  bPwrOn2PwrGood        1 * 2 milli seconds                   
  bHubContrCurrent      0 milli Ampere                         
  DeviceRemovable    0x00                                     
  PortPwrCtrlMask    0xff                                     
 Hub Port Status:                                             
   Port 1: 0000.0100 power                                     
   Port 2: 0000.0100 power                                     
Device Status:     0x0003                                     
  Self Powered                                                 
  Remote Wakeup Enabled                                       

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:                                           
  bLength                18                                   
  bDescriptorType         1                                   
  bcdUSB               1.10                                   
  bDeviceClass            9 Hub                               
  bDeviceSubClass         0 Unused                           
  bDeviceProtocol         0 Full speed (or root) hub         
  bMaxPacketSize0        64                                   
  idVendor           0x1d6b Linux Foundation                 
  idProduct          0x0001 1.1 root hub                     
  bcdDevice            2.06                                   
  iManufacturer           3 Linux 2.6.30-std-def-alt14 uhci_hcd
  iProduct                2 UHCI Host Controller               
  iSerial                 1 0000:00:1d.1                       
  bNumConfigurations      1                                   
  Configuration Descriptor:                                   
    bLength                 9                                 
    bDescriptorType         2                                 
    wTotalLength           25                                 
    bNumInterfaces          1                                 
    bConfigurationValue     1                                 
    iConfiguration          0                                 
    bmAttributes         0xe0                                 
      Self Powered                                             
      Remote Wakeup                                           
    MaxPower                0mA                               
    Interface Descriptor:                                     
      bLength                 9                               
      bDescriptorType         4                               
      bInterfaceNumber        0                               
      bAlternateSetting       0                               
      bNumEndpoints           1                               
      bInterfaceClass         9 Hub                           
      bInterfaceSubClass      0 Unused                         
      bInterfaceProtocol      0 Full speed (or root) hub       
      iInterface              0                               
      Endpoint Descriptor:                                     
        bLength                 7                             
        bDescriptorType         5                             
        bEndpointAddress     0x81  EP 1 IN                     
        bmAttributes            3                             
          Transfer Type            Interrupt                   
          Synch Type               None                       
          Usage Type               Data                       
        wMaxPacketSize     0x0002  1x 2 bytes                 
        bInterval             255                             
Hub Descriptor:                                               
  bLength               9                                     
  bDescriptorType      41                                     
  nNbrPorts             2                                     
  wHubCharacteristic 0x000a                                   
    No power switching (usb 1.0)                               
    Per-port overcurrent protection                           
  bPwrOn2PwrGood        1 * 2 milli seconds                   
  bHubContrCurrent      0 milli Ampere                         
  DeviceRemovable    0x00                                     
  PortPwrCtrlMask    0xff                                     
 Hub Port Status:                                             
   Port 1: 0000.0100 power                                     
   Port 2: 0000.0103 power enable connect                     
Device Status:     0x0003                                     
  Self Powered                                                 
  Remote Wakeup Enabled                                       

Bus 003 Device 002: ID 04e8:3292 Samsung Electronics Co., Ltd
Device Descriptor:                                           
  bLength                18                                   
  bDescriptorType         1                                   
  bcdUSB               1.10                                   
  bDeviceClass            0 (Defined at Interface level)     
  bDeviceSubClass         0                                   
  bDeviceProtocol         0                                   
  bMaxPacketSize0        16                                   
  idVendor           0x04e8 Samsung Electronics Co., Ltd     
  idProduct          0x3292                                   
  bcdDevice            1.00                                   
  iManufacturer           1 Samsung Electronics Co., Ltd.     
  iProduct                2 ML-1640 Series                   
  iSerial                 3 145VBAAS400004K.                 
  bNumConfigurations      1                                   
  Configuration Descriptor:                                   
    bLength                 9                                 
    bDescriptorType         2                                 
    wTotalLength           32                                 
    bNumInterfaces          1                                 
    bConfigurationValue     1                                 
    iConfiguration          0                                 
    bmAttributes         0xc0                                 
      Self Powered                                           
    MaxPower                0mA                               
    Interface Descriptor:                                     
      bLength                 9                               
      bDescriptorType         4                               
      bInterfaceNumber        0                               
      bAlternateSetting       0                               
      bNumEndpoints           2                               
      bInterfaceClass         7 Printer                       
      bInterfaceSubClass      1 Printer                       
      bInterfaceProtocol      2 Bidirectional                 
      iInterface              0                               
      Endpoint Descriptor:                                   
        bLength                 7                             
        bDescriptorType         5                             
        bEndpointAddress     0x02  EP 2 OUT                   
        bmAttributes            2                             
          Transfer Type            Bulk                       
          Synch Type               None                       
          Usage Type               Data                       
        wMaxPacketSize     0x0040  1x 64 bytes               
        bInterval               0                             
      Endpoint Descriptor:                                   
        bLength                 7                             
        bDescriptorType         5                             
        bEndpointAddress     0x83  EP 3 IN                   
        bmAttributes            2                             
          Transfer Type            Bulk                       
          Synch Type               None                       
          Usage Type               Data                       
        wMaxPacketSize     0x0040  1x 64 bytes               
        bInterval               0                             
Device Status:     0x4501                                     
  Self Powered                                               

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:                                           
  bLength                18                                   
  bDescriptorType         1                                   
  bcdUSB               1.10                                   
  bDeviceClass            9 Hub                               
  bDeviceSubClass         0 Unused                           
  bDeviceProtocol         0 Full speed (or root) hub         
  bMaxPacketSize0        64                                   
  idVendor           0x1d6b Linux Foundation                 
  idProduct          0x0001 1.1 root hub                     
  bcdDevice            2.06                                   
  iManufacturer           3 Linux 2.6.30-std-def-alt14 uhci_hcd
  iProduct                2 UHCI Host Controller               
  iSerial                 1 0000:00:1d.2                       
  bNumConfigurations      1                                   
  Configuration Descriptor:                                   
    bLength                 9                                 
    bDescriptorType         2                                 
    wTotalLength           25                                 
    bNumInterfaces          1                                 
    bConfigurationValue     1                                 
    iConfiguration          0                                 
    bmAttributes         0xe0                                 
      Self Powered                                             
      Remote Wakeup                                           
    MaxPower                0mA                               
    Interface Descriptor:                                     
      bLength                 9                               
      bDescriptorType         4                               
      bInterfaceNumber        0                               
      bAlternateSetting       0                               
      bNumEndpoints           1                               
      bInterfaceClass         9 Hub                           
      bInterfaceSubClass      0 Unused                         
      bInterfaceProtocol      0 Full speed (or root) hub       
      iInterface              0                               
      Endpoint Descriptor:                                     
        bLength                 7                             
        bDescriptorType         5                             
        bEndpointAddress     0x81  EP 1 IN                     
        bmAttributes            3                             
          Transfer Type            Interrupt                   
          Synch Type               None                       
          Usage Type               Data                       
        wMaxPacketSize     0x0002  1x 2 bytes                 
        bInterval             255                             
Hub Descriptor:                                               
  bLength               9                                     
  bDescriptorType      41                                     
  nNbrPorts             2                                     
  wHubCharacteristic 0x000a                                   
    No power switching (usb 1.0)                               
    Per-port overcurrent protection                           
  bPwrOn2PwrGood        1 * 2 milli seconds                   
  bHubContrCurrent      0 milli Ampere                         
  DeviceRemovable    0x00                                     
  PortPwrCtrlMask    0xff                                     
 Hub Port Status:                                             
   Port 1: 0000.0100 power                                     
   Port 2: 0000.0100 power                                     
Device Status:     0x0003                                     
  Self Powered                                                 
  Remote Wakeup Enabled                                       

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:                                           
  bLength                18                                   
  bDescriptorType         1                                   
  bcdUSB               1.10                                   
  bDeviceClass            9 Hub                               
  bDeviceSubClass         0 Unused                           
  bDeviceProtocol         0 Full speed (or root) hub         
  bMaxPacketSize0        64                                   
  idVendor           0x1d6b Linux Foundation                 
  idProduct          0x0001 1.1 root hub                     
  bcdDevice            2.06                                   
  iManufacturer           3 Linux 2.6.30-std-def-alt14 uhci_hcd
  iProduct                2 UHCI Host Controller               
  iSerial                 1 0000:00:1d.3                       
  bNumConfigurations      1                                   
  Configuration Descriptor:                                   
    bLength                 9                                 
    bDescriptorType         2                                 
    wTotalLength           25                                 
    bNumInterfaces          1                                 
    bConfigurationValue     1                                 
    iConfiguration          0                                 
    bmAttributes         0xe0                                 
      Self Powered                                             
      Remote Wakeup                                           
    MaxPower                0mA                               
    Interface Descriptor:                                     
      bLength                 9                               
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled
[root@comp-Celeron-CPU-d69ecb ~]#

Spinoza

  • Гость
Re: USB модемы в Альт Линукс Школьный.
« Ответ #22 : 28.06.2010 19:34:42 »
Вот важная часть
Цитировать
Bus 001 Device 009: ID 12d1:1446 Huawei Technologies Co., Ltd.
Device Descriptor:                                             
  bLength                18                                   
  bDescriptorType         1                                   
  bcdUSB               2.00                                   
  bDeviceClass            0 (Defined at Interface level)       
  bDeviceSubClass         0                                   
  bDeviceProtocol         0                                   
  bMaxPacketSize0        64                                   
  idVendor           0x12d1 Huawei Technologies Co., Ltd.     
  idProduct          0x1446                                   
Давайте проверим, правильно ли создалось правило cat /etc/udev/rules.d/45-huawei1550.rules Вывод приведите сюда.

Оффлайн push87

  • Участник
  • *
  • Сообщений: 186
  • Новичок в Линуксе.
Re: USB модемы в Альт Линукс Школьный.
« Ответ #23 : 28.06.2010 19:48:04 »
cat /etc/udev/rules.d/45-huawei1550.rules
^C
[root@comp-Celeron-CPU-d69ecb ~]# cat /etc/udev/rules.d/45-huawei1550.rules
cat: /etc/udev/rules.d/45-huawei1550.rules: No such file or directory

Spinoza

  • Гость
Re: USB модемы в Альт Линукс Школьный.
« Ответ #24 : 28.06.2010 19:55:07 »
cat /etc/udev/rules.d/45-huawei1550.rules
^C
[root@comp-Celeron-CPU-d69ecb ~]# cat /etc/udev/rules.d/45-huawei1550.rules
cat: /etc/udev/rules.d/45-huawei1550.rules: No such file or directory

Попробуйте еще раз echo 'SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"' | tee /etc/udev/rules.d/45-huawei1550.rules И проверить не забудьте. У меня же он создаётся
Цитировать
cat /etc/udev/rules.d/45-huawei1550.rules
SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"

Оффлайн push87

  • Участник
  • *
  • Сообщений: 186
  • Новичок в Линуксе.
Re: USB модемы в Альт Линукс Школьный.
« Ответ #25 : 28.06.2010 20:02:30 »
Пишет нет такого файла или каталога

Spinoza

  • Гость
Re: USB модемы в Альт Линукс Школьный.
« Ответ #26 : 28.06.2010 20:16:08 »
Пишет нет такого файла или каталога
Нет файла, потому что он не создаётся. А не создаётся потому, что Вы делаете что-то не правильно. Это команда выполняется от рута. Откройте новый терминал. Дайте себе права администратора $ su - Создайте правило # echo 'SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"' | tee /etc/udev/rules.d/45-huawei1550.rules Всё это скопируйте сюда.

Оффлайн push87

  • Участник
  • *
  • Сообщений: 186
  • Новичок в Линуксе.
Re: USB модемы в Альт Линукс Школьный.
« Ответ #27 : 28.06.2010 21:19:48 »
[admin@comp-Celeron-CPU-d69ecb ~]$ su -
Password:
[root@comp-Celeron-CPU-d69ecb ~]# # echo 'SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"' | tee /etc/udev/rules.d/45-huawei1550.rules
[root@comp-Celeron-CPU-d69ecb ~]#
[root@comp-Celeron-CPU-d69ecb ~]# cat /etc/udev/rules.d/45-huawei1550.rules
cat: /etc/udev/rules.d/45-huawei1550.rules: No such file or directory
[root@comp-Celeron-CPU-d69ecb ~]#

Spinoza

  • Гость
Re: USB модемы в Альт Линукс Школьный.
« Ответ #28 : 28.06.2010 21:38:48 »
Всё ясно))) Знак # подразумевает, что команду надо выполнять от рута. То есть надо так: echo 'SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"' | tee /etc/udev/rules.d/45-huawei1550.rules Вот где ошибка:
Цитировать
[root@comp-Celeron-CPU-d69ecb ~]# # echo 'SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1446 --type option-zerocd"' | tee /etc/udev/rules.d/45-huawei1550.rules

Оффлайн wecheslaw

  • Участник
  • *
  • Сообщений: 99
Re: USB модемы в Альт Линукс Школьный.
« Ответ #29 : 28.06.2010 22:07:09 »
Ну да, можно конечно извращаться над модемом как угодно...
Почему извращаться? Я имею именно такой модем. И как раз по этой инструкции отключил эмуляцию CD  и поддержку Micro SD. После чего модем прекрасно определяется Линуксом и работает с ним. В качестве звонилки использую KPPP.
Мне кажется для новичка это лучший вариант http://rus-linux.net/nlib.php?name=/MyLDP/internet/modem-ru.html