Configurazione Internet Key da terminale.

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

hai provato con i permessi di root? sudo wvdialconf ecc

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

In realtà sono entrato proprio come root, quindi non è un problema di permessi, forse devo modificare i permessi al file che mi hai detto di scrivere?

Emilio

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

No come dici non è un problema di permessi. hai verificato che ci sia /dev/ttyUSB.... ?? prova con un ls

hsdpa rules lo hai messo qui vero? /etc/udev/rules.d/10-hsdpa.rules

questo è il mio output:
per il tuo comando

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: huawei
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyUSB2<*1>: ATQ0 V1 E1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: huawei
ttyUSB2<*1>: Speed 9600: AT -- OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.

da te non lo trova perchè lo cerca in ttySAC mi accorgo ora dell'errore.

dando dmesg cosa ottieni?!

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

Allora, l'Output di dmesg è questo:

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:       4845
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: 4/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-08 09:18:32 UTC (1362734312)
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.1: new full speed USB device number 3 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
scsi0 : usb-storage 1-1.1:1.4
usb 1-1.3: new full speed USB device number 4 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 5 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)
scsi 0:0:0:0: Direct-Access     ALCATEL  Mass Storage     2.31 PQ: 0 ANSI: 2
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
sd 0:0:0:0: [sda] Attached SCSI removable disk
USB Video Class driver (1.1.1)
uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: -110 (exp. 2).
4: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 (1094): /proc/1094/oom_adj is deprecated, please use /proc/1094/oom_score_adj instead.
usb 1-1.1: USB disconnect, device number 3
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=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
scsi1 : usb-storage 1-1.1:1.0
usb 1-1.1: USB disconnect, device number 6
usb 1-1.1: new full speed USB device number 7 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
scsi2 : usb-storage 1-1.1:1.4
scsi 2:0:0:0: Direct-Access     ALCATEL  Mass Storage     2.31 PQ: 0 ANSI: 2
sd 2:0:0:0: [sda] Attached SCSI removable disk

nella cartella dev invece ho:

MAKEDEV          loop1   mtd3ro     network_latency     tty    tty21  tty35  tty49  tty62     vcsa
block            loop2   mtd4       network_throughput  tty0   tty22  tty36  tty5   tty63     vcsa1
bus              loop3   mtd4ro     null                tty1   tty23  tty37  tty50  tty7      video0
char             loop4   mtd5       ppp                 tty10  tty24  tty38  tty51  tty8      watchdog
console          loop5   mtd5ro     ptmx                tty11  tty25  tty39  tty52  tty9      xconsole
cpu_dma_latency  loop6   mtd6       pts                 tty12  tty26  tty4   tty53  ttySAC0   zero
fd               loop7   mtd6ro     ram0                tty13  tty27  tty40  tty54  ttySAC1
full             mem     mtdblock0  random              tty14  tty28  tty41  tty55  ttySAC2
initctl          mtd0    mtdblock1  rtc0                tty15  tty29  tty42  tty56  ubi0
input            mtd0ro  mtdblock2  shm                 tty16  tty3   tty43  tty57  ubi0_0
kmem             mtd1    mtdblock3  snd                 tty17  tty30  tty44  tty58  ubi_ctrl
kmsg             mtd1ro  mtdblock4  sndstat             tty18  tty31  tty45  tty59  urandom
log              mtd2    mtdblock5  stderr              tty19  tty32  tty46  tty6   v4l
loop-control     mtd2ro  mtdblock6  stdin               tty2   tty33  tty47  tty60  vcs
loop0            mtd3    net        stdout              tty20  tty34  tty48  tty61  vcs1

Nella cartella /etc/udev/ ho:

links.conf  rules.d  udev.conf

In rules.d infine c'è:

10-hsdpa.rules  70-persistent-net.rules

- Update -

Ho modificato l'Output di dmesg, ora c'è l'Output con la chiavetta attaccata Smile

Emilio

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

Iniziamo dal riconoscimento della chiavetta: se il kernel non la gestisce correttamente, è inutile occuparci della connessione.

Leggendo le ultime righe del dmesg che hai postato, si vede che la chiavetta è prima riconosciuta come disco ("usb-storage"):

daxter92 ha scritto:

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


Questo è normale con le chiavette moderne (anche dette "zero conf"): queste hanno uno spazio di memorizzazione in cui il costruttore carica i driver (per Windows, ovviamente!), al primo avvio l'utente tipicamente installa i driver, i quali mandano alla chiavetta una sequenza particolare che la converte in un modem. Su Linux, questa operazione la fa usb-modeswitch: dopo il suo intervento la chiavetta-storage si disconnette e si riconnette la chiavetta-modem.

Continuando nel dmesg troviamo questa sequenza:

daxter92 ha scritto:

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


usb-modeswitch ha fatto il suo dovere: il dispositivo si è disconnesso e riconnesso con un Product ID diverso (era f000 ora è 0017). Il problema è che anche il secondo è riconosciuto dal sistema (più preciamente da udev) come un disco "usb-storage".

Allora dobbiamo dire a udev di trattare questo dispositivo come un modem, con una regola apposita:

# cat >/etc/udev/rules.d/50-chiavetta-wind.rules  <<EOF
SUBSYSTEM=="usb", ATTRS{idVendor}=="1bbb", ATTRS{idProduct}=="0017", RUN+="/sbin/modprobe usbserial vendor=0x1bbb product=0x0017"
EOF

Il tutto a chiavetta disinserita. Poi non ricordo se è necessario dare un "service udev reload" o no. Alla fine, inserendo la chiavetta dmesg dovrebbe riportare qualcosa di diverso: non più usb-storage ma usbserial. Inoltre dovrebbe crearti il device file /dev/ttyUSB0 che è quello che serve allo script di connessione.

Prova e facci sapere.

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

Abbi pazienza per la domanda banale, ma di fatto devo quindi creare un nuovo file chiamato 50-chiavetta-wind.rules in udev ed inserirci questo?

<<EOF
SUBSYSTEM=="usb", 
ATTRS{idVendor}=="1bbb",
ATTRS{idProduct}=="0017", 
RUN+="/sbin/modprobe usbserial vendor=0x1bbb product=0x0017"
EOF

Cioè non capisco se l'EOF va inserito o no.

Emilio

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

No. O digiti il comando esattamente come l'ho scritto io, o apri il file /etc/udev/rules.d/50-chiavetta-wind.rules con un editor di testo e dentro ci metti questa singola riga:

SUBSYSTEM=="usb", ATTRS{idVendor}=="1bbb", ATTRS{idProduct}=="0017", RUN+="/sbin/modprobe usbserial vendor=0x1bbb product=0x0017"

Per maggiori informazioni sulla sintassi "<<EOF", consulta il manuale di bash(1), cercando "Here Documents". Wink

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

Ho fatto, però non c'è ttyUSB0 e con wvdial mi da sempre lo stesso errore, ho riavviato il sistema dopo aver fatto tutto, ma nulla

Emilio

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

Oltre al solito dmesg, potresti anche riportare l'output do "udevadm monitor" (da lanciare come root PRIMA di inserire la chiavetta)?

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

Innanzitutto grazie. Di seguito il codice in output del comando appena suggerito:

KERNEL[1362767063.118841] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                              (usb)
KERNEL[1362767063.137290] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.0 (usb)
KERNEL[1362767063.142557] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.1 (usb)
KERNEL[1362767063.146119] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.2 (usb)
KERNEL[1362767063.148758] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.3 (usb)
KERNEL[1362767063.150987] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4 (usb)
KERNEL[1362767063.153722] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1 (scsi)
KERNEL[1362767063.155370] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/scsi_host/host1 (scsi_host)
KERNEL[1362767063.165793] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.5 (usb)
UDEV  [1362767063.200601] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                              (usb)
UDEV  [1362767063.501580] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4 (usb)
UDEV  [1362767063.527561] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.1 (usb)
UDEV  [1362767063.533480] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.2 (usb)
UDEV  [1362767063.602311] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.5 (usb)
UDEV  [1362767063.605011] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.3 (usb)
UDEV  [1362767063.646540] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1 (scsi)
UDEV  [1362767063.662345] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.0 (usb)
UDEV  [1362767063.711035] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/scsi_host/host1 (scsi_host)
KERNEL[1362767064.167725] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0 (scsi)
KERNEL[1362767064.168146] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0/1:0:0:0 (scsi)
KERNEL[1362767064.168504] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0/1:0:0:0/scsi_disk/1:0:0:0 (scsi_disk)
KERNEL[1362767064.168885] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0 (scsi_device)
KERNEL[1362767064.195705] add      /devices/virtual/bdi/8:0 (bdi)
KERNEL[1362767064.196122] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0/1:0:0:0/block/sda (block)
KERNEL[1362767064.217816] change   /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0/1:0:0:0/block/sda (block)
UDEV  [1362767064.262209] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0 (scsi)
UDEV  [1362767064.278554] add      /devices/virtual/bdi/8:0 (bdi)
UDEV  [1362767064.315565] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0/1:0:0:0 (scsi)
UDEV  [1362767064.415862] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0/1:0:0:0/scsi_disk/1:0:0:0 (scsi_disk)
UDEV  [1362767064.441424] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0 (scsi_device)
UDEV  [1362767064.660824] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0/1:0:0:0/block/sda (block)
UDEV  [1362767064.800428] change   /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/target1:0:0/1:0:0:0/block/sda (block)
KERNEL[1362767063.118841] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                              (usb)
KERNEL[1362767063.137290] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.0 (usb)
KERNEL[1362767063.142557] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.1 (usb)
KERNEL[1362767063.146119] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.2 (usb)
KERNEL[1362767063.148758] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.3 (usb)
KERNEL[1362767063.150987] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4 (usb)
KERNEL[1362767063.153722] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1 (scsi)
KERNEL[1362767063.155370] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1/scsi_host/host1 (scsi_host)
KERNEL[1362767063.165793] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.5 (usb)
UDEV  [1362767063.200601] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                              (usb)
UDEV  [1362767063.501580] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4 (usb)
UDEV  [1362767063.527561] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.1 (usb)
UDEV  [1362767063.533480] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.2 (usb)
UDEV  [1362767063.602311] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.5 (usb)
UDEV  [1362767063.605011] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.3 (usb)
UDEV  [1362767063.646540] add      /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1                                                                                                                                                             /1-1.1:1.4/host1 (scsi)
UDEV  [13

Di seguito il dmesg:

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-08 14:03:07 UTC (1362751387)
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
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
Linux video capture interface: v2.00
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
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)
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
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
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
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.
usbserial: Unknown parameter `vendor'
dm9000 dm9000.0: eth0: link down
dm9000 dm9000.0: eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
sshd (1212): /proc/1212/oom_adj is deprecated, please use /proc/1212/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=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
scsi0 : usb-storage 1-1.1:1.4
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
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
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usb 1-1.1: USB disconnect, device number 5
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
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
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
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
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'
usbserial: Unknown parameter `vendor'

Ancora grazie!!!

Emilio