You are not logged in.

#1 2016-07-07 02:56:11

BhaskarK
Member
Registered: 2016-07-07
Posts: 8

USB 3.0 ports, DMs and other maladies

So, I just purchased a laptop for college and decided to install Arch on it. Being a stupid person (and a complete linux beginner) I have finally gone ahead and did it by following a large number of guides simultaneously (and obviously the Beginner's guide). Now I have a perfectly usable Arch+xfce4 environment on my desktop, but there are still some problems that I have been stuck upon (even after furious Googling). Here are they:

1. presently I have added

exec startxfce4

to my xinitrc file to start xfce with

startx

after login. I tried installing lxdm for a more slick login interface but it failed miserably when the system got stuck at

 [OK] Target Graphical Interface Reached 

. Tried lightdm and it even failed to start on boot. Any idea what might be causing this ?

2. I have a 1TB hard disk which I have partitioned into three : 100g for Arch,400g as /home and 500g as /home1 (all ext4). Being a complete Linux noob, I want to know whether the /home directory will retain data when I decide to replace arch in the very far future (I hope).

3. So my partitions are visible in the "File system" as home and home1 directories and are easily accesible, but previously on Ubuntu, I remember that they were visible separately along with "File System" in the Devices tab. Please throw some light. Here's the sidebar of my Thunar Manager and the concerned home and home1 folders.

http://i.imgur.com/WzAzRDR.png


4. And finally, my USB 3.0 ports seem not to be accepting my USB drive. The pen drive is working fine on the 2.0 port and even the wired mouse is working fine on the 3.0 ports. But, when I attach the flash drive, nothing turns up on the desktop. Here's my lsusb output.

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 006: ID 13d3:3423 IMC Networks 
Bus 001 Device 003: ID 04f2:b483 Chicony Electronics Co., Ltd 
Bus 001 Device 010: ID 04ca:0061 Lite-On Technology Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

EDIT:
Seems like every usb device except my SONY 32GB flash drive is working. I tried another flash drive and it got detected instantly.


Happy tweaking!

Last edited by jasonwryan (2016-07-07 08:39:44)

Offline

#2 2016-07-07 08:28:04

dazemc
Member
From: Seattle, Washington, USA
Registered: 2013-03-02
Posts: 64

Re: USB 3.0 ports, DMs and other maladies

1. How are you trying to start lxdm

2.a If you don't touch the /home partions then you can do whatever to / (root partion)

2.b Just out of curiosity why are you using two home partions?

3. Honestly not sure why it doesn't show up on the tab.
    I would say it's most likely on purpose that partions mounted in fstab are not listed.
    /etc/fstab is the file that tells your partions where and how to mount.

4. Are you saying that the SONY flash drive is not working on either 2.0 or 3.0?

Offline

#3 2016-07-07 08:40:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: USB 3.0 ports, DMs and other maladies


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2016-07-07 14:47:59

BhaskarK
Member
Registered: 2016-07-07
Posts: 8

Re: USB 3.0 ports, DMs and other maladies

Oops, sorry for the wrong image placement .

dazemc wrote:

1. How are you trying to start lxdm
2.a If you don't touch the /home partions then you can do whatever to / (root partion)
2.b Just out of curiosity why are you using two home partions?
3. Honestly not sure why it doesn't show up on the tab.
    I would say it's most likely on purpose that partions mounted in fstab are not listed.
    /etc/fstab is the file that tells your partions where and how to mount.
4. Are you saying that the SONY flash drive is not working on either 2.0 or 3.0?

So, to get on with the reply.

1. I first installed lxdm and then edited the /etc/lxdm/lxdm.conf file to include the line

 session=/usr/bin/startxfce4 

then I enable the lxdm service using

 systemctl enable lxdm.service 

and tried a reboot, only to get stuck at

 [OK] Target Graphical Interface Reached 

2.a Thanks, I was a little worried.

2.b Well, I had to name it something so I used my creativity and named it /home1, all user files are still stored in /home, it is used to store other data.

3. Here's my /etc/fstab

#
# /etc/fstab: static file system information
#
# <file system>                                   <dir>        <type>                    <options>          <dump> <pass>
# /dev/sda1 LABEL=Arch
UUID=784ba592-43b1-4a87-b719-6adcbe65710b       /               ext4            rw,relatime,data=ordered        0 1

# /dev/sda2 LABEL=Home
UUID=352b73d8-641a-4f07-a7ad-c36d03b78762       /home           ext4            rw,relatime,data=ordered        0 2

# /dev/sda3 LABEL=Home1
UUID=d7c25180-99dc-43c2-9418-1d83182d486b       /home1          ext4            rw,relatime,data=ordered        0 2

I have had a workaround my creating a side pane shortcut to /home and /home1 in the file manager, but that is shown in Places and not the Devices tab.

4. Sorry for the bad choice of words.
   The problematic Sony flash drive is working on the 2.0 port and so are all other devices.
   The 3.0 ports are easily detecting all flash drives and devices EXCEPT the problematic Sony flash drive.
   Is it possible that the 3.0 ports are only malfunctioning with a USB 3.0 device .

Here's some outputs:

dmesg(only new lines) output with the problematic Sony flash drive in USB 2.0 port

[ 2503.460370] usb 1-3: new high-speed USB device number 9 using xhci_hcd
[ 2503.635580] usb-storage 1-3:1.0: USB Mass Storage device detected
[ 2503.636097] scsi host4: usb-storage 1-3:1.0
[ 2504.638419] scsi 4:0:0:0: Direct-Access     Sony     Storage Media    PMAP PQ: 0 ANSI: 6
[ 2504.638850] sd 4:0:0:0: [sdb] 60555264 512-byte logical blocks: (31.0 GB/28.9 GiB)
[ 2504.639059] sd 4:0:0:0: [sdb] Write Protect is off
[ 2504.639064] sd 4:0:0:0: [sdb] Mode Sense: 45 00 00 00
[ 2504.639262] sd 4:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 2504.812884]  sdb: sdb1
[ 2504.820437] sd 4:0:0:0: [sdb] Attached SCSI removable disk

dmesg output after removing the Sony flash drive from 2.0 port and plugging another flash drive (which is also manufactured by sony but supports USB 2.0 only) in the USB 3.0 port.

[ 2623.505672] usb 1-3: USB disconnect, device number 9
[ 2766.934875] usb 1-1: new high-speed USB device number 10 using xhci_hcd
[ 2767.114251] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 2767.117702] usb-storage 1-1:1.0: Quirks match for vid 054c pid 02a5: 80000
[ 2767.117741] scsi host4: usb-storage 1-1:1.0
[ 2768.120302] scsi 4:0:0:0: Direct-Access     Sony     Storage Media    PMAP PQ: 0 ANSI: 6
[ 2769.446658] sd 4:0:0:0: [sdb] 30287872 512-byte logical blocks: (15.5 GB/14.4 GiB)
[ 2769.446813] sd 4:0:0:0: [sdb] Write Protect is off
[ 2769.446815] sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 2769.446959] sd 4:0:0:0: [sdb] No Caching mode page found
[ 2769.446961] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 2769.451260]  sdb: sdb1
[ 2769.452634] sd 4:0:0:0: [sdb] Attached SCSI removable disk

dmesg output after removing the previously mentioned flash drive and plugging in the problematic Sony USB 3.0 flash drive in the USB 3.0 port.

[ 2932.540024] usb 1-1: USB disconnect, device number 10

nothing else, I guess the port is not even detecting that a new device has been plugged in.

Thanks for the help.

Offline

Board footer

Powered by FluxBB