2007-06-10 06:21:44

by 飞天猪

[permalink] [raw]
Subject: [Bluez-devel] Can't find the device in arm machine.


Hello!I have compiled bluez-libs-3.11 and bluez-utils-3.11 in scratchbox for arm successfully. Then I put the library files in /usr/lib and utilities in /usr/bin as well .And I compressed the new target system to a scram format file and downloaded the file in my machine which uses s3c2440 as its core and uses linux 2.6.12 kernel..But when I plugged my usb dongle which is produced by Integrated System Solution Corporation with HCI 1.1 version, and the following error messages appeared in my DNW windows which is produced by SANSUM as a console.
[root@(none) /]# usb 1-1: new full speed USB device using s3c2410-ohci and address 6
usb 1-1: unable to read config index 0 descriptor/start
usb 1-1: can't read configurations, error -110
usb 1-1: new full speed USB device using s3c2410-ohci and address 7
usb 1-1: unable to read config index 0 descriptor/start
usb 1-1: can't read configurations, error -110
usb 1-1: new full speed USB device using s3c2410-ohci and address 8
usb 1-1: device descriptor read/all, error -110
usb 1-1: new full speed USB device using s3c2410-ohci and address 9
usb 1-1: unable to read config index 0 descriptor/start
usb 1-1: can't read configurations, error ?C110
Then when I entered all the Bluetooth utilities commands such as hcitool , the error message emerged and they couldn??t work at all.
[root@(none) /]# hcitool scan
Reading data from NAND FLASH without ECC is not recommended
Device is not available: No such device
Shall I have to enble some usb options in kernel configuration when compile kernel? But I have enabled two usb controller option and usb siereis converter option. Is bluetooth usb driver independent on usb options? If not which options should I enable at least? Can anyone help me to figure out the problem?
The booting message appeared in my console window is in the following.
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Machine: SMDK2410
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C2440: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
USB Control, (c) 2006 ucdragon yl2440.new
Built 1 zonelists
Kernel command line: root=/dev/mtdblock2 init=/linuxrc load_ramdisk=0 console=ttySAC1,115200 mem=65536K devfs=mount shp240
irq: clearing pending ext status 00007200
irq: clearing subpending status 00000092
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00590000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 61440KB available (2712K code, 498K data, 160K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, UPLL 96.000 MHz
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Bluetooth: Core ver 2.7
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
NetWinder Floating Point Emulator V0.97 (double precision)
devfs: 2004-01-31 Richard Gooch ([email protected])
devfs: boot_options: 0x1
NTFS driver 2.1.22 [Flags: R/W].
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Jun 6 2007 20:36:18 Installing.
Initializing Cryptographic API
--- s3c2410fb init ---!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
pxafb_probe start!!!!!!!!!!!!!!!!!!!!!!!!!!
s3c2410-lcd s3c2410-lcd: Invalid resolution or bit depth
s3c2410-lcd: probe of s3c2410-lcd failed with error -22
Console: switching to colour frame buffer device 80x25
fb0: Virtual frame buffer device, using 1024K of video memory
in s3c2410ts init()
success get major number!!!!!!
s3c2410-ts device driver MAJOR:253
success to get adc clock source!
base_addr = 0xc4962000
line 535 passed!
register s3c2410-ts driver success, return code is 0
S3C2410 RTC, (c) 2004 Simtec Electronics
initialize ST16C550 on yl-2410 board, iobase = 0xd4000000

Serial: 8250/16550 driver $Revision: 1.90 $ ,hace done serial8250_io_init!!!!5 ports, IRQ sharing disabled
have enter serial8250_isa_init_ports!iobase = 0xc4980000
line 2166 passed
line 2168 passed
before uart_configure_port!
line 1958 passed
line 1960 passed
IN!!line 1965 passed
enter uart_report_port() line 1918 passed
ttsA0 at I/O 0xc4980000 (irq = 57) is a 16550A
line 1967 passed
line 1974 passed
line 1976 passed
line 1984 passed
after uart_configure_port!
line 2196 passed
line 2198 passed
line 2166 passed
line 2168 passed
before uart_configure_port!
line 1958 passed
line 1960 passed
IN!!line 1965 passed
enter uart_report_port() line 1918 passed
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
line 1967 passed
line 1974 passed
line 1976 passed
line 1984 passed
after uart_configure_port!
line 2196 passed
line 2198 passed
line 2166 passed
line 2168 passed
before uart_configure_port!
line 1958 passed
line 1960 passed
IN!!line 1965 passed
enter uart_report_port() line 1918 passed
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
line 1967 passed
line 1974 passed

line 1976 passed
after uart_configure_port!
line 2196 passed
line 2198 passed
line 2166 passed
line 2168 passed
before uart_configure_port!
line 1958 passed
line 1960 passed
IN!!line 1965 passed
enter uart_report_port() line 1918 passed
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
line 1967 passed
line 1974 passed
line 1976 passed
line 1984 passed
after uart_configure_port!
line 2196 passed
line 2198 passed
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
ub: sizeof ub_scsi_cmd 68 ub_dev 2384 ub_lun 140
usbcore: registered new driver ub
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
Cirrus Logic CS8900A driver for Linux (V0.02)
dev->base_addr=0xe0000300<3>line 689 passed,request_region() OK!success get IO port address!
eth0: CS8900A rev E detected
BWSCON=2211d110
GPFCON=1a6aaaa
EXTINT0=22122242
INTMSK=6f7f3d9f
BWSCON=221dd110
GPFCON=1a6aaaa
EXTINT0=21122242

INTMSK=6f7f3d9f
DM9000 ethernet driver V1.26 I/O: c4974300, VID: 90000a46
success to exe register_netdev.in another word err >0,
the last edition,new MAC address!!
Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
SET CF & IDE WAIT!now BWSCON=225dd510
now begin cf_ide_init_default_hwifs()
have initialized interrupt for cf:EINT3
fla2612:INTMSK=6f7f3d95
GPFCON=000055aa
EXTINT0=00004040
GPBCON=00100154
GPBDAT=000007e2
-1:no 0:ok CF_register_hw return -1
-1:no 0:ok ide_register_hw return -1
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4b00000
s3c2410-nand: timing: Tacls 10ns, Twrph0 40ns, Twrph1 10ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00030000 : "Boot modified by fla in devs.c"
0x00030000-0x00200000 : "Kernel"
0x00200000-0x02000000 : "RootFileSystem"
0x02000000-0x04000000 : "ExtendFileSystem"
usbmon: debugs is not available
hello,enter new ohci-s3c2410.c
CLKDIVN = 0000000d
CLKSLOW = 00000004
CLKCON = 00f2eb70
UPLLCON = 00038021
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: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 2.6.12-h1940 ohci_hcd
usb usb1: SerialNumber: s3c24xx
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
sl811: driver sl811-hcd, 19 May 2005

usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
Bluetooth: HCI USB driver ver 2.8
usbcore: registered new driver hci_usb
Bluetooth: Broadcom Blutonium firmware driver ver 1.0
usbcore: registered new driver bcm203x
Bluetooth: Digianswer Bluetooth USB driver ver 0.8
usbcore: registered new driver bpa10x
Bluetooth: BlueFRITZ! USB driver ver 1.1
usbcore: registered new driver bfusb
line 1408 passed!
virtual address of s3c2410_va_iis=f0d00000.
next will do driver_register!
just enter s3c2410_uda1341_probe()
S3C2410-UDA1341 Probe
line 1322 passed!
line 1325 passed!
line 1327 passed! have set L3 mode=GPB2, dat=GPB3, clk=GPB4, output
line 1330 passed!
line 1332 passed!
have set IISLRCK=GPE0, IISSCLK=GPE1, CDCLK=GPE2, IISSDI=GPE3, IISSDO=GPE4
line 1336 passed! have Enable IIS clock
line 1287 passed!
line 238 passed!
line 275 passed!
line 275 passed!
line 275 passed!
line 238 passed!
line 275 passed!
line 275 passed!
line 275 passed!
line 275 passed!
line 275 passed!
line 1309 passed!
success register irq: iisout_dma_done_handler
success register irq: iisin_dma_done_handler

UDA1341 audio driver initialized
driver uda1341 in /sound/oss/s3c2410-oss.c
line 1414 passed!
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
NET: Registered protocol family 1
Bluetooth: L2CAP ver 2.7
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.4
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM ver 1.5
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
Reading data from NAND FLASH without ECC is not recommended
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing init memory: 160K
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
Using /usr/usbfor2440.ko
OLD:
UPLLCON = 0x00078023
CLKCON = 0x00f3ebf0
CLKSLOW = 0x00000004
CLKDIVN = 0x0000000d
starting modifiy upllcon...
NEW:
UPLLCON = 0x00038021
CLKCON = 0x00f2eb70
CLKSLOW = 0x00000004
CLKDIVN = 0x0000000d
mount: Mounting none on /proc/bus/usb failed: No such file or directory
Please press Enter to activate this console. Reading data from NAND FLASH without ECC is not recommended
cirrus_start: requesting interrupt 53
Invalid cs8900 irq
eth0: register interrupt 53 successfuly
ln: /dev/touchscreen/0: File exists
Could not open mime.types file, "etc/mime.types", for reading
mount: Mounting /dev/nfblock/3 on /tmp/flashdisk failed: No such file or directory
mount: Mounting /dev/nfblock/2 on /tmp/mplayer failed: No such file or directory
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
mapping /dev/fb0: Invalid argument
Error: failed to map framebuffer device to memory.
mapping /dev/fb0: Invalid argument
Error: failed to map framebuffer device
Please press Enter to activate this console. Wang Jimscen Jun 10,2007


Attachments:
(No filename) (286.00 B)
(No filename) (164.00 B)
Download all attachments