Temat: 1wire DS9490R jak uruchomić?
Mając chwile wolnego czasu na zwolnieniu chorobowym postanowiłem zrobić cos porzytecznego ze starego routera WL-500W i interfejsu 1-wire DS9490R ale nie mogę uruchomić USB pod OpenWrt, czy możecie koledzy pomóc?
Zainstalowałem OpenWrt Barrier Breaker 14.07-rc3 doinstalowałem do niego
owshell 2.9p5-1
owserver 2.9p5-1
owhttpd 2.9p5-1
owfs 2.9p5-1
kmod-w1-master-ds2490 3.10.49-1
kmod-w1 3.10.49-1
kmod-usb-core 3.10.49-1
kmod-usb-brcm47xx 3.10.49-1
i niestety nadal nie widzę ttyUSB. Kiedyś bawiłem się na tomato tą samą przelotką i digitem i było ok.
Proszę o pomoc co można z tym zrobić, wydaje mi się iż w ogóle nie widzę usb. Poniżej wynik dmesg
---
root@OpenWrt:~# dmesg
[ 0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r41989) ) #1 Fri Aug 8 01:10:15 CEST 2014
[ 0.000000] CPU revision is: 00029006 (Broadcom BMIPS3300)
[ 0.000000] bcm47xx: using ssb bus
[ 0.000000] ssb: Found chip with id 0x4704, rev 0x09 and package 0x00
[ 0.000000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x03, vendor 0x4243)
[ 0.000000] ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
[ 0.000000] ssb: Core 2 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
[ 0.000000] ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243)
[ 0.000000] ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243)
[ 0.000000] ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x03, vendor 0x4243)
[ 0.000000] ssb: Core 6 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
[ 0.000000] ssb: Core 7 found: IPSEC (cc 0x80B, rev 0x00, vendor 0x4243)
[ 0.000000] ssb: Core 8 found: MEMC SDRAM (cc 0x80F, rev 0x02, vendor 0x4243)
[ 0.000000] ssb: chipcommon status is 0x0
[ 0.000000] ssb: Initializing MIPS core...
[ 0.000000] ssb: set_irq: core 0x0806, irq 4 => 4
[ 0.000000] ssb: set_irq: core 0x0806, irq 5 => 5
[ 0.000000] ssb: set_irq: core 0x0808, irq 6 => 2
[ 0.000000] ssb: set_irq: core 0x0804, irq 2 => 6
[ 0.000000] ssb: after irq reconfiguration
[ 0.000000] ssb: core 0x0800, irq : 2(S) 3* 4 5 6 D I
[ 0.000000] ssb: core 0x0806, irq : 2(S) 3 4* 5 6 D I
[ 0.000000] ssb: core 0x0806, irq : 2(S) 3 4 5* 6 D I
[ 0.000000] ssb: core 0x0808, irq : 2(S)* 3 4 5 6 D I
[ 0.000000] ssb: core 0x0804, irq : 2(S) 3 4 5 6* D I
[ 0.000000] ssb: core 0x0816, irq : 2(S)* 3 4 5 6 D I
[ 0.000000] ssb: core 0x0807, irq : 2(S)* 3 4 5 6 D I
[ 0.000000] ssb: core 0x080b, irq : 2(S)* 3 4 5 6 D I
[ 0.000000] ssb: core 0x080f, irq : 2(S) 3 4 5 6 D I*
[ 0.000000] Unsupported SPROM revision 0 detected. Will extract v1
[ 0.000000] ssb: Sonics Silicon Backplane found at address 0x18000000
[ 0.000000] MIPS: machine is Asus WL500W
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 802e6b80, node_mem_map 81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8192 pages, LIFO batch:0
[ 0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Memory: 28936k/32768k available (2453k kernel code, 3832k reserved, 597k data, 208k init, 0k highmem)
[ 0.000000] NR_IRQS:128
[ 0.070000] Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.070000] NET: Registered protocol family 16
[ 0.110000] bio: create slab <bio-0> at 0
[ 0.120000] Switching to clocksource MIPS
[ 0.130000] ssb: PCIcore in host mode found
[ 0.430000] PCI host bridge to bus 0000:00
[ 0.430000] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff]
[ 0.430000] pci_bus 0000:00: root bus resource [io 0x0100-0x07ff]
[ 0.430000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.430000] pci 0000:00:00.0: [14e4:4704] type 00 class 0x060000
[ 0.430000] ssb: PCI: Fixing up bridge 0000:00:00.0
[ 0.430000] pci 0000:00:00.0: setting latency timer to 64
[ 0.430000] ssb: PCI: Fixing up device 0000:00:00.0
[ 0.430000] ssb: PCI: Fixing latency timer of device 0000:00:00.0 to 168
[ 0.430000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x00001fff]
[ 0.430000] pci 0000:00:00.0: reg 14: [mem 0x00000000-0x07ffffff pref]
[ 0.430000] pci 0000:00:02.0: [14e4:4329] type 00 class 0x028000
[ 0.430000] pci 0000:00:02.0: reg 10: [mem 0x00000000-0x00003fff]
[ 0.430000] pci 0000:00:03.0: [1106:3038] type 00 class 0x0c0300
[ 0.430000] pci 0000:00:03.0: reg 20: [io 0xfce0-0xfcff]
[ 0.430000] pci 0000:00:03.0: supports D1 D2
[ 0.430000] pci 0000:00:03.0: PME# supported from D0 D1 D2 D3hot
[ 0.440000] pci 0000:00:03.1: [1106:3038] type 00 class 0x0c0300
[ 0.440000] pci 0000:00:03.1: reg 20: [io 0xfce0-0xfcff]
[ 0.440000] pci 0000:00:03.1: supports D1 D2
[ 0.440000] pci 0000:00:03.1: PME# supported from D0 D1 D2 D3hot
[ 0.440000] pci 0000:00:03.2: [1106:3104] type 00 class 0x0c0320
[ 0.440000] pci 0000:00:03.2: reg 10: [mem 0x00000000-0x000000ff]
[ 0.440000] pci 0000:00:03.2: supports D1 D2
[ 0.440000] pci 0000:00:03.2: PME# supported from D0 D1 D2 D3hot
[ 0.440000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.440000] pci 0000:00:02.0: BAR 0: assigned [mem 0x40000000-0x40003fff]
[ 0.440000] pci 0000:00:03.2: BAR 0: assigned [mem 0x40004000-0x400040ff]
[ 0.440000] pci 0000:00:03.0: BAR 4: assigned [io 0x0400-0x041f]
[ 0.440000] pci 0000:00:03.1: BAR 4: assigned [io 0x0420-0x043f]
[ 0.450000] PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
[ 0.450000] ssb: PCI: Fixing up device 0000:00:02.0
[ 0.450000] b43-pci-bridge 0000:00:02.0: setting latency timer to 64
[ 0.490000] ssb: Found chip with id 0x4321, rev 0x01 and package 0x01
[ 0.490000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x12, vendor 0x4243)
[ 0.490000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x0B, vendor 0x4243)
[ 0.490000] ssb: Core 2 found: PCI-E (cc 0x820, rev 0x02, vendor 0x4243)
[ 0.490000] ssb: Core 3 found: PCI (cc 0x804, rev 0x0D, vendor 0x4243)
[ 0.490000] ssb: Core 4 found: USB 1.1 Host (cc 0x817, rev 0x04, vendor 0x4243)
[ 0.530000] ssb: chipcommon status is 0x0
[ 0.530000] ssb: SPROM offset is 0x1000
[ 0.540000] ssb: SPROM revision 4 detected
[ 0.580000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:02.0
[ 0.580000] NET: Registered protocol family 2
[ 0.580000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.580000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.580000] TCP: Hash tables configured (established 512 bind 512)
[ 0.590000] TCP: reno registered
[ 0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.590000] NET: Registered protocol family 1
[ 0.590000] PCI: CLS 0 bytes, default 16
[ 0.600000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.600000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.600000] msgmni has been set to 56
[ 0.600000] io scheduler noop registered
[ 0.600000] io scheduler deadline registered (default)
[ 0.600000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.640000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 3) is a 16550A
[ 0.990000] console [ttyS0] enabled
[ 1.020000] serial8250.0: ttyS1 at MMIO 0xb8000400 (irq = 3) is a 16550A
[ 1.030000] physmap platform flash device: 02000001 at 1c000000
[ 1.040000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001301
[ 1.050000] physmap-flash.0: Found an alias at 0x800000 for the chip at 0x0
[ 1.050000] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[ 1.050000] physmap-flash.0: Found an alias at 0x1800000 for the chip at 0x0
[ 1.050000] Amd/Fujitsu Extended Query Table at 0x0040
[ 1.050000] Amd/Fujitsu Extended Query version 1.3.
[ 1.060000] number of CFI chips: 1
[ 1.080000] 5 bcm47xxpart partitions found on MTD device physmap-flash.0
[ 1.090000] Creating 5 MTD partitions on "physmap-flash.0":
[ 1.090000] 0x000000000000-0x000000040000 : "boot"
[ 1.100000] 0x000000040000-0x0000007f0000 : "firmware"
[ 1.110000] 0x00000004001c-0x0000001bd000 : "linux"
[ 1.120000] mtd: partition "linux" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 1.140000] 0x0000001bd000-0x0000007f0000 : "rootfs"
[ 1.140000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 1.160000] mtd: device 3 (rootfs) set to be root filesystem
[ 1.160000] mtd: partition "rootfs_data" created automatically, ofs=0x400000, len=0x3f0000
[ 1.170000] 0x000000400000-0x0000007f0000 : "rootfs_data"
[ 1.180000] 0x0000007f0000-0x000000800000 : "nvram"
[ 1.210000] libphy: Fixed MDIO Bus: probed
[ 1.210000] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds, Software Timer)
[ 1.220000] GPIO_WDT: failed to register misc device
[ 1.230000] TCP: cubic registered
[ 1.230000] NET: Registered protocol family 17
[ 1.240000] Bridge firewalling registered
[ 1.240000] 8021q: 802.1Q VLAN Support v1.8
[ 1.260000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.270000] Freeing unused kernel memory: 208K (802fc000 - 80330000)
[ 5.000000] pps_core: LinuxPPS API ver. 1 registered
[ 5.000000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 5.020000] PTP clock support registered
[ 5.030000] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0
[ 5.040000] libphy: b44_eth_mii: probed
[ 5.120000] b53_common: found switch: BCM5325, rev 0
[ 5.130000] b44 ssb0:0: attached PHY driver [Broadcom B53 (1)] (mii_bushy_addr=1:1e)
[ 5.140000] b44 ssb0:0 eth0: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00:1b:fc:bf:f1:7f
[ 5.150000] libphy: b44_eth_mii: probed
[ 5.150000] b44 ssb0:1: could not find PHY at 4, use fixed one
[ 5.160000] b44 ssb0:1: attached PHY driver [Generic PHY] (mii_bushy_addr=fixed-0:00)
[ 5.170000] b44 ssb0:1 eth1: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00:90:4c:a1:00:2d
[ 5.180000] bgmac: Broadcom 47xx GBit MAC driver loaded
[ 5.970000] b44 ssb0:0 eth0: Link is down
[ 6.980000] b44 ssb0:0 eth0: Link is down
[ 7.130000] b44 ssb0:0 eth0: Link is up at 100 Mbps, full duplex
[ 7.130000] b44 ssb0:0 eth0: Flow control is off for TX and off for RX
[ 11.870000] jffs2: notice: (253) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 13 of xref (0 dead, 5 orphan) found.
[ 12.930000] usbcore: registered new interface driver usbfs
[ 12.940000] usbcore: registered new interface driver hub
[ 12.940000] usbcore: registered new device driver usb
[ 13.140000] SCSI subsystem initialized
[ 13.160000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 13.170000] ehci-platform: EHCI generic platform driver
[ 13.190000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 13.190000] ohci-platform ohci-platform.0: Generic Platform OHCI Controller
[ 13.200000] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 1
[ 13.210000] ohci-platform ohci-platform.0: irq 2, io mem 0x18003000
[ 13.270000] hub 1-0:1.0: USB hub found
[ 13.280000] hub 1-0:1.0: 2 ports detected
[ 13.300000] usbcore: registered new interface driver usb-storage
[ 13.600000] b44 ssb0:0 eth0: powering down PHY
[ 14.270000] b44 ssb0:0 eth0: Link is down
[ 19.270000] NET: Registered protocol family 10
[ 19.320000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
[ 19.420000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 19.450000] fuse init (API version 7.22)
[ 19.460000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 19.470000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 19.490000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 19.550000] usbcore: registered new interface driver usblp
[ 19.560000] Driver for 1-wire Dallas network protocol.
[ 19.620000] xt_time: kernel timezone is -0000
[ 19.680000] cfg80211: Calling CRDA to update world regulatory domain
[ 19.680000] cfg80211: World regulatory domain updated:
[ 19.690000] cfg80211: DFS Master region: unset
[ 19.690000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 19.700000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.710000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.720000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.730000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.740000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 19.750000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 19.750000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.760000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 19.780000] usbcore: registered new interface driver DS9490R
[ 19.920000] PPP generic driver version 2.4.2
[ 19.940000] NET: Registered protocol family 24
[ 19.990000] b43-phy0: Broadcom 4321 WLAN found (core revision 11)
[ 20.060000] b43-phy0: Found PHY: Analog 5, Type 4 (N), Revision 1
[ 20.070000] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2055, Revision 4, Version 0
[ 20.100000] Broadcom 43xx driver loaded [ Features: PNL ]
[ 20.270000] Broadcom 43xx-legacy driver loaded [ Features: PLD ]
[ 20.290000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 25.990000] b44 ssb0:0 eth0: Link is down
[ 26.000000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 26.990000] b44 ssb0:0 eth0: Link is down
[ 27.570000] b44 ssb0:0 eth0: Link is up at 100 Mbps, full duplex
[ 27.580000] b44 ssb0:0 eth0: Flow control is off for TX and off for RX
[ 28.030000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 33.110000] b44 ssb0:0 eth0: powering down PHY
[ 33.140000] b44 ssb0:0 eth0: Link is down
[ 33.140000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 33.230000] device eth0 entered promiscuous mode
[ 33.230000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 33.330000] b44 ssb0:1 eth1: Link is down
[ 33.330000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 34.140000] b44 ssb0:0 eth0: Link is down
[ 34.330000] b44 ssb0:1 eth1: Link is down
[ 34.850000] br-lan: port 1(eth0) entered forwarding state
[ 34.860000] br-lan: port 1(eth0) entered forwarding state
[ 34.870000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 35.300000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 35.300000] b44 ssb0:1 eth1: Link is up at 100 Mbps, full duplex
[ 35.310000] b44 ssb0:1 eth1: Flow control is off for TX and off for RX
[ 35.340000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 36.860000] br-lan: port 1(eth0) entered forwarding state
root@OpenWrt:~#