Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hardware missing after 2.4->2.6 upgrade
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
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Fri Apr 08, 2005 6:51 am    Post subject: Hardware missing after 2.4->2.6 upgrade Reply with quote

I just installed a fresh gentoo on a pc that had a fully functional kernel 2.4 install.
Now I'm having problems with my usb printer and ide dvd burner.

The printer is listed in /proc/bus/usb/devices and I have the module usblp loaded. But instead of having a /dev/usb/lp0, I have a /dev/usb file, and no printer device.

I used to use the dvd burner with dev=ATAPI:0,0,0 and it worked. Now that fails, and I when I run cdrecord -scanbus, I get my sata drives and cfcard reader only. I have scsi emulation, scsi cd, and atapi cd all compiled into the kernel.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Fri Apr 08, 2005 8:12 am    Post subject: Reply with quote

dont use scsi emulation. use dev=/dev/hdX notation, not ATAPI. make sure your user has write access to that node.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Fri Apr 08, 2005 4:05 pm    Post subject: Reply with quote

That worked, once I switched from dvdrtools to cdrtools.

Anybody have an idea about the printer?
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Fri Apr 08, 2005 7:20 pm    Post subject: Reply with quote

i have scsi emu in my kernel im getting the same prob i need to recompile the kernel correct ?
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Fri Apr 08, 2005 8:36 pm    Post subject: Reply with quote

I don't think you need to recompile (at least not in this case).
I still have the scsi emulation in my kernel, I just used the dev=/dev/hdX notation. The cdrecord included in the dvdrtools didn't work for me at all, so I switched to cdrtools.
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Fri Apr 15, 2005 7:23 am    Post subject: Reply with quote

how im kinda confused :-/
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Fri Apr 15, 2005 7:24 am    Post subject: Reply with quote

{root@horus:/usr/src/linux}mount /dev/hdc1 /mnt/cdrom
mount: special device /dev/hdc1 does not exist
{root@horus:/usr/src/linux}mount /dev/hdb1 /mnt/cdrom
mount: special device /dev/hdb1 does not exist
{root@horus:/usr/src/linux}
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Fri Apr 15, 2005 7:24 am    Post subject: Reply with quote

hda is my root drive and hdd is storage
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Fri Apr 15, 2005 3:39 pm    Post subject: Reply with quote

*bump i would really like to get this working ive emerge cdrtools :-/
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
Back to top
View user's profile Send private message
kwiqsilver
Guru
Guru


Joined: 19 Mar 2003
Posts: 360

PostPosted: Sat Apr 16, 2005 12:20 am    Post subject: Reply with quote

I just use:
Code:
cdrecord dev=/dev/hdc speed=4 somefile.iso

And it works.
I still have SCSI emulation, including cdrom emulation in the kernel.
To figure out which device to use run:
Code:
# dmesg|grep -i cd
hdc: LITE-ON DVDRW LDW-411S, ATAPI CD/DVD-ROM drive
hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Back to top
View user's profile Send private message
someguy
Guru
Guru


Joined: 10 Jul 2003
Posts: 433
Location: (-_-) .::OH_WELL::. (-_-)

PostPosted: Sun Apr 17, 2005 7:40 pm    Post subject: Reply with quote

it ended up being hdc=ide-scsi on my grub.conf heh :o its working now thanks for helping
_________________
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
while [ 1 ] ; do echo "*" | telnet ip.of.print.er 9100 ; done
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