Activation Codes and Methods, Hardware Details, Sniffing
Post Reply
Mohtaa
Posts: 2
Joined: 24 May 2012, 17:27

Huawei E372 : No tty/USB0

Post by Mohtaa » 29 May 2012, 12:08

Hi everyone,

i'm building an embedded custom kernel, and i want to integrate connexion via a 3G key on it.
I'm trying to use usb_modeswitch to switch to modem mode, normally as i've read on some tutorials, i should have a /ttyUSB* entry after launching the program. but apparently i haven't :D

Here is the content of /dev/ when plugging the 3G key and before launching the usb_modeswitch command

Code: Select all

crw-rw----    1 root     video      10, 175 May 28 07:11 agpgart
drwxr-xr-x    2 root     root            80 May 28 07:25 block
drwxr-xr-x    3 root     root            60 May 28 07:11 bus
drwxr-xr-x    2 root     root          2320 May 28 07:25 char
crw-------    1 root     root        5,   1 May 28 07:11 console
lrwxrwxrwx    1 root     root            11 May 28 07:11 core -> /proc/kcore
crw-------    1 root     root       10,  60 May 28 07:11 cpu_dma_latency
crw-rw----    1 root     video      29,   0 May 28 07:11 fb0
crw-rw----    1 root     video      29,   1 May 28 07:11 fb1
lrwxrwxrwx    1 root     root            13 May 28 07:11 fd -> /proc/self/fd
crw-rw-rw-    1 root     root        1,   7 May 28 07:11 full
drwxr-xr-x    2 root     root           120 May 28 07:11 input
crw-------    1 root     root        1,  11 May 28 07:11 kmsg
drwxr-xr-x    2 root     root            60 May 28 07:11 mapper
crw-r-----    1 root     kmem        1,   1 May 28 07:11 mem
drwxr-xr-x    2 root     root            60 May 28 07:11 net
crw-------    1 root     root       10,  59 May 28 07:11 network_latency
crw-------    1 root     root       10,  58 May 28 07:11 network_throughput
crw-rw-rw-    1 root     root        1,   3 May 28 07:11 null
crw-r-----    1 root     kmem       10, 144 May 28 07:11 nvram
crw-r-----    1 root     kmem        1,   4 May 28 07:11 port
crw-------    1 root     root      108,   0 May 28 07:11 ppp
crw-------    1 root     root       10,   1 May 28 07:11 psaux
crw-rw-rw-    1 root     tty         5,   2 May 28 07:11 ptmx
drwxr-xr-x    2 root     root             0 May 28 07:08 pts
crw-rw-rw-    1 root     root        1,   8 May 28 07:11 random
crw-r--r--    1 root     root       10,  62 May 28 07:11 rfkill
crw-------    1 root     root       10, 135 May 28 07:11 rtc
brw-rw----    1 root     disk        8,   0 May 28 07:11 sda
brw-rw----    1 root     disk        8,   1 May 28 07:11 sda1
drwxr-xr-x    2 root     root            40 May 28 07:11 shm
lrwxrwxrwx    1 root     root            15 May 28 07:11 stderr -> /proc/self/fd/2
lrwxrwxrwx    1 root     root            15 May 28 07:11 stdin -> /proc/self/fd/0
lrwxrwxrwx    1 root     root            15 May 28 07:11 stdout -> /proc/self/fd/1
crw-rw-rw-    1 root     tty         5,   0 May 28 07:11 tty
crw--w----    1 root     tty         4,   0 May 28 07:11 tty0
crw--w----    1 root     tty         4,   1 May 28 07:11 tty1
crw--w----    1 root     tty         4,  10 May 28 07:11 tty10
crw--w----    1 root     tty         4,  11 May 28 07:11 tty11
crw--w----    1 root     tty         4,  12 May 28 07:11 tty12
crw--w----    1 root     tty         4,  13 May 28 07:11 tty13
crw--w----    1 root     tty         4,  14 May 28 07:11 tty14
crw--w----    1 root     tty         4,  15 May 28 07:11 tty15
crw--w----    1 root     tty         4,  16 May 28 07:11 tty16
crw--w----    1 root     tty         4,  17 May 28 07:11 tty17
crw--w----    1 root     tty         4,  18 May 28 07:11 tty18
crw--w----    1 root     tty         4,  19 May 28 07:11 tty19
crw--w----    1 root     tty         4,   2 May 28 07:26 tty2
crw--w----    1 root     tty         4,  20 May 28 07:11 tty20
crw--w----    1 root     tty         4,  21 May 28 07:11 tty21
crw--w----    1 root     tty         4,  22 May 28 07:11 tty22
crw--w----    1 root     tty         4,  23 May 28 07:11 tty23
crw--w----    1 root     tty         4,  24 May 28 07:11 tty24
crw--w----    1 root     tty         4,  25 May 28 07:11 tty25
crw--w----    1 root     tty         4,  26 May 28 07:11 tty26
crw--w----    1 root     tty         4,  27 May 28 07:11 tty27
crw--w----    1 root     tty         4,  28 May 28 07:11 tty28
crw--w----    1 root     tty         4,  29 May 28 07:11 tty29
crw--w----    1 root     tty         4,   3 May 28 07:11 tty3
crw--w----    1 root     tty         4,  30 May 28 07:11 tty30
crw--w----    1 root     tty         4,  31 May 28 07:11 tty31
crw--w----    1 root     tty         4,  32 May 28 07:11 tty32
crw--w----    1 root     tty         4,  33 May 28 07:11 tty33
crw--w----    1 root     tty         4,  34 May 28 07:11 tty34
crw--w----    1 root     tty         4,  35 May 28 07:11 tty35
crw--w----    1 root     tty         4,  36 May 28 07:11 tty36
crw--w----    1 root     tty         4,  37 May 28 07:11 tty37
crw--w----    1 root     tty         4,  38 May 28 07:11 tty38
crw--w----    1 root     tty         4,  39 May 28 07:11 tty39
crw--w----    1 root     tty         4,   4 May 28 07:11 tty4
crw--w----    1 root     tty         4,  40 May 28 07:11 tty40
crw--w----    1 root     tty         4,  41 May 28 07:11 tty41
crw--w----    1 root     tty         4,  42 May 28 07:11 tty42
crw--w----    1 root     tty         4,  43 May 28 07:11 tty43
crw--w----    1 root     tty         4,  44 May 28 07:11 tty44
crw--w----    1 root     tty         4,  45 May 28 07:11 tty45
crw--w----    1 root     tty         4,  46 May 28 07:11 tty46
crw--w----    1 root     tty         4,  47 May 28 07:11 tty47
crw--w----    1 root     tty         4,  48 May 28 07:11 tty48
crw--w----    1 root     tty         4,  49 May 28 07:11 tty49
crw--w----    1 root     tty         4,   5 May 28 07:11 tty5
crw--w----    1 root     tty         4,  50 May 28 07:11 tty50
crw--w----    1 root     tty         4,  51 May 28 07:11 tty51
crw--w----    1 root     tty         4,  52 May 28 07:11 tty52
crw--w----    1 root     tty         4,  53 May 28 07:11 tty53
crw--w----    1 root     tty         4,  54 May 28 07:11 tty54
crw--w----    1 root     tty         4,  55 May 28 07:11 tty55
crw--w----    1 root     tty         4,  56 May 28 07:11 tty56
crw--w----    1 root     tty         4,  57 May 28 07:11 tty57
crw--w----    1 root     tty         4,  58 May 28 07:11 tty58
crw--w----    1 root     tty         4,  59 May 28 07:11 tty59
crw--w----    1 root     tty         4,   6 May 28 07:11 tty6
crw--w----    1 root     tty         4,  60 May 28 07:11 tty60
crw--w----    1 root     tty         4,  61 May 28 07:11 tty61
crw--w----    1 root     tty         4,  62 May 28 07:11 tty62
crw--w----    1 root     tty         4,  63 May 28 07:11 tty63
crw--w----    1 root     tty         4,   7 May 28 07:11 tty7
crw--w----    1 root     tty         4,   8 May 28 07:11 tty8
crw--w----    1 root     tty         4,   9 May 28 07:11 tty9
crw-rw----    1 root     dialout     4,  64 May 28 07:11 ttyS0
crw-rw-rw-    1 root     root        1,   9 May 28 07:11 urandom
crw-rw----    1 root     tty         7,   0 May 28 07:11 vcs
crw-rw----    1 root     tty         7,   1 May 28 07:11 vcs1
crw-rw----    1 root     tty         7,   2 May 28 07:11 vcs2
crw-rw----    1 root     tty         7,   3 May 28 07:11 vcs3
crw-rw----    1 root     tty         7,   4 May 28 07:11 vcs4
crw-rw----    1 root     tty         7,   5 May 28 07:11 vcs5
crw-rw----    1 root     tty         7, 128 May 28 07:11 vcsa
crw-rw----    1 root     tty         7, 129 May 28 07:11 vcsa1
crw-rw----    1 root     tty         7, 130 May 28 07:11 vcsa2
crw-rw----    1 root     tty         7, 131 May 28 07:11 vcsa3
crw-rw----    1 root     tty         7, 132 May 28 07:11 vcsa4
crw-rw----    1 root     tty         7, 133 May 28 07:11 vcsa5
crw-------    1 root     root       10,  63 May 28 07:11 vga_arbiter
crw-------    1 root     root       10,  61 May 28 07:11 vhci
crw-rw----    1 root     video      81,   0 May 28 07:11 video0
crw-rw-rw-    1 root     root        1,   5 May 28 07:11 zero
here is the output of dmesg when plugging the key :

Code: Select all

lished hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
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
pci 0000:00:01.0: disabling DAC on VIA PCI bridge
pci 0000:01:00.0: Boot video device
PCI: CLS 64 bytes, default 64
platform rtc_cmos: registered platform RTC device (no PNP device found)
NTFS driver 2.1.29 [Flags: R/W DEBUG].
msgmni has been set to 875
io scheduler noop registered
io scheduler deadline registered (default)
VIA Graphics Intergration Chipset framebuffer 2.4 initializing
viafb 0000:01:00.0: PCI->APIC IRQ transform: INT A -> IRQ 17
viafb_init_dvi_size: DVI panel size undetected!
fbcon: Via (fb0) is primary device
Console: switching to colour frame buffer device 80x30
uvesafb: failed to execute /sbin/v86d
uvesafb: make sure that the v86d helper is installed and executable
uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
uvesafb: vbe_init() failed with -22
uvesafb: probe of uvesafb.0 failed with error -22
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb1: VGA16 VGA frame buffer device
Real Time Clock Driver v1.12b
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
agpgart: Detected VIA CX700 chipset
agpgart-via 0000:00:00.0: AGP aperture is 128M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a ST16654
Uniform Multi-Platform E-IDE driver
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
ide-gd driver 1.18
ide-cd driver 5.00
pata_via 0000:00:0f.0: version 0.3.4
scsi0 : pata_via
scsi1 : pata_via
ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xfc00 irq 14
ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xfc08 irq 15
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000 0000:02:04.0: PCI->APIC IRQ transform: INT A -> IRQ 17
e1000 0000:02:04.0: eth0: (PCI:33MHz:32-bit) 00:60:e0:e2:7b:95
e1000 0000:02:04.0: eth0: Intel(R) PRO/1000 Network Connection
bonding: Ethernet Channel Bonding Driver: v3.7.0 (June 2, 2010)
bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
arcnet loaded.
usbcore: registered new interface driver catc
catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
usbcore: registered new interface driver kaweth
pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new interface driver pegasus
rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
usbcore: registered new interface driver rtl8150
hso: drivers/net/usb/hso.c: Option Wireless
usbcore: registered new interface driver hso
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver cdc_eem
usbcore: registered new interface driver dm9601
usbcore: registered new interface driver smsc75xx
usbcore: registered new interface driver smsc95xx
usbcore: registered new interface driver gl620a
usbcore: registered new interface driver net1080
usbcore: registered new interface driver plusb
usbcore: registered new interface driver rndis_host
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver MOSCHIP usb-ethernet driver
usbcore: registered new interface driver int51x1
usbcore: registered new interface driver ipheth
usbcore: registered new interface driver sierra_net
usbcore: registered new interface driver cx82310_eth
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:10.4: PCI->APIC IRQ transform: INT D -> IRQ 23
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: debug port 1
ehci_hcd 0000:00:10.4: irq 23, io mem 0xdffff000
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.37-pengutronix ehci_hcd
usb usb1: SerialNumber: 0000:00:10.4
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:10.0: PCI->APIC IRQ transform: INT A -> IRQ 20
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 20, io base 0x0000f800
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.37-pengutronix uhci_hcd
usb usb2: SerialNumber: 0000:00:10.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.1: PCI->APIC IRQ transform: INT B -> IRQ 22
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 22, io base 0x0000f400
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.37-pengutronix uhci_hcd
usb usb3: SerialNumber: 0000:00:10.1
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.2: PCI->APIC IRQ transform: INT C -> IRQ 21
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 21, io base 0x0000f000
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.37-pengutronix uhci_hcd
usb usb4: SerialNumber: 0000:00:10.2
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
dummy_hcd dummy_hcd: USB Host+Gadget Emulator, driver 02 May 2005
dummy_hcd dummy_hcd: Dummy host controller
dummy_hcd dummy_hcd: new USB bus registered, assigned bus number 5
usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: Dummy host controller
usb usb5: Manufacturer: Linux 2.6.37-pengutronix dummy_hcd
usb usb5: SerialNumber: dummy_hcd
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
dummy_udc dummy_udc: binding gadget driver 'g_ether'
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC ce:9b:1b:4a:52:32
usb0: HOST MAC 12:ec:0a:e7:52:93
g_ether gadget: adding config #2 'RNDIS'/c054765c
g_ether gadget: adding 'rndis'/db66ab40 to config 'RNDIS'/c054765c
rndis_register: configNr = 0
rndis_set_param_medium: 0 0
g_ether gadget: RNDIS: dual speed IN/ep-a OUT/ep-b NOTIFY/ep-c
g_ether gadget: cfg 2/c054765c speeds: high full
g_ether gadget:   interface 0 = rndis/db66ab40
g_ether gadget:   interface 1 = rndis/db66ab40
g_ether gadget: adding config #1 'CDC Ethernet (EEM)'/c05475d4
g_ether gadget: adding 'cdc_eem'/db66fec0 to config 'CDC Ethernet (EEM)'/c05475d4
g_ether gadget: CDC Ethernet (EEM): dual speed IN/ep-a OUT/ep-b
g_ether gadget: cfg 1/c05475d4 speeds: high full
g_ether gadget:   interface 0 = cdc_eem/db66fec0
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
dummy_hcd dummy_hcd: port status 0x00010101 has changes
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
lirc_dev: IR Remote Control driver registered, major 253 
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR LIRC bridge handler initialized
Linux video capture interface: v2.00
bttv: driver version 0.9.18 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
Zoran MJPEG board driver version 0.10.0
Linux video codec intermediate layer: v0.2
Colour QuickCam for Video4Linux v0.06
pms: Mediavision Pro Movie Studio driver 0.03
pms: PMS: not enabled, use pms.enable=1 to probe
saa7130/34: v4l2 driver version 0.2.16 loaded
dummy_hcd dummy_hcd: port status 0x00010101 has changes
cx88/0: cx2388x v4l2 driver version 0.0.8 loaded
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.8 loaded
cx2388x blackbird driver version 0.0.8 loaded
cx88/2: registering cx8802 driver, type: blackbird access: shared
saa7146: register extension 'Multimedia eXtension Board'.
saa7146: register extension 'hexium HV-PCI6 Orion'.
saa7146: register extension 'hexium gemini'.
Marvell M88ALP01 'CAFE' Camera Controller version 2
viafb-camera viafb-camera: Unable to find GPIO lines
viafb-camera: probe of viafb-camera failed with error -22
ivtv: Start initialization, version 1.4.2
ivtv: End initialization
ivtvfb:  no cards found
vivi-000: V4L2 device registered as video0
Video Technology Magazine Virtual Video Capture Board ver 0.7.0 successfully loaded.
Bluetooth: Virtual HCI driver ver 1.3
Bluetooth: HCI UART driver ver 2.2
usb 1-1: new high speed USB device using ehci_hcd and address 2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
Bluetooth: HCIATH3K protocol initialized
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: L2CAP ver 2.15
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
NET: Registered protocol family 33
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
Using IPI Shortcut mode
usb 1-1: New USB device found, idVendor=1b1c, idProduct=0b29
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Voyager Mini
usb 1-1: Manufacturer: Corsair
usb 1-1: SerialNumber: 0000000927ABD8
scsi2 : usb-storage 1-1:1.0
g_ether gadget: resume
dummy_hcd dummy_hcd: port status 0x00100503 has changes
usb 5-1: new high speed USB device using dummy_hcd and address 2
g_ether gadget: resume
dummy_hcd dummy_hcd: port status 0x00100503 has changes
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
Waiting for root device /dev/sda1...
dummy_udc dummy_udc: set_address = 2
usb 5-1: New USB device found, idVendor=0525, idProduct=a4a2
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: RNDIS/Ethernet Gadget
usb 5-1: Manufacturer: Linux 2.6.37-pengutronix with dummy_udc
g_ether gadget: high speed config #1: CDC Ethernet (EEM)
g_ether gadget: init eem
g_ether gadget: activate eem
dummy_udc dummy_udc: enabled ep-a (ep1in-bulk) maxpacket 512
dummy_udc dummy_udc: enabled ep-b (ep2out-bulk) maxpacket 512
usb0: qlen 10
g_ether gadget: reset eem
usb0: gether_disconnect
dummy_udc dummy_udc: disabled ep-a
dummy_udc dummy_udc: disabled ep-b
g_ether gadget: init eem
g_ether gadget: activate eem
dummy_udc dummy_udc: enabled ep-a (ep1in-bulk) maxpacket 512
dummy_udc dummy_udc: enabled ep-b (ep2out-bulk) maxpacket 512
usb0: qlen 10
cdc_eem 5-1:1.0: usb1: register 'cdc_eem' at usb-dummy_hcd-1, CDC EEM Device, a6:5c:a8:18:88:c9
input: ImPS/2 Logitech Wheel Mouse as /devices/platform/i8042/serio1/input/input1
scsi 2:0:0:0: Direct-Access     Corsair  Voyager Mini     0.00 PQ: 0 ANSI: 2
sd 2:0:0:0: [sda] 7892992 512-byte logical blocks: (4.04 GB/3.76 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 00 00 00
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI removable disk
EXT3-fs: barriers not enabled
EXT3-fs (sda1): warning: mounting fs with errors, running e2fsck is recommended
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 8:1.
devtmpfs: mounted
Freeing unused kernel memory: 252k freed
Write protecting the kernel text: 3128k
Write protecting the kernel read-only data: 1060k
usb 1-4: new high speed USB device using ehci_hcd and address 3
usb 1-4: New USB device found, idVendor=12d1, idProduct=1505
usb 1-4: New USB device strings: Mfr=3, Product=2, SerialNumber=0
usb 1-4: Product: HUAWEI Mobile
usb 1-4: Manufacturer: Huawei Technologies
scsi3 : usb-storage 1-4:1.0
scsi4 : usb-storage 1-4:1.1
scsi 3:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
scsi 4:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
sd 4:0:0:0: [sdb] Attached SCSI removable disk
usb 1-4: usbfs: process 1774 (usb_modeswitch) did not claim interface 0 before use
usb 1-4: USB disconnect, address 3
usb 1-4: new high speed USB device using ehci_hcd and address 4
usb 1-4: New USB device found, idVendor=12d1, idProduct=150f
usb 1-4: New USB device strings: Mfr=4, Product=3, SerialNumber=0
usb 1-4: Product: HUAWEI Mobile
usb 1-4: Manufacturer: Huawei Technologies
scsi5 : usb-storage 1-4:1.5
scsi 5:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
sd 5:0:0:0: [sdb] Attached SCSI removable disk
usb 1-4: USB disconnect, address 4
usb 1-4: new high speed USB device using ehci_hcd and address 5
usb 1-4: New USB device found, idVendor=12d1, idProduct=1505
usb 1-4: New USB device strings: Mfr=3, Product=2, SerialNumber=0
usb 1-4: Product: HUAWEI Mobile
usb 1-4: Manufacturer: Huawei Technologies
scsi6 : usb-storage 1-4:1.0
scsi7 : usb-storage 1-4:1.1
scsi 6:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
scsi 7:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
sd 7:0:0:0: [sdb] Attached SCSI removable disk

as you may have noticed, dmesg indicates [sdb] Attached SCSI removable disk[ , but there is no /dev/sdb entry in /dev!

and here is the output of dmesg after launching usb_modeswitch

Code: Select all

ver 2.1.29 [Flags: R/W DEBUG].
msgmni has been set to 875
io scheduler noop registered
io scheduler deadline registered (default)
VIA Graphics Intergration Chipset framebuffer 2.4 initializing
viafb 0000:01:00.0: PCI->APIC IRQ transform: INT A -> IRQ 17
viafb_init_dvi_size: DVI panel size undetected!
fbcon: Via (fb0) is primary device
Console: switching to colour frame buffer device 80x30
uvesafb: failed to execute /sbin/v86d
uvesafb: make sure that the v86d helper is installed and executable
uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
uvesafb: vbe_init() failed with -22
uvesafb: probe of uvesafb.0 failed with error -22
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb1: VGA16 VGA frame buffer device
Real Time Clock Driver v1.12b
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
agpgart: Detected VIA CX700 chipset
agpgart-via 0000:00:00.0: AGP aperture is 128M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a ST16654
Uniform Multi-Platform E-IDE driver
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
ide-gd driver 1.18
ide-cd driver 5.00
pata_via 0000:00:0f.0: version 0.3.4
scsi0 : pata_via
scsi1 : pata_via
ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xfc00 irq 14
ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xfc08 irq 15
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000 0000:02:04.0: PCI->APIC IRQ transform: INT A -> IRQ 17
e1000 0000:02:04.0: eth0: (PCI:33MHz:32-bit) 00:60:e0:e2:7b:95
e1000 0000:02:04.0: eth0: Intel(R) PRO/1000 Network Connection
bonding: Ethernet Channel Bonding Driver: v3.7.0 (June 2, 2010)
bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
arcnet loaded.
usbcore: registered new interface driver catc
catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
usbcore: registered new interface driver kaweth
pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new interface driver pegasus
rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
usbcore: registered new interface driver rtl8150
hso: drivers/net/usb/hso.c: Option Wireless
usbcore: registered new interface driver hso
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver cdc_eem
usbcore: registered new interface driver dm9601
usbcore: registered new interface driver smsc75xx
usbcore: registered new interface driver smsc95xx
usbcore: registered new interface driver gl620a
usbcore: registered new interface driver net1080
usbcore: registered new interface driver plusb
usbcore: registered new interface driver rndis_host
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver MOSCHIP usb-ethernet driver
usbcore: registered new interface driver int51x1
usbcore: registered new interface driver ipheth
usbcore: registered new interface driver sierra_net
usbcore: registered new interface driver cx82310_eth
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:10.4: PCI->APIC IRQ transform: INT D -> IRQ 23
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: debug port 1
ehci_hcd 0000:00:10.4: irq 23, io mem 0xdffff000
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.37-pengutronix ehci_hcd
usb usb1: SerialNumber: 0000:00:10.4
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:10.0: PCI->APIC IRQ transform: INT A -> IRQ 20
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 20, io base 0x0000f800
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.37-pengutronix uhci_hcd
usb usb2: SerialNumber: 0000:00:10.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.1: PCI->APIC IRQ transform: INT B -> IRQ 22
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 22, io base 0x0000f400
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.37-pengutronix uhci_hcd
usb usb3: SerialNumber: 0000:00:10.1
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.2: PCI->APIC IRQ transform: INT C -> IRQ 21
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 21, io base 0x0000f000
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.37-pengutronix uhci_hcd
usb usb4: SerialNumber: 0000:00:10.2
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
dummy_hcd dummy_hcd: USB Host+Gadget Emulator, driver 02 May 2005
dummy_hcd dummy_hcd: Dummy host controller
dummy_hcd dummy_hcd: new USB bus registered, assigned bus number 5
usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: Dummy host controller
usb usb5: Manufacturer: Linux 2.6.37-pengutronix dummy_hcd
usb usb5: SerialNumber: dummy_hcd
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
dummy_udc dummy_udc: binding gadget driver 'g_ether'
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC ce:9b:1b:4a:52:32
usb0: HOST MAC 12:ec:0a:e7:52:93
g_ether gadget: adding config #2 'RNDIS'/c054765c
g_ether gadget: adding 'rndis'/db66ab40 to config 'RNDIS'/c054765c
rndis_register: configNr = 0
rndis_set_param_medium: 0 0
g_ether gadget: RNDIS: dual speed IN/ep-a OUT/ep-b NOTIFY/ep-c
g_ether gadget: cfg 2/c054765c speeds: high full
g_ether gadget:   interface 0 = rndis/db66ab40
g_ether gadget:   interface 1 = rndis/db66ab40
g_ether gadget: adding config #1 'CDC Ethernet (EEM)'/c05475d4
g_ether gadget: adding 'cdc_eem'/db66fec0 to config 'CDC Ethernet (EEM)'/c05475d4
g_ether gadget: CDC Ethernet (EEM): dual speed IN/ep-a OUT/ep-b
g_ether gadget: cfg 1/c05475d4 speeds: high full
g_ether gadget:   interface 0 = cdc_eem/db66fec0
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
dummy_hcd dummy_hcd: port status 0x00010101 has changes
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
lirc_dev: IR Remote Control driver registered, major 253 
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR LIRC bridge handler initialized
Linux video capture interface: v2.00
bttv: driver version 0.9.18 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
Zoran MJPEG board driver version 0.10.0
Linux video codec intermediate layer: v0.2
Colour QuickCam for Video4Linux v0.06
pms: Mediavision Pro Movie Studio driver 0.03
pms: PMS: not enabled, use pms.enable=1 to probe
saa7130/34: v4l2 driver version 0.2.16 loaded
dummy_hcd dummy_hcd: port status 0x00010101 has changes
cx88/0: cx2388x v4l2 driver version 0.0.8 loaded
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.8 loaded
cx2388x blackbird driver version 0.0.8 loaded
cx88/2: registering cx8802 driver, type: blackbird access: shared
saa7146: register extension 'Multimedia eXtension Board'.
saa7146: register extension 'hexium HV-PCI6 Orion'.
saa7146: register extension 'hexium gemini'.
Marvell M88ALP01 'CAFE' Camera Controller version 2
viafb-camera viafb-camera: Unable to find GPIO lines
viafb-camera: probe of viafb-camera failed with error -22
ivtv: Start initialization, version 1.4.2
ivtv: End initialization
ivtvfb:  no cards found
vivi-000: V4L2 device registered as video0
Video Technology Magazine Virtual Video Capture Board ver 0.7.0 successfully loaded.
Bluetooth: Virtual HCI driver ver 1.3
Bluetooth: HCI UART driver ver 2.2
usb 1-1: new high speed USB device using ehci_hcd and address 2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
Bluetooth: HCIATH3K protocol initialized
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: L2CAP ver 2.15
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
NET: Registered protocol family 33
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
Using IPI Shortcut mode
usb 1-1: New USB device found, idVendor=1b1c, idProduct=0b29
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Voyager Mini
usb 1-1: Manufacturer: Corsair
usb 1-1: SerialNumber: 0000000927ABD8
scsi2 : usb-storage 1-1:1.0
g_ether gadget: resume
dummy_hcd dummy_hcd: port status 0x00100503 has changes
usb 5-1: new high speed USB device using dummy_hcd and address 2
g_ether gadget: resume
dummy_hcd dummy_hcd: port status 0x00100503 has changes
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
Waiting for root device /dev/sda1...
dummy_udc dummy_udc: set_address = 2
usb 5-1: New USB device found, idVendor=0525, idProduct=a4a2
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: RNDIS/Ethernet Gadget
usb 5-1: Manufacturer: Linux 2.6.37-pengutronix with dummy_udc
g_ether gadget: high speed config #1: CDC Ethernet (EEM)
g_ether gadget: init eem
g_ether gadget: activate eem
dummy_udc dummy_udc: enabled ep-a (ep1in-bulk) maxpacket 512
dummy_udc dummy_udc: enabled ep-b (ep2out-bulk) maxpacket 512
usb0: qlen 10
g_ether gadget: reset eem
usb0: gether_disconnect
dummy_udc dummy_udc: disabled ep-a
dummy_udc dummy_udc: disabled ep-b
g_ether gadget: init eem
g_ether gadget: activate eem
dummy_udc dummy_udc: enabled ep-a (ep1in-bulk) maxpacket 512
dummy_udc dummy_udc: enabled ep-b (ep2out-bulk) maxpacket 512
usb0: qlen 10
cdc_eem 5-1:1.0: usb1: register 'cdc_eem' at usb-dummy_hcd-1, CDC EEM Device, a6:5c:a8:18:88:c9
input: ImPS/2 Logitech Wheel Mouse as /devices/platform/i8042/serio1/input/input1
scsi 2:0:0:0: Direct-Access     Corsair  Voyager Mini     0.00 PQ: 0 ANSI: 2
sd 2:0:0:0: [sda] 7892992 512-byte logical blocks: (4.04 GB/3.76 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Mode Sense: 00 00 00 00
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI removable disk
EXT3-fs: barriers not enabled
EXT3-fs (sda1): warning: mounting fs with errors, running e2fsck is recommended
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 8:1.
devtmpfs: mounted
Freeing unused kernel memory: 252k freed
Write protecting the kernel text: 3128k
Write protecting the kernel read-only data: 1060k
usb 1-4: new high speed USB device using ehci_hcd and address 3
usb 1-4: New USB device found, idVendor=12d1, idProduct=1505
usb 1-4: New USB device strings: Mfr=3, Product=2, SerialNumber=0
usb 1-4: Product: HUAWEI Mobile
usb 1-4: Manufacturer: Huawei Technologies
scsi3 : usb-storage 1-4:1.0
scsi4 : usb-storage 1-4:1.1
scsi 3:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
scsi 4:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
sd 4:0:0:0: [sdb] Attached SCSI removable disk
usb 1-4: usbfs: process 1774 (usb_modeswitch) did not claim interface 0 before use
usb 1-4: USB disconnect, address 3
usb 1-4: new high speed USB device using ehci_hcd and address 4
usb 1-4: New USB device found, idVendor=12d1, idProduct=150f
usb 1-4: New USB device strings: Mfr=4, Product=3, SerialNumber=0
usb 1-4: Product: HUAWEI Mobile
usb 1-4: Manufacturer: Huawei Technologies
scsi5 : usb-storage 1-4:1.5
scsi 5:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
sd 5:0:0:0: [sdb] Attached SCSI removable disk
usb 1-4: USB disconnect, address 4
usb 1-4: new high speed USB device using ehci_hcd and address 5
usb 1-4: New USB device found, idVendor=12d1, idProduct=1505
usb 1-4: New USB device strings: Mfr=3, Product=2, SerialNumber=0
usb 1-4: Product: HUAWEI Mobile
usb 1-4: Manufacturer: Huawei Technologies
scsi6 : usb-storage 1-4:1.0
scsi7 : usb-storage 1-4:1.1
scsi 6:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
scsi 7:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
sd 7:0:0:0: [sdb] Attached SCSI removable disk
usb 1-4: usbfs: process 2502 (usb_modeswitch) did not claim interface 0 before use
usb 1-4: USB disconnect, address 5
usb 1-4: new high speed USB device using ehci_hcd and address 6
usb 1-4: New USB device found, idVendor=12d1, idProduct=150f
usb 1-4: New USB device strings: Mfr=4, Product=3, SerialNumber=0
usb 1-4: Product: HUAWEI Mobile
usb 1-4: Manufacturer: Huawei Technologies
scsi8 : usb-storage 1-4:1.5
scsi 8:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
sd 8:0:0:0: [sdb] Attached SCSI removable disk

and the content of ./dev after the execution of the command

Code: Select all

agpgart
block
bus
char
console
core
cpu_dma_latency
fb0
fb1
fd
full
input
kmsg
mapper
mem
net
network_latency
network_throughput
null
nvram
port
ppp
psaux
ptmx
pts
random
rfkill
rtc
sda
sda1
sdb
shm
stderr
stdin
stdout
tty
tty0
tty1
tty10
tty11
tty12
tty13
tty14
tty15
tty16
tty17
tty18
tty19
tty2
tty20
tty21
tty22
tty23
tty24
tty25
tty26
tty27
tty28
tty29
tty3
tty30
tty31
tty32
tty33
tty34
tty35
tty36
tty37
tty38
tty39
tty4
tty40
tty41
tty42
tty43
tty44
tty45
tty46
tty47
tty48
tty49
tty5
tty50
tty51
tty52
tty53
tty54
tty55
tty56
tty57
tty58
tty59
tty6
tty60
tty61
tty62
tty63
tty7
tty8
tty9
ttyS0
urandom
vcs
vcs1
vcs2
vcs3
vcs4
vcs5
vcsa
vcsa1
vcsa2
vcsa3
vcsa4
vcsa5
vga_arbiter
vhci
video0
zero

and here is the output of the ubn_modeswitch command ( usb_modeswitch -i -W -c /etc/usb_modeswitch.d/12d1\:1505)
with 12d1:1505 file containing,


DefaultVendor= 0x12d1
DefaultProduct=0x1505

MessageContent="55534243123456780000000000000011062000000100000000000000000000"

and the output is :



Code: Select all

Looking for default devices ...
   found matching product ID
   adding device
 Found device in default mode, class or configuration (1)
Accessing device 003 on bus 001 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found; name unknown, limitation of libusb1
 OK, driver "unkown" detached

SCSI inquiry data (for identification)
-------------------------
  Vendor String: HUAWEI  
   Model String: Mass Storage    
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: Huawei Technologies
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Resetting response endpoint 0x81
Resetting message endpoint 0x01
 Device is gone, skipping any further commands
-> Run lsusb to note any changes. Bye.
the weirdest thing is that lsusb, indicates that the idProduct ahs changed from 1505 ( before the execution) to 150f ( after the execution)!

i thought at first that maybe, because it is an embedded kernel , and there are some features that maybe are missing, so , for that i could not have /ttyUSB entries, but when i plugged another device ( a gps), i got the /dev/ttyUSB0 entry!!


Well, i thought maybe it's a problem of my kernel config, to say the truth, i didn't find anywhere what to activate and deactivate in kernelconfig to get a working environement for usb_modeswitch,

so here my kernelconfig :)

Code: Select all

#
# Automatically generated make config: don't edit
# Linux/x86 2.6.37-pengutronix Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf32-i386"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
# CONFIG_NEED_DMA_MAP_STATE is not set
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_GPIO=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
# CONFIG_GENERIC_TIME_VSYSCALL is not set
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_DEFAULT_IDLE=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
# CONFIG_HAVE_CPUMASK_OF_CPU_MAP is not set
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ZONE_DMA32 is not set
CONFIG_ARCH_POPULATES_NODE_MAP=y
# CONFIG_AUDIT_ARCH is not set
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_X86_32_LAZY_GS=y
CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-ecx -fcall-saved-edx"
CONFIG_KTIME_SCALAR=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_CONSTRUCTORS=y
CONFIG_HAVE_IRQ_WORK=y
CONFIG_IRQ_WORK=y

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_LZO=y
# CONFIG_KERNEL_GZIP is not set
# CONFIG_KERNEL_BZIP2 is not set
CONFIG_KERNEL_LZMA=y
# CONFIG_KERNEL_LZO is not set
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_HAVE_GENERIC_HARDIRQS=y

#
# IRQ subsystem
#
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
# CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED is not set
CONFIG_HAVE_SPARSE_IRQ=y
CONFIG_GENERIC_IRQ_PROBE=y
# CONFIG_GENERIC_PENDING_IRQ is not set
# CONFIG_AUTO_IRQ_AFFINITY is not set
# CONFIG_IRQ_PER_CPU is not set
# CONFIG_HARDIRQS_SW_RESEND is not set
# CONFIG_SPARSE_IRQ is not set

#
# RCU Subsystem
#
CONFIG_TREE_PREEMPT_RCU=y
# CONFIG_TINY_RCU is not set
# CONFIG_TINY_PREEMPT_RCU is not set
CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_TRACE is not set
CONFIG_RCU_FANOUT=32
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_TREE_RCU_TRACE is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
# CONFIG_CGROUPS is not set
# CONFIG_NAMESPACES is not set
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
# CONFIG_BLK_DEV_INITRD is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_EMBEDDED=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
# CONFIG_KALLSYMS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_HAVE_PERF_EVENTS=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_PERF_COUNTERS is not set
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_PCI_QUIRKS=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
# CONFIG_JUMP_LABEL is not set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y

#
# GCOV-based kernel profiling
#
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_FORCE_LOAD=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_BLOCK=y
CONFIG_LBDAF=y
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_BLK_DEV_INTEGRITY is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
# CONFIG_IOSCHED_CFQ is not set
CONFIG_DEFAULT_DEADLINE=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="deadline"
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
# CONFIG_INLINE_SPIN_UNLOCK is not set
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set
# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
# CONFIG_INLINE_READ_UNLOCK is not set
# CONFIG_INLINE_READ_UNLOCK_BH is not set
# CONFIG_INLINE_READ_UNLOCK_IRQ is not set
# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
# CONFIG_INLINE_WRITE_UNLOCK is not set
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set
# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
# CONFIG_MUTEX_SPIN_ON_OWNER is not set
# CONFIG_FREEZER is not set

#
# Processor type and features
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
# CONFIG_SMP is not set
CONFIG_X86_MPPARSE=y
CONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_MRST is not set
# CONFIG_X86_RDC321X is not set
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_PARAVIRT_GUEST is not set
CONFIG_NO_BOOTMEM=y
# CONFIG_MEMTEST is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
CONFIG_M586=y
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not set
CONFIG_X86_GENERIC=y
CONFIG_X86_CPU=y
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_XADD=y
# CONFIG_X86_PPRO_FENCE is not set
CONFIG_X86_F00F_BUG=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_ALIGNMENT_16=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_MINIMUM_CPU_FAMILY=4
# CONFIG_PROCESSOR_SELECT is not set
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPU_SUP_CYRIX_32=y
CONFIG_CPU_SUP_AMD=y
CONFIG_CPU_SUP_CENTAUR=y
CONFIG_CPU_SUP_TRANSMETA_32=y
CONFIG_CPU_SUP_UMC_32=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
# CONFIG_IOMMU_HELPER is not set
# CONFIG_IOMMU_API is not set
CONFIG_NR_CPUS=1
# CONFIG_IRQ_TIME_ACCOUNTING is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_X86_UP_APIC=y
# CONFIG_X86_UP_IOAPIC is not set
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
# CONFIG_X86_MCE is not set
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_3G_OPT is not set
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_2G_OPT is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_HIGHMEM=y
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ILLEGAL_POINTER_VALUE=0
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_PHYS_ADDR_T_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_NEED_PER_CPU_KM=y
# CONFIG_HIGHPTE is not set
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
CONFIG_X86_RESERVE_LOW=64
# CONFIG_MATH_EMULATION is not set
# CONFIG_MTRR is not set
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not set
CONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
CONFIG_PHYSICAL_START=0x100000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x100000
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not set
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y

#
# Power management and ACPI options
#
# CONFIG_PM is not set
# CONFIG_SFI is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
# CONFIG_CPU_IDLE is not set

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_DOMAINS=y
# CONFIG_PCI_CNB20LE_QUIRK is not set
CONFIG_PCIEPORTBUS=y
CONFIG_PCIEAER=y
# CONFIG_PCIE_ECRC is not set
# CONFIG_PCIEAER_INJECT is not set
CONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not set
CONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_STUB is not set
# CONFIG_HT_IRQ is not set
# CONFIG_PCI_IOV is not set
CONFIG_ISA_DMA_API=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_OLPC is not set
# CONFIG_OLPC_OPENFIRMWARE is not set
CONFIG_AMD_NB=y
# CONFIG_PCCARD is not set
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_HAVE_AOUT=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set
CONFIG_HAVE_ATOMIC_IOMAP=y
CONFIG_HAVE_TEXT_POKE_SMP=y
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_LRO is not set
# CONFIG_INET_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
# CONFIG_DNS_RESOLVER is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_HAMRADIO=y

#
# Packet Radio protocols
#
# CONFIG_AX25 is not set
CONFIG_CAN=y
# CONFIG_CAN_RAW is not set
CONFIG_CAN_BCM=y

#
# CAN Device Drivers
#
# CONFIG_CAN_VCAN is not set
# CONFIG_CAN_DEV is not set
# CONFIG_CAN_DEBUG_DEVICES is not set
# CONFIG_IRDA is not set
CONFIG_BT=y
CONFIG_BT_L2CAP=y
CONFIG_BT_SCO=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y

#
# Bluetooth device drivers
#
CONFIG_BT_HCIBTUSB=m
# CONFIG_BT_HCIBTSDIO is not set
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_ATH3K=y
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIVHCI=y
CONFIG_BT_MRVL=y
# CONFIG_BT_MRVL_SDIO is not set
CONFIG_BT_ATH3K=m
CONFIG_AF_RXRPC=y
# CONFIG_AF_RXRPC_DEBUG is not set
# CONFIG_RXKAD is not set
CONFIG_WIRELESS=y
# CONFIG_CFG80211 is not set
CONFIG_LIB80211=y
# CONFIG_LIB80211_DEBUG is not set

#
# CFG80211 needs to be enabled for MAC80211
#

#
# Some wireless drivers require a rate control algorithm
#
# CONFIG_WIMAX is not set
CONFIG_RFKILL=y
CONFIG_RFKILL_INPUT=y
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_STANDALONE is not set
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y
CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
# CONFIG_MTD_TESTS is not set
# CONFIG_MTD_CONCAT is not set
# CONFIG_MTD_PARTITIONS is not set

#
# User Modules And Translation Layers
#
# CONFIG_MTD_CHAR is not set
# CONFIG_MTD_BLKDEVS is not set
# CONFIG_MTD_BLOCK is not set
# CONFIG_MTD_BLOCK_RO is not set
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_TS5500 is not set
# CONFIG_MTD_INTEL_VR_NOR is not set
# CONFIG_MTD_PLATRAM is not set

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLOCK2MTD is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not


i've to mention als

Post Reply