You are not logged in.

#1 2015-06-20 17:30:31

penguin
Member
From: Gotham City
Registered: 2010-12-31
Posts: 168

usb device not seen in "fdisk -l", or "/dev/"

I have a Sony minidisc I connect to the usb, to use with linux-minidisc python + qt package, which I've installed.

Problem is I can't see where my device is! I see it in dmesg, and in lsub, but there is no /dev/ mapped to it, as far as I can tell.

dmesg (first line is when plugging it in, second line when unplugging it)

[   72.762340] usb 1-1.2: new full-speed USB device number 4 using ehci-pci
[  261.124428] usb 1-1.2: USB disconnect, device number 4

lsblk

NAME     MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda        8:0    0 465,8G  0 disk  
├─sda1     8:1    0   1,2G  0 part  
├─sda2     8:2    0     1K  0 part  
├─sda3     8:3    0    13G  0 part  
├─sda5     8:5    0    10G  0 part  
├─sda6     8:6    0     2G  0 part  
│ └─swap 254:0    0     2G  0 crypt [SWAP]
├─sda7     8:7    0    10G  0 part  /
└─sda8     8:8    0 429,6G  0 part  
  └─home 254:1    0 429,6G  0 crypt /home

lsusb (here it shows up on line 4)

Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 17ef:4816 Lenovo Integrated Webcam
Bus 001 Device 004: ID 054c:00c9 Sony Corp. Net MD
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

sudo fdisk -l

Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3c2bbfde

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1            2048   2459647   2457600   1,2G  7 HPFS/NTFS/exFAT
/dev/sda2         2461694 949506047 947044354 451,6G  5 Extended
/dev/sda3       949506048 976773119  27267072    13G  7 HPFS/NTFS/exFAT
/dev/sda5         2461696  23433215  20971520    10G 83 Linux
/dev/sda6        44408832  48603135   4194304     2G 82 Linux swap / Solaris
/dev/sda7  *     23435264  44406783  20971520    10G 83 Linux
/dev/sda8        48605184 949503999 900898816 429,6G 83 Linux

Partition table entries are not in disk order.


Disk /dev/mapper/swap: 2 GiB, 2147483648 bytes, 4194304 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/home: 429,6 GiB, 461258096640 bytes, 900894720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

I should mention, I tested mounting a normal usb-stick and that works just as it should, shows up as /dev/sdb1, and I'm on Linux 4.0.5-1.

Last edited by penguin (2015-06-20 17:31:46)

Offline

#2 2015-07-01 08:08:37

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: usb device not seen in "fdisk -l", or "/dev/"

If it was mounted as a normal drive, you wouldn't need that tool. The software you use depends on libusb, a strong indicator for some special interface instead of the normal flash drive standard. Given the fact, that minidisc is ancient, it might be a distant relative of MTP, as used by modern media players.

Offline

#3 2015-07-01 20:19:16

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: usb device not seen in "fdisk -l", or "/dev/"

https://aur.archlinux.org/packages/linux-minidisc/

Sorry, long day at $WORK...
hmm

Last edited by Head_on_a_Stick (2015-07-01 20:19:58)


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB