Configurazione Internet Key da terminale.

Ritratto di mcortese
mcortese
(Moderatore)
Offline
Moderatore
Iscritto: 27/02/2009
Messaggi: 2918

Se hai la chiavetta della Vodafone, K3806-Z, sei capitato male: c'è un baco aperto da mesi che nessuno sa se sia dovuto a modemmanager, al kernel...

Comunque, per diagnosticare meglio il problema inserisci la chiavetta, aspetta 30 secondi senza far nulla (per dar tempo a usb-modeswitch di convertirla da disco a modem) e poi posta l'output di dmesg.

Ritratto di mcortese
mcortese
(Moderatore)
Offline
Moderatore
Iscritto: 27/02/2009
Messaggi: 2918

Ho notato solo adesso che nel primo messaggio riportavi che il dispositivo ha ID 19d2:1015. Tutto OK: questo è l'ID della chiavetta quando funziona come modem (quando funziona come disco ha 19d2:1013). Ciò vuol dire che usb_modeswitch fa il suo dovere.

Subito dopo, il kernel dovrebbe caricare il modulo giusto per gestire il modem (mi sembra si chiami cdc_acm) e renderlo disponibile come /dev/ttyACM0. Nel tuo caso invece hai /dev/ttySAC0... Perché? La risposta sarà sicuramente nel dmesg che allegherai al prossimo commento, vero? Smile

Ritratto di daxter92
daxter92
(Junior)
Offline
Junior
Iscritto: 28/02/2013
Messaggi: 40

Si suppongo che usb_modeswitch faccia il suo dovere, infatti ho provato ad avviare su un PC l'ultima versione di Ubuntu da CD ed ho provato a far partire la chiavetta, li funziona tutto bene, anche se la configurazione è visuale e praticamente immediata, allora sono andato sul file di configurazione di usb_modeswitch, l'ho confrontato con quello sui Debian ed erano identici!

Comunque allego, anche se per me è arabo Smile

Linux version 3.1.6 (patrick@debian) (gcc version 4.3.5 (Debian 4.3.5-4) ) #3 PREEMPT Fri Jan 6 13:05:50 MST 2012
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: PhidgetSBC2
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
S3C244X: core 400.000 MHz, memory 133.333 MHz, peripheral 66.666 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c042380c, node_mem_map c044b000
Normal zone: 128 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 16256 pages, LIFO batch:3
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttySAC0,115200 rootfstype=ubifs ubi.mtd=rootfs root=ubi0_0 mtdparts=phidget_sbc_nand:0x00040000(u-boot)ro,0x00020000(u-boot_env)ro,0x00220000(recovery_kernel)ro,0x00320000(kernel),0x003a0000(flashfs)ro,0x02a40000(recovery_fs)ro,0x1cc80000(rootfs) dm9000.addr=00:1B:0B:10:02:59
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60540k/60540k available, 4996k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc4800000 - 0xf6000000 ( 792 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc03dd434 (3926 kB)
.init : 0xc03de000 - 0xc0401000 ( 140 kB)
.data : 0xc0402000 - 0xc0423e80 ( 136 kB)
.bss : 0xc0423ea4 - 0xc044aef8 ( 157 kB)
Preemptible hierarchical RCU implementation.
NR_IRQS:85
irq: clearing subpending status 00000002
timer tcon=00500000, tcnt d902, tcfg 00000200,00000000, usec 0000170a
Console: colour dummy device 80x30
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
gpiochip_add: gpios 288..303 (GPIOK) failed to register
gpiochip_add: gpios 320..334 (GPIOL) failed to register
gpiochip_add: gpios 352..353 (GPIOM) failed to register
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics
DMA channel 0 at c4804000, irq 33
DMA channel 1 at c4804040, irq 34
DMA channel 2 at c4804080, irq 35
DMA channel 3 at c48040c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 118
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440
console [ttySAC0] enabled
s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=1, 7ns Twrph0=4 30ns, Twrph1=2 15ns
s3c24xx-nand s3c2440-nand: NAND hardware ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
nand_read_bbt: Bad block at 0x0000004e0000
nand_read_bbt: Bad block at 0x000001bc0000
nand_read_bbt: Bad block at 0x0000043c0000
nand_read_bbt: Bad block at 0x000006f40000
nand_read_bbt: Bad block at 0x00000bfc0000
nand_read_bbt: Bad block at 0x00000f1e0000
7 cmdlinepart partitions found on MTD device phidget_sbc_nand
Creating 7 MTD partitions on "phidget_sbc_nand":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000060000 : "u-boot_env"
0x000000060000-0x000000280000 : "recovery_kernel"
0x000000280000-0x0000005a0000 : "kernel"
0x0000005a0000-0x000000940000 : "flashfs"
0x000000940000-0x000003380000 : "recovery_fs"
0x000003380000-0x000020000000 : "rootfs"
UBI: attaching mtd6 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: max. sequence number: 3856
UBI: attached mtd6 to ubi0
UBI: MTD device name: "rootfs"
UBI: MTD device size: 460 MiB
UBI: number of good PEBs: 3676
UBI: number of bad PEBs: 8
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 3676
UBI: number of PEBs reserved for bad PEB handling: 36
UBI: max/mean erase counter: 3/1
UBI: image sequence number: 0
UBI: background thread "ubi_bgt0d" started, PID 303
dm9000 Ethernet Driver, V1.31
eth0: dm9000a at c48d4300,c48d6302 IRQ 18 MAC: 00:1b:0b:10:02:59 (kernel parameter)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 3.1.6 ohci_hcd
usb usb1: SerialNumber: s3c24xx
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
lirc_dev: IR Remote Control driver registered, major 252
IR RC5 (streamzap) protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR LIRC bridge handler initialized
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
Registered led device: led0
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
s3c-rtc s3c2410-rtc: setting system clock to 2013-03-04 11:10:46 UTC (1362395446)
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 467712000 bytes (456750 KiB, 446 MiB, 3625 LEBs)
UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:12.
Freeing init memory: 140K
usb 1-1: new full speed USB device number 2 using s3c2410-ohci
usb 1-1: New USB device found, idVendor=0451, idProduct=2077
usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1: Product: General Purpose USB Hub
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 7 ports detected
usb 1-1.3: new full speed USB device number 3 using s3c2410-ohci
usb 1-1.3: New USB device found, idVendor=046d, idProduct=0825
usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=2
usb 1-1.3: SerialNumber: 946BED90
usb 1-1.7: new full speed USB device number 4 using s3c2410-ohci
usb 1-1.7: New USB device found, idVendor=06c2, idProduct=0045
usb 1-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.7: Product: PhidgetInterfaceKit
usb 1-1.7: Manufacturer: Phidgets Inc.
usb 1-1.7: SerialNumber: 251984
Linux video capture interface: v2.00
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
uvcvideo: Found UVC 1.00 device (046d:0825)
input: UVC Camera (046d:0825) as /devices/platform/s3c2410-ohci/usb1/1-1/1-1.3/1-1.3:1.0/input/input0
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
3:3:1: cannot set freq 16000 to ep 0x86
uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
usbcore: registered new interface driver snd-usb-audio
uvcvideo: Deprecated UVCIOC_CTRL_{ADD,MAP_OLD,GET,SET} ioctls will be removed in 2.6.42.
uvcvideo: See http://www.ideasonboard.org/uvc/upgrade/ for upgrade instructions.
dm9000 dm9000.0: eth0: link down
dm9000 dm9000.0: eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
sshd (835): /proc/835/oom_adj is deprecated, please use /proc/835/oom_score_adj instead.

Emilio

Ritratto di mcortese
mcortese
(Moderatore)
Offline
Moderatore
Iscritto: 27/02/2009
Messaggi: 2918

Allora, ttySAC0 non è il modem ma la console. Non ne parliamo più.

Nel log che hai postato non c'è traccia di alcun dispositivo USB con ID 19d2:1015. Sei sicuro di averlo inserito prima di leggere questo log?

Ritratto di daxter92
daxter92
(Junior)
Offline
Junior
Iscritto: 28/02/2013
Messaggi: 40

Ciao!

Scusa se rispondo solo ora, ma ho avuto dei casini e non sono più riuscito a fare prove, ad ogni modo ho cambiato chiavetta ed operatore, adesso ho un alcatel della wind, ora in teoria facendo quei passaggi con vwdial dovrebbe installare i driver e vedere il modem, ma mi da lo stesso identico problema che mi dava con la Vodafone, inizio a pensare sia un problema del sistema, anche perché a me servirebbe un qualcosa che vada con tutte le chiavette (modificando il file di configurazione naturalmente) ma comunque mi piacerebbe fare gli stessi passaggi senza incasinarmi la vita, adesso ti posto il log, può essere che avevo tenuto poco la chiavetta attaccata: per precauzione ora sono dieci minuti che è attaccata!

~# dmesg
Linux version 3.1.6 (patrick@debian) (gcc version 4.3.5 (Debian 4.3.5-4) ) #3 PREEMPT Fri Jan 6 13:05:50 MST 2012
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: PhidgetSBC2
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
S3C244X: core 400.000 MHz, memory 133.333 MHz, peripheral 66.666 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c042380c, node_mem_map c044b000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttySAC0,115200 rootfstype=ubifs ubi.mtd=rootfs root=ubi0_0 mtdparts=phidget_sbc_nand:0x00040000(u-boot)ro,0x00020000(u-boot_env)ro,0x00220000(recovery_kernel)ro,0x00320000(kernel),0x003a0000(flashfs)ro,0x02a40000(recovery_fs)ro,0x1cc80000(rootfs) dm9000.addr=00:1B:0B:10:02:59
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60540k/60540k available, 4996k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc4800000 - 0xf6000000   ( 792 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc03dd434   (3926 kB)
      .init : 0xc03de000 - 0xc0401000   ( 140 kB)
      .data : 0xc0402000 - 0xc0423e80   ( 136 kB)
       .bss : 0xc0423ea4 - 0xc044aef8   ( 157 kB)
Preemptible hierarchical RCU implementation.
NR_IRQS:85
irq: clearing subpending status 00000002
timer tcon=00500000, tcnt d902, tcfg 00000200,00000000, usec 0000170a
Console: colour dummy device 80x30
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
gpiochip_add: gpios 288..303 (GPIOK) failed to register
gpiochip_add: gpios 320..334 (GPIOL) failed to register
gpiochip_add: gpios 352..353 (GPIOM) failed to register
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics
DMA channel 0 at c4804000, irq 33
DMA channel 1 at c4804040, irq 34
DMA channel 2 at c4804080, irq 35
DMA channel 3 at c48040c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 118
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440
console [ttySAC0] enabled
s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=1, 7ns Twrph0=4 30ns, Twrph1=2 15ns
s3c24xx-nand s3c2440-nand: NAND hardware ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
nand_read_bbt: Bad block at 0x0000004e0000
nand_read_bbt: Bad block at 0x000001bc0000
nand_read_bbt: Bad block at 0x0000043c0000
nand_read_bbt: Bad block at 0x000006f40000
nand_read_bbt: Bad block at 0x00000bfc0000
nand_read_bbt: Bad block at 0x00000f1e0000
7 cmdlinepart partitions found on MTD device phidget_sbc_nand
Creating 7 MTD partitions on "phidget_sbc_nand":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000060000 : "u-boot_env"
0x000000060000-0x000000280000 : "recovery_kernel"
0x000000280000-0x0000005a0000 : "kernel"
0x0000005a0000-0x000000940000 : "flashfs"
0x000000940000-0x000003380000 : "recovery_fs"
0x000003380000-0x000020000000 : "rootfs"
UBI: attaching mtd6 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: max. sequence number:       4534
UBI: attached mtd6 to ubi0
UBI: MTD device name:            "rootfs"
UBI: MTD device size:            460 MiB
UBI: number of good PEBs:        3676
UBI: number of bad PEBs:         8
UBI: number of corrupted PEBs:   0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 3676
UBI: number of PEBs reserved for bad PEB handling: 36
UBI: max/mean erase counter: 3/1
UBI: image sequence number:  0
UBI: background thread "ubi_bgt0d" started, PID 303
dm9000 Ethernet Driver, V1.31
eth0: dm9000a at c48d4300,c48d6302 IRQ 18 MAC: 00:1b:0b:10:02:59 (kernel parameter)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 3.1.6 ohci_hcd
usb usb1: SerialNumber: s3c24xx
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
lirc_dev: IR Remote Control driver registered, major 252
IR RC5 (streamzap) protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR LIRC bridge handler initialized
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
Registered led device: led0
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
s3c-rtc s3c2410-rtc: setting system clock to 2013-03-07 10:48:23 UTC (1362653303)
UBIFS: recovery needed
usb 1-1: new full speed USB device number 2 using s3c2410-ohci
usb 1-1: New USB device found, idVendor=0451, idProduct=2077
usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1: Product: General Purpose USB Hub
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 7 ports detected
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   467712000 bytes (456750 KiB, 446 MiB, 3625 LEBs)
UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:12.
Freeing init memory: 140K
usb 1-1.3: new full speed USB device number 3 using s3c2410-ohci
usb 1-1.3: New USB device found, idVendor=046d, idProduct=0825
usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=2
usb 1-1.3: SerialNumber: 946BED90
usb 1-1.7: new full speed USB device number 4 using s3c2410-ohci
usb 1-1.7: New USB device found, idVendor=06c2, idProduct=0045
usb 1-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.7: Product: PhidgetInterfaceKit
usb 1-1.7: Manufacturer: Phidgets Inc.
usb 1-1.7: SerialNumber: 251984
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Linux video capture interface: v2.00
uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
input: UVC Camera (046d:0825) as /devices/platform/s3c2410-ohci/usb1/1-1/1-1.3/1-1.3:1.0/input/input0
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
3:3:1: cannot set freq 16000 to ep 0x86
uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
usbcore: registered new interface driver snd-usb-audio
uvcvideo: Deprecated UVCIOC_CTRL_{ADD,MAP_OLD,GET,SET} ioctls will be removed in 2.6.42.
uvcvideo: See http://www.ideasonboard.org/uvc/upgrade/ for upgrade instructions.
dm9000 dm9000.0: eth0: link down
dm9000 dm9000.0: eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
sshd (973): /proc/973/oom_adj is deprecated, please use /proc/973/oom_score_adj instead.
usb 1-1.1: new full speed USB device number 5 using s3c2410-ohci
usb 1-1.1: New USB device found, idVendor=1bbb, idProduct=f000
usb 1-1.1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
usb 1-1.1: Product: 3G Wireless Router
usb 1-1.1: Manufacturer: USBModem
usb 1-1.1: SerialNumber: 1234567890ABCDEF
scsi0 : usb-storage 1-1.1:1.0
scsi 0:0:0:0: Direct-Access     ALCATEL  Mass Storage     2.31 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] Attached SCSI removable disk
usb 1-1.1: USB disconnect, device number 5
usb 1-1.1: new full speed USB device number 6 using s3c2410-ohci
usb 1-1.1: New USB device found, idVendor=1bbb, idProduct=0017
usb 1-1.1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
usb 1-1.1: Product: 3G Wireless Router
usb 1-1.1: Manufacturer: USBModem
usb 1-1.1: SerialNumber: 1234567890ABCDEF
scsi1 : usb-storage 1-1.1:1.4
scsi 1:0:0:0: Direct-Access     ALCATEL  Mass Storage     2.31 PQ: 0 ANSI: 2
sd 1:0:0:0: [sda] Attached SCSI removable disk

Grazie mille per la disponibilità e scusa ancora se sono "sparito" Smile

Emilio

Ritratto di denis.g
denis.g
(Junior)
Offline
Junior
Iscritto: 07/03/2013
Messaggi: 11

io tempo fa avevo la chiavetta di vodafone e più di una volta l'ho connessa tramite wvdial nel file .conf devi scrivere così:

Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","web.omnitel.it"
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Modem = /dev/ttyUSB0 (se è qui ovviamente)
Baud=460800
Phone = *99#
Username = web
Password = web

Il saggio non sa niente, l'intelligente sa poco, l'ignorante sa tanto, l'imbecille sa tutto

Ritratto di daxter92
daxter92
(Junior)
Offline
Junior
Iscritto: 28/02/2013
Messaggi: 40

Ma anche tu avevi il problema che non ti vedeva il modem wvdial?

Ad ogni modo sono passato a wind, ho cambiato chiavetta, ma il problema persiste.

-UPDATE-

E comunque non riesco a capire dove si trova, sicuramente non ho traccia di USB0, forse c'è qualcosa che manca al sistema, riuscissi a capire cosa gliela butterei sopra

Emilio

Ritratto di denis.g
denis.g
(Junior)
Offline
Junior
Iscritto: 07/03/2013
Messaggi: 11

se mi ricordo il problema è il kernel che non ha queste informazioni in versioni più recenti riconosche tutto, ma 2.x c'era il problema.

comunque se mi ricordo un po... deve essere installato usb-modeswitch
prova a dare lsusb e vedi l'output se c'è la chiave il mio per esempio è questo (non ho più la connessione ma ho ancora la chiavetta Wink )

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 010 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 011 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 002: ID 046d:c52e Logitech, Inc.
Bus 002 Device 007: ID 1759:5002 LucidPort Technology, Inc.
Bus 011 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem

poi se non c'è ti devi creare ttyUSB0 devi:

smontare la chiavetta (lasciala collegata)

sudo rmmod usb-storage
sudo modprobe usbserial vendor=0x0b3c product=0xc000

i codici vendor=0x12d1 e product=0x1001 li ottieni proprio con lsusb (vedi sopra xxxx:yyyy)

alternativamente se non ti va si può fare anche così

puoi risolvere anche con

sudo nano /etc/udev/rules.d/10-hsdpa.rules

All’interno metti (ovviamente con i tuoi valori non i miei):

SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", SYSFS{idProduct}=="1001",

RUN+="/usr/sbin/usb_modeswitch --default-vendor 0x12d1 --default-product 0x1001

--message-content 5553424300000000000000000000001106000000000000000000000000000

se ti da ancora errore devi riavviare udev o fare un reboot del sistema

Il saggio non sa niente, l'intelligente sa poco, l'ignorante sa tanto, l'imbecille sa tutto

Ritratto di daxter92
daxter92
(Junior)
Offline
Junior
Iscritto: 28/02/2013
Messaggi: 40

E questo procedimento dovrebbe funzionare con tutte le chiavette in teoria?

Che poi se è un problema di Kernel non basterebbe aggiornare il Kernel?

Ad ogni modo tempo mezz'oretta e provo, vi faccio sapere qualcosa Smile

-Update-

Il mio Output di lsusb è questo:

Bus 001 Device 006: ID 1bbb:0017 T & A Mobile Phones
Bus 001 Device 003: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 001 Device 004: ID 06c2:0045 Phidgets Inc. (formerly GLAB) PhidgetInterface Kit 8-8-8
Bus 001 Device 002: ID 0451:2077 Texas Instruments, Inc. TUSB2077 Hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Modeswitch l'ho già installato e più su mi hanno detto che funzionava correttamente, io purtroppo uso Debian da poco e tra l'altro ho solo un terminale che si collega via SSH, quindi per me è ancora più complicato

Emilio

Ritratto di daxter92
daxter92
(Junior)
Offline
Junior
Iscritto: 28/02/2013
Messaggi: 40

Ok ho fatto le prove, allore il file 10-hsdpa.rules non esisteva e l'ho dovuto creare
Dal momento che il mio Output di lsusb è come quello scritto sopra all'interno del file ho scritto:

SUBSYSTEM=="usb", SYSFS{idVendor}=="1bbb", SYSFS{idProduct}=="0017",
 
RUN+="/usr/sbin/usb_modeswitch --default-vendor 0x1bbb --default-product 0x0017
 
--message-content 5553424300000000000000000000001106000000000000000000000000000

Poi ho riavviato, ho fatto wvdialconf /etc/wvdial.conf e l'Output ottenuto è questo (sempre il solito):

Editing `/etc/wvdial.conf'.
 
Scanning your serial ports for a modem.
 
WvModem<*1>: Cannot set information for serial port.
ttySAC0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttySAC0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttySAC0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot set information for serial port.
ttySAC1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttySAC1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttySAC1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot set information for serial port.
ttySAC2<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttySAC2<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttySAC2<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
 
 
Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?
 
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
 
If you still have problems, send mail to <wvdial-list@lists.nit.ca>.

Tutto questo l'ho fatto con la chiavetta collegata, magari non vuol dire nulla non lo so, ho notato che anche spegnendo il modem lsusb me lo vede, il modem che utilizzo ora è questo comunque

Emilio