树莓派3B+,无线网卡和声卡无法使用

#1

树莓派3B+安装Tumbleweed 20190607以后,iwconfig和yast内找不到无线网卡,按照3B的做法修改 /etc/dracut.conf.d/raspberrypi_modules.conf不起作用,iwconfig还是看不到网卡。
声卡加载了snd_bcm2835的内核模块以后,lsmod显示已经加载模块,但是在yast的sound配置内还是看不到声卡,
另外系统语言设置中文以后yast的模块列表还是英文的,而且相比桌面版少了一批模块,用软件管理装上yast2 pattern全部内容后,就进不去软件管理、语言、时区模块了,报错:sbin/yast: line 461: 1724 Killed $ybindir/y2start $module “$@” “$SELECTED_GUI” $Y2_GEOMETRY $Y2UI_ARGS,用zypper重新安装yast2无效,只能重新写镜像,

uname -a内核版本:

Linux suse-pi 5.1.7-1-default #1 SMP Tue Jun 4 07:56:54 UTC 2019 (55f2451) aarch64 aarch64 aarch64 GNU/Linux

dmesg|grep bcm:
dmesg|grep bcm
[ 9.465903] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 14.044686] sdhost-bcm2835 3f202000.mmc: loaded - DMA enabled (>1)
[ 28.300481] bcm2835-rng 3f104000.rng: hwrng registered
[ 29.310971] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 29.419779] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 29.431047] bcm2835_audio bcm2835_audio: card created with 8 channels

#2

:new_moon_with_face::new_moon_with_face: openSUSE的raspberry pi镜像的确有点……不太好用,建议3B+用iso装,临睡前开始装然后直接去上床睡觉的那种

#3

怎么用iso安装呢…
看HCL底下那些好像有点麻烦的

#4

不麻烦……只是需要提前把boot分区在卡上分出来,把固件扔进去,按照HCL做就能做好,然后把iso烧进U盘他会自动从U盘启动的,后续安装过程就和平时装系统一样了,唯一要注意的一点就是在磁盘分区挂载中,系统默认会把最开始分的那个分区挂载进/boot/vc,这个挂载点千万不要去改去删。

#5

可是不太好重装了现在…mySQL之类的都已经配置了:joy:

#6

dmesg全部输出:
dmesg.txt (24 KB)

#7

另外,3.5in的SPI触摸屏也无法显示,显示是白屏
dmesg有输出检测到这个屏幕

#8

我的6个3B+ 都能用wifi 和显示 还有音频,一样用的TW 只不过是ISO装到SD卡上的,从2月份开始时不时就zypper dup,一开始并不支持无线,忘记是哪一天突然开始支持无线网卡了.yast一直都很正常 修改什么也都没见过有问题.我也贴一下uname -a 还有 lshw,实在不行,你就备份一下什么mySQL的配置文件就好了,如果有数据,就停止服务再备份一下数据就好了.ISO展开很快的,5张16GB的 一张128GB的 展开速度差不多,我也不知道为什么.

Linux RPi-Server 5.1.7-1-default #1 SMP Tue Jun 4 07:56:54 UTC 2019 (55f2451) aarch64 aarch64 aarch64 GNU/Linux

description: Desktop Computer
product: Raspberry Pi 3 Model B Plus Rev 1.3
vendor: raspberrypi
serial: 00000000ce5aa813
width: 64 bits
capabilities: smbios-3.0.0 dmi-3.0.0 smp cp15_barrier setend swp
configuration: boot=normal chassis=desktop uuid=30303030-3030-3030-6365-356161383133
*-core
description: Motherboard
product: rpi
vendor: raspberrypi
physical id: 0
*-firmware
description: BIOS
vendor: U-Boot
physical id: 0
version: 2019.04
date: 04/09/2019
size: 1MiB
capabilities: pci upgrade bootselect i2oboot
*-cpu:0 DISABLED
description: CPU [empty]
vendor: Unknown
physical id: 4
version: Unknown
*-cpu:1
description: CPU
product: cpu
physical id: 1
bus info: cpu@0
size: 1400MHz
capabilities: fp asimd evtstrm crc32 cpuid
*-cpu:2
description: CPU
product: cpu
physical id: 2
bus info: cpu@1
size: 1400MHz
capabilities: fp asimd evtstrm crc32 cpuid
*-cpu:3
description: CPU
product: cpu
physical id: 3
bus info: cpu@2
size: 1400MHz
capabilities: fp asimd evtstrm crc32 cpuid
*-cpu:4
description: CPU
product: cpu
physical id: 5
bus info: cpu@3
size: 1400MHz
capabilities: fp asimd evtstrm crc32 cpuid
*-memory
description: System memory
physical id: 6
size: 1GiB
*-usbhost
product: DWC OTG Controller
vendor: Linux 5.1.7-1-default dwc2_hsotg
physical id: 1
bus info: usb@1
logical name: usb1
version: 5.01
capabilities: usb-2.00
configuration: driver=hub slots=1 speed=480Mbit/s
*-usb
description: USB hub
product: USB 2.0 Hub
vendor: Standard Microsystems Corp.
physical id: 1
bus info: usb@1:1
version: b.b3
capabilities: usb-2.00
configuration: driver=hub maxpower=2mA slots=4 speed=480Mbit/s
*-usb
description: USB hub
product: USB 2.0 Hub
vendor: Standard Microsystems Corp.
physical id: 1
bus info: usb@1:1.1
version: b.b3
capabilities: usb-2.00
configuration: driver=hub maxpower=2mA slots=3 speed=480Mbit/s
*-usb
description: Ethernet interface
vendor: Standard Microsystems Corp.
physical id: 1
bus info: usb@1:1.1.1
logical name: eth0
version: 3.00
serial: b8:27:eb:5a:a8:13
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: usb-2.10 ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=lan78xx duplex=full ip=192.168.100.150 link=yes maxpower=2mA multicast=yes port=MII speed=1Gbit/s
*-network DISABLED
description: Wireless interface
physical id: 2
logical name: wlan0
serial: b8:27:eb:0f:fd:46
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=brcmfmac driverversion=7.45.18 firmware=01-6a2c8ad4 multicast=yes wireless=IEEE 802.11

#9

补充一组yast的截图,因为我没有用wifi,只能截个图给你看看在yast下至少到搜索SSID这一步都是正常的,能搜索SSID的话,应该连接上去也是没问题的,2.4G和5G都能搜到.

#10

我的lshw结果:
suse-pi
description: Desktop Computer
product: Raspberry Pi 3 Model B Plus Rev 1.3
vendor: raspberrypi
serial: 000000000529e542
width: 64 bits
capabilities: smbios-3.0.0 dmi-3.0.0 smp cp15_barrier setend swp
configuration: boot=normal chassis=desktop uuid=30303030-3030-3030-3035-323965353432
*-core
description: Motherboard
product: rpi
vendor: raspberrypi
physical id: 0
*-firmware
description: BIOS
vendor: U-Boot
physical id: 0
version: 2019.04
date: 04/09/2019
size: 1MiB
capabilities: pci upgrade bootselect i2oboot
*-cpu:0 DISABLED
description: CPU [empty]
vendor: Unknown
physical id: 4
version: Unknown
*-cpu:1
description: CPU
product: cpu
physical id: 1
bus info: cpu@0
size: 1400MHz
capabilities: fp asimd evtstrm crc32 cpuid
*-cpu:2
description: CPU
product: cpu
physical id: 2
bus info: cpu@1
size: 1400MHz
capabilities: fp asimd evtstrm crc32 cpuid
*-cpu:3
description: CPU
product: cpu
physical id: 3
bus info: cpu@2
size: 1400MHz
capabilities: fp asimd evtstrm crc32 cpuid
*-cpu:4
description: CPU
product: cpu
physical id: 5
bus info: cpu@3
size: 1400MHz
capabilities: fp asimd evtstrm crc32 cpuid
*-memory
description: System memory
physical id: 6
size: 1GiB
*-usbhost
product: DWC OTG Controller
vendor: Linux 5.1.7-1-default dwc2_hsotg
physical id: 1
bus info: usb@1
logical name: usb1
version: 5.01
capabilities: usb-2.00
configuration: driver=hub slots=1 speed=480Mbit/s
*-usb
description: USB hub
product: USB 2.0 Hub
vendor: Standard Microsystems Corp.
physical id: 1
bus info: usb@1:1
version: b.b3
capabilities: usb-2.00
configuration: driver=hub maxpower=2mA slots=4 speed=480Mbit/s
*-usb
description: USB hub
product: USB 2.0 Hub
vendor: Standard Microsystems Corp.
physical id: 1
bus info: usb@1:1.1
version: b.b3
capabilities: usb-2.00
configuration: driver=hub maxpower=2mA slots=3 speed=480Mbit/s
*-usb:0
description: Ethernet interface
vendor: Standard Microsystems Corp.
physical id: 1
bus info: usb@1:1.1.1
logical name: eth0
version: 3.00
serial: b8:27:eb:29:e5:42
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: usb-2.10 ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=lan78xx duplex=full ip=192.168.2.105 link=yes maxpower=2mA multicast=yes port=MII speed=1Gbit/s
*-usb:1
description: Mass storage device
product: Cruzer Blade
vendor: SanDisk
physical id: 3
bus info: usb@1:1.1.3
logical name: scsi0
version: 1.00
serial: 4C530001280525112112
capabilities: usb-2.00 scsi emulated scsi-host
configuration: driver=usb-storage maxpower=200mA speed=480Mbit/s
*-disk
description: SCSI Disk
product: Cruzer Blade
vendor: SanDisk
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 1.00
serial: 4C530001280525112112
size: 14GiB (15GB)
capabilities: removable
configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512
*-medium
physical id: 0
logical name: /dev/sda
size: 14GiB (15GB)
capabilities: partitioned partitioned:dos
configuration: signature=a1838330
*-volume:0 UNCLAIMED
description: Windows FAT volume
vendor: mkfs.fat
physical id: 1
version: FAT16
serial: b850-60fd
size: 15EiB
capabilities: primary fat initialized
configuration: FATs=2 filesystem=fat label=EFI
*-volume:1
description: EXT4 volume
vendor: Linux
physical id: 2
logical name: /dev/sda2
logical name: /
version: 1.0
serial: 62f6f70d-4e36-40e6-954d-da84cccad79e
size: 14GiB
capacity: 14GiB
capabilities: primary journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
configuration: created=2019-06-08 09:12:37 filesystem=ext4 label=ROOT lastmountpoint=/sysroot modified=2019-05-28 17:58:21 mount.fstype=ext4 mount.options=rw,noatime,nobarrier mounted=2019-05-28 17:58:21 state=mounted
*-volume:2
description: Linux swap volume
physical id: 3
logical name: /dev/sda3
version: 1
serial: 0ab9477e-2904-4ab0-91d0-c28a40329d43
size: 478MiB
capacity: 478MiB
capabilities: primary swap initialized
configuration: filesystem=swap label=SWAP pagesize=4096

#11

用DVD装不行啊…用aarch64的DVD进去是能进GRUB,选安装,加载完initramfs就黑屏了

#12

JeOS啊 用这个iso 写入到SD卡里去啊

#14

http://download.opensuse.org/ports/aarch64/tumbleweed/iso/openSUSE-Tumbleweed-DVD-aarch64-Current.iso
这个吗

#15

简单来说,就是把你想要的JeOS iso用DD弄到SD卡上 或者找个什么可以烧录SD卡的工具,反正我用Gnome的磁盘工具 直接恢复镜像到SD卡 也可以,烧录好以后,插入SD卡到树莓派,然后开机,等,等,等下去,如果觉得时间太漫长,可以尝试去路由器上找一下树莓派的ip地址,然后直接ssh连接到树莓派,账号密码默认好像是 用户root 密码linux 具体是啥 我忘记了,可以搜索一下.

参阅如下地址

树莓派3的 3A 3B+ 也一样
https://en.opensuse.org/HCL:Raspberry_Pi3

显示的部分参阅这里
https://en.opensuse.org/HCL:Raspberry_Pi3_LCD

#16

我就是用这个出现的问题,E20的也一样

#17

实在不行就尝试找一个旧一点的镜像 装好以后再dup到最新呗 这个镜像我用的没有问题 考虑烧录过程是不是有问题?

#18

看上面回复的网址 有一个步骤

As root extract the image onto your SD card ( replace sdX with the device name of your SD card ).
WARNING: all previous data on the SD card will be lost. Check first if the device you have selected is really your SD card!

xzcat [image].raw.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct status=progress; sync

这个有命令 照着改就好了 sd读卡器可能是 /dev/mmcblk0 这样的,做之前用su 到超级用户来执行.