Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB cassette adapter not recognized
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
leyvi
Guru
Guru


Joined: 08 Sep 2023
Posts: 471

PostPosted: Mon Jan 29, 2024 4:39 pm    Post subject: USB cassette adapter not recognized Reply with quote

I’ve just bought a cassette adapter meant to be used with Audacity,
to digitize some old recordings that are important to some of my family members.
While Linux isn’t explicitly supported by this device, it’s so simple, my thoughts were “how could it not work?”.
It’s supposed to work kind of like a USB microphone (I think). However, Audacity isn’t detecting the device,
and neither is lsusb. I’ve even tried disconnecting all other audio devices to try and isolate it, with no success.
The player works fine though, if I attach headphones to it.
This thing is supposed to be PnP, so maybe it’s a kernel issue?
Not as serious as a lot of the other stuff here, but some help would be much appreciated.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Jan 29, 2024 4:51 pm    Post subject: Reply with quote

leyvi,

Boot with it not connected.
Look at the time at the end of dmesg
Connect the device.
Post the new messages from dmesg, after the above time.

There are no drivers required from lsusb or the above test.

Do you have a make and model number for the device?

Is it supposed to be a USB host device that you connect some USB storage to and it outputs files te the USB storage?
That is, it won't connect to a PC as a PC is a host device too.
_________________
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
leyvi
Guru
Guru


Joined: 08 Sep 2023
Posts: 471

PostPosted: Mon Jan 29, 2024 7:52 pm    Post subject: Reply with quote

OK, here's what I've got:
Code:
 $ dmesg | tail
[   65.133982] usb 1-3: new full-speed USB device number 8 using xhci_hcd
[   65.425076] usb 1-3: New USB device found, idVendor=8087, idProduct=1024, bcdDevice= 1.00
[   65.425077] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   65.425078] usb 1-3: Product: USB PnP Audio Device
[   65.425078] usb 1-3: Manufacturer: BlueTrm
[   65.425079] usb 1-3: SerialNumber: 20170726905923
[   65.435808] snd-usb-audio 1-3:1.0: cannot find the slot for index -1 (range 0-3), error: -19
[   65.435809] usb 1-3: cannot create card instance 2
[   65.443825] input: BlueTrm USB PnP Audio Device as /devices/pci0000:00/0000:00:02.1/0000:04:00.0/0000:05:0c.0/0000:0c:00.0/usb1/1-3/1-3:1.3/0003:8087:1024.0009/input/input17
[   65.495033] hid-generic 0003:8087:1024.0009: input,hidraw6: USB HID v2.01 Device [BlueTrm USB PnP Audio Device] on usb-0000:0c:00.0-3/input3

When I bought this device, no manufacturer information was provided.
It does have "SUPER USB CASSETTE CAPTURE" written on the front of the device though, if that means anything (I don't think it does).

From what I can see here, it looks like there might actually be something going on with my kernel, since snd-usb-audio is in fact a kernel module.
I believe it's meant to be a USB slave, not a master, though I could be wrong.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Jan 29, 2024 8:34 pm    Post subject: Reply with quote

leyvi,

Google knows nothing of USB Vendor ID 8087.
If I look up BlueTrm, I get a different Vendor ID.

If its really a USB Audio Device, I would expect it to use snd-usb-audio.

Does the device mention MP3 ?
_________________
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
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3682

PostPosted: Mon Jan 29, 2024 9:24 pm    Post subject: Reply with quote

Quote:
If its really a USB Audio Device, I would expect it to use snd-usb-audio.


Quote:
[ 65.435808] snd-usb-audio 1-3:1.0: cannot find the slot for index -1 (range 0-3), error: -19
[ 65.435809] usb 1-3: cannot create card instance 2
[ 65.443825] input: BlueTrm USB PnP Audio Device as /devices/pci0000:00/0000:00:02.1/0000:04:00.0/0000:05:0c.0/0000:0c:00.0/usb1/1-3/1-3:1.3/0003:8087:1024.0009/input/input17


Looks like it attempts to do just that, and fails for some reason. Unfortunately I don't understand what does the rest of this line mean. Still, it is a lead.
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
leyvi
Guru
Guru


Joined: 08 Sep 2023
Posts: 471

PostPosted: Mon Jan 29, 2024 9:24 pm    Post subject: Reply with quote

The description on Amazon does advertise that this device can be used to convert old cassette recordings
into MP3 files, using Audacity.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Jan 30, 2024 10:49 am    Post subject: Reply with quote

leyvi,

Do you have a link?
_________________
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
leyvi
Guru
Guru


Joined: 08 Sep 2023
Posts: 471

PostPosted: Tue Jan 30, 2024 11:33 am    Post subject: Reply with quote

https://www.amazon.com/gp/aw/d/B0BLVJK29Z
I looked all over the page, but couldn’t find a link to any websites.
I couldn’t find any in the manual either.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3152

PostPosted: Tue Jan 30, 2024 11:41 am    Post subject: Reply with quote

Quote:
By transferring your cassettes to MP3s in a quiet room


That doesn't sound promising.

Quote:
a 5V DC USB cable


That sounds even less promising, like a power source, not an interface.

What does the alleged manual say, should it work through USB?

You can try a VM with Windows 7 because the "cassette player can compatible with Windows XP, Vista and Windows 7" although the level of English seem to be compatible with the quality of the product.

Best Regards,
Georgi
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Jan 30, 2024 11:58 am    Post subject: Reply with quote

leyvi,

Quote:
Tape to mp3 converter: Our unique walkman cassette player can quickly convert old cassettes to MP3 format Cassettes to Digital Files via USB cable. Also works with laptop CD burners.


Also works with laptop CD burners so it's capable of host mode operation, even if it's not host mode only.
To connect it to another host mode device, it would need to operate in USB OTG mode and not be a host.

That USB Powered is scary. It says nothing about data transfer.
_________________
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
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3152

PostPosted: Tue Jan 30, 2024 11:59 am    Post subject: Reply with quote

I think you should return that as fast as possible. From what I read from reviews it's tricky to make it work even under Windows. It turns out there are other products with similar issues, which leads me to believe that even if you got a product without defects, you wouldn't know it because it would be impossible to set it up.

Side note: Always read 1 and 2 stars reviews first.

Best Regards,
Georgi
Back to top
View user's profile Send private message
leyvi
Guru
Guru


Joined: 08 Sep 2023
Posts: 471

PostPosted: Tue Jan 30, 2024 1:12 pm    Post subject: Reply with quote

Holy cow. Guess Louis Rossman really was right about Amazon…
Maybe I can somehow run a 3.5 mm audio cable from the player to my
PC, and treat it as an analog microphone somehow.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3152

PostPosted: Tue Jan 30, 2024 1:25 pm    Post subject: Reply with quote

leyvi wrote:
Holy cow. Guess Louis Rossman really was right about Amazon…
Maybe I can somehow run a 3.5 mm audio cable from the player to my
PC, and treat it as an analog microphone somehow.


Sure way to burn your sound chip. Microphone input has different input resistance and handles signal levels lower in magnitude, compared to output to speakers or headphones. You need at least limiters, but I can't help you further as I studied that nearly 20 years ago and it wasn't the most interesting subject to me back then.

The best option you have is a player with stereo line out and some adapter with stereo line in. If you have an old casette player, chances are it has the necessary output in DIN5 standard. It's a round connector with 5 pins. They usually are 3 signal pins - one mic in and two line out and 2 ground wires - one for the mic and one for the lines out but can be 4 signal pins for stereo line in and out and a shared ground. From there you can take the necessary signals and feed them to the line in inputs of an appropriate adapter.

Best Regards,
Georgi
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Jan 30, 2024 1:40 pm    Post subject: Reply with quote

leyvi,

You will need an attenuator to make that work.
The cassette player output will be several volts.
The microphone input will be a few millivolts. That's 1000 times less.

Then there is the poor sound quality from a class B or even a class D audio amplifier, which you cannot fix.

Don't get me started about MP3.
That's what's left when you throw the music away.
_________________
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
leyvi
Guru
Guru


Joined: 08 Sep 2023
Posts: 471

PostPosted: Tue Jan 30, 2024 2:49 pm    Post subject: Reply with quote

OK, thanks for the heads up.
Guess I’ll have to find another solution.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3152

PostPosted: Tue Jan 30, 2024 3:17 pm    Post subject: Reply with quote

leyvi wrote:
OK, thanks for the heads up.
Guess I’ll have to find another solution.


If you have an old cassette player, start from there. See if it has stereo line out or DIN connector. Both will do the same job. If unsure, upload a picture.

In any case, start from the player. If you have an old computer with a sound card, that's even better. I think even a motherboard with integrated audio will do the job. Connect line out to line in and voila. You'll remember good old times when you had to be there to press start, record and stop buttons manually.

p.s. don't forget to use shielded cable. Those signals are so low that even if you don't lose them you'll pick up all kinds of disturbance signals (I'm not sure if that's correctly translated in English)

Best Regards,
Georgi
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Jan 30, 2024 3:37 pm    Post subject: Reply with quote

logrusx,

The English technical term is 'noise' but what you wrote conveys the meaning too.

It's called the signal to noise ratio.
Adding noise is to be avoided.
_________________
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
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3152

PostPosted: Tue Jan 30, 2024 5:00 pm    Post subject: Reply with quote

NeddySeagoon wrote:
logrusx,

The English technical term is 'noise' but what you wrote conveys the meaning too.

It's called the signal to noise ratio.
Adding noise is to be avoided.


Yes, that's it, thank you! It's so confusing when the general meaning of the adopted term in my native language is different. Especially hard for the things I first learned in my language.

Best Regards,
Georgi
Back to top
View user's profile Send private message
leyvi
Guru
Guru


Joined: 08 Sep 2023
Posts: 471

PostPosted: Wed Jan 31, 2024 11:17 am    Post subject: Reply with quote

I have this external speaker that takes headphones out
as input, and has two output ports: one marked as headphone jack,
the other marked with a little music note. Could I plug the main
input to the speaker into my cassette player (which can only output
through the 3.5 mm), and run a headphone line from the port marked
with the music note into my PC’s headphone port?
I’m assuming that this music note port is a line out port.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3152

PostPosted: Wed Jan 31, 2024 11:26 am    Post subject: Reply with quote

leyvi wrote:
I have this external speaker that takes headphones out
as input, and has two output ports: one marked as headphone jack,
the other marked with a little music note. Could I plug the main
input to the speaker into my cassette player (which can only output
through the 3.5 mm), and run a headphone line from the port marked
with the music note into my PC’s headphone port?
I’m assuming that this music note port is a line out port.


Can't tell but it seems unlikely. What you assume and what it is in reality are not necessarily one and the same thing. Also line out and microphone (you meant microphone input above, didn't you?) output have different levels. It's unlikely to work even if it was line out, which I seriously doubt it is.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2057
Location: United Kingdom

PostPosted: Wed Jan 31, 2024 12:25 pm    Post subject: Reply with quote

leyvi wrote:
OK, here's what I've got:
Code:
 $ dmesg | tail
[   65.133982] usb 1-3: new full-speed USB device number 8 using xhci_hcd
[   65.425076] usb 1-3: New USB device found, idVendor=8087, idProduct=1024, bcdDevice= 1.00
[   65.425077] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   65.425078] usb 1-3: Product: USB PnP Audio Device
[   65.425078] usb 1-3: Manufacturer: BlueTrm
[   65.425079] usb 1-3: SerialNumber: 20170726905923
[   65.435808] snd-usb-audio 1-3:1.0: cannot find the slot for index -1 (range 0-3), error: -19
[   65.435809] usb 1-3: cannot create card instance 2
[   65.443825] input: BlueTrm USB PnP Audio Device as /devices/pci0000:00/0000:00:02.1/0000:04:00.0/0000:05:0c.0/0000:0c:00.0/usb1/1-3/1-3:1.3/0003:8087:1024.0009/input/input17
[   65.495033] hid-generic 0003:8087:1024.0009: input,hidraw6: USB HID v2.01 Device [BlueTrm USB PnP Audio Device] on usb-0000:0c:00.0-3/input3

When I bought this device, no manufacturer information was provided.
It does have "SUPER USB CASSETTE CAPTURE" written on the front of the device though, if that means anything (I don't think it does).

From what I can see here, it looks like there might actually be something going on with my kernel, since snd-usb-audio is in fact a kernel module.
I believe it's meant to be a USB slave, not a master, though I could be wrong.


Hmm... I wonder if the following answer by a Gentoo Linux user to an apparently similar problem on StackExchange might shed some light on what is happening:

https://unix.stackexchange.com/a/572419

Pistos wrote:
This may or may not help you, but in my case, when I was getting errors like that ("cannot find the slot for index", and "cannot create card instance"), I edited my /etc/modprobe.d/alsa.conf file (differently named in Gentoo than in your system, apparently), changing lines like these:

options snd cards_limit=2
options snd-usb-audio index=2

changing the 2s to 3s.

The following Arch Linux post might also be related:

https://bbs.archlinux.org/viewtopic.php?pid=1951611#p1951611


(I was able to create mp3 files of my old cassettes by plugging a 3.5 mm jack plug cable into my Sony Walkman and the microphone socket of my Clevo W230SS laptop.)
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC systemd-utils[udev] elogind KDE on both.

My blog
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3152

PostPosted: Wed Jan 31, 2024 2:00 pm    Post subject: Reply with quote

Fitzcarraldo wrote:

(I was able to create mp3 files of my old cassettes by plugging a 3.5 mm jack plug cable into my Sony Walkman and the microphone socket of my Clevo W230SS laptop.)


Do not try that at home unless you want to see if you'll have microphone or even a laptop after such an experiment.

Please do not give such advice because if your laptop survived, that doesn't mean other laptops will, and that even doesn't mean yours will survive a second time.

Best Regards,
Georgi
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