LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-14-2021, 03:32 AM   #1
intmail01
Member
 
Registered: May 2013
Posts: 76

Rep: Reputation: Disabled
Where/What is the usb device file ?


Hi,

I am using usb device and a software to connect to it. The software need the name and/or the path of the device file but unfortunately I do not know where it is. In folder /dev/ there is no such file.
Other devices like mouse, printer, usb mass storage device works fine without need to know the device file.

My kernel is not the same as in the slackware 14.2 because I downloaded and build a newer.

Could sone tell me where is this file or how to make one ?

Thanks

Last edited by intmail01; 05-14-2021 at 04:00 AM.
 
Old 05-14-2021, 05:09 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,263

Rep: Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845
It'll likely depend on the device. Does dmesg update when you plug it in and/or remove it? Many times that output will guide you on what the device is.
 
Old 05-14-2021, 05:20 AM   #3
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 14.2_x64, sometimes Current
Posts: 428

Rep: Reputation: 225Reputation: 225Reputation: 225
If you're using KDE, you could try looking in system->kinfocenter. If that doesn't help, and you need to know what the usb device is labeled as (such as /dev/sdc, etc), open up Krusader in root mode and in the konsole you can start gparted. Then you can look at what devices gparted has found that can have things done to them by the program. Look in the upper right corner and there's a pull-down menu that will have the list of devices/drives.

The reason I say open up gparted in the konsole in krusader's root mode is, because if you try to open it in a regular konsole after becoming root via 'su -', it won't see anything correctly and not open. I suppose it'd be just as easy to log out of user and log in as root and then open gparted too, heh.

These are the simpleton ways I would use. They're not the smart, Linux guru ways, but it works and gets the job done, for me at least.
 
Old 05-14-2021, 06:03 AM   #4
intmail01
Member
 
Registered: May 2013
Posts: 76

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
It'll likely depend on the device. Does dmesg update when you plug it in and/or remove it? Many times that output will guide you on what the device is.
bash-4.3# dmesg
[ 4407.090086] usb 3-1: new full-speed USB device number 10 using uhci_hcd
[ 4416.242078] usb 3-1: new full-speed USB device number 11 using uhci_hcd
[ 4416.393095] usb 3-1: New USB device found, idVendor=..., idProduct=..., bcdDevice= 5.09
[ 4416.393097] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0

The device have a mass storage device but I do not need it then I black list the kernel module `usb-storage` . The program need a direct acces mode.
 
Old 05-14-2021, 06:49 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,497

Rep: Reputation: 7871Reputation: 7871Reputation: 7871Reputation: 7871Reputation: 7871Reputation: 7871Reputation: 7871Reputation: 7871Reputation: 7871Reputation: 7871Reputation: 7871
Quote:
Originally Posted by intmail01 View Post
[ 4416.393095] usb 3-1: New USB device found, idVendor=..., idProduct=..., bcdDevice= 5.09
Why do you leave out exactly the relevant bits? If you don't share all the information, don't expect useful answers.
 
1 members found this post helpful.
Old 05-14-2021, 11:25 AM   #6
intmail01
Member
 
Registered: May 2013
Posts: 76

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
Why do you leave out exactly the relevant bits? If you don't share all the information, don't expect useful answers.
There are many things which function like this. eg usb stick router may be used in direct mode as 4G modem and also it have microsd card slot to act as mass storage device. Some professional cameras work like this too.

My case is the software failed to detect the appliance automatically. May be a solution is that it accept explicitly to use the device file as a parameter.
 
Old 05-14-2021, 01:00 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,263

Rep: Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845
He means you removed the pertinent information in the post that might allow us to find out what the device is, which then may allow us to find how to refer to that device.
 
Old 05-15-2021, 05:39 AM   #8
bitfuzzy
Member
 
Registered: Nov 2003
Posts: 282

Rep: Reputation: 65
Quote:
Originally Posted by Alien Bob View Post
Why do you leave out exactly the relevant bits? If you don't share all the information, don't expect useful answers.
As far as I'm concerned You wouldn't, unless you're only looking to waste everybody's time :\

His unwillingness to identify the device makes no sense otherwise IMO
 
Old 05-16-2021, 12:46 AM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,263

Rep: Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845
Quote:
Originally Posted by bitfuzzy View Post
As far as I'm concerned You wouldn't, unless you're only looking to waste everybody's time :\

His unwillingness to identify the device makes no sense otherwise IMO
Oh well, it's marked as solved without providing the actual information.

https://xkcd.com/979/
 
1 members found this post helpful.
Old 05-16-2021, 02:20 AM   #10
intmail01
Member
 
Registered: May 2013
Posts: 76

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Oh well, it's marked as solved without providing the actual information.

https://xkcd.com/979/
Manufacturer send me email how to do
 
Old 05-16-2021, 02:53 AM   #11
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,263

Rep: Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845Reputation: 5845
Quote:
Originally Posted by intmail01 View Post
Manufacturer send me email how to do
Would you mind providing that info so if others run into the same issue and find your post, they may find the solution?
 
1 members found this post helpful.
Old 05-16-2021, 04:04 AM   #12
intmail01
Member
 
Registered: May 2013
Posts: 76

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Would you mind providing that info so if others run into the same issue and find your post, they may find the solution?
The direct access mode does not work because the software for linux use only this method and my device use only msd. I have to looking for linux software which accept to treat manually files in the drive.
 
Old 05-16-2021, 04:49 AM   #13
bitfuzzy
Member
 
Registered: Nov 2003
Posts: 282

Rep: Reputation: 65
Quote:
Originally Posted by bassmadrigal View Post
Would you mind providing that info so if others run into the same issue and find your post, they may find the solution?
First they'd have to know what the device was to know if the solution was relevant

This could be anything from a external drive, camera or video to a toaster or a centrifuge
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux USB Device Drivers and Linux USB Device Side user space application ashwindeshpande Linux - Embedded & Single-board computer 3 12-12-2014 07:05 AM
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
How to force kernel to use a USB 2.0-compatible device (ehci_hcd) as a USB 1.1 device eze Linux - Hardware 0 05-16-2006 05:24 AM
"Unable to open USB device "usb://hp/LaserJet%201000": No such device" lordshipmayhem Mandriva 2 08-08-2004 04:56 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration