LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-16-2004, 07:13 PM   #1
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
ipod eject problem


I am using my ipod with linux like this:
>>plug in ipod
drigz@ayro:~$ su
Password:
root@ayro:/home/drigz# modprobe sbp2
root@ayro:/home/drigz# mount /dev/sdb2
root@ayro:/home/drigz# gtkpod
root@ayro:/home/drigz# umount /dev/sdb2
root@ayro:/home/drigz# rmmod sbp2
ERROR: Module sbp2 is in use
>>get annoyed that it doesnt work and just reset it then unlpug it while its reseting (the ipod not the comp)

however, id really like to be able to remove the sbp2 module and then unplug it properly. i think the way i do it might be dangerous. i was thinking that using forced unloading might work, but it sounds bad.
 
Old 06-20-2004, 09:25 AM   #2
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mandriva, Mandriva, Mandriva. (Three different releases depending on the computer)
Posts: 708

Rep: Reputation: 35
AFAIK, you have to do lsmod and find out which other modules depend on sbp2 and remove them first. I think you do this by doing lsmod as su and then looking to see which sbp2 is dependent on...

eg on my PC:

parport_pc 32832 1
lp 12200 0
parport 38952 2 parport_pc,lp

I cannot rmmod parport because parport_pc and lp depends on it, so I have to remove lp, then parport_pc, then parport.

Don't ask me how you stop them returning on reboot or when an application wants to use them though! ;-)
 
Old 06-20-2004, 09:29 AM   #3
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
well i dont really like modules, so the only other modules i have running are:
nvidia 2077160 12
vmnet 31376 12
vmmon 50240 0

of which I don't want to remove any... is there a command to find out what files etc a module is accessing? kinda like fuser i suppose...
 
Old 06-20-2004, 09:34 AM   #4
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mandriva, Mandriva, Mandriva. (Three different releases depending on the computer)
Posts: 708

Rep: Reputation: 35
Dunno, I've been searching for exactly the same thing myself. There's even a question on here that asks exactly that question, but it never really got answered. :-( Soz.
 
Old 06-21-2004, 03:42 PM   #5
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
that sucks. guess i'll have to try forced unloading. i think i classify as a desperate user now
 
Old 06-27-2004, 11:35 AM   #6
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Original Poster
Rep: Reputation: 30
result! forced unloading works like a charm!
 
  


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
VCD does not eject even eject button pressed ic_torres Linux - Software 4 12-01-2005 05:40 PM
Can't eject iPod as normal user, but works as root FreeThinkerJim Linux - Hardware 3 11-18-2005 08:19 PM
eject problem bruse Linux - Newbie 3 08-13-2005 03:23 AM
Problem with cardctl eject alienDog Slackware 4 07-26-2005 09:51 AM
problem with cd eject cool_ashwin22 Fedora 8 08-23-2004 09:41 AM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration