Re: Mustek usb scanner

2001-06-09 Thread solomon

On 09-Jun-2001 Yedidya Bar-david wrote:
 2. You should have in your /etc/sane.d/dll.conf a line '1200ub'. Do you?
no - but adding the line didn't help :-(

 3. Does your kernel report anything when you attach your
scanner?
 Mine sends  this:
 hub.c: USB new device connect on bus1/1, assigned device number 2
 usb.c: USB device 2 (vend/prod 0x55f/0x1) is not claimed by any active
 driver.
 usb.c: registered new driver usbscanner
 scanner.c: USB Scanner support registered.

I think the kernel does recognize the USB scanner support. Here's a part of
/var/log/messages after running insmod scanner:
Jun  9 20:50:20 shlomo1 kernel: usb.c: registered new driver usbscanner
Jun  9 20:50:20 shlomo1 kernel: scanner.c: USB Scanner support registered.

I also found the following in /var/log/syslog:
Jun  9 20:33:12 shlomo1 kernel: hub.c: USB new device connect on bus1/2,
assigned device number 10
Jun  9 20:33:12 shlomo1 kernel: usb.c: USB device 10 (vend/prod 0x5d8/0x4002)
is not claimed by any active driver

I think I may have found part of the problem, but don't know the solution. Look
at the following and notice that my USB printer is listed, but not the scanner.
Any ideas why?

[root@shlomo1 /root]# cat /proc/bus/usb/devices
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  9 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04b8 ProdID=0005 Rev= 1.00
S:  Manufacturer=EPSON
S:  Product=USB Printer
S:  SerialNumber=HK0120002171047350
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 10 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=05d8 ProdID=4002 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=496mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms



//-
Shlomo Solomon
E-Mail: [EMAIL PROTECTED]
http://come.to/shlomo.solomon
Date: 09-Jun-2001   Time: 22:33:21

Message sent by XFMail on a LINUX Mandrake 8.0 machine
//-


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Mustek usb scanner

2001-06-09 Thread Yedidya Bar-david

Hi

Do you have a /dev/usbscanner ?
Try mknod /dev/usbscanner c 180 48 (Well, that's what I have)

Can you try to connect only the scanner? without the printer? Does
it make any difference? When you attach the scanner, does the kernel
say ANYTHING? do 'dmesg' before and after.

What kernel do you run?

For some reason, I don't have a /proc/bus/usb at all. Maybe I didn't
choose something at kernel config.

didi

On Sat, Jun 09, 2001 at 11:00:05PM -, [EMAIL PROTECTED] wrote:
 On 09-Jun-2001 Yedidya Bar-david wrote:
  2. You should have in your /etc/sane.d/dll.conf a line '1200ub'. Do you?
 no - but adding the line didn't help :-(
 
  3. Does your kernel report anything when you attach your
 scanner?
  Mine sends  this:
  hub.c: USB new device connect on bus1/1, assigned device number 2
  usb.c: USB device 2 (vend/prod 0x55f/0x1) is not claimed by any active
  driver.
  usb.c: registered new driver usbscanner
  scanner.c: USB Scanner support registered.
 
 I think the kernel does recognize the USB scanner support. Here's a part of
 /var/log/messages after running insmod scanner:
 Jun  9 20:50:20 shlomo1 kernel: usb.c: registered new driver usbscanner
 Jun  9 20:50:20 shlomo1 kernel: scanner.c: USB Scanner support registered.
 
 I also found the following in /var/log/syslog:
 Jun  9 20:33:12 shlomo1 kernel: hub.c: USB new device connect on bus1/2,
 assigned device number 10
 Jun  9 20:33:12 shlomo1 kernel: usb.c: USB device 10 (vend/prod 0x5d8/0x4002)
 is not claimed by any active driver
 
 I think I may have found part of the problem, but don't know the solution. Look
 at the following and notice that my USB printer is listed, but not the scanner.
 Any ideas why?
 
 [root@shlomo1 /root]# cat /proc/bus/usb/devices
 T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
 B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
 D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
 P:  Vendor= ProdID= Rev= 0.00
 S:  Product=USB UHCI Root Hub
 S:  SerialNumber=d000
 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
 I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
 E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
 T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  9 Spd=12  MxCh= 0
 D:  Ver= 1.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
 P:  Vendor=04b8 ProdID=0005 Rev= 1.00
 S:  Manufacturer=EPSON
 S:  Product=USB Printer
 S:  SerialNumber=HK0120002171047350
 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
 I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
 E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
 E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
 T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 10 Spd=12  MxCh= 0
 D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
 P:  Vendor=05d8 ProdID=4002 Rev= 1.00
 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=496mA
 I:  If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
 E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
 
 
 
 //-
 Shlomo Solomon
 E-Mail: [EMAIL PROTECTED]
 http://come.to/shlomo.solomon
 Date: 09-Jun-2001   Time: 22:33:21
 
 Message sent by XFMail on a LINUX Mandrake 8.0 machine
 //-
 
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Mustek usb scanner

2001-06-09 Thread solomon

On 09-Jun-2001 Yedidya Bar-david wrote:
 Do you have a /dev/usbscanner ?
no, but I also don't have any othe /dev/usb* and my USB printer works, so I'm
not sure that's related

 Try mknod /dev/usbscanner c 180 48 (Well, that's what I have)
I looked at the man page and info page for mknod and found no explanation for
the Major and Minor params you mention, so I'd like a bit more info before
running this and maybe **breaking** something :-)

 Can you try to connect only the scanner? without the printer? Does
 it make any difference? When you attach the scanner, does the kernel
 say ANYTHING? do 'dmesg' before and after.
Scanner only with no printer attached doesn't help. As far as your second
question, when you say **attach the scanner** do you mean the physical cable or
the insmod scanner command to load the driver?

 What kernel do you run?
2.4.3-20mdk (Out of the box Mandrake 8.0)
 
//-
Shlomo Solomon
E-Mail: [EMAIL PROTECTED]
http://come.to/shlomo.solomon
Date: 10-Jun-2001   Time: 00:02:44

Message sent by XFMail on a LINUX Mandrake 8.0 machine
//-


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Mustek usb scanner

2001-06-09 Thread Shaul Karl

 On 09-Jun-2001 Yedidya Bar-david wrote:
  Do you have a /dev/usbscanner ?
 no, but I also don't have any othe /dev/usb* and my USB printer works, so I'm
 not sure that's related
 
  Try mknod /dev/usbscanner c 180 48 (Well, that's what I have)
 I looked at the man page and info page for mknod and found no explanation for
 the Major and Minor params you mention, so I'd like a bit more info before
 running this and maybe **breaking** something :-)
 



Isn't /dev/MAKEDEV the preferred way to make devices (assuming it is available 
and supports the device you need)?



  Can you try to connect only the scanner? without the printer? Does
  it make any difference? When you attach the scanner, does the kernel
  say ANYTHING? do 'dmesg' before and after.
 Scanner only with no printer attached doesn't help. As far as your second
 question, when you say **attach the scanner** do you mean the physical cable or
 the insmod scanner command to load the driver?
 
  What kernel do you run?
 2.4.3-20mdk (Out of the box Mandrake 8.0)
  
 //-
 Shlomo Solomon
 E-Mail: [EMAIL PROTECTED]
 http://come.to/shlomo.solomon
 Date: 10-Jun-2001   Time: 00:02:44
 
 Message sent by XFMail on a LINUX Mandrake 8.0 machine
 //-
 
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]
 

-- 

Shaul Karl [EMAIL PROTECTED]

Hillel used to say: If I am not for myself who will be for me?
Yet, if I am for myself only, what am I? And if not now, when?
  (Ethics Of The Fathers 1:14)




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Mustek usb scanner

2001-06-09 Thread Yedidya Bar-david

Hi

On Sun, Jun 10, 2001 at 02:37:51AM +0300, Shaul Karl wrote:
  On 09-Jun-2001 Yedidya Bar-david wrote:
   Do you have a /dev/usbscanner ?
  no, but I also don't have any othe /dev/usb* and my USB printer works, so I'm
  not sure that's related
  
   Try mknod /dev/usbscanner c 180 48 (Well, that's what I have)
  I looked at the man page and info page for mknod and found no explanation for
  the Major and Minor params you mention, so I'd like a bit more info before
  running this and maybe **breaking** something :-)
  

Look at your kernel sources, wherever they are, in Documentation/devices.txt.
It says:
180 charUSB devices
 48 = /dev/usb/scanner0 First USB scanner

 
 
 
 Isn't /dev/MAKEDEV the preferred way to make devices (assuming it is available 
 and supports the device you need)?
 

My MAKEDEV doesn't know about USB, yet. (It's from Debian 2.2, ~1 year old).

 
 
   Can you try to connect only the scanner? without the printer? Does
   it make any difference? When you attach the scanner, does the kernel
   say ANYTHING? do 'dmesg' before and after.
  Scanner only with no printer attached doesn't help. As far as your second
  question, when you say **attach the scanner** do you mean the physical cable or
  the insmod scanner command to load the driver?

I mean boot your machine with scanner unpluged, insmod everything, look at
dmesg to see that everything is ok, then plug it in and dmesg to see what
messages are being added.

  
   What kernel do you run?
  2.4.3-20mdk (Out of the box Mandrake 8.0)

Seems good enough for me, although I havn't ran mandrake for a long time.

   
  //-
  Shlomo Solomon
  E-Mail: [EMAIL PROTECTED]
  http://come.to/shlomo.solomon
  Date: 10-Jun-2001   Time: 00:02:44
  
  Message sent by XFMail on a LINUX Mandrake 8.0 machine
  //-
  
  
  =
  To unsubscribe, send mail to [EMAIL PROTECTED] with
  the word unsubscribe in the message body, e.g., run the command
  echo unsubscribe | mail [EMAIL PROTECTED]
  
 
 -- 
   
   Shaul Karl [EMAIL PROTECTED]
 
 Hillel used to say: If I am not for myself who will be for me?
 Yet, if I am for myself only, what am I? And if not now, when?
   (Ethics Of The Fathers 1:14)
 
 
 
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]

didi


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]