Bug#594642: linux-image: add sm7xx (Staging driver)
Package: linux-2.6
Version: 2.6.35-1~experimental.2
Severity: wishlist
*** Please type your report below this line ***
The Lemote YeeLoong is a MIPS-based netbook:
http://wiki.gnewsense.org/Projects/Lemote#toc17
The display adapter shows in lspci as:
00:08.0 VGA compatible controller [0300]: Silicon Motion, Inc. SM712 LynxEM+ [126f:0712] (rev b0)
Kernel driver in use: smtcfb
In order to have frame-buffer support in it, it seems that the Staging
driver sm7xx is needed. With it I get a working console and FB-based X.
What would be required to get this driver included in the Debian kernel
package?
-- Package-specific info:
** Version:
Linux version 2.6.35-trunk-loongson-2f (Debian 2.6.35-1~experimental.2) (maks@debian.org) (gcc version 4.4.5 20100728 (prerelease) (Debian 4.4.4-8) ) #1 Tue Aug 17 21:45:32 UTC 2010
** Command line:
console=tty root=/dev/sda1 PMON_VER=LM8089-1.4.5 EC_VER=PQ1D20 machtype=lemote-yeeloong-2f-8.9inches
** Not tainted
** Kernel log:
[ 4.412000] usb usb1: Product: EHCI Host Controller
[ 4.412000] usb usb1: Manufacturer: Linux 2.6.35-trunk-loongson-2f ehci_hcd
[ 4.412000] usb usb1: SerialNumber: 0000:00:09.1
[ 4.412000] hub 1-0:1.0: USB hub found
[ 4.412000] hub 1-0:1.0: 2 ports detected
[ 4.412000] PCI: Setting latency timer of device 0000:00:0e.5 to 64
[ 4.412000] ehci_hcd 0000:00:0e.5: EHCI Host Controller
[ 4.412000] ehci_hcd 0000:00:0e.5: new USB bus registered, assigned bus number 2
[ 4.436000] ehci_hcd 0000:00:0e.5: irq 11, io mem 0x41022000
[ 4.448000] ehci_hcd 0000:00:0e.5: USB 0.0 started, EHCI 1.00
[ 4.448000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 4.448000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.448000] usb usb2: Product: EHCI Host Controller
[ 4.448000] usb usb2: Manufacturer: Linux 2.6.35-trunk-loongson-2f ehci_hcd
[ 4.448000] usb usb2: SerialNumber: 0000:00:0e.5
[ 4.448000] hub 2-0:1.0: USB hub found
[ 4.448000] hub 2-0:1.0: 4 ports detected
[ 4.508000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.508000] PCI: Enabling device 0000:00:09.0 (0140 -> 0142)
[ 4.508000] ohci_hcd 0000:00:09.0: OHCI Host Controller
[ 4.508000] ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 3
[ 4.508000] ohci_hcd 0000:00:09.0: irq 39, io mem 0x41020000
[ 4.564000] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 4.564000] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.564000] usb usb3: Product: OHCI Host Controller
[ 4.564000] usb usb3: Manufacturer: Linux 2.6.35-trunk-loongson-2f ohci_hcd
[ 4.564000] usb usb3: SerialNumber: 0000:00:09.0
[ 4.564000] hub 3-0:1.0: USB hub found
[ 4.564000] hub 3-0:1.0: 2 ports detected
[ 4.564000] PCI: Enabling device 0000:00:0e.4 (0000 -> 0002)
[ 4.564000] PCI: Setting latency timer of device 0000:00:0e.4 to 64
[ 4.564000] ohci_hcd 0000:00:0e.4: OHCI Host Controller
[ 4.564000] ohci_hcd 0000:00:0e.4: new USB bus registered, assigned bus number 4
[ 4.564000] ohci_hcd 0000:00:0e.4: irq 11, io mem 0x41021000
[ 4.692000] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 4.692000] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.692000] usb usb4: Product: OHCI Host Controller
[ 4.692000] usb usb4: Manufacturer: Linux 2.6.35-trunk-loongson-2f ohci_hcd
[ 4.692000] usb usb4: SerialNumber: 0000:00:0e.4
[ 4.696000] hub 4-0:1.0: USB hub found
[ 4.696000] hub 4-0:1.0: 4 ports detected
[ 4.724000] usb 1-1: new high speed USB device using ehci_hcd and address 2
[ 4.896000] usb 1-1: New USB device found, idVendor=064e, idProduct=a114
[ 4.896000] usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[ 4.896000] usb 1-1: Product: USB 2.0 Camera
[ 4.896000] usb 1-1: Manufacturer: SuYin
[ 4.896000] usb 1-1: SerialNumber: CN0317-S30C-MC03-VS-B20081113
[ 5.044000] usb 2-1: new high speed USB device using ehci_hcd and address 2
[ 5.188000] usb 2-1: New USB device found, idVendor=0bda, idProduct=0158
[ 5.188000] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5.188000] usb 2-1: Product: USB2.0-CRW
[ 5.188000] usb 2-1: Manufacturer: Generic
[ 5.188000] usb 2-1: SerialNumber: 20071114173400000
[ 5.308000] usb 2-4: new high speed USB device using ehci_hcd and address 3
[ 5.348000] usbcore: registered new interface driver usbserial
[ 5.348000] USB Serial support registered for generic
[ 5.448000] usb 2-4: New USB device found, idVendor=0bda, idProduct=8189
[ 5.448000] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5.448000] usb 2-4: Product: RTL8187B_WLAN_Adapter
[ 5.448000] usb 2-4: Manufacturer: Manufacturer_Realtek
[ 5.448000] usb 2-4: SerialNumber: 00e04c000001
[ 5.452000] usbcore: registered new interface driver usbserial_generic
[ 5.456000] usbserial: USB Serial Driver core
[ 5.632000] USB Serial support registered for GSM modem (1-port)
[ 5.632000] usbcore: registered new interface driver option
[ 5.632000] option: v0.7.2:USB Driver for GSM modems
[ 5.672000] Initializing USB Mass Storage driver...
[ 5.692000] scsi2 : usb-storage 2-1:1.0
[ 5.696000] usbcore: registered new interface driver usb-storage
[ 5.696000] USB Mass Storage support registered.
[ 5.708000] Linux video capture interface: v2.00
[ 5.920000] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (064e:a114)
[ 5.936000] input: USB 2.0 Camera as /devices/pci0000:00/0000:00:09.1/usb1/1-1/1-1:1.0/input/input2
[ 5.936000] usbcore: registered new interface driver uvcvideo
[ 5.936000] USB Video Class driver (v0.1.0)
[ 6.160000] PCI: Setting latency timer of device 0000:00:0e.3 to 64
[ 6.184000] cfg80211: Calling CRDA to update world regulatory domain
[ 6.700000] scsi 2:0:0:0: Direct-Access Generic- Multi-Card 1.00 PQ: 0 ANSI: 0 CCS
[ 6.732000] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 7.008000] phy0: Selected rate control algorithm 'minstrel'
[ 7.012000] phy0: hwaddr 00:17:c4:5a:20:81, RTL8187BvE V0 + rtl8225z2, rfkill mask 2
[ 7.044000] rtl8187: Customer ID is 0x00
[ 7.048000] Registered led device: rtl8187-phy0::radio
[ 7.052000] Registered led device: rtl8187-phy0::tx
[ 7.056000] Registered led device: rtl8187-phy0::rx
[ 7.056000] rtl8187: wireless switch is off
[ 7.060000] usbcore: registered new interface driver rtl8187
[ 7.352000] udev: renamed network interface wlan0 to wlan1
[ 8.540000] EXT3-fs (sda1): using internal journal
[ 8.824000] loop: module loaded
[ 9.060000] Silicon Motion display driver version 0.11.2619.21.01 July 27, 2008
[ 9.068000] Console: switching to colour frame buffer device 128x37
[ 9.152000] Silicon Motion SM712 RevB0 primary display mode1024x600-16 Init Complete.
[ 14.044000] fuse init (API version 7.14)
[ 24.204000] NET: Registered protocol family 10
[ 24.212000] lo: Disabled Privacy Extensions
[ 55.168000] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 58.208000] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 58.776000] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 69.136000] eth0: no IPv6 routers present
** Model information
system type : lemote-yeeloong-2f-8.9inches
cpu model : ICT Loongson-2 V0.3 FPU V0.1
** Loaded modules:
Module Size Used by
cpufreq_conservative 10988 0
cpufreq_userspace 2144 0
cpufreq_stats 3064 0
cpufreq_powersave 1078 0
ipv6 373340 12
parport_pc 24468 0
parport 39235 1 parport_pc
binfmt_misc 8863 1
fuse 76043 1
sm7xx 12174 2
loop 16907 0
arc4 1450 2
ecb 2545 2
rtl8187 70794 0
mac80211 240048 1 rtl8187
led_class 3227 1 rtl8187
snd_cs5535audio 11827 0
cfg80211 180725 2 rtl8187,mac80211
snd_ac97_codec 132995 1 snd_cs5535audio
rfkill 20886 1 cfg80211
uvcvideo 70210 0
ac97_bus 1278 1 snd_ac97_codec
snd_pcm_oss 50563 0
videodev 52110 1 uvcvideo
eeprom_93cx6 1944 1 rtl8187
usb_storage 49561 0
option 16050 0
snd_mixer_oss 21635 1 snd_pcm_oss
v4l1_compat 17842 2 uvcvideo,videodev
v4l2_compat_ioctl32 18646 1 videodev
usb_wwan 11391 1 option
i2c_core 22613 1 videodev
usbserial 36688 2 option,usb_wwan
snd_pcm 88431 3 snd_cs5535audio,snd_ac97_codec,snd_pcm_oss
snd_seq_midi 6496 0
snd_rawmidi 24545 1 snd_seq_midi
snd_seq_midi_event 6068 1 snd_seq_midi
snd_seq 64168 2 snd_seq_midi,snd_seq_midi_event
ohci_hcd 25933 0
snd_timer 23391 2 snd_pcm,snd_seq
ehci_hcd 44792 0
snd_seq_device 7029 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 69405 9 snd_cs5535audio,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
usbcore 182718 9 rtl8187,uvcvideo,option,usb_storage,usb_wwan,usbserial,ohci_hcd,ehci_hcd
soundcore 5919 1 snd
8139too 24222 0
loongson2_cpufreq 2843 0
evdev 11071 5
snd_page_alloc 6989 2 snd_cs5535audio,snd_pcm
rtc_cmos 8329 0
loongson2_clock 2552 1 loongson2_cpufreq
mii 4730 1 8139too
nls_base 7313 1 usbcore
** PCI devices:
00:07.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 37
Region 0: I/O ports at 4000 [size=256]
Region 1: Memory at 41023000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at 41000000 [size=128K]
Capabilities: <access denied>
Kernel driver in use: 8139too
00:08.0 VGA compatible controller [0300]: Silicon Motion, Inc. SM712 LynxEM+ [126f:0712] (rev b0) (prog-if 00 [VGA controller])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Interrupt: pin A routed to IRQ 38
Region 0: Memory at 40000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: <access denied>
Kernel driver in use: smtcfb
00:09.0 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 44) (prog-if 10 [OHCI])
Subsystem: NEC Corporation Hama USB 2.0 CardBus [1033:0035]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (250ns min, 10500ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 39
Region 0: Memory at 41020000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd
00:09.1 USB Controller [0c03]: NEC Corporation USB 2.0 [1033:00e0] (rev 05) (prog-if 20 [EHCI])
Subsystem: NEC Corporation USB 2.0 [1033:00e0]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (4000ns min, 8500ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 39
Region 0: Memory at 41023100 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
00:0e.0 ISA bridge [0601]: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA [1022:2090] (rev 03)
Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA [1022:2090]
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Region 0: I/O ports at 4c70 [size=8]
Region 1: I/O ports at 4400 [size=256]
Region 2: I/O ports at 4c00 [size=64]
Region 4: I/O ports at 4800 [size=128]
Region 5: I/O ports at 4c40 [size=32]
00:0e.2 IDE interface [0101]: Advanced Micro Devices [AMD] CS5536 [Geode companion] IDE [1022:209a] (rev 01) (prog-if 80 [Master])
Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] IDE [1022:209a]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (16000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 14
Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
Region 4: I/O ports at 4c60 [size=16]
Kernel driver in use: pata_amd
00:0e.3 Multimedia audio controller [0401]: Advanced Micro Devices [AMD] CS5536 [Geode companion] Audio [1022:2093] (rev 01)
Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] Audio [1022:2093]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0 (16000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at 4880 [size=128]
Kernel driver in use: cs5535audio
00:0e.4 USB Controller [0c03]: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC [1022:2094] (rev 02) (prog-if 10 [OHCI])
Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC [1022:2094]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0 (16000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 41021000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
00:0e.5 USB Controller [0c03]: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC [1022:2095] (rev 02) (prog-if 20 [EHCI])
Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC [1022:2095]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0 (16000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 41022000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ehci_hcd
** USB devices:
Bus 002 Device 003: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter
Bus 002 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 064e:a114 Suyin Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: mipsel (mips64)
Kernel: Linux 2.6.35-trunk-loongson-2f
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-image-2.6.35-trunk-loongson-2f depends on:
ii debconf [debconf 1.5.35 Debian configuration management sy
ii linux-base 2.6.35-1~experimental.2 Linux image base package
ii module-init-tool 3.12-1 tools for managing Linux kernel mo
Versions of packages linux-image-2.6.35-trunk-loongson-2f recommends:
pn firmware-linux-free <none> (no description available)
Versions of packages linux-image-2.6.35-trunk-loongson-2f suggests:
pn linux-doc-2.6.35 <none> (no description available)
Versions of packages linux-image-2.6.35-trunk-loongson-2f is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
pn firmware-linux <none> (no description available)
pn firmware-linux-nonfree <none> (no description available)
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)
-- debconf information:
linux-image-2.6.35-trunk-loongson-2f/postinst/missing-firmware-2.6.35-trunk-loongson-2f:
linux-image-2.6.35-trunk-loongson-2f/postinst/depmod-error-initrd-2.6.35-trunk-loongson-2f: false
linux-image-2.6.35-trunk-loongson-2f/postinst/ignoring-do-bootloader-2.6.35-trunk-loongson-2f:
linux-image-2.6.35-trunk-loongson-2f/prerm/removing-running-kernel-2.6.35-trunk-loongson-2f: true
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
tzafrir@debian.org | | friend
Reply to: