Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard network printer problem ram registry router security slow software sound toshiba trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Solved: If at first you don't succeed....

Reply  
Thread Tools
Omega_Shadow's Avatar
Senior Member with 4,324 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
22-Dec-2005, 12:40 AM #16
Ok, back to the mp3 player. I have a working cord now. Here is what I attempted so far on the MP3 player:

Code:
[omega_shadow@localhost ~]$ su
Password:
[root@localhost omega_shadow]# mount -t vfat /dev/sda1 /mnt/usb
mount: special device /dev/sda1 does not exist
[root@localhost omega_shadow]# mknod /dev/sda1 b 8 1
[root@localhost omega_shadow]# mount -t vfat /dev/sda1 /mnt/usb
mount: /dev/sda1 is not a valid block device
[root@localhost omega_shadow]# please just connect to my mp3 player
bash: please: command not found
And I think I know why it's not working. Looking in HardDrake, I found my MP3 player listed as a scanner. *sigh* Good ol' Plug-n-Pray. I see some things dont change between windows and linux.

Anywho does anyone know how to properly configure Linux so that it doesnt think my mp3 player is a scanner?
__________________
I'm not here. I am just more likely to be here then not be here. It's physics, I don't expect you to understand.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
22-Dec-2005, 05:37 AM #17
alright, when you plug in the drive for mp3's do a:

dmesg

this should show something like

usb 1-4: new high speed USB device using ehci_hcd and address 3
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning

assuming you have something like this, linux is reading it as a device. It should also automatically create a node, that should be a /dev/sd*.
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
Omega_Shadow's Avatar
Senior Member with 4,324 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
22-Dec-2005, 10:17 PM #18
Holy wow, that command gave me everything in my system! Had to search though it to find anything related to USB. I will copy them here:

usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
uhci_hcd 0000:00:04.3: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 3
usb 1-2: new low speed USB device using uhci_hcd and address 2
hub 3-0:1.0: USB hub found
ehci_hcd 0000:00:0a.3: new USB bus registered, assigned bus number 4
[<e1287a05>] usb_add_hcd+0x105/0x2e0 [usbcore]
[<e128c1a6>] usb_hcd_pci_probe+0x1d6/0x300 [usbcore]
[<e1287740>] (usb_hcd_irq+0x0/0x80 [usbcore])
ehci_hcd 0000:00:0a.3: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 4-0:1.0: USB hub found
usbcore: registered new driver hiddev
input: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Desktop® 1.00] on usb-0000:00:04.2-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
usbcore: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb 1-1: new full speed USB device using uhci_hcd and address 3
usb 1-1: USB disconnect, address 3
usb 1-1: new full speed USB device using uhci_hcd and address 4
usb 1-1: USB disconnect, address 4
usb 1-1: new full speed USB device using uhci_hcd and address 5
__________________
I'm not here. I am just more likely to be here then not be here. It's physics, I don't expect you to understand.
Omega_Shadow's Avatar
Senior Member with 4,324 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
27-Dec-2005, 10:06 PM #19
****BUMP!****
While I am waiting for some info on that MP3 player that linux thinks is a scanner ~sigh~

My keyboard/mouse combo happens to be Micro$haft Wireless Split-Key multimedia desktop. I need this keyboard because it is the only split-key wireless out there to my knowlage.

Thing is I have multimedia and extra control keys on my keyboard on mouse. Is there any way to alow linux to recignize those keys? I know I can manualy set up shortcuts, but linux does not see these keys when I press them.

EDIT> Ok, I know it can be done, I just need someone to translate for me. Found the solution here but I dont understand what to do: http://www.linuxquestions.org/questi...ad.php?t=61464
__________________
I'm not here. I am just more likely to be here then not be here. It's physics, I don't expect you to understand.

Last edited by Omega_Shadow; 27-Dec-2005 at 10:19 PM..
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
27-Dec-2005, 11:41 PM #20
need to use xev and xmodmap

xev will allow you to push the keys you want and get the keycode in question. Then you have xmodmap installed and a .xmodmap file that maps that key to a function. (for example keycode 145 = alsamixer set pcm -2) that would lower pcm by 2 whenever you push the button associated with that keycode.

also on the audio player sorry about that, it seems to finding it ok. so it should be creating a node in dev for it. Look at /dev before you hook it up in the /dev/sd* a new one should appear when you hook it up.
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
Omega_Shadow's Avatar
Senior Member with 4,324 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
28-Dec-2005, 12:06 AM #21
Sorry tsumam, beat you to the punch! (I know, a freaking miracle. OS figured out something in linux on his own ) Was about to come back here and tell you I found a solution for my keyboard while shifting though google:

Code:
TO ANYONE ELSE WITH ANY TYPE OF MULTIMEDIA KEYBOARD AND RUNNING MANDRIVA'06:

Download and install the KeyTouch RPM: http://keytouch.sourceforge.net/dl-keytouch.html
Go to Star>System>Configuration>Hardware>Keytouch
Pick your keyboard. Does not have to be exact, as long as you got the right make
Select what keys you want doing what. Self explanitory
And your done!
Quote:
Originally Posted by tsunam
also on the audio player sorry about that, it seems to finding it ok. so it should be creating a node in dev for it. Look at /dev before you hook it up in the /dev/sd* a new one should appear when you hook it up.
Uh, one more time in english?
__________________
I'm not here. I am just more likely to be here then not be here. It's physics, I don't expect you to understand.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
28-Dec-2005, 05:07 AM #22
alright, in /dev (short for devices) you'll have a bunch of nodes that are associated with your various hardware (a lot of extra's no doubt too if its still a devfs system). If you don't have anything connected via usb you should have no /dev/sd* devices hopefully. When you plug any usb in such as the music player, a node should be created automatically that will be a /dev/sd(something in the most likely case sda1). That's what I was meaning.

DEVFS however will have the node created already, and then its slightly harder. It should however go in order from sda1-4, sdb,sdc and so forth.
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
Omega_Shadow's Avatar
Senior Member with 4,324 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
28-Dec-2005, 05:36 AM #23
Alright, I understand (most) of that

I will try that later today when I get my MP3 player back from work
johnny_frog's Avatar
Senior Member with 111 posts.
 
Join Date: Mar 2005
Location: An innocent abroad, french France
Experience: Intermediate/lucky
28-Dec-2005, 07:05 AM #24
linEAK is a good config tool for multimedia keys

http://lineak.sourceforge.net/
Omega_Shadow's Avatar
Senior Member with 4,324 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
28-Dec-2005, 07:19 AM #25
I noticed that but I couldnt find the RPM. If I try to compile from source I will just end up back where I started.

I am noticeing a problem though. My ´/¨ key makes me tap it twice to respond. Anoying as hell.
Omega_Shadow's Avatar
Senior Member with 4,324 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
28-Dec-2005, 09:07 PM #26
Quote:
Originally Posted by tsunam
When you plug any usb in such as the music player, a node should be created automatically that will be a /dev/sd(something in the most likely case sda1). That's what I was meaning.

DEVFS however will have the node created already, and then its slightly harder. It should however go in order from sda1-4, sdb,sdc and so forth.
There are no files or dir in that folder with ¨sd¨ in their name with the mp3 player pluged in or not.

I will note again that in harddrake my MP3 player shows up as a scanner.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
28-Dec-2005, 09:28 PM #27
okie then...*looks confused at to why harddrake would read a mp3 player as a scanner*

alright lets try this, do a

lsusb -v for me, it should show a whole lot of information about the mp3 player. I'm trying to see if its a Mass storage device, and if so why its not being recognized as such. Let me see that (you might need to install usbutils for lsusb)

After that you can also look in /dev/disk/by-id/, that should have multiple entries for your hard drive generally a ata-yada. hopefully a usb-something shows up as well.
Omega_Shadow's Avatar
Senior Member with 4,324 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
30-Dec-2005, 07:45 PM #28
Here it is... looking in /dev/disk/by-id/ now....
No /by-id/ dir. There was a disk0 and disk1 dirs. In them where files with names like ¨Part1¨



Bus 001 Device 004: ID 4102:1119 iRiver, Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x4102 iRiver, Ltd.
idProduct 0x1119
bcdDevice 1.00
iManufacturer 1 iriver Limited
iProduct 2 iriver T30
iSerial 3 fe112def000000fc2db1c1b53195be54
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 16
__________________
I'm not here. I am just more likely to be here then not be here. It's physics, I don't expect you to understand.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
30-Dec-2005, 11:41 PM #29
well that did give me some good info and bad info. The T30 potentially has the plays for sure windows (multi download service) firmware, that interferes with it being recognized under linux. (read that as DRM)

The good news is that iriver is working on a firmware update that will allow it to be used as a massive storage device. Not sure when it's due to be released though =/
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
Omega_Shadow's Avatar
Senior Member with 4,324 posts.
 
Join Date: Aug 2004
Location: Somewhere south of Hell
Experience: Bringing Linux to the Masses
31-Dec-2005, 12:27 AM #30
ah, will contact Iriver then. Thanx for your help in that matter Tsunam. Now I got 2 more for ya to ponder:

1) As you know I installed Keytouch to operate my multimedia keys. However, sence it was installed I am having problems with my quote button. I have to press it twice for it to show up. And if I only hit it once and follow it with a letter I get symbles and accents like this ś. What could be going wrong?
EDIT>Uh, ok.... I restarted and now it's gone....strange....


2.) My video seems slugish and I dont have openGL capabilitys, never did correctly install my vid card. I remember doing it before, but not for mandriva and I cant recall the procedure. Any idea? ATI 9600 Radion
__________________
I'm not here. I am just more likely to be here then not be here. It's physics, I don't expect you to understand.

Last edited by Omega_Shadow; 31-Dec-2005 at 01:02 AM..
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:33 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.