Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 632
Location: Kraków/Cracow, Poland

PostPosted: Tue Jul 15, 2014 8:38 pm    Post subject: [SOLVED] 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reply with quote

Hi *.

I've problem with card reader mentioned above. It should be supported with RTS5139 driver, so I have this compiled:
Code:
$ zcat /proc/config.gz | grep RTS5139=
CONFIG_RTS5139=y
$ zcat /proc/config.gz | grep STAGING=
CONFIG_STAGING=y
$ uname -r
3.15.3-gentoo-dtop-v1


But still there are no block devices, etc. The only thing mentioned in dmesg is:
Code:
$ dmesg | grep 5139
[    1.985560] usbcore: registered new interface driver rts5139


Any ideas? I couldn't find anything useful, most of the people report this driver working.


Last edited by manwe_ on Thu Aug 07, 2014 2:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Tue Jul 15, 2014 8:52 pm    Post subject: Reply with quote

manwe_,

Lets start at the beginning please.

USB device Vendor=0bda Device ID=0139 is indeed a USB card reader.
It needs much more in the kernel to show you block devices though.

You will also need the driver for your USB chip set.
usb-storage support, SCSI Generic Support and to use more that the first slot, Scan all LUNs.

To pin this down, we need your kernel config file and the output of lspci.
Put the .config on a pastebin site as its too big to fit in a post. wgetpaste is your friend.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 632
Location: Kraków/Cracow, Poland

PostPosted: Wed Jul 16, 2014 9:32 pm    Post subject: Reply with quote

Code:
CONFIG_SCSI_MULTI_LUN=y
CONFIG_USB_STORAGE=y
CONFIG_CHR_DEV_SG=y


I have all those options in place, standard pendrives are working without any problem :) Full config: http://pastebin.com/TguPmB1R
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 632
Location: Kraków/Cracow, Poland

PostPosted: Fri Jul 18, 2014 2:31 pm    Post subject: Reply with quote

Shameless bump :roll:
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Fri Jul 18, 2014 7:01 pm    Post subject: Reply with quote

manwe_,

Your kernel looks OK. Lets see what your USB device tree looks like, in case its USB power issues.
Please pastebin
Code:
lsusb -vvv

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 632
Location: Kraków/Cracow, Poland

PostPosted: Tue Jul 22, 2014 10:38 am    Post subject: Reply with quote

Here it is: http://pastebin.com/raw.php?i=KwDMbPca

Thanks in advance.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Tue Jul 22, 2014 5:19 pm    Post subject: Reply with quote

manwe_,

Your USB Bus 01 is overloaded. Its a USB 2 port that can supply a maximum of 500mA.

Your card reader needs all of that and you have a 100mA Blutetooth device connected to the same bus too.


For testing, can you remove the Bluetooth device?
You have an unused USB bus too. Splitting the devices one on one bus, one on the other can make a big difference.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 632
Location: Kraków/Cracow, Poland

PostPosted: Tue Jul 22, 2014 11:15 pm    Post subject: Reply with quote

Well, wish I could but… it's built in. I have Asus N550JK notebook and all you see in that listing is mounted inside. All external devices were removed before executing lsusb.

p.s.
I don't think it's the hardware/power problem. Reader is working fine under Win7x64. Just checked.
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 632
Location: Kraków/Cracow, Poland

PostPosted: Thu Aug 07, 2014 2:47 pm    Post subject: Reply with quote

Kernel 3.16.0 with CONFIG_MMC_REALTEK_USB (instead of CONFIG_RTS5139) and now everything is working fine :)
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 647
Location: Los Angeles

PostPosted: Thu Aug 14, 2014 1:24 am    Post subject: Reply with quote

Quote:
Kernel 3.16.0 with CONFIG_MMC_REALTEK_USB (instead of CONFIG_RTS5139) and now everything is working fine :)


Thanks!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum