OpenELEC Forum
Realtek cardreader found but not functioning on Lenovo Q180 - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5)
+--- Forum: STORAGE (https://forum.openelec.tv/forumdisplay.php?fid=60)
+--- Thread: Realtek cardreader found but not functioning on Lenovo Q180 (/showthread.php?tid=47016)



[WIP]Realtek cardreader found but not functioning on Lenovo Q180 - geeb33 - 09-19-2012

Hi

I'm using latest release (Generic PVR 2.0 1.95.7) on a Lenovo Q180 booting from a USB stick.

Everything works beautifully except for I cannot get OpenELEC to see cards in the integrated Realtek SD/xD/MS card reader (RTS5139). It seems to find and mount them okay when booting a Live Ubuntu 12.04 USB stick in the same machine.

OpenELEC (1.95.7 Generic):
Code:
# lsusb | grep "Realtek"
Bus 001 Device 005: ID 0bda:0139 Realtek Semiconductor Corp. Card reader

# dmesg | grep "scsi"
[ 0.806231] iscsi: registered transport (tcp)
[ 0.959494] scsi0 : ata_piix
[ 0.959671] scsi1 : ata_piix
[ 1.637566] scsi2 : usb-storage 1-3:1.0
[ 2.639134] scsi 2:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 0 CCS
[ 2.640133] sd 2:0:0:0: Attached scsi generic sg0 type 0

# ls /dev/sd*
/dev/sda /dev/sda1 /dev/sda2

Ubuntu (lubuntu 12.04 x64 booted from USB):
Code:
$ lsusb |grep "Realtek"
Bus 001 Device 004: ID 0bda:0139 Realtek Semiconductor Corp.

$ dmesg|grep "scsi"
[ 1.254639] scsi0 : ata_piix
[ 1.254818] scsi1 : ata_piix
[ 1.723629] scsi2 : usb-storage 1-3:1.0
[ 2.722309] scsi 2:0:0:0: Direct-Access USB DISK 2.0
PMAP PQ: 0 ANSI: 0 CCS
[ 2.723392] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 2.768229] scsi3 : usb-storage 6-2:1.0
[ 3.891428] scsi 3:0:0:0: Direct-Access Kingston DT 101 G2
PMAP PQ: 0 ANSI: 0 CCS
[ 3.892586] sd 3:0:0:0: Attached scsi generic sg1 type 0
[ 10.897085] scsi4 : SCSI emulation for RTS5139 USB card reader
[ 10.897848] scsi 4:0:0:0: Direct-Access Generic- xD/SD/M.S.
1.00 PQ: 0 ANSI: 0 CCS
[ 10.900866] sd 4:0:0:0: Attached scsi generic sg2 type 0

I know my comparison is a bit apples and oranges, however it looks like the card reader is identified differently but more significantly the openelec doesn't seem to try any SCSI emulation which is occurring in Ubuntu.

Does anyone have any idea of why this could be happening? Many thanks.


Re: Realtek cardreader found but not functioning on Lenovo Q180 - Cowbalt - 09-19-2012

Please do keep in mind that we don't provide a full blown operating system. Hence specific configurations can possibly not work with our OS. We base the operating system with a little bit of the KIS rule applied Wink (Keep It Simple).

It still looks like a driver issue, so maybe you do a driver request on github. Keep in mind, our focus is currently not on adding drivers, but getting out OE2.0 asap, so all users can use XBMC based on Eden.

Driver request must contain output from dmesg, /var/log/messages, lsub, lspci While runnning openelec.

TIA.


Re: Realtek cardreader found but not functioning on Lenovo Q180 - chewitt - 09-20-2012

OpenELEC has a "less is more" approach to development which means we only add the minimum necessary drivers to support the hardware in our target platform - HTPCs. Laptops are not a target since they are well served by other "normal" Linux distro's and there's a native XBMC app for Windows. If you can tell us which driver or kernel config options are required to support this you're welcome to file a driver request on github, but I wouldn't be too surprised if it gets a 'won't fix' response from the dev team.


Re: Realtek cardreader found but not functioning on Lenovo Q180 - geeb33 - 09-20-2012

Hi Cowbalt and chewitt

Thanks for your quick replies and advice.

I'll do a driver request on github. I agree it's not critical, however since this is a HTPC type solution (not a laptop) and that cardreaders are fairly prolific I hope they will add it in.

I am not entirely surprised that the Realtek RTS5139 isn't treated as a class device within OpenELEC - it has a newish chip since it supports SDHC, SDXC, etc.

Many thanks again.


Re: Realtek cardreader found but not functioning on Lenovo Q180 - Cowbalt - 09-20-2012

ok, Thanks for your contribution geeb33... will go ahead with closure of this threat and will see the driver request on github.


RE: Realtek cardreader found but not functioning on Lenovo Q180 - vydernugadaa2 - 09-30-2020

личн145.5ReprNatuХореСокоН-51раннШабуАМСаДавиE254УтчеМураMarvнаучbookБулаШлафDekoрозеТрухStef
FyodTesc4040R531GeorDoroсертCeleJuleAlfrLuciСтойуслоPerfRelaKeraAquaDropNL07AlexpentPaleувол
ИсаеBreaElleсертCotoсертУкраnachливеCurtмонаКоваДворPaulArthQuikSilvAgesPrinPrinElsaIrisдруг
FritIlluДунаXVIIЛугоиллюClifZoneсоюзшироdiamdiamканословпроц3210ZoneмедвNasoхар-WilhZoneZone
Царс7485ИллюКресLopeКостPierПогооконавтодейсМилоЗаваЦветдругсодеRudoXVIIЧернИллюМороистовосп
JacqвазочернмесярассПроиWhirSamsсизаПушкAndyЗасоJasm9046АртиАндр3270ClasПятнSonyпамязавеRock
BotaинстFS-0BlanкориподлWindWindStudElegLEGODysoBorkGantChoiЛитРДончWillAureIIthJeweЛитРЮжин
ЩербЛитРГлезВесекавкКоптAcadСигеразнSympJeweСтучPhilШантModeразвЛенсRaksMarkXVIIFrieAdobRobe
РоссNeilавтоИлюхВаулСовеавтоЗасоСтарСемеавтокульГоряпераБориRowlGladOttoМитяСемеавтомесямеся
месяGottAndrЖукоЯшукPennбудуCompвозриздапереМихаСудаtuchkasMoirХубе